0s autopkgtest [12:02:41]: starting date and time: 2025-01-09 12:02:41+0000 0s autopkgtest [12:02:41]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [12:02:41]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.h4utdkev/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python-fakeredis --apt-upgrade optuna --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-fakeredis/2.26.1-1 -- lxd -r lxd-armhf-10.145.243.53 lxd-armhf-10.145.243.53:autopkgtest/ubuntu/plucky/armhf 53s autopkgtest [12:03:34]: testbed dpkg architecture: armhf 56s autopkgtest [12:03:37]: testbed apt version: 2.9.14ubuntu1 61s autopkgtest [12:03:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [12:03:44]: testbed release detected to be: None 73s autopkgtest [12:03:54]: updating testbed package index (apt update) 75s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 75s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 76s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 76s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 76s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 76s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 76s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [776 kB] 76s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.6 kB] 76s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [206 kB] 76s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 76s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [876 kB] 76s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5184 B] 76s Get:13 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 76s Get:14 http://ftpmaster.internal/ubuntu plucky/main Sources [1387 kB] 76s Get:15 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.8 MB] 77s Get:16 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [296 kB] 77s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1357 kB] 77s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 77s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.0 MB] 77s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 81s Fetched 41.4 MB in 5s (7625 kB/s) 82s Reading package lists... 89s autopkgtest [12:04:10]: upgrading testbed (apt dist-upgrade and autopurge) 91s Reading package lists... 92s Building dependency tree... 92s Reading state information... 92s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 92s Starting 2 pkgProblemResolver with broken count: 0 92s Done 93s Entering ResolveByKeep 93s 94s The following package was automatically installed and is no longer required: 94s libassuan0 94s Use 'apt autoremove' to remove it. 94s The following NEW packages will be installed: 94s openssl-provider-legacy python3-bcrypt 94s The following packages will be upgraded: 94s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 94s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 94s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 94s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 94s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 94s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 94s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 94s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 94s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 94s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 94s libgpg-error-l10n libgpg-error0 libgpgme11t64 libgstreamer1.0-0 94s libjson-glib-1.0-0 libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 94s libnss-systemd libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 94s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 94s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 94s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 94s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 94s make mount nano openssl pci.ids publicsuffix python-apt-common python3 94s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 94s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 94s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 94s python3-problem-report python3-rich python3-setuptools 94s python3-software-properties python3-wadllib python3.12 python3.12-gdbm 94s python3.12-minimal python3.13-gdbm readline-common rsync 94s software-properties-common systemd systemd-cryptsetup systemd-resolved 94s systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids util-linux 94s uuid-runtime whiptail xauth 94s 142 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 94s Need to get 58.8 MB of archives. 94s After this operation, 8920 kB of additional disk space will be used. 94s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 95s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 95s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 95s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 95s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 95s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 95s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 95s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 95s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 95s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 95s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 95s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 95s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 95s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 95s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 95s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 95s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 95s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 95s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 95s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 95s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 95s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 95s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 95s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 95s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 95s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 95s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 95s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 95s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 95s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 95s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 95s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 96s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 96s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 96s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 96s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 96s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 96s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 96s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 96s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 96s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 96s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 96s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 96s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 96s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 96s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 96s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 96s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 96s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 96s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 96s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 96s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 96s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 96s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.12.8-1 [27.5 kB] 96s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.12.8-1 [23.9 kB] 96s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 96s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 96s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 96s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 96s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 96s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.12.8-1 [10.1 kB] 96s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 96s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 96s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 96s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 96s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 96s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 96s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 96s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 96s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 96s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 96s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 96s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 96s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 96s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 96s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 96s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 96s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 96s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 96s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 96s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 96s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 96s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 96s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 97s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 97s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 97s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 97s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 97s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 97s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 97s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 97s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 97s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 97s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 97s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 97s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 97s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 97s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 97s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 97s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 97s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 97s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 97s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 97s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 97s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 97s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 97s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 97s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 97s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241230-1ubuntu1 [74.5 kB] 97s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241230-1ubuntu1 [77.3 kB] 97s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241230-1ubuntu1 [2960 kB] 98s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241230-1ubuntu1 [403 kB] 98s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241230-1ubuntu1 [3086 B] 98s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241230-1ubuntu1 [222 kB] 98s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241230-1ubuntu1 [12.1 kB] 98s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 98s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 98s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 98s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 98s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 98s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 98s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 98s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 98s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 98s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 98s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 98s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.1-2ubuntu1 [126 kB] 98s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 98s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 98s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 98s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 98s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 98s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 98s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 98s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 98s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 98s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 98s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 98s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 98s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 98s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 98s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 98s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 98s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 99s Preconfiguring packages ... 99s Fetched 58.8 MB in 4s (13.9 MB/s) 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 99s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 99s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 99s Setting up bash (5.2.37-1ubuntu1) ... 99s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 99s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 99s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 99s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 100s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 100s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 100s Setting up tar (1.35+dfsg-3.1) ... 100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 100s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 100s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 100s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 100s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 100s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 100s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 100s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 100s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 100s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 100s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 100s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 100s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 100s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 100s Setting up libc6:armhf (2.40-4ubuntu1) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 101s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 101s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 101s Selecting previously unselected package openssl-provider-legacy. 101s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 101s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 101s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 101s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59973 files and directories currently installed.) 101s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 101s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 101s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 101s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 101s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 101s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 101s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 101s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 101s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 101s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 101s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 101s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 101s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 101s Setting up util-linux (2.40.2-1ubuntu2) ... 102s fstrim.service is a disabled or a static unit not running, not starting it. 102s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 102s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 102s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 102s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 102s Unpacking readline-common (8.2-6) over (8.2-5) ... 102s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 102s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 102s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 102s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 102s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 102s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 102s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 102s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 103s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 103s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 103s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 103s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 103s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 103s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 103s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 103s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 103s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 103s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 103s Setting up libsystemd0:armhf (257-2ubuntu1) ... 103s Setting up mount (2.40.2-1ubuntu2) ... 103s Setting up systemd (257-2ubuntu1) ... 103s Installing new version of config file /etc/systemd/logind.conf ... 103s Installing new version of config file /etc/systemd/sleep.conf ... 103s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 103s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 103s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 104s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 104s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 104s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 104s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 104s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 104s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 104s Setting up libudev1:armhf (257-2ubuntu1) ... 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 104s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 104s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 104s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 104s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 104s Unpacking base-passwd (3.6.6) over (3.6.5) ... 104s Setting up base-passwd (3.6.6) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 105s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 105s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 105s Setting up libc-bin (2.40-4ubuntu1) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 105s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 105s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 105s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 105s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 105s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 105s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 105s Setting up apt (2.9.18) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 106s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 106s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 106s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 106s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 106s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 106s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 106s Setting up libgpg-error0:armhf (1.51-3) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 106s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 106s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 106s Setting up libnpth0t64:armhf (1.8-2) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 106s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 106s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 106s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 106s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 107s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 107s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 107s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 107s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 107s Setting up gpgv (2.4.4-2ubuntu21) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 107s Preparing to unpack .../python3-minimal_3.12.8-1_armhf.deb ... 107s Unpacking python3-minimal (3.12.8-1) over (3.12.6-0ubuntu1) ... 107s Setting up python3-minimal (3.12.8-1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 107s Preparing to unpack .../00-python3_3.12.8-1_armhf.deb ... 107s Unpacking python3 (3.12.8-1) over (3.12.6-0ubuntu1) ... 107s Preparing to unpack .../01-tzdata_2024b-4ubuntu1_all.deb ... 107s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 107s Preparing to unpack .../02-python3.12_3.12.8-3_armhf.deb ... 107s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 107s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 107s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 107s Preparing to unpack .../04-python3.12-minimal_3.12.8-3_armhf.deb ... 107s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 108s Preparing to unpack .../05-libpython3.12-minimal_3.12.8-3_armhf.deb ... 108s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 108s Preparing to unpack .../06-libpython3-stdlib_3.12.8-1_armhf.deb ... 108s Unpacking libpython3-stdlib:armhf (3.12.8-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../07-rsync_3.3.0+ds1-2_armhf.deb ... 108s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 108s Preparing to unpack .../08-python-apt-common_2.9.6build1_all.deb ... 108s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 108s Preparing to unpack .../09-python3-apt_2.9.6build1_armhf.deb ... 108s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 108s Preparing to unpack .../10-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 108s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 108s Preparing to unpack .../11-python3-apport_2.31.0-0ubuntu2_all.deb ... 108s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 108s Preparing to unpack .../12-libglib2.0-data_2.82.4-1_all.deb ... 108s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 108s Preparing to unpack .../13-libglib2.0-bin_2.82.4-1_armhf.deb ... 108s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 108s Preparing to unpack .../14-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 108s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 109s Preparing to unpack .../15-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 109s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 109s Preparing to unpack .../16-libglib2.0-0t64_2.82.4-1_armhf.deb ... 109s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 109s Preparing to unpack .../17-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 109s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 109s Preparing to unpack .../18-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 109s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 109s Preparing to unpack .../19-apport_2.31.0-0ubuntu2_all.deb ... 109s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 109s Preparing to unpack .../20-libcap-ng0_0.8.5-4_armhf.deb ... 109s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 109s Setting up libcap-ng0:armhf (0.8.5-4) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59953 files and directories currently installed.) 109s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 109s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 109s Setting up libunistring5:armhf (1.3-1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59953 files and directories currently installed.) 109s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 109s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 109s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 109s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 109s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 109s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 109s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 109s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 109s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 109s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 109s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 109s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 109s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 109s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 109s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 109s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 110s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 110s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 110s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 110s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 110s Preparing to unpack .../10-ucf_3.0046_all.deb ... 110s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 110s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 110s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 110s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 110s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 110s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 110s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 110s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 110s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 110s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 110s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 110s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 110s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 110s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 110s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 110s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 110s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 110s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 110s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 111s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 111s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 111s Preparing to unpack .../21-nano_8.3-1_armhf.deb ... 111s Unpacking nano (8.3-1) over (8.2-1) ... 111s Preparing to unpack .../22-pci.ids_0.0~2024.11.25-1_all.deb ... 111s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 111s Preparing to unpack .../23-publicsuffix_20241206.1516-0.1_all.deb ... 111s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 111s Preparing to unpack .../24-python3.13-gdbm_3.13.1-2_armhf.deb ... 111s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 111s Preparing to unpack .../25-python3.12-gdbm_3.12.8-3_armhf.deb ... 111s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 111s Preparing to unpack .../26-python3-gdbm_3.13.1-1_armhf.deb ... 111s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 111s Preparing to unpack .../27-usb.ids_2024.12.04-1_all.deb ... 111s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 111s Preparing to unpack .../28-xauth_1%3a1.1.2-1.1_armhf.deb ... 111s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 111s Preparing to unpack .../29-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 111s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 111s Preparing to unpack .../30-libappstream5_1.0.4-1_armhf.deb ... 111s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 111s Preparing to unpack .../31-appstream_1.0.4-1_armhf.deb ... 111s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 111s Preparing to unpack .../32-libctf0_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking libctf0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../33-libctf-nobfd0_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../34-binutils-arm-linux-gnueabihf_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../35-libbinutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking libbinutils:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../36-binutils_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking binutils (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../37-binutils-common_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking binutils-common:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../38-libsframe1_2.43.50.20241230-1ubuntu1_armhf.deb ... 111s Unpacking libsframe1:armhf (2.43.50.20241230-1ubuntu1) over (2.43.1-4ubuntu1) ... 111s Preparing to unpack .../39-curl_8.11.1-1ubuntu1_armhf.deb ... 111s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 111s Preparing to unpack .../40-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 111s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 112s Preparing to unpack .../41-dracut-install_105-2ubuntu5_armhf.deb ... 112s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 112s Preparing to unpack .../42-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 112s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 112s Preparing to unpack .../43-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 112s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 112s Preparing to unpack .../44-fwupd_2.0.3-3_armhf.deb ... 112s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 112s Preparing to unpack .../45-libfwupd3_2.0.3-3_armhf.deb ... 112s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 112s Preparing to unpack .../46-libqmi-proxy_1.35.6-1_armhf.deb ... 112s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 112s Preparing to unpack .../47-libqmi-glib5_1.35.6-1_armhf.deb ... 112s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 112s Preparing to unpack .../48-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 112s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 112s Preparing to unpack .../49-libftdi1-2_1.5-8_armhf.deb ... 112s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 112s Preparing to unpack .../50-libgpgme11t64_1.24.1-2ubuntu1_armhf.deb ... 112s Unpacking libgpgme11t64:armhf (1.24.1-2ubuntu1) over (1.24.0-2ubuntu1) ... 112s Preparing to unpack .../51-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 112s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 112s Preparing to unpack .../52-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 112s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 112s Preparing to unpack .../53-libwrap0_7.6.q-34_armhf.deb ... 112s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 112s Preparing to unpack .../54-make_4.4.1-1_armhf.deb ... 112s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 112s Preparing to unpack .../55-python3-attr_24.2.0-1_all.deb ... 112s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 112s Selecting previously unselected package python3-bcrypt. 112s Preparing to unpack .../56-python3-bcrypt_4.2.0-2.1_armhf.deb ... 112s Unpacking python3-bcrypt (4.2.0-2.1) ... 112s Preparing to unpack .../57-python3-cryptography_43.0.0-1_armhf.deb ... 113s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 113s Preparing to unpack .../58-python3-jinja2_3.1.3-1.1_all.deb ... 113s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 113s Preparing to unpack .../59-python3-json-pointer_2.4-3_all.deb ... 113s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 113s Preparing to unpack .../60-python3-jsonpatch_1.32-5_all.deb ... 113s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 113s Preparing to unpack .../61-python3-oauthlib_3.2.2-3_all.deb ... 113s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 113s Preparing to unpack .../62-python3-openssl_24.3.0-1_all.deb ... 113s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 113s Preparing to unpack .../63-python3-pkg-resources_75.6.0-1_all.deb ... 113s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 113s Preparing to unpack .../64-python3-setuptools_75.6.0-1_all.deb ... 113s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 114s Preparing to unpack .../65-software-properties-common_0.108_all.deb ... 114s Unpacking software-properties-common (0.108) over (0.105) ... 114s Preparing to unpack .../66-python3-software-properties_0.108_all.deb ... 114s Unpacking python3-software-properties (0.108) over (0.105) ... 114s Preparing to unpack .../67-python3-wadllib_2.0.0-2_all.deb ... 114s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 114s Setting up systemd-sysv (257-2ubuntu1) ... 114s Setting up pci.ids (0.0~2024.11.25-1) ... 114s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 114s Setting up apt-utils (2.9.18) ... 114s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 114s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 114s Setting up libyaml-0-2:armhf (0.2.5-2) ... 114s Setting up python3.12-gdbm (3.12.8-3) ... 114s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 114s Setting up binutils-common:armhf (2.43.50.20241230-1ubuntu1) ... 114s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 114s Setting up libctf-nobfd0:armhf (2.43.50.20241230-1ubuntu1) ... 114s Setting up gettext-base (0.22.5-3) ... 114s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 114s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 114s Setting up locales (2.40-4ubuntu1) ... 115s Generating locales (this might take a while)... 117s en_US.UTF-8... done 117s Generation complete. 117s Setting up libsframe1:armhf (2.43.50.20241230-1ubuntu1) ... 117s Setting up tzdata (2024b-4ubuntu1) ... 117s 117s Current default time zone: 'Etc/UTC' 117s Local time is now: Thu Jan 9 12:04:38 UTC 2025. 117s Universal Time is now: Thu Jan 9 12:04:38 UTC 2025. 117s Run 'dpkg-reconfigure tzdata' if you wish to change it. 117s 117s Setting up eject (2.40.2-1ubuntu2) ... 117s Setting up libftdi1-2:armhf (1.5-8) ... 117s Setting up libglib2.0-data (2.82.4-1) ... 117s Setting up systemd-cryptsetup (257-2ubuntu1) ... 117s Setting up libwrap0:armhf (7.6.q-34) ... 117s Setting up make (4.4.1-1) ... 117s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 117s Setting up bash-completion (1:2.16.0-1) ... 117s Setting up libfribidi0:armhf (1.0.16-1) ... 117s Setting up libpng16-16t64:armhf (1.6.44-3) ... 117s Setting up systemd-timesyncd (257-2ubuntu1) ... 117s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 118s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 118s Setting up udev (257-2ubuntu1) ... 118s Setting up usb.ids (2024.12.04-1) ... 118s Setting up ucf (3.0046) ... 118s Installing new version of config file /etc/ucf.conf ... 118s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 118s Setting up nano (8.3-1) ... 118s Installing new version of config file /etc/nanorc ... 118s Setting up whiptail (0.52.24-4ubuntu1) ... 118s Setting up python-apt-common (2.9.6build1) ... 118s Setting up dracut-install (105-2ubuntu5) ... 119s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 119s uuidd.service is a disabled or a static unit not running, not starting it. 119s Setting up xauth (1:1.1.2-1.1) ... 119s Setting up groff-base (1.23.0-7) ... 120s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 120s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 120s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 120s Setting up curl (8.11.1-1ubuntu1) ... 120s Setting up libbinutils:armhf (2.43.50.20241230-1ubuntu1) ... 120s Setting up openssl (3.4.0-1ubuntu2) ... 120s Installing new version of config file /etc/ssl/openssl.cnf ... 120s Setting up libgpg-error-l10n (1.51-3) ... 120s Setting up iputils-ping (3:20240905-1ubuntu1) ... 120s Setting up readline-common (8.2-6) ... 120s Setting up publicsuffix (20241206.1516-0.1) ... 120s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 120s Setting up libbpf1:armhf (1:1.5.0-2) ... 120s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 120s Setting up rsync (3.3.0+ds1-2) ... 121s rsync.service is a disabled or a static unit not running, not starting it. 121s Setting up python3.13-gdbm (3.13.1-2) ... 121s Setting up ethtool (1:6.11-1) ... 121s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 121s Setting up systemd-resolved (257-2ubuntu1) ... 121s Setting up libxkbcommon0:armhf (1.7.0-2) ... 121s Setting up libctf0:armhf (2.43.50.20241230-1ubuntu1) ... 121s Setting up python3.12-minimal (3.12.8-3) ... 122s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 122s No schema files found: doing nothing. 122s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 122s Setting up libreadline8t64:armhf (8.2-6) ... 122s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 122s Setting up gpgconf (2.4.4-2ubuntu21) ... 122s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 122s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241230-1ubuntu1) ... 122s Setting up gpg (2.4.4-2ubuntu21) ... 122s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 122s Setcap worked! gst-ptp-helper is not suid! 122s Setting up gpg-agent (2.4.4-2ubuntu21) ... 123s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 123s Setting up python3.12 (3.12.8-3) ... 124s Setting up gpgsm (2.4.4-2ubuntu21) ... 124s Setting up libglib2.0-bin (2.82.4-1) ... 124s Setting up libappstream5:armhf (1.0.4-1) ... 124s Setting up libqmi-glib5:armhf (1.35.6-1) ... 124s Setting up binutils (2.43.50.20241230-1ubuntu1) ... 124s Setting up fdisk (2.40.2-1ubuntu2) ... 124s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 124s Setting up dirmngr (2.4.4-2ubuntu21) ... 124s Setting up appstream (1.0.4-1) ... 124s ✔ Metadata cache was updated successfully. 124s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 124s Setting up keyboxd (2.4.4-2ubuntu21) ... 125s Setting up gnupg (2.4.4-2ubuntu21) ... 125s Setting up libgpgme11t64:armhf (1.24.1-2ubuntu1) ... 125s Setting up libpython3-stdlib:armhf (3.12.8-1) ... 125s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 125s Setting up libqmi-proxy (1.35.6-1) ... 125s Setting up libfwupd3:armhf (2.0.3-3) ... 125s Setting up python3 (3.12.8-1) ... 125s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 125s Setting up python3-jinja2 (3.1.3-1.1) ... 125s Setting up python3-wadllib (2.0.0-2) ... 125s Setting up python3-json-pointer (2.4-3) ... 125s Setting up fwupd (2.0.3-3) ... 126s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 126s fwupd.service is a disabled or a static unit not running, not starting it. 126s Setting up python3-pkg-resources (75.6.0-1) ... 126s Setting up python3-attr (24.2.0-1) ... 126s Setting up python3-setuptools (75.6.0-1) ... 127s Setting up python3-rich (13.9.4-1) ... 128s Setting up python3-gdbm:armhf (3.13.1-1) ... 128s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 128s Setting up python3-apt (2.9.6build1) ... 128s Setting up python3-jsonpatch (1.32-5) ... 128s Setting up python3-bcrypt (4.2.0-2.1) ... 128s Setting up python3-apport (2.31.0-0ubuntu2) ... 128s Setting up python3-software-properties (0.108) ... 128s Setting up python3-cryptography (43.0.0-1) ... 129s Setting up python3-openssl (24.3.0-1) ... 129s Setting up software-properties-common (0.108) ... 129s Setting up python3-oauthlib (3.2.2-3) ... 129s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 130s Setting up apport (2.31.0-0ubuntu2) ... 131s apport-autoreport.service is a disabled or a static unit not running, not starting it. 131s Processing triggers for dbus (1.14.10-4ubuntu5) ... 131s Processing triggers for shared-mime-info (2.4-5) ... 131s Warning: program compiled against libxml 212 using older 209 131s Processing triggers for debianutils (5.21) ... 131s Processing triggers for install-info (7.1.1-1) ... 131s Processing triggers for initramfs-tools (0.142ubuntu35) ... 131s Processing triggers for libc-bin (2.40-4ubuntu1) ... 132s Processing triggers for systemd (257-2ubuntu1) ... 132s Processing triggers for man-db (2.13.0-1) ... 137s Reading package lists... 137s Building dependency tree... 137s Reading state information... 138s Starting pkgProblemResolver with broken count: 0 138s Starting 2 pkgProblemResolver with broken count: 0 138s Done 139s The following packages will be REMOVED: 139s libassuan0* 139s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 139s After this operation, 68.6 kB disk space will be freed. 139s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60003 files and directories currently installed.) 139s Removing libassuan0:armhf (2.5.6-1build1) ... 139s Processing triggers for libc-bin (2.40-4ubuntu1) ... 142s autopkgtest [12:05:03]: rebooting testbed after setup commands that affected boot 193s autopkgtest [12:05:54]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 222s autopkgtest [12:06:23]: @@@@@@@@@@@@@@@@@@@@ apt-source optuna 235s Get:1 http://ftpmaster.internal/ubuntu plucky/universe optuna 3.6.1-1 (dsc) [2174 B] 235s Get:2 http://ftpmaster.internal/ubuntu plucky/universe optuna 3.6.1-1 (tar) [633 kB] 235s Get:3 http://ftpmaster.internal/ubuntu plucky/universe optuna 3.6.1-1 (diff) [4956 B] 235s gpgv: Signature made Wed May 1 10:56:37 2024 UTC 235s gpgv: using RSA key CFC5EF8510851E7355B55E809D11582AFD548CFA 235s gpgv: issuer "gspr@nonempty.org" 235s gpgv: Can't check signature: No public key 235s dpkg-source: warning: cannot verify inline signature for ./optuna_3.6.1-1.dsc: no acceptable signature found 235s autopkgtest [12:06:36]: testing package optuna version 3.6.1-1 238s autopkgtest [12:06:39]: build not needed 241s autopkgtest [12:06:42]: test upstream-main.sh: preparing testbed 244s Reading package lists... 244s Building dependency tree... 244s Reading state information... 245s Starting pkgProblemResolver with broken count: 0 245s Starting 2 pkgProblemResolver with broken count: 0 245s Done 246s The following NEW packages will be installed: 246s libblas3 libgfortran5 libgomp1 liblapack3 liblbfgsb0 libluajit-5.1-2 246s libluajit-5.1-common libpython3.13-minimal libpython3.13-stdlib 246s python3-alembic python3-all python3-async-timeout python3-colorlog 246s python3-dateutil python3-decorator python3-deprecated python3-fakeredis 246s python3-fastjsonschema python3-greenlet python3-iniconfig python3-joblib 246s python3-jupyter-core python3-lupa python3-mako python3-nbformat 246s python3-numpy python3-optuna python3-packaging python3-pandas 246s python3-pandas-lib python3-platformdirs python3-plotly python3-pluggy 246s python3-pytest python3-redis python3-scipy python3-sklearn 246s python3-sklearn-lib python3-sortedcontainers python3-sqlalchemy 246s python3-tenacity python3-threadpoolctl python3-tqdm python3-traitlets 246s python3-tz python3-wrapt python3.13 python3.13-minimal 246s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 246s Need to get 58.1 MB of archives. 246s After this operation, 301 MB of additional disk space will be used. 246s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 246s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 246s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-4 [126 kB] 246s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-12ubuntu1 [311 kB] 246s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-12ubuntu1 [125 kB] 246s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-4 [2086 kB] 246s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf liblbfgsb0 armhf 3.0+dfsg.4-1build1 [27.4 kB] 246s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf libluajit-5.1-common all 2.1.0+openresty20240815-1.2 [54.7 kB] 246s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf libluajit-5.1-2 armhf 2.1.0+openresty20240815-1.2 [233 kB] 246s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 247s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf python3-mako all 1.3.6-1 [63.5 kB] 247s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf python3-greenlet armhf 3.1.0-1 [175 kB] 247s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sqlalchemy all 2.0.32+ds1-1ubuntu3 [1206 kB] 247s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-alembic all 1.13.2-4 [149 kB] 247s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 247s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.8-1 [892 B] 247s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-timeout all 5.0.1-1 [6830 B] 247s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-colorlog all 6.9.0-1 [21.6 kB] 247s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-3 [80.2 kB] 247s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf python3-decorator all 5.1.1-5 [10.1 kB] 247s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wrapt armhf 1.15.0-4 [32.5 kB] 247s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-deprecated all 1.2.15-1 [10.5 kB] 247s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 247s Get:24 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-redis all 4.3.4-4 [166 kB] 247s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sortedcontainers all 2.4.0-2 [27.6 kB] 247s Get:26 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-fakeredis all 2.26.1-1 [73.0 kB] 247s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-fastjsonschema all 2.21.1-1 [20.4 kB] 247s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 247s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-joblib all 1.3.2-5 [206 kB] 247s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf python3-platformdirs all 4.3.6-1 [16.8 kB] 247s Get:31 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-traitlets all 5.14.3+really5.14.3-1 [71.5 kB] 247s Get:32 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-jupyter-core all 5.7.2-5 [28.1 kB] 247s Get:33 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-lupa armhf 2.2+dfsg-1 [205 kB] 247s Get:34 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-nbformat all 5.9.1-1 [41.2 kB] 247s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-12 [4001 kB] 247s Get:36 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tqdm all 4.67.1-1 [92.5 kB] 247s Get:37 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-optuna all 3.6.1-1 [199 kB] 247s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tz all 2024.2-1 [31.5 kB] 247s Get:39 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pandas-lib armhf 2.2.3+dfsg-5ubuntu1 [7608 kB] 247s Get:40 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pandas all 2.2.3+dfsg-5ubuntu1 [3112 kB] 247s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tenacity all 8.5.0-0ubuntu1 [17.0 kB] 247s Get:42 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-plotly all 5.20.0+dfsg-1 [2766 kB] 248s Get:43 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 248s Get:44 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.4-1 [252 kB] 248s Get:45 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-scipy armhf 1.14.1-3ubuntu1 [19.8 MB] 248s Get:46 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-threadpoolctl all 3.1.0-1 [21.3 kB] 248s Get:47 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sklearn-lib armhf 1.4.2+dfsg-7 [6690 kB] 248s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sklearn all 1.4.2+dfsg-7 [2257 kB] 249s Fetched 58.1 MB in 3s (20.5 MB/s) 249s Selecting previously unselected package libpython3.13-minimal:armhf. 249s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59998 files and directories currently installed.) 249s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_armhf.deb ... 249s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 249s Selecting previously unselected package python3.13-minimal. 249s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_armhf.deb ... 249s Unpacking python3.13-minimal (3.13.1-2) ... 249s Selecting previously unselected package libblas3:armhf. 249s Preparing to unpack .../02-libblas3_3.12.0-4_armhf.deb ... 249s Unpacking libblas3:armhf (3.12.0-4) ... 249s Selecting previously unselected package libgfortran5:armhf. 249s Preparing to unpack .../03-libgfortran5_14.2.0-12ubuntu1_armhf.deb ... 249s Unpacking libgfortran5:armhf (14.2.0-12ubuntu1) ... 249s Selecting previously unselected package libgomp1:armhf. 249s Preparing to unpack .../04-libgomp1_14.2.0-12ubuntu1_armhf.deb ... 249s Unpacking libgomp1:armhf (14.2.0-12ubuntu1) ... 249s Selecting previously unselected package liblapack3:armhf. 249s Preparing to unpack .../05-liblapack3_3.12.0-4_armhf.deb ... 249s Unpacking liblapack3:armhf (3.12.0-4) ... 249s Selecting previously unselected package liblbfgsb0:armhf. 249s Preparing to unpack .../06-liblbfgsb0_3.0+dfsg.4-1build1_armhf.deb ... 249s Unpacking liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 249s Selecting previously unselected package libluajit-5.1-common. 249s Preparing to unpack .../07-libluajit-5.1-common_2.1.0+openresty20240815-1.2_all.deb ... 249s Unpacking libluajit-5.1-common (2.1.0+openresty20240815-1.2) ... 249s Selecting previously unselected package libluajit-5.1-2:armhf. 249s Preparing to unpack .../08-libluajit-5.1-2_2.1.0+openresty20240815-1.2_armhf.deb ... 249s Unpacking libluajit-5.1-2:armhf (2.1.0+openresty20240815-1.2) ... 249s Selecting previously unselected package libpython3.13-stdlib:armhf. 250s Preparing to unpack .../09-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 250s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 250s Selecting previously unselected package python3-mako. 250s Preparing to unpack .../10-python3-mako_1.3.6-1_all.deb ... 250s Unpacking python3-mako (1.3.6-1) ... 250s Selecting previously unselected package python3-greenlet. 250s Preparing to unpack .../11-python3-greenlet_3.1.0-1_armhf.deb ... 250s Unpacking python3-greenlet (3.1.0-1) ... 250s Selecting previously unselected package python3-sqlalchemy. 250s Preparing to unpack .../12-python3-sqlalchemy_2.0.32+ds1-1ubuntu3_all.deb ... 250s Unpacking python3-sqlalchemy (2.0.32+ds1-1ubuntu3) ... 250s Selecting previously unselected package python3-alembic. 250s Preparing to unpack .../13-python3-alembic_1.13.2-4_all.deb ... 250s Unpacking python3-alembic (1.13.2-4) ... 250s Selecting previously unselected package python3.13. 250s Preparing to unpack .../14-python3.13_3.13.1-2_armhf.deb ... 250s Unpacking python3.13 (3.13.1-2) ... 250s Selecting previously unselected package python3-all. 250s Preparing to unpack .../15-python3-all_3.12.8-1_armhf.deb ... 250s Unpacking python3-all (3.12.8-1) ... 250s Selecting previously unselected package python3-async-timeout. 250s Preparing to unpack .../16-python3-async-timeout_5.0.1-1_all.deb ... 250s Unpacking python3-async-timeout (5.0.1-1) ... 250s Selecting previously unselected package python3-colorlog. 250s Preparing to unpack .../17-python3-colorlog_6.9.0-1_all.deb ... 250s Unpacking python3-colorlog (6.9.0-1) ... 250s Selecting previously unselected package python3-dateutil. 250s Preparing to unpack .../18-python3-dateutil_2.9.0-3_all.deb ... 250s Unpacking python3-dateutil (2.9.0-3) ... 250s Selecting previously unselected package python3-decorator. 250s Preparing to unpack .../19-python3-decorator_5.1.1-5_all.deb ... 250s Unpacking python3-decorator (5.1.1-5) ... 250s Selecting previously unselected package python3-wrapt. 250s Preparing to unpack .../20-python3-wrapt_1.15.0-4_armhf.deb ... 250s Unpacking python3-wrapt (1.15.0-4) ... 250s Selecting previously unselected package python3-deprecated. 250s Preparing to unpack .../21-python3-deprecated_1.2.15-1_all.deb ... 250s Unpacking python3-deprecated (1.2.15-1) ... 250s Selecting previously unselected package python3-packaging. 250s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 250s Unpacking python3-packaging (24.2-1) ... 250s Selecting previously unselected package python3-redis. 250s Preparing to unpack .../23-python3-redis_4.3.4-4_all.deb ... 250s Unpacking python3-redis (4.3.4-4) ... 250s Selecting previously unselected package python3-sortedcontainers. 250s Preparing to unpack .../24-python3-sortedcontainers_2.4.0-2_all.deb ... 250s Unpacking python3-sortedcontainers (2.4.0-2) ... 250s Selecting previously unselected package python3-fakeredis. 250s Preparing to unpack .../25-python3-fakeredis_2.26.1-1_all.deb ... 250s Unpacking python3-fakeredis (2.26.1-1) ... 250s Selecting previously unselected package python3-fastjsonschema. 250s Preparing to unpack .../26-python3-fastjsonschema_2.21.1-1_all.deb ... 250s Unpacking python3-fastjsonschema (2.21.1-1) ... 250s Selecting previously unselected package python3-iniconfig. 250s Preparing to unpack .../27-python3-iniconfig_1.1.1-2_all.deb ... 250s Unpacking python3-iniconfig (1.1.1-2) ... 250s Selecting previously unselected package python3-joblib. 250s Preparing to unpack .../28-python3-joblib_1.3.2-5_all.deb ... 250s Unpacking python3-joblib (1.3.2-5) ... 250s Selecting previously unselected package python3-platformdirs. 250s Preparing to unpack .../29-python3-platformdirs_4.3.6-1_all.deb ... 250s Unpacking python3-platformdirs (4.3.6-1) ... 250s Selecting previously unselected package python3-traitlets. 250s Preparing to unpack .../30-python3-traitlets_5.14.3+really5.14.3-1_all.deb ... 250s Unpacking python3-traitlets (5.14.3+really5.14.3-1) ... 251s Selecting previously unselected package python3-jupyter-core. 251s Preparing to unpack .../31-python3-jupyter-core_5.7.2-5_all.deb ... 251s Unpacking python3-jupyter-core (5.7.2-5) ... 251s Selecting previously unselected package python3-lupa. 251s Preparing to unpack .../32-python3-lupa_2.2+dfsg-1_armhf.deb ... 251s Unpacking python3-lupa (2.2+dfsg-1) ... 251s Selecting previously unselected package python3-nbformat. 251s Preparing to unpack .../33-python3-nbformat_5.9.1-1_all.deb ... 251s Unpacking python3-nbformat (5.9.1-1) ... 251s Selecting previously unselected package python3-numpy. 251s Preparing to unpack .../34-python3-numpy_1%3a1.26.4+ds-12_armhf.deb ... 251s Unpacking python3-numpy (1:1.26.4+ds-12) ... 251s Selecting previously unselected package python3-tqdm. 251s Preparing to unpack .../35-python3-tqdm_4.67.1-1_all.deb ... 251s Unpacking python3-tqdm (4.67.1-1) ... 251s Selecting previously unselected package python3-optuna. 251s Preparing to unpack .../36-python3-optuna_3.6.1-1_all.deb ... 251s Unpacking python3-optuna (3.6.1-1) ... 251s Selecting previously unselected package python3-tz. 251s Preparing to unpack .../37-python3-tz_2024.2-1_all.deb ... 251s Unpacking python3-tz (2024.2-1) ... 251s Selecting previously unselected package python3-pandas-lib:armhf. 251s Preparing to unpack .../38-python3-pandas-lib_2.2.3+dfsg-5ubuntu1_armhf.deb ... 251s Unpacking python3-pandas-lib:armhf (2.2.3+dfsg-5ubuntu1) ... 251s Selecting previously unselected package python3-pandas. 251s Preparing to unpack .../39-python3-pandas_2.2.3+dfsg-5ubuntu1_all.deb ... 251s Unpacking python3-pandas (2.2.3+dfsg-5ubuntu1) ... 252s Selecting previously unselected package python3-tenacity. 252s Preparing to unpack .../40-python3-tenacity_8.5.0-0ubuntu1_all.deb ... 252s Unpacking python3-tenacity (8.5.0-0ubuntu1) ... 252s Selecting previously unselected package python3-plotly. 252s Preparing to unpack .../41-python3-plotly_5.20.0+dfsg-1_all.deb ... 252s Unpacking python3-plotly (5.20.0+dfsg-1) ... 254s Selecting previously unselected package python3-pluggy. 254s Preparing to unpack .../42-python3-pluggy_1.5.0-1_all.deb ... 254s Unpacking python3-pluggy (1.5.0-1) ... 254s Selecting previously unselected package python3-pytest. 254s Preparing to unpack .../43-python3-pytest_8.3.4-1_all.deb ... 254s Unpacking python3-pytest (8.3.4-1) ... 254s Selecting previously unselected package python3-scipy. 254s Preparing to unpack .../44-python3-scipy_1.14.1-3ubuntu1_armhf.deb ... 254s Unpacking python3-scipy (1.14.1-3ubuntu1) ... 254s Selecting previously unselected package python3-threadpoolctl. 254s Preparing to unpack .../45-python3-threadpoolctl_3.1.0-1_all.deb ... 254s Unpacking python3-threadpoolctl (3.1.0-1) ... 254s Selecting previously unselected package python3-sklearn-lib:armhf. 254s Preparing to unpack .../46-python3-sklearn-lib_1.4.2+dfsg-7_armhf.deb ... 254s Unpacking python3-sklearn-lib:armhf (1.4.2+dfsg-7) ... 255s Selecting previously unselected package python3-sklearn. 255s Preparing to unpack .../47-python3-sklearn_1.4.2+dfsg-7_all.deb ... 255s Unpacking python3-sklearn (1.4.2+dfsg-7) ... 255s Setting up python3-iniconfig (1.1.1-2) ... 255s Setting up python3-joblib (1.3.2-5) ... 256s Setting up python3-colorlog (6.9.0-1) ... 256s Setting up python3-tenacity (8.5.0-0ubuntu1) ... 256s Setting up python3-tqdm (4.67.1-1) ... 257s Setting up python3-threadpoolctl (3.1.0-1) ... 257s Setting up python3-sortedcontainers (2.4.0-2) ... 257s Setting up libgomp1:armhf (14.2.0-12ubuntu1) ... 257s Setting up python3-platformdirs (4.3.6-1) ... 257s Setting up python3-tz (2024.2-1) ... 257s Setting up python3-async-timeout (5.0.1-1) ... 257s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 257s Setting up python3-decorator (5.1.1-5) ... 258s Setting up libblas3:armhf (3.12.0-4) ... 258s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 258s Setting up python3-packaging (24.2-1) ... 258s Setting up python3-greenlet (3.1.0-1) ... 258s Setting up libluajit-5.1-common (2.1.0+openresty20240815-1.2) ... 258s Setting up python3-wrapt (1.15.0-4) ... 258s Setting up libgfortran5:armhf (14.2.0-12ubuntu1) ... 258s Setting up python3-pluggy (1.5.0-1) ... 259s Setting up python3-fastjsonschema (2.21.1-1) ... 259s Setting up python3-traitlets (5.14.3+really5.14.3-1) ... 259s Setting up python3.13-minimal (3.13.1-2) ... 260s Setting up python3-dateutil (2.9.0-3) ... 260s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 260s Setting up python3-deprecated (1.2.15-1) ... 260s Setting up python3-jupyter-core (5.7.2-5) ... 261s Setting up python3-mako (1.3.6-1) ... 261s Setting up liblapack3:armhf (3.12.0-4) ... 261s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 261s Setting up python3.13 (3.13.1-2) ... 262s Setting up python3-pytest (8.3.4-1) ... 263s Setting up python3-all (3.12.8-1) ... 263s Setting up python3-nbformat (5.9.1-1) ... 263s Setting up libluajit-5.1-2:armhf (2.1.0+openresty20240815-1.2) ... 263s Setting up python3-sqlalchemy (2.0.32+ds1-1ubuntu3) ... 266s Setting up python3-redis (4.3.4-4) ... 267s Setting up python3-plotly (5.20.0+dfsg-1) ... 282s Setting up python3-numpy (1:1.26.4+ds-12) ... 286s Setting up python3-fakeredis (2.26.1-1) ... 286s Setting up python3-alembic (1.13.2-4) ... 287s Setting up liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 287s Setting up python3-lupa (2.2+dfsg-1) ... 287s Setting up python3-scipy (1.14.1-3ubuntu1) ... 294s Setting up python3-pandas-lib:armhf (2.2.3+dfsg-5ubuntu1) ... 294s Setting up python3-sklearn-lib:armhf (1.4.2+dfsg-7) ... 294s Setting up python3-optuna (3.6.1-1) ... 295s Setting up python3-pandas (2.2.3+dfsg-5ubuntu1) ... 306s Setting up python3-sklearn (1.4.2+dfsg-7) ... 311s Processing triggers for systemd (257-2ubuntu1) ... 311s Processing triggers for man-db (2.13.0-1) ... 311s Processing triggers for libc-bin (2.40-4ubuntu1) ... 320s autopkgtest [12:08:01]: test upstream-main.sh: [----------------------- 322s Running main upstream test set with Python 3.13. 322s TODO: Whitelist the sampler tests that don't require unsatisfied deps. 322s TODO: Whitelist the importance tests that don't require unsatisfied deps. 323s ============================= test session starts ============================== 323s platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3.13 323s cachedir: .pytest_cache 323s rootdir: /tmp/autopkgtest.sLVbBz/autopkgtest_tmp 323s plugins: typeguard-4.4.1 326s collecting ... collected 1705 items 326s 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[0-bounds0-0.0-2.0-0.2] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[0-bounds1-1.0-2.0-0.25] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[0-bounds2-2.0-2.5-0.3] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[0-bounds3-0.0-0.0-0.5] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[1-bounds4-0.0-100.0-0.2] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[1-bounds5-1.0-2.0-0.455340497393906] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_normalize_unnormalize_one_param[2-bounds6-0.0-3.0-3.0] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_round_one_normalized_param[0-bounds0-1.0-0.21-0.25] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_round_one_normalized_param[1-bounds1-1.0-0.42073391530656534-0.455340497393906] PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_sample_normalized_params PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_get_search_space_and_normalized_params_no_categorical PASSED [ 0%] 326s tests/gp_tests/test_search_space.py::test_get_untransform_search_space PASSED [ 0%] 329s tests/hypervolume_tests/test_hssp.py::test_solve_hssp[2] PASSED [ 0%] 329s tests/hypervolume_tests/test_hssp.py::test_solve_hssp[3] PASSED [ 0%] 330s tests/hypervolume_tests/test_hssp.py::test_solve_hssp_infinite_loss PASSED [ 0%] 330s tests/hypervolume_tests/test_utils.py::test_compute_2points_volume PASSED [ 0%] 330s tests/hypervolume_tests/test_utils.py::test_compute_2d PASSED [ 0%] 330s tests/hypervolume_tests/test_wfg.py::test_wfg_2d PASSED [ 1%] 330s tests/hypervolume_tests/test_wfg.py::test_wfg_3d PASSED [ 1%] 330s tests/hypervolume_tests/test_wfg.py::test_wfg_nd PASSED [ 1%] 330s tests/hypervolume_tests/test_wfg.py::test_wfg_duplicate_points PASSED [ 1%] 330s tests/hypervolume_tests/test_wfg.py::test_invalid_input PASSED [ 1%] 330s tests/multi_objective_tests/samplers_tests/test_motpe.py::test_reseed_rng PASSED [ 1%] 330s tests/multi_objective_tests/samplers_tests/test_motpe.py::test_sample_relative PASSED [ 1%] 330s tests/multi_objective_tests/samplers_tests/test_motpe.py::test_infer_relative_search_space PASSED [ 1%] 332s tests/multi_objective_tests/samplers_tests/test_motpe.py::test_sample_independent PASSED [ 1%] 340s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_population_size PASSED [ 1%] 340s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_mutation_prob PASSED [ 1%] 340s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_crossover_prob PASSED [ 1%] 340s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_swapping_prob PASSED [ 1%] 340s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_fast_non_dominated_sort PASSED [ 1%] 340s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_crowding_distance_sort PASSED [ 1%] 342s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_study_system_attr_for_population_cache PASSED [ 1%] 342s tests/multi_objective_tests/samplers_tests/test_nsga2.py::test_reseed_rng PASSED [ 1%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution0-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution0-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution1-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution1-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution2-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution2-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution3-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution3-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution4-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution4-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution5-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution5-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution6-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution6-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution7-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution7-NSGAIIMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution8-RandomMultiObjectiveSampler] PASSED [ 2%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution8-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution9-RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution9-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution10-RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution10-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution11-RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution11-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution12-RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution12-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution13-RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution13-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution14-RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_sample_independent[distribution14-NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_random_mo_sampler_reseed_rng PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_deprecated_warning[RandomMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_deprecated_warning[NSGAIIMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/samplers_tests/test_samplers.py::test_deprecated_warning[MOTPEMultiObjectiveSampler] PASSED [ 3%] 342s tests/multi_objective_tests/test_study.py::test_create_study PASSED [ 4%] 343s tests/multi_objective_tests/test_study.py::test_load_study PASSED [ 4%] 344s tests/multi_objective_tests/test_study.py::test_optimize[1] PASSED [ 4%] 345s tests/multi_objective_tests/test_study.py::test_optimize[2] PASSED [ 4%] 346s tests/multi_objective_tests/test_study.py::test_optimize[3] PASSED [ 4%] 347s tests/multi_objective_tests/test_study.py::test_pareto_front PASSED [ 4%] 347s tests/multi_objective_tests/test_study.py::test_study_user_attrs PASSED [ 4%] 347s tests/multi_objective_tests/test_study.py::test_enqueue_trial PASSED [ 4%] 347s tests/multi_objective_tests/test_study.py::test_callbacks PASSED [ 4%] 348s tests/multi_objective_tests/test_study.py::test_log_completed_trial PASSED [ 4%] 349s tests/multi_objective_tests/test_trial.py::test_suggest PASSED [ 4%] 349s tests/multi_objective_tests/test_trial.py::test_report PASSED [ 4%] 350s tests/multi_objective_tests/test_trial.py::test_number PASSED [ 4%] 351s tests/multi_objective_tests/test_trial.py::test_user_attrs PASSED [ 4%] 351s tests/multi_objective_tests/test_trial.py::test_params_and_distributions PASSED [ 4%] 351s tests/multi_objective_tests/test_trial.py::test_datetime PASSED [ 4%] 351s tests/multi_objective_tests/test_trial.py::test_dominates PASSED [ 4%] 351s tests/multi_objective_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names0] PASSED [ 5%] 351s tests/multi_objective_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names1] PASSED [ 5%] 351s tests/multi_objective_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names2] PASSED [ 5%] 352s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_2d[None-False] PASSED [ 5%] 352s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_2d[None-True] PASSED [ 5%] 352s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_2d[axis_order1-False] PASSED [ 5%] 353s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_2d[axis_order1-True] PASSED [ 5%] 353s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_2d[axis_order2-False] PASSED [ 5%] 354s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_2d[axis_order2-True] PASSED [ 5%] 354s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[None-False] PASSED [ 5%] 354s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[None-True] PASSED [ 5%] 355s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order1-False] PASSED [ 5%] 355s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order1-True] PASSED [ 5%] 355s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order2-False] PASSED [ 5%] 356s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order2-True] PASSED [ 5%] 356s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order3-False] PASSED [ 5%] 357s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order3-True] PASSED [ 5%] 357s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order4-False] PASSED [ 6%] 357s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order4-True] PASSED [ 6%] 358s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order5-False] PASSED [ 6%] 358s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order5-True] PASSED [ 6%] 358s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order6-False] PASSED [ 6%] 359s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_3d[axis_order6-True] PASSED [ 6%] 359s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_unsupported_dimensions[False] PASSED [ 6%] 360s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_unsupported_dimensions[True] PASSED [ 6%] 360s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_invalid_axis_order[False-2] PASSED [ 6%] 360s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_invalid_axis_order[False-3] PASSED [ 6%] 360s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_invalid_axis_order[True-2] PASSED [ 6%] 360s tests/multi_objective_tests/visualization_tests/test_pareto_front.py::test_plot_pareto_front_invalid_axis_order[True-3] PASSED [ 6%] 360s tests/pruners_tests/test_hyperband.py::test_hyperband_pruner_intermediate_values PASSED [ 6%] 360s tests/pruners_tests/test_hyperband.py::test_bracket_study PASSED [ 6%] 360s tests/pruners_tests/test_hyperband.py::test_hyperband_max_resource_is_auto PASSED [ 6%] 360s tests/pruners_tests/test_hyperband.py::test_hyperband_max_resource_value_error PASSED [ 6%] 360s tests/pruners_tests/test_hyperband.py::test_hyperband_filter_study[0] PASSED [ 6%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_filter_study[1] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_filter_study[2] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_filter_study[3] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_filter_study[0] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_filter_study[1] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_filter_study[2] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_filter_study[3] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_call_of_filter_study_in_should_prune[0] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_call_of_filter_study_in_should_prune[1] PASSED [ 7%] 361s tests/pruners_tests/test_hyperband.py::test_hyperband_no_call_of_filter_study_in_should_prune[2] PASSED [ 7%] 362s tests/pruners_tests/test_hyperband.py::test_hyperband_no_call_of_filter_study_in_should_prune[3] PASSED [ 7%] 362s tests/pruners_tests/test_hyperband.py::test_incompatibility_between_bootstrap_count_and_auto_max_resource PASSED [ 7%] 362s tests/pruners_tests/test_hyperband.py::test_hyperband_pruner_and_grid_sampler PASSED [ 7%] 362s tests/pruners_tests/test_median.py::test_median_pruner_with_one_trial PASSED [ 7%] 362s tests/pruners_tests/test_median.py::test_median_pruner_intermediate_values[direction_value0] PASSED [ 7%] 362s tests/pruners_tests/test_median.py::test_median_pruner_intermediate_values[direction_value1] PASSED [ 7%] 362s tests/pruners_tests/test_median.py::test_median_pruner_intermediate_values_nan PASSED [ 7%] 362s tests/pruners_tests/test_median.py::test_median_pruner_n_startup_trials PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_n_warmup_steps PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[0-1-1-expected_prune_steps0] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[1-1-1-expected_prune_steps1] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[1-2-1-expected_prune_steps2] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[0-3-10-expected_prune_steps3] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[2-3-10-expected_prune_steps4] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[0-10-3-expected_prune_steps5] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_interval_steps[2-10-3-expected_prune_steps6] PASSED [ 8%] 362s tests/pruners_tests/test_median.py::test_median_pruner_n_min_trials PASSED [ 8%] 362s tests/pruners_tests/test_nop.py::test_nop_pruner PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_experimental_warning PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_patience PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_min_delta PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_with_one_trial PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values_nan PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-0-maximize-intermediates0-expected_prune_steps0] PASSED [ 8%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-0-maximize-intermediates1-expected_prune_steps1] PASSED [ 9%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-0-minimize-intermediates2-expected_prune_steps2] PASSED [ 9%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-0-minimize-intermediates3-expected_prune_steps3] PASSED [ 9%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-1.0-maximize-intermediates4-expected_prune_steps4] PASSED [ 9%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-1.0-maximize-intermediates5-expected_prune_steps5] PASSED [ 9%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-1.0-minimize-intermediates6-expected_prune_steps6] PASSED [ 9%] 362s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-1.0-minimize-intermediates7-expected_prune_steps7] PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_percentile_pruner_percentile PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_percentile_pruner_n_startup_trials PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_percentile_pruner_n_warmup_steps PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_percentile_pruner_interval_steps PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_percentile_pruner_with_one_trial PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_25_percentile_pruner_intermediate_values[direction_value0] PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_25_percentile_pruner_intermediate_values[direction_value1] PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_25_percentile_pruner_intermediate_values_nan PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_get_best_intermediate_result_over_steps[direction_expected0] PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_get_best_intermediate_result_over_steps[direction_expected1] PASSED [ 9%] 362s tests/pruners_tests/test_percentile.py::test_get_percentile_intermediate_result_over_trials PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_intermediate_values[direction_value0] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_intermediate_values[direction_value1] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_rung_check PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_first_trial_is_not_pruned PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_nan PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_auto_min_resource[1-0] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_auto_min_resource[1-1] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_auto_min_resource[1-2] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_auto_min_resource[2-0] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_auto_min_resource[2-1] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_auto_min_resource[2-2] PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_with_invalid_str_to_min_resource PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_min_resource_parameter PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_reduction_factor_parameter PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_min_early_stopping_rate_parameter PASSED [ 10%] 362s tests/pruners_tests/test_successive_halving.py::test_successive_halving_pruner_bootstrap_parameter PASSED [ 10%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_with_ub PASSED [ 11%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_with_lt PASSED [ 11%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_with_two_side PASSED [ 11%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_with_invalid_inputs PASSED [ 11%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_with_nan PASSED [ 11%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_n_warmup_steps PASSED [ 11%] 362s tests/pruners_tests/test_threshold.py::test_threshold_pruner_interval_steps PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_first_trial PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_when_best_trial_has_no_intermediate_value PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_normal[0.2-step_values0-expected_should_prune0] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_normal[0.15-step_values1-expected_should_prune1] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[minimize-best_intermediate_values0-intermediate_values0] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[minimize-best_intermediate_values1-intermediate_values1] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[minimize-best_intermediate_values2-intermediate_values2] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[minimize-best_intermediate_values3-intermediate_values3] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[minimize-best_intermediate_values4-intermediate_values4] PASSED [ 11%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[maximize-best_intermediate_values0-intermediate_values0] PASSED [ 12%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[maximize-best_intermediate_values1-intermediate_values1] PASSED [ 12%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[maximize-best_intermediate_values2-intermediate_values2] PASSED [ 12%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[maximize-best_intermediate_values3-intermediate_values3] PASSED [ 12%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_warn_bad_best_trial[maximize-best_intermediate_values4-intermediate_values4] PASSED [ 12%] 362s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_if_average_is_best_then_not_prune PASSED [ 12%] 362s tests/search_space_tests/test_group_decomposed.py::test_search_space_group PASSED [ 12%] 362s tests/search_space_tests/test_group_decomposed.py::test_group_decomposed_search_space PASSED [ 12%] 362s tests/search_space_tests/test_group_decomposed.py::test_group_decomposed_search_space_with_different_studies PASSED [ 12%] 362s tests/search_space_tests/test_intersection.py::test_intersection_search_space PASSED [ 12%] 363s tests/search_space_tests/test_intersection.py::test_intersection_search_space_class_with_different_studies PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestStudyDirectionModel::test_where_study_id PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestStudyDirectionModel::test_cascade_delete_on_study PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestStudySystemAttributeModel::test_find_by_study_and_key PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestStudySystemAttributeModel::test_where_study_id PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestStudySystemAttributeModel::test_cascade_delete_on_study PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialModel::test_default_datetime PASSED [ 12%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialModel::test_count PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialModel::test_count_past_trials PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialModel::test_cascade_delete_on_study PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialUserAttributeModel::test_find_by_trial_and_key PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialUserAttributeModel::test_cascade_delete_on_trial PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialSystemAttributeModel::test_find_by_trial_and_key PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialSystemAttributeModel::test_cascade_delete_on_trial PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialValueModel::test_find_by_trial_and_objective PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialValueModel::test_where_trial_id PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialValueModel::test_cascade_delete_on_trial PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialIntermediateValueModel::test_find_by_trial_and_step PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialIntermediateValueModel::test_where_trial_id PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialIntermediateValueModel::test_cascade_delete_on_trial PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialHeartbeatModel::test_where_trial_id PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestTrialHeartbeatModel::test_cascade_delete_on_trial PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_models.py::TestVersionInfoModel::test_version_info_id_constraint PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_storage.py::test_init PASSED [ 13%] 363s tests/storages_tests/rdb_tests/test_storage.py::test_init_url_template PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_init_url_that_contains_percent_character PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_init_db_module_import_error PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_engine_kwargs PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_set_default_engine_kwargs_for_mysql[mysql://localhost-engine_kwargs0-False] PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_set_default_engine_kwargs_for_mysql[mysql://localhost-engine_kwargs1-True] PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_set_default_engine_kwargs_for_mysql[mysql://localhost-engine_kwargs2-True] PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_set_default_engine_kwargs_for_mysql[mysql+pymysql://localhost-engine_kwargs3-True] PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_set_default_engine_kwargs_for_mysql[mysql://localhost-engine_kwargs4-True] PASSED [ 14%] 364s tests/storages_tests/rdb_tests/test_storage.py::test_set_default_engine_kwargs_for_mysql_with_other_rdb PASSED [ 14%] 365s tests/storages_tests/rdb_tests/test_storage.py::test_check_table_schema_compatibility PASSED [ 14%] 365s tests/storages_tests/rdb_tests/test_storage.py::test_create_scoped_session PASSED [ 14%] 365s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_identity PASSED [ 14%] 366s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[0.9.0.a] PASSED [ 14%] 367s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[1.2.0.a] PASSED [ 14%] 368s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[1.3.0.a] PASSED [ 14%] 369s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[2.4.0.a] PASSED [ 14%] 370s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[2.6.0.a] PASSED [ 15%] 370s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[3.0.0.a] PASSED [ 15%] 371s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[3.0.0.b] PASSED [ 15%] 372s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[3.0.0.c] PASSED [ 15%] 373s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[3.0.0.d] PASSED [ 15%] 374s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_single_objective_optimization[3.2.0.a] PASSED [ 15%] 374s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[2.4.0.a] PASSED [ 15%] 375s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[2.6.0.a] PASSED [ 15%] 376s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[3.0.0.a] PASSED [ 15%] 376s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[3.0.0.b] PASSED [ 15%] 377s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[3.0.0.c] PASSED [ 15%] 378s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[3.0.0.d] PASSED [ 15%] 378s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_multi_objective_optimization[3.2.0.a] PASSED [ 15%] 379s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[2.4.0.a] PASSED [ 15%] 379s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[2.6.0.a] PASSED [ 15%] 380s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[3.0.0.a] PASSED [ 15%] 380s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[3.0.0.b] PASSED [ 15%] 380s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[3.0.0.c] PASSED [ 16%] 381s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[3.0.0.d] PASSED [ 16%] 381s tests/storages_tests/rdb_tests/test_storage.py::test_upgrade_distributions[3.2.0.a] PASSED [ 16%] 381s tests/storages_tests/test_cached_storage.py::test_create_trial PASSED [ 16%] 381s tests/storages_tests/test_cached_storage.py::test_set_trial_state_values PASSED [ 16%] 381s tests/storages_tests/test_cached_storage.py::test_uncached_set PASSED [ 16%] 381s tests/storages_tests/test_cached_storage.py::test_read_trials_from_remote_storage PASSED [ 16%] 381s tests/storages_tests/test_cached_storage.py::test_delete_study PASSED [ 16%] 385s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials_with_optimize[sqlite] PASSED [ 16%] 388s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials_with_optimize[cached_sqlite] PASSED [ 16%] 388s tests/storages_tests/test_heartbeat.py::test_invalid_heartbeat_interval_and_grace_period[sqlite] PASSED [ 16%] 388s tests/storages_tests/test_heartbeat.py::test_invalid_heartbeat_interval_and_grace_period[cached_sqlite] PASSED [ 16%] 392s tests/storages_tests/test_heartbeat.py::test_failed_trial_callback[sqlite] PASSED [ 16%] 395s tests/storages_tests/test_heartbeat.py::test_failed_trial_callback[cached_sqlite] PASSED [ 16%] 399s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-None] PASSED [ 16%] 402s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-0] PASSED [ 16%] 406s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-1] PASSED [ 16%] 409s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-None] PASSED [ 17%] 413s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-0] PASSED [ 17%] 416s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-1] PASSED [ 17%] 420s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-None] PASSED [ 17%] 423s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-0] PASSED [ 17%] 427s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-1] PASSED [ 17%] 431s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-None] PASSED [ 17%] 435s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-0] PASSED [ 17%] 438s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-1] PASSED [ 17%] 445s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials[None] PASSED [ 17%] 451s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials[2] PASSED [ 17%] 457s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials_with_race_condition PASSED [ 17%] 460s tests/storages_tests/test_heartbeat.py::test_get_stale_trial_ids PASSED [ 17%] 475s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_repetitive_failure[sqlite] PASSED [ 17%] 491s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_repetitive_failure[cached_sqlite] PASSED [ 17%] 495s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_processes[file_with_open_lock] PASSED [ 17%] 499s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_processes[file_with_link_lock] PASSED [ 17%] 499s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_processes[redis_default] SKIPPED [ 18%] 499s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_processes[redis_with_use_cluster] SKIPPED [ 18%] 503s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[file_with_open_lock] PASSED [ 18%] 508s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[file_with_link_lock] PASSED [ 18%] 508s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[redis_default] FAILED [ 18%] 508s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[redis_with_use_cluster] PASSED [ 18%] 508s tests/storages_tests/test_journal.py::test_pop_waiting_trial_multiprocess_safe PASSED [ 18%] 509s tests/storages_tests/test_journal.py::test_save_snapshot_per_each_trial[journal_redis] FAILED [ 18%] 509s tests/storages_tests/test_journal.py::test_save_snapshot_per_each_study[journal_redis] FAILED [ 18%] 509s tests/storages_tests/test_journal.py::test_check_replay_result_restored_from_snapshot[journal_redis] FAILED [ 18%] 509s tests/storages_tests/test_journal.py::test_snapshot_given[journal_redis] PASSED [ 18%] 509s tests/storages_tests/test_storages.py::test_get_storage PASSED [ 18%] 509s tests/storages_tests/test_storages.py::test_create_new_study[inmemory] PASSED [ 18%] 509s tests/storages_tests/test_storages.py::test_create_new_study[sqlite] PASSED [ 18%] 510s tests/storages_tests/test_storages.py::test_create_new_study[cached_sqlite] PASSED [ 18%] 510s tests/storages_tests/test_storages.py::test_create_new_study[journal] PASSED [ 18%] 510s tests/storages_tests/test_storages.py::test_create_new_study[journal_redis] FAILED [ 18%] 510s tests/storages_tests/test_storages.py::test_create_new_study_unique_id[inmemory] PASSED [ 19%] 511s tests/storages_tests/test_storages.py::test_create_new_study_unique_id[sqlite] PASSED [ 19%] 511s tests/storages_tests/test_storages.py::test_create_new_study_unique_id[cached_sqlite] PASSED [ 19%] 511s tests/storages_tests/test_storages.py::test_create_new_study_unique_id[journal] PASSED [ 19%] 511s tests/storages_tests/test_storages.py::test_create_new_study_unique_id[journal_redis] FAILED [ 19%] 511s tests/storages_tests/test_storages.py::test_create_new_study_with_name[inmemory] PASSED [ 19%] 511s tests/storages_tests/test_storages.py::test_create_new_study_with_name[sqlite] PASSED [ 19%] 512s tests/storages_tests/test_storages.py::test_create_new_study_with_name[cached_sqlite] PASSED [ 19%] 512s tests/storages_tests/test_storages.py::test_create_new_study_with_name[journal] PASSED [ 19%] 512s tests/storages_tests/test_storages.py::test_create_new_study_with_name[journal_redis] FAILED [ 19%] 512s tests/storages_tests/test_storages.py::test_delete_study[inmemory] PASSED [ 19%] 512s tests/storages_tests/test_storages.py::test_delete_study[sqlite] PASSED [ 19%] 512s tests/storages_tests/test_storages.py::test_delete_study[cached_sqlite] PASSED [ 19%] 512s tests/storages_tests/test_storages.py::test_delete_study[journal] PASSED [ 19%] 513s tests/storages_tests/test_storages.py::test_delete_study[journal_redis] FAILED [ 19%] 513s tests/storages_tests/test_storages.py::test_delete_study_after_create_multiple_studies[inmemory] PASSED [ 19%] 513s tests/storages_tests/test_storages.py::test_delete_study_after_create_multiple_studies[sqlite] PASSED [ 19%] 513s tests/storages_tests/test_storages.py::test_delete_study_after_create_multiple_studies[cached_sqlite] PASSED [ 20%] 513s tests/storages_tests/test_storages.py::test_delete_study_after_create_multiple_studies[journal] PASSED [ 20%] 513s tests/storages_tests/test_storages.py::test_delete_study_after_create_multiple_studies[journal_redis] FAILED [ 20%] 513s tests/storages_tests/test_storages.py::test_get_study_id_from_name_and_get_study_name_from_id[inmemory] PASSED [ 20%] 514s tests/storages_tests/test_storages.py::test_get_study_id_from_name_and_get_study_name_from_id[sqlite] PASSED [ 20%] 514s tests/storages_tests/test_storages.py::test_get_study_id_from_name_and_get_study_name_from_id[cached_sqlite] PASSED [ 20%] 514s tests/storages_tests/test_storages.py::test_get_study_id_from_name_and_get_study_name_from_id[journal] PASSED [ 20%] 514s tests/storages_tests/test_storages.py::test_get_study_id_from_name_and_get_study_name_from_id[journal_redis] FAILED [ 20%] 514s tests/storages_tests/test_storages.py::test_set_and_get_study_directions[inmemory] PASSED [ 20%] 514s tests/storages_tests/test_storages.py::test_set_and_get_study_directions[sqlite] PASSED [ 20%] 515s tests/storages_tests/test_storages.py::test_set_and_get_study_directions[cached_sqlite] PASSED [ 20%] 515s tests/storages_tests/test_storages.py::test_set_and_get_study_directions[journal] PASSED [ 20%] 515s tests/storages_tests/test_storages.py::test_set_and_get_study_directions[journal_redis] FAILED [ 20%] 515s tests/storages_tests/test_storages.py::test_set_and_get_study_user_attrs[inmemory] PASSED [ 20%] 516s tests/storages_tests/test_storages.py::test_set_and_get_study_user_attrs[sqlite] PASSED [ 20%] 516s tests/storages_tests/test_storages.py::test_set_and_get_study_user_attrs[cached_sqlite] PASSED [ 20%] 516s tests/storages_tests/test_storages.py::test_set_and_get_study_user_attrs[journal] PASSED [ 20%] 516s tests/storages_tests/test_storages.py::test_set_and_get_study_user_attrs[journal_redis] FAILED [ 20%] 516s tests/storages_tests/test_storages.py::test_set_and_get_study_system_attrs[inmemory] PASSED [ 21%] 516s tests/storages_tests/test_storages.py::test_set_and_get_study_system_attrs[sqlite] PASSED [ 21%] 517s tests/storages_tests/test_storages.py::test_set_and_get_study_system_attrs[cached_sqlite] PASSED [ 21%] 517s tests/storages_tests/test_storages.py::test_set_and_get_study_system_attrs[journal] PASSED [ 21%] 517s tests/storages_tests/test_storages.py::test_set_and_get_study_system_attrs[journal_redis] FAILED [ 21%] 517s tests/storages_tests/test_storages.py::test_study_user_and_system_attrs_confusion[inmemory] PASSED [ 21%] 517s tests/storages_tests/test_storages.py::test_study_user_and_system_attrs_confusion[sqlite] PASSED [ 21%] 518s tests/storages_tests/test_storages.py::test_study_user_and_system_attrs_confusion[cached_sqlite] PASSED [ 21%] 518s tests/storages_tests/test_storages.py::test_study_user_and_system_attrs_confusion[journal] PASSED [ 21%] 518s tests/storages_tests/test_storages.py::test_study_user_and_system_attrs_confusion[journal_redis] FAILED [ 21%] 518s tests/storages_tests/test_storages.py::test_create_new_trial[inmemory] PASSED [ 21%] 518s tests/storages_tests/test_storages.py::test_create_new_trial[sqlite] PASSED [ 21%] 519s tests/storages_tests/test_storages.py::test_create_new_trial[cached_sqlite] PASSED [ 21%] 519s tests/storages_tests/test_storages.py::test_create_new_trial[journal] PASSED [ 21%] 519s tests/storages_tests/test_storages.py::test_create_new_trial[journal_redis] FAILED [ 21%] 519s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time0-complete_time0-inmemory] PASSED [ 21%] 520s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time0-complete_time0-sqlite] PASSED [ 21%] 520s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time0-complete_time0-cached_sqlite] PASSED [ 22%] 520s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time0-complete_time0-journal] PASSED [ 22%] 520s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time0-complete_time0-journal_redis] FAILED [ 22%] 520s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time1-complete_time1-inmemory] PASSED [ 22%] 521s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time1-complete_time1-sqlite] PASSED [ 22%] 522s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time1-complete_time1-cached_sqlite] PASSED [ 22%] 522s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time1-complete_time1-journal] PASSED [ 22%] 522s tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time1-complete_time1-journal_redis] FAILED [ 22%] 522s tests/storages_tests/test_storages.py::test_get_trial_number_from_id[inmemory] PASSED [ 22%] 523s tests/storages_tests/test_storages.py::test_get_trial_number_from_id[sqlite] PASSED [ 22%] 523s tests/storages_tests/test_storages.py::test_get_trial_number_from_id[cached_sqlite] PASSED [ 22%] 523s tests/storages_tests/test_storages.py::test_get_trial_number_from_id[journal] PASSED [ 22%] 523s tests/storages_tests/test_storages.py::test_get_trial_number_from_id[journal_redis] FAILED [ 22%] 523s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_state[inmemory] PASSED [ 22%] 524s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_state[sqlite] PASSED [ 22%] 525s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_state[cached_sqlite] PASSED [ 22%] 525s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_state[journal] PASSED [ 22%] 525s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_state[journal_redis] FAILED [ 23%] 525s tests/storages_tests/test_storages.py::test_get_trial_param_and_get_trial_params[inmemory] PASSED [ 23%] 526s tests/storages_tests/test_storages.py::test_get_trial_param_and_get_trial_params[sqlite] PASSED [ 23%] 526s tests/storages_tests/test_storages.py::test_get_trial_param_and_get_trial_params[cached_sqlite] PASSED [ 23%] 526s tests/storages_tests/test_storages.py::test_get_trial_param_and_get_trial_params[journal] PASSED [ 23%] 527s tests/storages_tests/test_storages.py::test_get_trial_param_and_get_trial_params[journal_redis] FAILED [ 23%] 527s tests/storages_tests/test_storages.py::test_set_trial_param[inmemory] PASSED [ 23%] 527s tests/storages_tests/test_storages.py::test_set_trial_param[sqlite] PASSED [ 23%] 528s tests/storages_tests/test_storages.py::test_set_trial_param[cached_sqlite] PASSED [ 23%] 528s tests/storages_tests/test_storages.py::test_set_trial_param[journal] PASSED [ 23%] 528s tests/storages_tests/test_storages.py::test_set_trial_param[journal_redis] FAILED [ 23%] 528s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_values[inmemory] PASSED [ 23%] 528s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_values[sqlite] PASSED [ 23%] 529s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_values[cached_sqlite] PASSED [ 23%] 529s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_values[journal] PASSED [ 23%] 529s tests/storages_tests/test_storages.py::test_set_trial_state_values_for_values[journal_redis] FAILED [ 23%] 529s tests/storages_tests/test_storages.py::test_set_trial_intermediate_value[inmemory] PASSED [ 23%] 529s tests/storages_tests/test_storages.py::test_set_trial_intermediate_value[sqlite] PASSED [ 24%] 530s tests/storages_tests/test_storages.py::test_set_trial_intermediate_value[cached_sqlite] PASSED [ 24%] 530s tests/storages_tests/test_storages.py::test_set_trial_intermediate_value[journal] PASSED [ 24%] 530s tests/storages_tests/test_storages.py::test_set_trial_intermediate_value[journal_redis] FAILED [ 24%] 530s tests/storages_tests/test_storages.py::test_get_trial_user_attrs[inmemory] PASSED [ 24%] 531s tests/storages_tests/test_storages.py::test_get_trial_user_attrs[sqlite] PASSED [ 24%] 531s tests/storages_tests/test_storages.py::test_get_trial_user_attrs[cached_sqlite] PASSED [ 24%] 531s tests/storages_tests/test_storages.py::test_get_trial_user_attrs[journal] PASSED [ 24%] 532s tests/storages_tests/test_storages.py::test_get_trial_user_attrs[journal_redis] FAILED [ 24%] 532s tests/storages_tests/test_storages.py::test_set_trial_user_attr[inmemory] PASSED [ 24%] 532s tests/storages_tests/test_storages.py::test_set_trial_user_attr[sqlite] PASSED [ 24%] 532s tests/storages_tests/test_storages.py::test_set_trial_user_attr[cached_sqlite] PASSED [ 24%] 532s tests/storages_tests/test_storages.py::test_set_trial_user_attr[journal] PASSED [ 24%] 532s tests/storages_tests/test_storages.py::test_set_trial_user_attr[journal_redis] FAILED [ 24%] 532s tests/storages_tests/test_storages.py::test_get_trial_system_attrs[inmemory] PASSED [ 24%] 533s tests/storages_tests/test_storages.py::test_get_trial_system_attrs[sqlite] PASSED [ 24%] 533s tests/storages_tests/test_storages.py::test_get_trial_system_attrs[cached_sqlite] PASSED [ 24%] 534s tests/storages_tests/test_storages.py::test_get_trial_system_attrs[journal] PASSED [ 25%] 534s tests/storages_tests/test_storages.py::test_get_trial_system_attrs[journal_redis] FAILED [ 25%] 534s tests/storages_tests/test_storages.py::test_set_trial_system_attr[inmemory] PASSED [ 25%] 534s tests/storages_tests/test_storages.py::test_set_trial_system_attr[sqlite] PASSED [ 25%] 535s tests/storages_tests/test_storages.py::test_set_trial_system_attr[cached_sqlite] PASSED [ 25%] 535s tests/storages_tests/test_storages.py::test_set_trial_system_attr[journal] PASSED [ 25%] 535s tests/storages_tests/test_storages.py::test_set_trial_system_attr[journal_redis] FAILED [ 25%] 535s tests/storages_tests/test_storages.py::test_get_all_studies[inmemory] PASSED [ 25%] 538s tests/storages_tests/test_storages.py::test_get_all_studies[sqlite] PASSED [ 25%] 541s tests/storages_tests/test_storages.py::test_get_all_studies[cached_sqlite] PASSED [ 25%] 542s tests/storages_tests/test_storages.py::test_get_all_studies[journal] PASSED [ 25%] 542s tests/storages_tests/test_storages.py::test_get_all_studies[journal_redis] FAILED [ 25%] 542s tests/storages_tests/test_storages.py::test_get_trial[inmemory] PASSED [ 25%] 544s tests/storages_tests/test_storages.py::test_get_trial[sqlite] PASSED [ 25%] 545s tests/storages_tests/test_storages.py::test_get_trial[cached_sqlite] PASSED [ 25%] 545s tests/storages_tests/test_storages.py::test_get_trial[journal] PASSED [ 25%] 546s tests/storages_tests/test_storages.py::test_get_trial[journal_redis] FAILED [ 25%] 546s tests/storages_tests/test_storages.py::test_get_all_trials[inmemory] PASSED [ 26%] 547s tests/storages_tests/test_storages.py::test_get_all_trials[sqlite] PASSED [ 26%] 549s tests/storages_tests/test_storages.py::test_get_all_trials[cached_sqlite] PASSED [ 26%] 549s tests/storages_tests/test_storages.py::test_get_all_trials[journal] PASSED [ 26%] 549s tests/storages_tests/test_storages.py::test_get_all_trials[journal_redis] FAILED [ 26%] 549s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names0-inmemory] PASSED [ 26%] 549s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names0-sqlite] PASSED [ 26%] 550s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names0-cached_sqlite] PASSED [ 26%] 550s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names0-journal] PASSED [ 26%] 550s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names0-journal_redis] FAILED [ 26%] 550s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names1-inmemory] PASSED [ 26%] 550s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names1-sqlite] PASSED [ 26%] 551s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names1-cached_sqlite] PASSED [ 26%] 551s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names1-journal] PASSED [ 26%] 551s tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names1-journal_redis] FAILED [ 26%] 551s tests/storages_tests/test_storages.py::test_get_all_trials_deepcopy_option[inmemory] PASSED [ 26%] 552s tests/storages_tests/test_storages.py::test_get_all_trials_deepcopy_option[sqlite] PASSED [ 26%] 552s tests/storages_tests/test_storages.py::test_get_all_trials_deepcopy_option[cached_sqlite] PASSED [ 27%] 552s tests/storages_tests/test_storages.py::test_get_all_trials_deepcopy_option[journal] PASSED [ 27%] 552s tests/storages_tests/test_storages.py::test_get_all_trials_deepcopy_option[journal_redis] FAILED [ 27%] 552s tests/storages_tests/test_storages.py::test_get_all_trials_state_option[inmemory] PASSED [ 27%] 553s tests/storages_tests/test_storages.py::test_get_all_trials_state_option[sqlite] PASSED [ 27%] 553s tests/storages_tests/test_storages.py::test_get_all_trials_state_option[cached_sqlite] PASSED [ 27%] 553s tests/storages_tests/test_storages.py::test_get_all_trials_state_option[journal] PASSED [ 27%] 554s tests/storages_tests/test_storages.py::test_get_all_trials_state_option[journal_redis] FAILED [ 27%] 554s tests/storages_tests/test_storages.py::test_get_all_trials_not_modified[inmemory] PASSED [ 27%] 556s tests/storages_tests/test_storages.py::test_get_all_trials_not_modified[sqlite] PASSED [ 27%] 557s tests/storages_tests/test_storages.py::test_get_all_trials_not_modified[cached_sqlite] PASSED [ 27%] 557s tests/storages_tests/test_storages.py::test_get_all_trials_not_modified[journal] PASSED [ 27%] 558s tests/storages_tests/test_storages.py::test_get_all_trials_not_modified[journal_redis] FAILED [ 27%] 558s tests/storages_tests/test_storages.py::test_get_n_trials[inmemory] PASSED [ 27%] 558s tests/storages_tests/test_storages.py::test_get_n_trials[sqlite] PASSED [ 27%] 559s tests/storages_tests/test_storages.py::test_get_n_trials[cached_sqlite] PASSED [ 27%] 559s tests/storages_tests/test_storages.py::test_get_n_trials[journal] PASSED [ 27%] 560s tests/storages_tests/test_storages.py::test_get_n_trials[journal_redis] FAILED [ 28%] 560s tests/storages_tests/test_storages.py::test_get_n_trials_state_option[inmemory] PASSED [ 28%] 560s tests/storages_tests/test_storages.py::test_get_n_trials_state_option[sqlite] PASSED [ 28%] 560s tests/storages_tests/test_storages.py::test_get_n_trials_state_option[cached_sqlite] PASSED [ 28%] 560s tests/storages_tests/test_storages.py::test_get_n_trials_state_option[journal] PASSED [ 28%] 561s tests/storages_tests/test_storages.py::test_get_n_trials_state_option[journal_redis] FAILED [ 28%] 561s tests/storages_tests/test_storages.py::test_get_best_trial[values0-2-inmemory] PASSED [ 28%] 561s tests/storages_tests/test_storages.py::test_get_best_trial[values0-2-sqlite] PASSED [ 28%] 561s tests/storages_tests/test_storages.py::test_get_best_trial[values0-2-cached_sqlite] PASSED [ 28%] 561s tests/storages_tests/test_storages.py::test_get_best_trial[values0-2-journal] PASSED [ 28%] 562s tests/storages_tests/test_storages.py::test_get_best_trial[values0-2-journal_redis] FAILED [ 28%] 562s tests/storages_tests/test_storages.py::test_get_best_trial[values0-1-inmemory] PASSED [ 28%] 562s tests/storages_tests/test_storages.py::test_get_best_trial[values0-1-sqlite] PASSED [ 28%] 563s tests/storages_tests/test_storages.py::test_get_best_trial[values0-1-cached_sqlite] PASSED [ 28%] 563s tests/storages_tests/test_storages.py::test_get_best_trial[values0-1-journal] PASSED [ 28%] 563s tests/storages_tests/test_storages.py::test_get_best_trial[values0-1-journal_redis] FAILED [ 28%] 563s tests/storages_tests/test_storages.py::test_get_best_trial[values1-2-inmemory] PASSED [ 28%] 563s tests/storages_tests/test_storages.py::test_get_best_trial[values1-2-sqlite] PASSED [ 29%] 564s tests/storages_tests/test_storages.py::test_get_best_trial[values1-2-cached_sqlite] PASSED [ 29%] 564s tests/storages_tests/test_storages.py::test_get_best_trial[values1-2-journal] PASSED [ 29%] 564s tests/storages_tests/test_storages.py::test_get_best_trial[values1-2-journal_redis] FAILED [ 29%] 564s tests/storages_tests/test_storages.py::test_get_best_trial[values1-1-inmemory] PASSED [ 29%] 564s tests/storages_tests/test_storages.py::test_get_best_trial[values1-1-sqlite] PASSED [ 29%] 565s tests/storages_tests/test_storages.py::test_get_best_trial[values1-1-cached_sqlite] PASSED [ 29%] 565s tests/storages_tests/test_storages.py::test_get_best_trial[values1-1-journal] PASSED [ 29%] 565s tests/storages_tests/test_storages.py::test_get_best_trial[values1-1-journal_redis] FAILED [ 29%] 565s tests/storages_tests/test_storages.py::test_get_best_trial[values2-2-inmemory] PASSED [ 29%] 566s tests/storages_tests/test_storages.py::test_get_best_trial[values2-2-sqlite] PASSED [ 29%] 566s tests/storages_tests/test_storages.py::test_get_best_trial[values2-2-cached_sqlite] PASSED [ 29%] 566s tests/storages_tests/test_storages.py::test_get_best_trial[values2-2-journal] PASSED [ 29%] 566s tests/storages_tests/test_storages.py::test_get_best_trial[values2-2-journal_redis] FAILED [ 29%] 566s tests/storages_tests/test_storages.py::test_get_best_trial[values2-1-inmemory] PASSED [ 29%] 567s tests/storages_tests/test_storages.py::test_get_best_trial[values2-1-sqlite] PASSED [ 29%] 567s tests/storages_tests/test_storages.py::test_get_best_trial[values2-1-cached_sqlite] PASSED [ 29%] 567s tests/storages_tests/test_storages.py::test_get_best_trial[values2-1-journal] PASSED [ 30%] 567s tests/storages_tests/test_storages.py::test_get_best_trial[values2-1-journal_redis] FAILED [ 30%] 567s tests/storages_tests/test_storages.py::test_get_best_trial[values3-2-inmemory] PASSED [ 30%] 568s tests/storages_tests/test_storages.py::test_get_best_trial[values3-2-sqlite] PASSED [ 30%] 568s tests/storages_tests/test_storages.py::test_get_best_trial[values3-2-cached_sqlite] PASSED [ 30%] 568s tests/storages_tests/test_storages.py::test_get_best_trial[values3-2-journal] PASSED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values3-2-journal_redis] FAILED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values3-1-inmemory] PASSED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values3-1-sqlite] PASSED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values3-1-cached_sqlite] PASSED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values3-1-journal] PASSED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values3-1-journal_redis] FAILED [ 30%] 569s tests/storages_tests/test_storages.py::test_get_best_trial[values4-2-inmemory] PASSED [ 30%] 570s tests/storages_tests/test_storages.py::test_get_best_trial[values4-2-sqlite] PASSED [ 30%] 570s tests/storages_tests/test_storages.py::test_get_best_trial[values4-2-cached_sqlite] PASSED [ 30%] 570s tests/storages_tests/test_storages.py::test_get_best_trial[values4-2-journal] PASSED [ 30%] 570s tests/storages_tests/test_storages.py::test_get_best_trial[values4-2-journal_redis] FAILED [ 30%] 570s tests/storages_tests/test_storages.py::test_get_best_trial[values4-1-inmemory] PASSED [ 31%] 571s tests/storages_tests/test_storages.py::test_get_best_trial[values4-1-sqlite] PASSED [ 31%] 571s tests/storages_tests/test_storages.py::test_get_best_trial[values4-1-cached_sqlite] PASSED [ 31%] 571s tests/storages_tests/test_storages.py::test_get_best_trial[values4-1-journal] PASSED [ 31%] 571s tests/storages_tests/test_storages.py::test_get_best_trial[values4-1-journal_redis] FAILED [ 31%] 571s tests/storages_tests/test_storages.py::test_get_best_trial[values5-2-inmemory] PASSED [ 31%] 572s tests/storages_tests/test_storages.py::test_get_best_trial[values5-2-sqlite] PASSED [ 31%] 572s tests/storages_tests/test_storages.py::test_get_best_trial[values5-2-cached_sqlite] PASSED [ 31%] 572s tests/storages_tests/test_storages.py::test_get_best_trial[values5-2-journal] PASSED [ 31%] 572s tests/storages_tests/test_storages.py::test_get_best_trial[values5-2-journal_redis] FAILED [ 31%] 572s tests/storages_tests/test_storages.py::test_get_best_trial[values5-1-inmemory] PASSED [ 31%] 573s tests/storages_tests/test_storages.py::test_get_best_trial[values5-1-sqlite] PASSED [ 31%] 573s tests/storages_tests/test_storages.py::test_get_best_trial[values5-1-cached_sqlite] PASSED [ 31%] 573s tests/storages_tests/test_storages.py::test_get_best_trial[values5-1-journal] PASSED [ 31%] 573s tests/storages_tests/test_storages.py::test_get_best_trial[values5-1-journal_redis] FAILED [ 31%] 574s tests/storages_tests/test_storages.py::test_get_trials_excluded_trial_ids PASSED [ 31%] 574s tests/storages_tests/test_storages.py::test_get_best_trial_for_multi_objective_optimization[inmemory] PASSED [ 31%] 574s tests/storages_tests/test_storages.py::test_get_best_trial_for_multi_objective_optimization[sqlite] PASSED [ 32%] 574s tests/storages_tests/test_storages.py::test_get_best_trial_for_multi_objective_optimization[cached_sqlite] PASSED [ 32%] 574s tests/storages_tests/test_storages.py::test_get_best_trial_for_multi_objective_optimization[journal] PASSED [ 32%] 575s tests/storages_tests/test_storages.py::test_get_best_trial_for_multi_objective_optimization[journal_redis] FAILED [ 32%] 575s tests/storages_tests/test_storages.py::test_get_trial_id_from_study_id_trial_number[inmemory] PASSED [ 32%] 575s tests/storages_tests/test_storages.py::test_get_trial_id_from_study_id_trial_number[sqlite] PASSED [ 32%] 575s tests/storages_tests/test_storages.py::test_get_trial_id_from_study_id_trial_number[cached_sqlite] PASSED [ 32%] 575s tests/storages_tests/test_storages.py::test_get_trial_id_from_study_id_trial_number[journal] PASSED [ 32%] 576s tests/storages_tests/test_storages.py::test_get_trial_id_from_study_id_trial_number[journal_redis] FAILED [ 32%] 576s tests/storages_tests/test_storages.py::test_pickle_storage[inmemory] PASSED [ 32%] 576s tests/storages_tests/test_storages.py::test_pickle_storage[sqlite] PASSED [ 32%] 576s tests/storages_tests/test_storages.py::test_pickle_storage[cached_sqlite] PASSED [ 32%] 576s tests/storages_tests/test_storages.py::test_pickle_storage[journal] PASSED [ 32%] 576s tests/storages_tests/test_storages.py::test_pickle_storage[journal_redis] SKIPPED [ 32%] 576s tests/storages_tests/test_storages.py::test_check_trial_is_updatable[inmemory] PASSED [ 32%] 577s tests/storages_tests/test_storages.py::test_check_trial_is_updatable[sqlite] PASSED [ 32%] 577s tests/storages_tests/test_storages.py::test_check_trial_is_updatable[cached_sqlite] PASSED [ 32%] 577s tests/storages_tests/test_storages.py::test_check_trial_is_updatable[journal] PASSED [ 33%] 577s tests/storages_tests/test_storages.py::test_check_trial_is_updatable[journal_redis] FAILED [ 33%] 577s tests/storages_tests/test_with_server.py::test_loaded_trials SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_store_infinite_values[inf-inf] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_store_infinite_values[-inf--inf] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_store_nan_intermediate_values SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_multithread_create_study SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_multiprocess_run_optimize SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_pickle_storage SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values0-2] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values0-1] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values1-2] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values1-1] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values2-2] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values2-1] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values3-2] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values3-1] SKIPPED [ 33%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values4-2] SKIPPED [ 34%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values4-1] SKIPPED [ 34%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values5-2] SKIPPED [ 34%] 577s tests/storages_tests/test_with_server.py::test_get_best_trial[values5-1] SKIPPED [ 34%] 577s tests/study_tests/test_dataframe.py::test_study_trials_dataframe_with_no_trials PASSED [ 34%] 577s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs0-inmemory] PASSED [ 34%] 578s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs0-sqlite] PASSED [ 34%] 578s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs0-cached_sqlite] PASSED [ 34%] 579s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs0-journal] PASSED [ 34%] 579s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs0-journal_redis] FAILED [ 34%] 579s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs1-inmemory] PASSED [ 34%] 579s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs1-sqlite] PASSED [ 34%] 581s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs1-cached_sqlite] PASSED [ 34%] 581s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs1-journal] PASSED [ 34%] 581s tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs1-journal_redis] FAILED [ 34%] 581s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs0-inmemory] PASSED [ 34%] 581s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs0-sqlite] PASSED [ 34%] 582s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs0-cached_sqlite] PASSED [ 35%] 582s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs0-journal] PASSED [ 35%] 582s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs0-journal_redis] FAILED [ 35%] 582s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs1-inmemory] PASSED [ 35%] 582s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs1-sqlite] PASSED [ 35%] 583s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs1-cached_sqlite] PASSED [ 35%] 583s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs1-journal] PASSED [ 35%] 583s tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs1-journal_redis] FAILED [ 35%] 583s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_failure[inmemory] PASSED [ 35%] 584s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_failure[sqlite] PASSED [ 35%] 584s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_failure[cached_sqlite] PASSED [ 35%] 584s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_failure[journal] PASSED [ 35%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_failure[journal_redis] FAILED [ 35%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[True-attrs0] PASSED [ 35%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[True-attrs1] PASSED [ 35%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[False-attrs0] PASSED [ 35%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[False-attrs1] PASSED [ 35%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[True-attrs0] PASSED [ 36%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[True-attrs1] PASSED [ 36%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[False-attrs0] PASSED [ 36%] 585s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[False-attrs1] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_not_equal[-1-1] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_not_equal[-inf-0] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_not_equal[0-inf] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_not_equal[-inf-inf] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_equal[1-0] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_equal[1--inf] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_equal[1-inf] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_equal[2-0] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_equal[2--inf] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_1d_equal[2-inf] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_2d PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_invalid PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[3-3] PASSED [ 36%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[3-4] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[3-2] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[4-3] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[4-4] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[4-2] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[2-3] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[2-4] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_incomplete_vs_incomplete[2-2] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_complete_vs_incomplete[3] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_complete_vs_incomplete[4] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_dominates_complete_vs_incomplete[2] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values0-trial_ranks0] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values1-trial_ranks1] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values2-trial_ranks2] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values3-trial_ranks3] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values4-trial_ranks4] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values5-trial_ranks5] PASSED [ 37%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values6-trial_ranks6] PASSED [ 38%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values7-trial_ranks7] PASSED [ 38%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort[trial_values8-trial_ranks8] PASSED [ 38%] 585s tests/study_tests/test_multi_objective.py::test_fast_non_dominated_sort_invalid PASSED [ 38%] 585s tests/study_tests/test_optimize.py::test_run_trial[inmemory] PASSED [ 38%] 585s tests/study_tests/test_optimize.py::test_run_trial[sqlite] PASSED [ 38%] 585s tests/study_tests/test_optimize.py::test_run_trial[cached_sqlite] PASSED [ 38%] 585s tests/study_tests/test_optimize.py::test_run_trial[journal] PASSED [ 38%] 586s tests/study_tests/test_optimize.py::test_run_trial[journal_redis] FAILED [ 38%] 586s tests/study_tests/test_optimize.py::test_run_trial_automatically_fail[inmemory] PASSED [ 38%] 586s tests/study_tests/test_optimize.py::test_run_trial_automatically_fail[sqlite] PASSED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_automatically_fail[cached_sqlite] PASSED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_automatically_fail[journal] PASSED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_automatically_fail[journal_redis] FAILED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_pruned[inmemory] PASSED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_pruned[sqlite] PASSED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_pruned[cached_sqlite] PASSED [ 38%] 587s tests/study_tests/test_optimize.py::test_run_trial_pruned[journal] PASSED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_pruned[journal_redis] FAILED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_catch_exception[inmemory] PASSED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_catch_exception[sqlite] PASSED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_catch_exception[cached_sqlite] PASSED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_catch_exception[journal] PASSED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_catch_exception[journal_redis] FAILED [ 39%] 588s tests/study_tests/test_optimize.py::test_run_trial_exception[inmemory] PASSED [ 39%] 589s tests/study_tests/test_optimize.py::test_run_trial_exception[sqlite] PASSED [ 39%] 590s tests/study_tests/test_optimize.py::test_run_trial_exception[cached_sqlite] PASSED [ 39%] 590s tests/study_tests/test_optimize.py::test_run_trial_exception[journal] PASSED [ 39%] 590s tests/study_tests/test_optimize.py::test_run_trial_exception[journal_redis] FAILED [ 39%] 590s tests/study_tests/test_optimize.py::test_run_trial_invoke_tell_with_suppressing_warning[inmemory] PASSED [ 39%] 591s tests/study_tests/test_optimize.py::test_run_trial_invoke_tell_with_suppressing_warning[sqlite] PASSED [ 39%] 591s tests/study_tests/test_optimize.py::test_run_trial_invoke_tell_with_suppressing_warning[cached_sqlite] PASSED [ 39%] 591s tests/study_tests/test_optimize.py::test_run_trial_invoke_tell_with_suppressing_warning[journal] PASSED [ 39%] 591s tests/study_tests/test_optimize.py::test_run_trial_invoke_tell_with_suppressing_warning[journal_redis] FAILED [ 39%] 591s tests/study_tests/test_study.py::test_optimize_trivial_in_memory_new PASSED [ 40%] 591s tests/study_tests/test_study.py::test_optimize_trivial_in_memory_resume PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_trivial_rdb_resume_study PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_with_direction PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory-1-0] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory-1-1] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory-1-20] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory-2-0] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory-2-1] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory-2-20] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory--1-0] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory--1-1] PASSED [ 40%] 592s tests/study_tests/test_study.py::test_optimize_parallel[inmemory--1-20] PASSED [ 40%] 593s tests/study_tests/test_study.py::test_optimize_parallel[sqlite-1-0] PASSED [ 40%] 593s tests/study_tests/test_study.py::test_optimize_parallel[sqlite-1-1] PASSED [ 40%] 595s tests/study_tests/test_study.py::test_optimize_parallel[sqlite-1-20] PASSED [ 40%] 596s tests/study_tests/test_study.py::test_optimize_parallel[sqlite-2-0] PASSED [ 40%] 596s tests/study_tests/test_study.py::test_optimize_parallel[sqlite-2-1] PASSED [ 40%] 599s tests/study_tests/test_study.py::test_optimize_parallel[sqlite-2-20] PASSED [ 41%] 599s tests/study_tests/test_study.py::test_optimize_parallel[sqlite--1-0] PASSED [ 41%] 600s tests/study_tests/test_study.py::test_optimize_parallel[sqlite--1-1] PASSED [ 41%] 602s tests/study_tests/test_study.py::test_optimize_parallel[sqlite--1-20] PASSED [ 41%] 602s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite-1-0] PASSED [ 41%] 603s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite-1-1] PASSED [ 41%] 605s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite-1-20] PASSED [ 41%] 605s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite-2-0] PASSED [ 41%] 605s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite-2-1] PASSED [ 41%] 608s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite-2-20] PASSED [ 41%] 608s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite--1-0] PASSED [ 41%] 608s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite--1-1] PASSED [ 41%] 611s tests/study_tests/test_study.py::test_optimize_parallel[cached_sqlite--1-20] PASSED [ 41%] 611s tests/study_tests/test_study.py::test_optimize_parallel[journal-1-0] PASSED [ 41%] 611s tests/study_tests/test_study.py::test_optimize_parallel[journal-1-1] PASSED [ 41%] 611s tests/study_tests/test_study.py::test_optimize_parallel[journal-1-20] PASSED [ 41%] 611s tests/study_tests/test_study.py::test_optimize_parallel[journal-2-0] PASSED [ 41%] 611s tests/study_tests/test_study.py::test_optimize_parallel[journal-2-1] PASSED [ 42%] 612s tests/study_tests/test_study.py::test_optimize_parallel[journal-2-20] PASSED [ 42%] 612s tests/study_tests/test_study.py::test_optimize_parallel[journal--1-0] PASSED [ 42%] 612s tests/study_tests/test_study.py::test_optimize_parallel[journal--1-1] PASSED [ 42%] 612s tests/study_tests/test_study.py::test_optimize_parallel[journal--1-20] PASSED [ 42%] 613s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-1-0] FAILED [ 42%] 613s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-1-1] FAILED [ 42%] 613s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-1-20] FAILED [ 42%] 613s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-2-0] FAILED [ 42%] 614s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-2-1] FAILED [ 42%] 614s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-2-20] FAILED [ 42%] 614s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis--1-0] FAILED [ 42%] 614s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis--1-1] FAILED [ 42%] 614s tests/study_tests/test_study.py::test_optimize_parallel[journal_redis--1-20] FAILED [ 42%] 615s tests/study_tests/test_study.py::test_optimize_with_thread_pool_executor PASSED [ 42%] 615s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-1-0] PASSED [ 42%] 615s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-1-1] PASSED [ 42%] 616s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-1-20] PASSED [ 43%] 617s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-1-None] PASSED [ 43%] 617s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-2-0] PASSED [ 43%] 617s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-2-1] PASSED [ 43%] 618s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-2-20] PASSED [ 43%] 619s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory-2-None] PASSED [ 43%] 619s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory--1-0] PASSED [ 43%] 619s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory--1-1] PASSED [ 43%] 620s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory--1-20] PASSED [ 43%] 621s tests/study_tests/test_study.py::test_optimize_parallel_timeout[inmemory--1-None] PASSED [ 43%] 621s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-1-0] PASSED [ 43%] 622s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-1-1] PASSED [ 43%] 623s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-1-20] PASSED [ 43%] 625s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-1-None] PASSED [ 43%] 625s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-2-0] PASSED [ 43%] 626s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-2-1] PASSED [ 43%] 627s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-2-20] PASSED [ 43%] 629s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite-2-None] PASSED [ 44%] 629s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite--1-0] PASSED [ 44%] 630s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite--1-1] PASSED [ 44%] 631s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite--1-20] PASSED [ 44%] 633s tests/study_tests/test_study.py::test_optimize_parallel_timeout[sqlite--1-None] PASSED [ 44%] 634s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-1-0] PASSED [ 44%] 634s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-1-1] PASSED [ 44%] 636s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-1-20] PASSED [ 44%] 637s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-1-None] PASSED [ 44%] 637s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-2-0] PASSED [ 44%] 638s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-2-1] PASSED [ 44%] 639s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-2-20] PASSED [ 44%] 641s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite-2-None] PASSED [ 44%] 641s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite--1-0] PASSED [ 44%] 642s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite--1-1] PASSED [ 44%] 644s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite--1-20] PASSED [ 44%] 646s tests/study_tests/test_study.py::test_optimize_parallel_timeout[cached_sqlite--1-None] PASSED [ 44%] 646s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-1-0] PASSED [ 45%] 646s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-1-1] PASSED [ 45%] 647s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-1-20] PASSED [ 45%] 648s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-1-None] PASSED [ 45%] 648s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-2-0] PASSED [ 45%] 648s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-2-1] PASSED [ 45%] 649s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-2-20] PASSED [ 45%] 650s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal-2-None] PASSED [ 45%] 650s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal--1-0] PASSED [ 45%] 650s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal--1-1] PASSED [ 45%] 651s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal--1-20] PASSED [ 45%] 652s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal--1-None] PASSED [ 45%] 653s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-0] FAILED [ 45%] 653s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-1] FAILED [ 45%] 653s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-20] FAILED [ 45%] 653s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-None] FAILED [ 45%] 654s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-0] FAILED [ 45%] 654s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-1] FAILED [ 46%] 654s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-20] FAILED [ 46%] 654s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-None] FAILED [ 46%] 655s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-0] FAILED [ 46%] 655s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-1] FAILED [ 46%] 655s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-20] FAILED [ 46%] 655s tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-None] FAILED [ 46%] 655s tests/study_tests/test_study.py::test_optimize_with_catch[inmemory] PASSED [ 46%] 656s tests/study_tests/test_study.py::test_optimize_with_catch[sqlite] PASSED [ 46%] 657s tests/study_tests/test_study.py::test_optimize_with_catch[cached_sqlite] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch[journal] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch[journal_redis] FAILED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch_valid_type[ValueError] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch_valid_type[catch1] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch_valid_type[catch2] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch_valid_type[catch3] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch_invalid_type[None] PASSED [ 46%] 658s tests/study_tests/test_study.py::test_optimize_with_catch_invalid_type[1] PASSED [ 47%] 658s tests/study_tests/test_study.py::test_optimize_with_reseeding[inmemory-2] PASSED [ 47%] 658s tests/study_tests/test_study.py::test_optimize_with_reseeding[inmemory--1] PASSED [ 47%] 658s tests/study_tests/test_study.py::test_optimize_with_reseeding[sqlite-2] PASSED [ 47%] 659s tests/study_tests/test_study.py::test_optimize_with_reseeding[sqlite--1] PASSED [ 47%] 659s tests/study_tests/test_study.py::test_optimize_with_reseeding[cached_sqlite-2] PASSED [ 47%] 660s tests/study_tests/test_study.py::test_optimize_with_reseeding[cached_sqlite--1] PASSED [ 47%] 660s tests/study_tests/test_study.py::test_optimize_with_reseeding[journal-2] PASSED [ 47%] 660s tests/study_tests/test_study.py::test_optimize_with_reseeding[journal--1] PASSED [ 47%] 660s tests/study_tests/test_study.py::test_optimize_with_reseeding[journal_redis-2] FAILED [ 47%] 660s tests/study_tests/test_study.py::test_optimize_with_reseeding[journal_redis--1] FAILED [ 47%] 660s tests/study_tests/test_study.py::test_call_another_study_optimize_in_optimize PASSED [ 47%] 660s tests/study_tests/test_study.py::test_study_set_and_get_user_attrs[inmemory] PASSED [ 47%] 661s tests/study_tests/test_study.py::test_study_set_and_get_user_attrs[sqlite] PASSED [ 47%] 661s tests/study_tests/test_study.py::test_study_set_and_get_user_attrs[cached_sqlite] PASSED [ 47%] 661s tests/study_tests/test_study.py::test_study_set_and_get_user_attrs[journal] PASSED [ 47%] 661s tests/study_tests/test_study.py::test_study_set_and_get_user_attrs[journal_redis] FAILED [ 47%] 661s tests/study_tests/test_study.py::test_trial_set_and_get_user_attrs[inmemory] PASSED [ 48%] 661s tests/study_tests/test_study.py::test_trial_set_and_get_user_attrs[sqlite] PASSED [ 48%] 662s tests/study_tests/test_study.py::test_trial_set_and_get_user_attrs[cached_sqlite] PASSED [ 48%] 662s tests/study_tests/test_study.py::test_trial_set_and_get_user_attrs[journal] PASSED [ 48%] 662s tests/study_tests/test_study.py::test_trial_set_and_get_user_attrs[journal_redis] FAILED [ 48%] 662s tests/study_tests/test_study.py::test_get_all_study_summaries[True-inmemory] PASSED [ 48%] 663s tests/study_tests/test_study.py::test_get_all_study_summaries[True-sqlite] PASSED [ 48%] 664s tests/study_tests/test_study.py::test_get_all_study_summaries[True-cached_sqlite] PASSED [ 48%] 664s tests/study_tests/test_study.py::test_get_all_study_summaries[True-journal] PASSED [ 48%] 664s tests/study_tests/test_study.py::test_get_all_study_summaries[True-journal_redis] FAILED [ 48%] 664s tests/study_tests/test_study.py::test_get_all_study_summaries[False-inmemory] PASSED [ 48%] 665s tests/study_tests/test_study.py::test_get_all_study_summaries[False-sqlite] PASSED [ 48%] 666s tests/study_tests/test_study.py::test_get_all_study_summaries[False-cached_sqlite] PASSED [ 48%] 666s tests/study_tests/test_study.py::test_get_all_study_summaries[False-journal] PASSED [ 48%] 666s tests/study_tests/test_study.py::test_get_all_study_summaries[False-journal_redis] FAILED [ 48%] 666s tests/study_tests/test_study.py::test_get_all_study_summaries_with_no_trials[inmemory] PASSED [ 48%] 666s tests/study_tests/test_study.py::test_get_all_study_summaries_with_no_trials[sqlite] PASSED [ 48%] 667s tests/study_tests/test_study.py::test_get_all_study_summaries_with_no_trials[cached_sqlite] PASSED [ 49%] 667s tests/study_tests/test_study.py::test_get_all_study_summaries_with_no_trials[journal] PASSED [ 49%] 667s tests/study_tests/test_study.py::test_get_all_study_summaries_with_no_trials[journal_redis] FAILED [ 49%] 667s tests/study_tests/test_study.py::test_get_all_study_names[inmemory] PASSED [ 49%] 667s tests/study_tests/test_study.py::test_get_all_study_names[sqlite] PASSED [ 49%] 668s tests/study_tests/test_study.py::test_get_all_study_names[cached_sqlite] PASSED [ 49%] 668s tests/study_tests/test_study.py::test_get_all_study_names[journal] PASSED [ 49%] 668s tests/study_tests/test_study.py::test_get_all_study_names[journal_redis] FAILED [ 49%] 668s tests/study_tests/test_study.py::test_study_pickle PASSED [ 49%] 668s tests/study_tests/test_study.py::test_create_study[inmemory] PASSED [ 49%] 669s tests/study_tests/test_study.py::test_create_study[sqlite] PASSED [ 49%] 669s tests/study_tests/test_study.py::test_create_study[cached_sqlite] PASSED [ 49%] 669s tests/study_tests/test_study.py::test_create_study[journal] PASSED [ 49%] 669s tests/study_tests/test_study.py::test_create_study[journal_redis] FAILED [ 49%] 669s tests/study_tests/test_study.py::test_load_study[inmemory] PASSED [ 49%] 669s tests/study_tests/test_study.py::test_load_study[sqlite] PASSED [ 49%] 670s tests/study_tests/test_study.py::test_load_study[cached_sqlite] PASSED [ 49%] 670s tests/study_tests/test_study.py::test_load_study[journal] PASSED [ 50%] 670s tests/study_tests/test_study.py::test_load_study[journal_redis] FAILED [ 50%] 670s tests/study_tests/test_study.py::test_load_study_study_name_none[inmemory] PASSED [ 50%] 670s tests/study_tests/test_study.py::test_load_study_study_name_none[sqlite] PASSED [ 50%] 670s tests/study_tests/test_study.py::test_load_study_study_name_none[cached_sqlite] PASSED [ 50%] 670s tests/study_tests/test_study.py::test_load_study_study_name_none[journal] PASSED [ 50%] 671s tests/study_tests/test_study.py::test_load_study_study_name_none[journal_redis] FAILED [ 50%] 671s tests/study_tests/test_study.py::test_delete_study[inmemory] PASSED [ 50%] 671s tests/study_tests/test_study.py::test_delete_study[sqlite] PASSED [ 50%] 671s tests/study_tests/test_study.py::test_delete_study[cached_sqlite] PASSED [ 50%] 671s tests/study_tests/test_study.py::test_delete_study[journal] PASSED [ 50%] 671s tests/study_tests/test_study.py::test_delete_study[journal_redis] FAILED [ 50%] 671s tests/study_tests/test_study.py::test_copy_study[inmemory-inmemory] PASSED [ 50%] 672s tests/study_tests/test_study.py::test_copy_study[inmemory-sqlite] PASSED [ 50%] 673s tests/study_tests/test_study.py::test_copy_study[inmemory-cached_sqlite] PASSED [ 50%] 673s tests/study_tests/test_study.py::test_copy_study[inmemory-journal] PASSED [ 50%] 673s tests/study_tests/test_study.py::test_copy_study[inmemory-journal_redis] FAILED [ 50%] 673s tests/study_tests/test_study.py::test_copy_study[sqlite-inmemory] PASSED [ 51%] 674s tests/study_tests/test_study.py::test_copy_study[sqlite-sqlite] PASSED [ 51%] 675s tests/study_tests/test_study.py::test_copy_study[sqlite-cached_sqlite] PASSED [ 51%] 675s tests/study_tests/test_study.py::test_copy_study[sqlite-journal] PASSED [ 51%] 676s tests/study_tests/test_study.py::test_copy_study[sqlite-journal_redis] FAILED [ 51%] 676s tests/study_tests/test_study.py::test_copy_study[cached_sqlite-inmemory] PASSED [ 51%] 677s tests/study_tests/test_study.py::test_copy_study[cached_sqlite-sqlite] PASSED [ 51%] 678s tests/study_tests/test_study.py::test_copy_study[cached_sqlite-cached_sqlite] PASSED [ 51%] 679s tests/study_tests/test_study.py::test_copy_study[cached_sqlite-journal] PASSED [ 51%] 679s tests/study_tests/test_study.py::test_copy_study[cached_sqlite-journal_redis] FAILED [ 51%] 679s tests/study_tests/test_study.py::test_copy_study[journal-inmemory] PASSED [ 51%] 680s tests/study_tests/test_study.py::test_copy_study[journal-sqlite] PASSED [ 51%] 680s tests/study_tests/test_study.py::test_copy_study[journal-cached_sqlite] PASSED [ 51%] 680s tests/study_tests/test_study.py::test_copy_study[journal-journal] PASSED [ 51%] 681s tests/study_tests/test_study.py::test_copy_study[journal-journal_redis] FAILED [ 51%] 681s tests/study_tests/test_study.py::test_copy_study[journal_redis-inmemory] FAILED [ 51%] 682s tests/study_tests/test_study.py::test_copy_study[journal_redis-sqlite] FAILED [ 51%] 683s tests/study_tests/test_study.py::test_copy_study[journal_redis-cached_sqlite] FAILED [ 52%] 683s tests/study_tests/test_study.py::test_copy_study[journal_redis-journal] FAILED [ 52%] 683s tests/study_tests/test_study.py::test_copy_study[journal_redis-journal_redis] FAILED [ 52%] 683s tests/study_tests/test_study.py::test_copy_study_to_study_name[inmemory-inmemory] PASSED [ 52%] 683s tests/study_tests/test_study.py::test_copy_study_to_study_name[inmemory-sqlite] PASSED [ 52%] 684s tests/study_tests/test_study.py::test_copy_study_to_study_name[inmemory-cached_sqlite] PASSED [ 52%] 684s tests/study_tests/test_study.py::test_copy_study_to_study_name[inmemory-journal] PASSED [ 52%] 684s tests/study_tests/test_study.py::test_copy_study_to_study_name[inmemory-journal_redis] FAILED [ 52%] 684s tests/study_tests/test_study.py::test_copy_study_to_study_name[sqlite-inmemory] PASSED [ 52%] 685s tests/study_tests/test_study.py::test_copy_study_to_study_name[sqlite-sqlite] PASSED [ 52%] 686s tests/study_tests/test_study.py::test_copy_study_to_study_name[sqlite-cached_sqlite] PASSED [ 52%] 686s tests/study_tests/test_study.py::test_copy_study_to_study_name[sqlite-journal] PASSED [ 52%] 686s tests/study_tests/test_study.py::test_copy_study_to_study_name[sqlite-journal_redis] FAILED [ 52%] 687s tests/study_tests/test_study.py::test_copy_study_to_study_name[cached_sqlite-inmemory] PASSED [ 52%] 687s tests/study_tests/test_study.py::test_copy_study_to_study_name[cached_sqlite-sqlite] PASSED [ 52%] 688s tests/study_tests/test_study.py::test_copy_study_to_study_name[cached_sqlite-cached_sqlite] PASSED [ 52%] 688s tests/study_tests/test_study.py::test_copy_study_to_study_name[cached_sqlite-journal] PASSED [ 52%] 688s tests/study_tests/test_study.py::test_copy_study_to_study_name[cached_sqlite-journal_redis] FAILED [ 53%] 688s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal-inmemory] PASSED [ 53%] 689s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal-sqlite] PASSED [ 53%] 689s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal-cached_sqlite] PASSED [ 53%] 689s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal-journal] PASSED [ 53%] 689s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal-journal_redis] FAILED [ 53%] 689s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-inmemory] FAILED [ 53%] 690s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-sqlite] FAILED [ 53%] 691s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-cached_sqlite] FAILED [ 53%] 691s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-journal] FAILED [ 53%] 691s tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-journal_redis] FAILED [ 53%] 691s tests/study_tests/test_study.py::test_nested_optimization PASSED [ 53%] 691s tests/study_tests/test_study.py::test_stop_in_objective PASSED [ 53%] 691s tests/study_tests/test_study.py::test_stop_in_callback PASSED [ 53%] 691s tests/study_tests/test_study.py::test_stop_n_jobs PASSED [ 53%] 691s tests/study_tests/test_study.py::test_stop_outside_optimize PASSED [ 53%] 691s tests/study_tests/test_study.py::test_add_trial[inmemory] PASSED [ 53%] 692s tests/study_tests/test_study.py::test_add_trial[sqlite] PASSED [ 54%] 692s tests/study_tests/test_study.py::test_add_trial[cached_sqlite] PASSED [ 54%] 692s tests/study_tests/test_study.py::test_add_trial[journal] PASSED [ 54%] 692s tests/study_tests/test_study.py::test_add_trial[journal_redis] FAILED [ 54%] 692s tests/study_tests/test_study.py::test_add_trial_invalid_values_length PASSED [ 54%] 692s tests/study_tests/test_study.py::test_add_trials[inmemory] PASSED [ 54%] 693s tests/study_tests/test_study.py::test_add_trials[sqlite] PASSED [ 54%] 693s tests/study_tests/test_study.py::test_add_trials[cached_sqlite] PASSED [ 54%] 693s tests/study_tests/test_study.py::test_add_trials[journal] PASSED [ 54%] 693s tests/study_tests/test_study.py::test_add_trials[journal_redis] FAILED [ 54%] 693s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_param_values[inmemory] PASSED [ 54%] 694s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_param_values[sqlite] PASSED [ 54%] 695s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_param_values[cached_sqlite] PASSED [ 54%] 695s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_param_values[journal] PASSED [ 54%] 695s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_param_values[journal_redis] FAILED [ 54%] 695s tests/study_tests/test_study.py::test_enqueue_trial_with_unfixed_parameters[inmemory] PASSED [ 54%] 695s tests/study_tests/test_study.py::test_enqueue_trial_with_unfixed_parameters[sqlite] PASSED [ 54%] 696s tests/study_tests/test_study.py::test_enqueue_trial_with_unfixed_parameters[cached_sqlite] PASSED [ 55%] 696s tests/study_tests/test_study.py::test_enqueue_trial_with_unfixed_parameters[journal] PASSED [ 55%] 696s tests/study_tests/test_study.py::test_enqueue_trial_with_unfixed_parameters[journal_redis] FAILED [ 55%] 696s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_user_attr[inmemory] PASSED [ 55%] 697s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_user_attr[sqlite] PASSED [ 55%] 697s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_user_attr[cached_sqlite] PASSED [ 55%] 697s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_user_attr[journal] PASSED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_user_attr[journal_redis] FAILED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_with_non_dict_parameters[inmemory] PASSED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_with_non_dict_parameters[sqlite] PASSED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_with_non_dict_parameters[cached_sqlite] PASSED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_with_non_dict_parameters[journal] PASSED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_with_non_dict_parameters[journal_redis] FAILED [ 55%] 698s tests/study_tests/test_study.py::test_enqueue_trial_with_out_of_range_parameters[inmemory] PASSED [ 55%] 700s tests/study_tests/test_study.py::test_enqueue_trial_with_out_of_range_parameters[sqlite] PASSED [ 55%] 701s tests/study_tests/test_study.py::test_enqueue_trial_with_out_of_range_parameters[cached_sqlite] PASSED [ 55%] 701s tests/study_tests/test_study.py::test_enqueue_trial_with_out_of_range_parameters[journal] PASSED [ 55%] 701s tests/study_tests/test_study.py::test_enqueue_trial_with_out_of_range_parameters[journal_redis] FAILED [ 56%] 701s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_finished[inmemory] PASSED [ 56%] 701s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_finished[sqlite] PASSED [ 56%] 702s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_finished[cached_sqlite] PASSED [ 56%] 702s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_finished[journal] PASSED [ 56%] 702s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_finished[journal_redis] FAILED [ 56%] 702s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_waiting[inmemory] PASSED [ 56%] 703s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_waiting[sqlite] PASSED [ 56%] 703s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_waiting[cached_sqlite] PASSED [ 56%] 703s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_waiting[journal] PASSED [ 56%] 703s tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_waiting[journal_redis] FAILED [ 56%] 703s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params0-inmemory] PASSED [ 56%] 704s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params0-sqlite] PASSED [ 56%] 704s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params0-cached_sqlite] PASSED [ 56%] 704s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params0-journal] PASSED [ 56%] 705s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params0-journal_redis] FAILED [ 56%] 705s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params1-inmemory] PASSED [ 56%] 705s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params1-sqlite] PASSED [ 57%] 706s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params1-cached_sqlite] PASSED [ 57%] 706s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params1-journal] PASSED [ 57%] 706s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params1-journal_redis] FAILED [ 57%] 706s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params2-inmemory] PASSED [ 57%] 707s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params2-sqlite] PASSED [ 57%] 707s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params2-cached_sqlite] PASSED [ 57%] 707s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params2-journal] PASSED [ 57%] 707s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params2-journal_redis] FAILED [ 57%] 707s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params3-inmemory] PASSED [ 57%] 708s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params3-sqlite] PASSED [ 57%] 709s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params3-cached_sqlite] PASSED [ 57%] 709s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params3-journal] PASSED [ 57%] 709s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params3-journal_redis] FAILED [ 57%] 709s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[foo-inmemory] PASSED [ 57%] 710s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[foo-sqlite] PASSED [ 57%] 710s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[foo-cached_sqlite] PASSED [ 57%] 710s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[foo-journal] PASSED [ 58%] 710s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[foo-journal_redis] FAILED [ 58%] 710s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1-inmemory] PASSED [ 58%] 711s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1-sqlite] PASSED [ 58%] 711s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1-cached_sqlite] PASSED [ 58%] 711s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1-journal] PASSED [ 58%] 711s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1-journal_redis] FAILED [ 58%] 711s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1.1-inmemory] PASSED [ 58%] 712s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1.1-sqlite] PASSED [ 58%] 712s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1.1-cached_sqlite] PASSED [ 58%] 712s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1.1-journal] PASSED [ 58%] 712s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1.1-journal_redis] FAILED [ 58%] 712s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e+17-inmemory] PASSED [ 58%] 713s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e+17-sqlite] PASSED [ 58%] 713s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e+17-cached_sqlite] PASSED [ 58%] 713s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e+17-journal] PASSED [ 58%] 713s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e+17-journal_redis] FAILED [ 58%] 713s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e-17-inmemory] PASSED [ 59%] 714s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e-17-sqlite] PASSED [ 59%] 714s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e-17-cached_sqlite] PASSED [ 59%] 714s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e-17-journal] PASSED [ 59%] 714s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e-17-journal_redis] FAILED [ 59%] 714s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[inf-inmemory] PASSED [ 59%] 715s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[inf-sqlite] PASSED [ 59%] 715s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[inf-cached_sqlite] PASSED [ 59%] 715s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[inf-journal] PASSED [ 59%] 715s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[inf-journal_redis] FAILED [ 59%] 715s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[-inf-inmemory] PASSED [ 59%] 715s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[-inf-sqlite] PASSED [ 59%] 716s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[-inf-cached_sqlite] PASSED [ 59%] 716s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[-inf-journal] PASSED [ 59%] 717s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[-inf-journal_redis] FAILED [ 59%] 717s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[nan-inmemory] PASSED [ 59%] 717s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[nan-sqlite] PASSED [ 59%] 717s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[nan-cached_sqlite] PASSED [ 60%] 717s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[nan-journal] PASSED [ 60%] 718s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[nan-journal_redis] FAILED [ 60%] 718s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[None-inmemory] PASSED [ 60%] 718s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[None-sqlite] PASSED [ 60%] 719s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[None-cached_sqlite] PASSED [ 60%] 719s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[None-journal] PASSED [ 60%] 719s tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[None-journal_redis] FAILED [ 60%] 719s tests/study_tests/test_study.py::test_optimize_with_gc PASSED [ 60%] 719s tests/study_tests/test_study.py::test_optimize_without_gc PASSED [ 60%] 719s tests/study_tests/test_study.py::test_optimize_with_progbar[1] PASSED [ 60%] 719s tests/study_tests/test_study.py::test_optimize_with_progbar[2] PASSED [ 60%] 719s tests/study_tests/test_study.py::test_optimize_without_progbar[1] PASSED [ 60%] 719s tests/study_tests/test_study.py::test_optimize_without_progbar[2] PASSED [ 60%] 721s tests/study_tests/test_study.py::test_optimize_with_progbar_timeout PASSED [ 60%] 723s tests/study_tests/test_study.py::test_optimize_with_progbar_parallel_timeout PASSED [ 60%] 723s tests/study_tests/test_study.py::test_optimize_with_progbar_timeout_formats[59.0-/00:59] PASSED [ 60%] 723s tests/study_tests/test_study.py::test_optimize_with_progbar_timeout_formats[60.0-/01:00] PASSED [ 60%] 723s tests/study_tests/test_study.py::test_optimize_with_progbar_timeout_formats[3600.0-/1:00:00] PASSED [ 61%] 723s tests/study_tests/test_study.py::test_optimize_with_progbar_timeout_formats[86400.0-/24:00:00] PASSED [ 61%] 723s tests/study_tests/test_study.py::test_optimize_with_progbar_timeout_formats[864000.0-/240:00:00] PASSED [ 61%] 725s tests/study_tests/test_study.py::test_optimize_without_progbar_timeout[1] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_without_progbar_timeout[2] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_progbar_n_trials_prioritized[1] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_progbar_n_trials_prioritized[2] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_without_progbar_n_trials_prioritized[1] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_without_progbar_n_trials_prioritized[2] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_progbar_no_constraints[1] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_progbar_no_constraints[2] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_without_progbar_no_constraints[1] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_without_progbar_no_constraints[2] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_callbacks[1] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_callbacks[4] PASSED [ 61%] 727s tests/study_tests/test_study.py::test_optimize_infinite_budget_progbar PASSED [ 61%] 727s tests/study_tests/test_study.py::test_get_trials[inmemory] PASSED [ 61%] 728s tests/study_tests/test_study.py::test_get_trials[sqlite] PASSED [ 62%] 728s tests/study_tests/test_study.py::test_get_trials[cached_sqlite] PASSED [ 62%] 728s tests/study_tests/test_study.py::test_get_trials[journal] PASSED [ 62%] 729s tests/study_tests/test_study.py::test_get_trials[journal_redis] FAILED [ 62%] 729s tests/study_tests/test_study.py::test_get_trials_state_option[inmemory] PASSED [ 62%] 729s tests/study_tests/test_study.py::test_get_trials_state_option[sqlite] PASSED [ 62%] 730s tests/study_tests/test_study.py::test_get_trials_state_option[cached_sqlite] PASSED [ 62%] 730s tests/study_tests/test_study.py::test_get_trials_state_option[journal] PASSED [ 62%] 730s tests/study_tests/test_study.py::test_get_trials_state_option[journal_redis] FAILED [ 62%] 730s tests/study_tests/test_study.py::test_log_completed_trial PASSED [ 62%] 730s tests/study_tests/test_study.py::test_log_completed_trial_skip_storage_access PASSED [ 62%] 730s tests/study_tests/test_study.py::test_create_study_with_multi_objectives PASSED [ 62%] 730s tests/study_tests/test_study.py::test_create_study_with_direction_object PASSED [ 62%] 730s tests/study_tests/test_study.py::test_optimize_with_multi_objectives[2] PASSED [ 62%] 730s tests/study_tests/test_study.py::test_optimize_with_multi_objectives[3] PASSED [ 62%] 730s tests/study_tests/test_study.py::test_best_trials PASSED [ 62%] 730s tests/study_tests/test_study.py::test_wrong_n_objectives PASSED [ 62%] 730s tests/study_tests/test_study.py::test_ask PASSED [ 63%] 730s tests/study_tests/test_study.py::test_ask_enqueue_trial PASSED [ 63%] 730s tests/study_tests/test_study.py::test_ask_fixed_search_space PASSED [ 63%] 730s tests/study_tests/test_study.py::test_ask_distribution_conversion PASSED [ 63%] 730s tests/study_tests/test_study.py::test_ask_distribution_conversion_noop PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell_pruned PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell_automatically_fail PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell_multi_objective PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell_multi_objective_automatically_fail PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell_invalid PASSED [ 63%] 730s tests/study_tests/test_study.py::test_tell_duplicate_tell PASSED [ 63%] 731s tests/study_tests/test_study.py::test_enqueued_trial_datetime_start[inmemory] PASSED [ 63%] 733s tests/study_tests/test_study.py::test_enqueued_trial_datetime_start[sqlite] PASSED [ 63%] 734s tests/study_tests/test_study.py::test_enqueued_trial_datetime_start[cached_sqlite] PASSED [ 63%] 735s tests/study_tests/test_study.py::test_enqueued_trial_datetime_start[journal] PASSED [ 63%] 735s tests/study_tests/test_study.py::test_enqueued_trial_datetime_start[journal_redis] FAILED [ 63%] 735s tests/study_tests/test_study.py::test_study_summary_datetime_start_calculation[inmemory] PASSED [ 64%] 736s tests/study_tests/test_study.py::test_study_summary_datetime_start_calculation[sqlite] PASSED [ 64%] 736s tests/study_tests/test_study.py::test_study_summary_datetime_start_calculation[cached_sqlite] PASSED [ 64%] 736s tests/study_tests/test_study.py::test_study_summary_datetime_start_calculation[journal] PASSED [ 64%] 736s tests/study_tests/test_study.py::test_study_summary_datetime_start_calculation[journal_redis] FAILED [ 64%] 737s tests/study_tests/test_study.py::test_tell_from_another_process PASSED [ 64%] 737s tests/study_tests/test_study.py::test_pop_waiting_trial_thread_safe[inmemory] PASSED [ 64%] 737s tests/study_tests/test_study.py::test_pop_waiting_trial_thread_safe[sqlite] SKIPPED [ 64%] 737s tests/study_tests/test_study.py::test_pop_waiting_trial_thread_safe[cached_sqlite] SKIPPED [ 64%] 737s tests/study_tests/test_study.py::test_pop_waiting_trial_thread_safe[journal] PASSED [ 64%] 738s tests/study_tests/test_study.py::test_pop_waiting_trial_thread_safe[journal_redis] FAILED [ 64%] 738s tests/study_tests/test_study.py::test_set_metric_names PASSED [ 64%] 738s tests/study_tests/test_study.py::test_set_metric_names_experimental_warning PASSED [ 64%] 738s tests/study_tests/test_study.py::test_set_invalid_metric_names PASSED [ 64%] 738s tests/study_tests/test_study.py::test_get_metric_names PASSED [ 64%] 738s tests/study_tests/test_study_summary.py::test_study_summary_eq_ne PASSED [ 64%] 738s tests/study_tests/test_study_summary.py::test_study_summary_lt_le PASSED [ 64%] 738s tests/test_callbacks.py::test_stop_with_MaxTrialsCallback PASSED [ 65%] 740s tests/test_cli.py::test_create_study_command PASSED [ 65%] 741s tests/test_cli.py::test_create_study_command_with_study_name PASSED [ 65%] 742s tests/test_cli.py::test_create_study_command_without_storage_url PASSED [ 65%] 744s tests/test_cli.py::test_create_study_command_with_storage_env PASSED [ 65%] 747s tests/test_cli.py::test_create_study_command_with_direction PASSED [ 65%] 749s tests/test_cli.py::test_create_study_command_with_multiple_directions PASSED [ 65%] 751s tests/test_cli.py::test_delete_study_command PASSED [ 65%] 752s tests/test_cli.py::test_delete_study_command_without_storage_url PASSED [ 65%] 754s tests/test_cli.py::test_study_set_user_attr_command PASSED [ 65%] 758s tests/test_cli.py::test_study_names_command[None] PASSED [ 65%] 762s tests/test_cli.py::test_study_names_command[table] PASSED [ 65%] 766s tests/test_cli.py::test_study_names_command[json] PASSED [ 65%] 770s tests/test_cli.py::test_study_names_command[yaml] PASSED [ 65%] 771s tests/test_cli.py::test_study_names_command_without_storage_url PASSED [ 65%] 774s tests/test_cli.py::test_studies_command[None] PASSED [ 65%] 778s tests/test_cli.py::test_studies_command[table] PASSED [ 65%] 781s tests/test_cli.py::test_studies_command[json] PASSED [ 66%] 784s tests/test_cli.py::test_studies_command[yaml] PASSED [ 66%] 788s tests/test_cli.py::test_studies_command_flatten[None] PASSED [ 66%] 791s tests/test_cli.py::test_studies_command_flatten[table] PASSED [ 66%] 794s tests/test_cli.py::test_studies_command_flatten[json] PASSED [ 66%] 797s tests/test_cli.py::test_studies_command_flatten[yaml] PASSED [ 66%] 799s tests/test_cli.py::test_trials_command[None-objective_func] PASSED [ 66%] 802s tests/test_cli.py::test_trials_command[None-objective_func_branched_search_space] PASSED [ 66%] 804s tests/test_cli.py::test_trials_command[table-objective_func] PASSED [ 66%] 807s tests/test_cli.py::test_trials_command[table-objective_func_branched_search_space] PASSED [ 66%] 809s tests/test_cli.py::test_trials_command[json-objective_func] PASSED [ 66%] 812s tests/test_cli.py::test_trials_command[json-objective_func_branched_search_space] PASSED [ 66%] 814s tests/test_cli.py::test_trials_command[yaml-objective_func] PASSED [ 66%] 816s tests/test_cli.py::test_trials_command[yaml-objective_func_branched_search_space] PASSED [ 66%] 819s tests/test_cli.py::test_trials_command_flatten[None-objective_func] PASSED [ 66%] 821s tests/test_cli.py::test_trials_command_flatten[None-objective_func_branched_search_space] PASSED [ 66%] 824s tests/test_cli.py::test_trials_command_flatten[table-objective_func] PASSED [ 66%] 826s tests/test_cli.py::test_trials_command_flatten[table-objective_func_branched_search_space] PASSED [ 67%] 828s tests/test_cli.py::test_trials_command_flatten[json-objective_func] PASSED [ 67%] 831s tests/test_cli.py::test_trials_command_flatten[json-objective_func_branched_search_space] PASSED [ 67%] 833s tests/test_cli.py::test_trials_command_flatten[yaml-objective_func] PASSED [ 67%] 836s tests/test_cli.py::test_trials_command_flatten[yaml-objective_func_branched_search_space] PASSED [ 67%] 839s tests/test_cli.py::test_best_trial_command[None-objective_func] PASSED [ 67%] 841s tests/test_cli.py::test_best_trial_command[None-objective_func_branched_search_space] PASSED [ 67%] 844s tests/test_cli.py::test_best_trial_command[table-objective_func] PASSED [ 67%] 846s tests/test_cli.py::test_best_trial_command[table-objective_func_branched_search_space] PASSED [ 67%] 849s tests/test_cli.py::test_best_trial_command[json-objective_func] PASSED [ 67%] 852s tests/test_cli.py::test_best_trial_command[json-objective_func_branched_search_space] PASSED [ 67%] 855s tests/test_cli.py::test_best_trial_command[yaml-objective_func] PASSED [ 67%] 857s tests/test_cli.py::test_best_trial_command[yaml-objective_func_branched_search_space] PASSED [ 67%] 860s tests/test_cli.py::test_best_trial_command_flatten[None-objective_func] PASSED [ 67%] 862s tests/test_cli.py::test_best_trial_command_flatten[None-objective_func_branched_search_space] PASSED [ 67%] 865s tests/test_cli.py::test_best_trial_command_flatten[table-objective_func] PASSED [ 67%] 867s tests/test_cli.py::test_best_trial_command_flatten[table-objective_func_branched_search_space] PASSED [ 67%] 870s tests/test_cli.py::test_best_trial_command_flatten[json-objective_func] PASSED [ 68%] 872s tests/test_cli.py::test_best_trial_command_flatten[json-objective_func_branched_search_space] PASSED [ 68%] 875s tests/test_cli.py::test_best_trial_command_flatten[yaml-objective_func] PASSED [ 68%] 877s tests/test_cli.py::test_best_trial_command_flatten[yaml-objective_func_branched_search_space] PASSED [ 68%] 880s tests/test_cli.py::test_best_trials_command[None] PASSED [ 68%] 882s tests/test_cli.py::test_best_trials_command[table] PASSED [ 68%] 885s tests/test_cli.py::test_best_trials_command[json] PASSED [ 68%] 887s tests/test_cli.py::test_best_trials_command[yaml] PASSED [ 68%] 890s tests/test_cli.py::test_best_trials_command_flatten[None] PASSED [ 68%] 893s tests/test_cli.py::test_best_trials_command_flatten[table] PASSED [ 68%] 895s tests/test_cli.py::test_best_trials_command_flatten[json] PASSED [ 68%] 898s tests/test_cli.py::test_best_trials_command_flatten[yaml] PASSED [ 68%] 902s tests/test_cli.py::test_create_study_command_with_skip_if_exists PASSED [ 68%] 905s tests/test_cli.py::test_study_optimize_command PASSED [ 68%] 907s tests/test_cli.py::test_study_optimize_command_inconsistent_args PASSED [ 68%] 908s tests/test_cli.py::test_empty_argv PASSED [ 68%] 908s tests/test_cli.py::test_check_storage_url PASSED [ 68%] 908s tests/test_cli.py::test_get_storage_without_storage_class PASSED [ 69%] 908s tests/test_cli.py::test_get_storage_with_storage_class PASSED [ 69%] 910s tests/test_cli.py::test_storage_upgrade_command PASSED [ 69%] 911s tests/test_cli.py::test_storage_upgrade_command_with_invalid_url PASSED [ 69%] 912s tests/test_cli.py::test_ask[None-None-None-None-None] PASSED [ 69%] 914s tests/test_cli.py::test_ask[minimize-None-None-None-None] PASSED [ 69%] 915s tests/test_cli.py::test_ask[None-minimize maximize-None-None-None] PASSED [ 69%] 916s tests/test_cli.py::test_ask[None-None-RandomSampler-None-None] PASSED [ 69%] 918s tests/test_cli.py::test_ask[None-None-TPESampler-{"multivariate": true}-None] PASSED [ 69%] 919s tests/test_cli.py::test_ask[None-None-None-None-json] PASSED [ 69%] 920s tests/test_cli.py::test_ask[None-None-None-None-yaml] PASSED [ 69%] 922s tests/test_cli.py::test_ask_flatten[None-None-None-None-None] PASSED [ 69%] 923s tests/test_cli.py::test_ask_flatten[minimize-None-None-None-None] PASSED [ 69%] 925s tests/test_cli.py::test_ask_flatten[None-minimize maximize-None-None-None] PASSED [ 69%] 926s tests/test_cli.py::test_ask_flatten[None-None-RandomSampler-None-None] PASSED [ 69%] 927s tests/test_cli.py::test_ask_flatten[None-None-TPESampler-{"multivariate": true}-None] PASSED [ 69%] 929s tests/test_cli.py::test_ask_flatten[None-None-None-None-json] PASSED [ 69%] 930s tests/test_cli.py::test_ask_flatten[None-None-None-None-yaml] PASSED [ 70%] 931s tests/test_cli.py::test_ask_empty_search_space[None] PASSED [ 70%] 933s tests/test_cli.py::test_ask_empty_search_space[table] PASSED [ 70%] 934s tests/test_cli.py::test_ask_empty_search_space[json] PASSED [ 70%] 935s tests/test_cli.py::test_ask_empty_search_space[yaml] PASSED [ 70%] 936s tests/test_cli.py::test_ask_empty_search_space_flatten[None] PASSED [ 70%] 938s tests/test_cli.py::test_ask_empty_search_space_flatten[table] PASSED [ 70%] 939s tests/test_cli.py::test_ask_empty_search_space_flatten[json] PASSED [ 70%] 940s tests/test_cli.py::test_ask_empty_search_space_flatten[yaml] PASSED [ 70%] 942s tests/test_cli.py::test_ask_sampler_kwargs_without_sampler PASSED [ 70%] 945s tests/test_cli.py::test_create_study_and_ask[None-None-None-None] PASSED [ 70%] 947s tests/test_cli.py::test_create_study_and_ask[minimize-None-None-None] PASSED [ 70%] 949s tests/test_cli.py::test_create_study_and_ask[None-minimize maximize-None-None] PASSED [ 70%] 951s tests/test_cli.py::test_create_study_and_ask[None-None-RandomSampler-None] PASSED [ 70%] 953s tests/test_cli.py::test_create_study_and_ask[None-None-TPESampler-{"multivariate": true}] PASSED [ 70%] 956s tests/test_cli.py::test_create_study_and_ask_with_inconsistent_directions[None-None-maximize-None] PASSED [ 70%] 960s tests/test_cli.py::test_create_study_and_ask_with_inconsistent_directions[minimize-None-maximize-None] PASSED [ 70%] 963s tests/test_cli.py::test_create_study_and_ask_with_inconsistent_directions[minimize-None-None-minimize minimize] PASSED [ 71%] 966s tests/test_cli.py::test_create_study_and_ask_with_inconsistent_directions[None-minimize maximize-None-maximize minimize] PASSED [ 71%] 969s tests/test_cli.py::test_create_study_and_ask_with_inconsistent_directions[None-minimize maximize-minimize-None] PASSED [ 71%] 973s tests/test_cli.py::test_ask_with_both_direction_and_directions PASSED [ 71%] 979s tests/test_cli.py::test_tell PASSED [ 71%] 981s tests/test_cli.py::test_tell_with_nan PASSED [ 71%] 982s tests/test_cli.py::test_configure_logging_verbosity[--verbose-True] PASSED [ 71%] 983s tests/test_cli.py::test_configure_logging_verbosity[--quiet-False] PASSED [ 71%] 983s tests/test_convert_positional_args.py::test_convert_positional_args_decorator PASSED [ 71%] 983s tests/test_convert_positional_args.py::test_convert_positional_args_future_warning_for_methods PASSED [ 71%] 983s tests/test_convert_positional_args.py::test_convert_positional_args_future_warning PASSED [ 71%] 983s tests/test_convert_positional_args.py::test_convert_positional_args_mypy_type_inference PASSED [ 71%] 984s tests/test_convert_positional_args.py::test_convert_positional_args_invalid_previous_positional_arg_names[previous_positional_arg_names0-True] PASSED [ 71%] 984s tests/test_convert_positional_args.py::test_convert_positional_args_invalid_previous_positional_arg_names[previous_positional_arg_names1-True] PASSED [ 71%] 984s tests/test_convert_positional_args.py::test_convert_positional_args_invalid_previous_positional_arg_names[previous_positional_arg_names2-False] PASSED [ 71%] 984s tests/test_convert_positional_args.py::test_convert_positional_args_invalid_positional_args PASSED [ 71%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.1-1.1] PASSED [ 71%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.1-100] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.1-None] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.1-2.0.0] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[10-1.1] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[10-100] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[10-None] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[10-2.0.0] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.0.0-1.1] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.0.0-100] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.0.0-None] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_raises_error_for_invalid_version[1.0.0-2.0.0] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_decorator PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_instance_method_decorator PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_class_decorator PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_class_decorator_name PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_decorator_name PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_text_specified[None] PASSED [ 72%] 984s tests/test_deprecated.py::test_deprecation_text_specified[] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_text_specified[test] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_text_specified[testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_class_text_specified[None] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_class_text_specified[] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_class_text_specified[test] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_class_text_specified[testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest] PASSED [ 73%] 984s tests/test_deprecated.py::test_deprecation_decorator_default_removed_version PASSED [ 73%] 984s tests/test_distributions.py::test_json_to_distribution PASSED [ 73%] 984s tests/test_distributions.py::test_abbreviated_json_to_distribution PASSED [ 73%] 984s tests/test_distributions.py::test_distribution_to_json PASSED [ 73%] 984s tests/test_distributions.py::test_check_distribution_compatibility PASSED [ 73%] 984s tests/test_distributions.py::test_int_internal_representation[0] PASSED [ 73%] 984s tests/test_distributions.py::test_int_internal_representation[1_0] PASSED [ 73%] 984s tests/test_distributions.py::test_int_internal_representation[4] PASSED [ 73%] 984s tests/test_distributions.py::test_int_internal_representation[10] PASSED [ 73%] 984s tests/test_distributions.py::test_int_internal_representation[11] PASSED [ 73%] 984s tests/test_distributions.py::test_int_internal_representation[1.1_0] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation[1_1] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation[1.1_1] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation[-1.0] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation[True] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation[False] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[foo-kwargs0] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[value1-kwargs1] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[value2-kwargs2] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[value3-kwargs3] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[value4-kwargs4] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[value5-kwargs5] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[nan-kwargs6] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[0-kwargs7] PASSED [ 74%] 984s tests/test_distributions.py::test_int_internal_representation_error[-1-kwargs8] PASSED [ 74%] 984s tests/test_distributions.py::test_float_internal_representation[1.99] PASSED [ 74%] 984s tests/test_distributions.py::test_float_internal_representation[2.0] PASSED [ 74%] 984s tests/test_distributions.py::test_float_internal_representation[4.5] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[7] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[7.1] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[1_0] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[1_1] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[1.1] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[-1.0] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[True] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation[False] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[foo-kwargs0] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[value1-kwargs1] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[value2-kwargs2] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[value3-kwargs3] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[value4-kwargs4] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[value5-kwargs5] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[nan-kwargs6] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[0.0-kwargs7] PASSED [ 75%] 984s tests/test_distributions.py::test_float_internal_representation_error[-1.0-kwargs8] PASSED [ 76%] 984s tests/test_distributions.py::test_categorical_internal_representation PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[False-0.9-1] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[True-1-1] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[False-1.5-1] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[True-4-1] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[True-10-1] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[False-11-1] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[False-10-2] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[True-1-3] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[False-5-3] PASSED [ 76%] 984s tests/test_distributions.py::test_int_contains[True-10-3] PASSED [ 76%] 984s tests/test_distributions.py::test_float_contains[False-1.99-None] PASSED [ 76%] 984s tests/test_distributions.py::test_float_contains[True-2.0-None] PASSED [ 76%] 984s tests/test_distributions.py::test_float_contains[True-2.5-None] PASSED [ 76%] 984s tests/test_distributions.py::test_float_contains[True-7-None] PASSED [ 76%] 984s tests/test_distributions.py::test_float_contains[False-7.1-None] PASSED [ 76%] 984s tests/test_distributions.py::test_float_contains[False-0.99-2.0] PASSED [ 77%] 984s tests/test_distributions.py::test_float_contains[True-2.0-2.0] PASSED [ 77%] 984s tests/test_distributions.py::test_float_contains[False-3.0-2.0] PASSED [ 77%] 984s tests/test_distributions.py::test_float_contains[True-6-2.0] PASSED [ 77%] 984s tests/test_distributions.py::test_float_contains[False-6.1-2.0] PASSED [ 77%] 984s tests/test_distributions.py::test_categorical_contains PASSED [ 77%] 984s tests/test_distributions.py::test_empty_range_contains PASSED [ 77%] 984s tests/test_distributions.py::test_int_single[True-1-1-False-1] PASSED [ 77%] 984s tests/test_distributions.py::test_int_single[True-3-3-False-2] PASSED [ 77%] 984s tests/test_distributions.py::test_int_single[True-2-2-True-1] PASSED [ 77%] 984s tests/test_distributions.py::test_int_single[False--123-0-False-1] PASSED [ 77%] 984s tests/test_distributions.py::test_int_single[False--123-0-False-123] PASSED [ 77%] 984s tests/test_distributions.py::test_int_single[False-2-4-True-1] PASSED [ 77%] 984s tests/test_distributions.py::test_float_single[True-2.0-2.0-False-None] PASSED [ 77%] 984s tests/test_distributions.py::test_float_single[True-2.0-2.0-True-None] PASSED [ 77%] 984s tests/test_distributions.py::test_float_single[True-2.22-2.22-False-0.1] PASSED [ 77%] 984s tests/test_distributions.py::test_float_single[True-2.22-2.24-False-0.3] PASSED [ 77%] 984s tests/test_distributions.py::test_float_single[False-1.0-1.001-False-None] PASSED [ 78%] 984s tests/test_distributions.py::test_float_single[False-7.3-10.0-True-None] PASSED [ 78%] 984s tests/test_distributions.py::test_float_single[False--30--20-False-2] PASSED [ 78%] 984s tests/test_distributions.py::test_float_single[False--30--20-False-10] PASSED [ 78%] 984s tests/test_distributions.py::test_float_single[False-0.2-0.3-False-0.1] PASSED [ 78%] 984s tests/test_distributions.py::test_float_single[False-0.7-0.8-False-0.1] PASSED [ 78%] 984s tests/test_distributions.py::test_categorical_single PASSED [ 78%] 984s tests/test_distributions.py::test_invalid_distribution PASSED [ 78%] 984s tests/test_distributions.py::test_eq_ne_hash PASSED [ 78%] 984s tests/test_distributions.py::test_repr PASSED [ 78%] 984s tests/test_distributions.py::test_int_distribution_asdict[i-1-9-False-1] PASSED [ 78%] 984s tests/test_distributions.py::test_int_distribution_asdict[il-2-12-True-1] PASSED [ 78%] 984s tests/test_distributions.py::test_int_distribution_asdict[id-1-9-False-2] PASSED [ 78%] 984s tests/test_distributions.py::test_float_distribution_asdict[f-1.0-2.0-False-None] PASSED [ 78%] 984s tests/test_distributions.py::test_float_distribution_asdict[fl-0.001-100.0-True-None] PASSED [ 78%] 984s tests/test_distributions.py::test_float_distribution_asdict[fd-1.0-9.0-False-2.0] PASSED [ 78%] 984s tests/test_distributions.py::test_int_init_error PASSED [ 78%] 984s tests/test_distributions.py::test_float_init_error PASSED [ 79%] 984s tests/test_distributions.py::test_categorical_init_error PASSED [ 79%] 984s tests/test_distributions.py::test_categorical_distribution_different_sequence_types PASSED [ 79%] 984s tests/test_distributions.py::test_convert_old_distribution_to_new_distribution PASSED [ 79%] 984s tests/test_distributions.py::test_convert_old_distribution_to_new_distribution_noop PASSED [ 79%] 984s tests/test_distributions.py::test_is_distribution_log PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_raises_error_for_invalid_version[1.1] PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_raises_error_for_invalid_version[100] PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_raises_error_for_invalid_version[None] PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_func_decorator PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_instance_method_decorator PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_class_decorator PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_class_decorator_name PASSED [ 79%] 984s tests/test_experimental.py::test_experimental_decorator_name PASSED [ 79%] 984s tests/test_imports.py::test_try_import_is_successful PASSED [ 79%] 984s tests/test_imports.py::test_try_import_is_successful_other_error PASSED [ 79%] 984s tests/test_imports.py::test_try_import_not_successful PASSED [ 79%] 984s tests/test_logging.py::test_get_logger PASSED [ 80%] 984s tests/test_logging.py::test_default_handler PASSED [ 80%] 984s tests/test_logging.py::test_verbosity PASSED [ 80%] 984s tests/test_logging.py::test_propagation PASSED [ 80%] 984s tests/test_multi_objective.py::test_get_pareto_front_trials_2d PASSED [ 80%] 984s tests/test_multi_objective.py::test_get_pareto_front_trials_2d_with_constraint PASSED [ 80%] 984s tests/test_multi_objective.py::test_get_pareto_front_trials_nd PASSED [ 80%] 984s tests/test_multi_objective.py::test_get_pareto_front_trials_nd_with_constraint PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[0-distribution0] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[1-distribution1] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[2-distribution2] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[0.0-distribution3] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[1.0-distribution4] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[0.2-distribution5] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[foo-distribution6] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_shapes_dtypes[bar-distribution7] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_encoding PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-True-True-True] PASSED [ 80%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-True-True-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-True-False-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-True-False-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-False-True-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-False-True-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-False-False-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[0-distribution0-False-False-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-True-True-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-True-True-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-True-False-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-True-False-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-False-True-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-False-True-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-False-False-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[3-distribution1-False-False-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-True-True-True] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-True-True-False] PASSED [ 81%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-True-False-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-True-False-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-False-True-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-False-True-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-False-False-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[1-distribution2-False-False-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-True-True-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-True-True-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-True-False-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-True-False-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-False-True-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-False-True-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-False-False-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution3-False-False-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-True-True-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-True-True-False] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-True-False-True] PASSED [ 82%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-True-False-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-False-True-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-False-True-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-False-False-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[2-distribution4-False-False-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-True-True-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-True-True-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-True-False-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-True-False-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-False-True-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-False-True-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-False-False-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[10-distribution5-False-False-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-True-True-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-True-True-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-True-False-True] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-True-False-False] PASSED [ 83%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-False-True-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-False-True-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-False-False-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.0-distribution6-False-False-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-True-True-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-True-True-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-True-False-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-True-False-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-False-True-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-False-True-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-False-False-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[3.0-distribution7-False-False-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-True-True-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-True-True-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-True-False-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-True-False-False] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-False-True-True] PASSED [ 84%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-False-True-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-False-False-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution8-False-False-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-True-True-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-True-True-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-True-False-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-True-False-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-False-True-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-False-True-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-False-False-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[10.0-distribution9-False-False-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-True-True-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-True-True-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-True-False-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-True-False-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-False-True-True] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-False-True-False] PASSED [ 85%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-False-False-True] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[0.2-distribution10-False-False-False] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-True-True-True] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-True-True-False] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-True-False-True] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-True-False-False] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-False-True-True] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-False-True-False] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-False-False-True] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_numerical[1.0-distribution11-False-False-False] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_values_categorical[foo-distribution0] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_values_categorical[bar-distribution1] PASSED [ 86%] 984s tests/test_transform.py::test_search_space_transform_untransform_params PASSED [ 86%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution0-True-True] PASSED [ 86%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution0-True-False] PASSED [ 86%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution0-False-True] PASSED [ 86%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution0-False-False] PASSED [ 86%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution1-True-True] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution1-True-False] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution1-False-True] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution1-False-False] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution2-True-True] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution2-True-False] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution2-False-True] PASSED [ 87%] 984s tests/test_transform.py::test_transform_untransform_params_at_bounds[distribution2-False-False] PASSED [ 87%] 984s tests/trial_tests/test_fixed.py::test_params PASSED [ 87%] 984s tests/trial_tests/test_fixed.py::test_suggest_int_positional_args[positional_args_names0] PASSED [ 87%] 984s tests/trial_tests/test_fixed.py::test_suggest_int_positional_args[positional_args_names1] PASSED [ 87%] 984s tests/trial_tests/test_fixed.py::test_suggest_int_positional_args[positional_args_names2] PASSED [ 87%] 984s tests/trial_tests/test_fixed.py::test_number PASSED [ 87%] 984s tests/trial_tests/test_frozen.py::test_eq_ne PASSED [ 87%] 984s tests/trial_tests/test_frozen.py::test_lt PASSED [ 87%] 984s tests/trial_tests/test_frozen.py::test_repr PASSED [ 87%] 984s tests/trial_tests/test_frozen.py::test_sampling[inmemory] PASSED [ 87%] 984s tests/trial_tests/test_frozen.py::test_sampling[sqlite] PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_sampling[cached_sqlite] PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_sampling[journal] PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_sampling[journal_redis] FAILED [ 88%] 985s tests/trial_tests/test_frozen.py::test_set_value PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_set_values PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_validate PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_number PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_params PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_distributions PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_user_attrs PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_system_attrs PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_called_single_methods_when_multi PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_init PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_create_trial[1] PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_create_trial[3] PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_create_trial_distribution_conversion PASSED [ 88%] 985s tests/trial_tests/test_frozen.py::test_create_trial_distribution_conversion_noop PASSED [ 89%] 985s tests/trial_tests/test_frozen.py::test_suggest_int_positional_args[positional_args_names0] PASSED [ 89%] 985s tests/trial_tests/test_frozen.py::test_suggest_int_positional_args[positional_args_names1] PASSED [ 89%] 985s tests/trial_tests/test_frozen.py::test_suggest_int_positional_args[positional_args_names2] PASSED [ 89%] 985s tests/trial_tests/test_trial.py::test_check_distribution_suggest_float[inmemory] PASSED [ 89%] 985s tests/trial_tests/test_trial.py::test_check_distribution_suggest_float[sqlite] PASSED [ 89%] 986s tests/trial_tests/test_trial.py::test_check_distribution_suggest_float[cached_sqlite] PASSED [ 89%] 986s tests/trial_tests/test_trial.py::test_check_distribution_suggest_float[journal] PASSED [ 89%] 986s tests/trial_tests/test_trial.py::test_check_distribution_suggest_float[journal_redis] FAILED [ 89%] 986s tests/trial_tests/test_trial.py::test_check_distribution_suggest_uniform[inmemory] PASSED [ 89%] 986s tests/trial_tests/test_trial.py::test_check_distribution_suggest_uniform[sqlite] PASSED [ 89%] 987s tests/trial_tests/test_trial.py::test_check_distribution_suggest_uniform[cached_sqlite] PASSED [ 89%] 987s tests/trial_tests/test_trial.py::test_check_distribution_suggest_uniform[journal] PASSED [ 89%] 987s tests/trial_tests/test_trial.py::test_check_distribution_suggest_uniform[journal_redis] FAILED [ 89%] 987s tests/trial_tests/test_trial.py::test_check_distribution_suggest_loguniform[inmemory] PASSED [ 89%] 987s tests/trial_tests/test_trial.py::test_check_distribution_suggest_loguniform[sqlite] PASSED [ 89%] 988s tests/trial_tests/test_trial.py::test_check_distribution_suggest_loguniform[cached_sqlite] PASSED [ 89%] 988s tests/trial_tests/test_trial.py::test_check_distribution_suggest_loguniform[journal] PASSED [ 90%] 988s tests/trial_tests/test_trial.py::test_check_distribution_suggest_loguniform[journal_redis] FAILED [ 90%] 988s tests/trial_tests/test_trial.py::test_check_distribution_suggest_discrete_uniform[inmemory] PASSED [ 90%] 988s tests/trial_tests/test_trial.py::test_check_distribution_suggest_discrete_uniform[sqlite] PASSED [ 90%] 989s tests/trial_tests/test_trial.py::test_check_distribution_suggest_discrete_uniform[cached_sqlite] PASSED [ 90%] 989s tests/trial_tests/test_trial.py::test_check_distribution_suggest_discrete_uniform[journal] PASSED [ 90%] 989s tests/trial_tests/test_trial.py::test_check_distribution_suggest_discrete_uniform[journal_redis] FAILED [ 90%] 989s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[False-inmemory] PASSED [ 90%] 989s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[False-sqlite] PASSED [ 90%] 990s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[False-cached_sqlite] PASSED [ 90%] 990s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[False-journal] PASSED [ 90%] 990s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[False-journal_redis] FAILED [ 90%] 990s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[True-inmemory] PASSED [ 90%] 990s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[True-sqlite] PASSED [ 90%] 991s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[True-cached_sqlite] PASSED [ 90%] 991s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[True-journal] PASSED [ 90%] 991s tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[True-journal_redis] FAILED [ 90%] 991s tests/trial_tests/test_trial.py::test_check_distribution_suggest_categorical[inmemory] PASSED [ 91%] 991s tests/trial_tests/test_trial.py::test_check_distribution_suggest_categorical[sqlite] PASSED [ 91%] 992s tests/trial_tests/test_trial.py::test_check_distribution_suggest_categorical[cached_sqlite] PASSED [ 91%] 992s tests/trial_tests/test_trial.py::test_check_distribution_suggest_categorical[journal] PASSED [ 91%] 992s tests/trial_tests/test_trial.py::test_check_distribution_suggest_categorical[journal_redis] FAILED [ 91%] 992s tests/trial_tests/test_trial.py::test_suggest_uniform[inmemory] PASSED [ 91%] 992s tests/trial_tests/test_trial.py::test_suggest_uniform[sqlite] PASSED [ 91%] 993s tests/trial_tests/test_trial.py::test_suggest_uniform[cached_sqlite] PASSED [ 91%] 993s tests/trial_tests/test_trial.py::test_suggest_uniform[journal] PASSED [ 91%] 993s tests/trial_tests/test_trial.py::test_suggest_uniform[journal_redis] FAILED [ 91%] 993s tests/trial_tests/test_trial.py::test_suggest_loguniform[inmemory] PASSED [ 91%] 993s tests/trial_tests/test_trial.py::test_suggest_loguniform[sqlite] PASSED [ 91%] 994s tests/trial_tests/test_trial.py::test_suggest_loguniform[cached_sqlite] PASSED [ 91%] 994s tests/trial_tests/test_trial.py::test_suggest_loguniform[journal] PASSED [ 91%] 994s tests/trial_tests/test_trial.py::test_suggest_loguniform[journal_redis] FAILED [ 91%] 994s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform[inmemory] PASSED [ 91%] 994s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform[sqlite] PASSED [ 91%] 995s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform[cached_sqlite] PASSED [ 92%] 995s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform[journal] PASSED [ 92%] 995s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform[journal_redis] FAILED [ 92%] 995s tests/trial_tests/test_trial.py::test_suggest_low_equals_high[inmemory] PASSED [ 92%] 996s tests/trial_tests/test_trial.py::test_suggest_low_equals_high[sqlite] PASSED [ 92%] 996s tests/trial_tests/test_trial.py::test_suggest_low_equals_high[cached_sqlite] PASSED [ 92%] 996s tests/trial_tests/test_trial.py::test_suggest_low_equals_high[journal] PASSED [ 92%] 997s tests/trial_tests/test_trial.py::test_suggest_low_equals_high[journal_redis] FAILED [ 92%] 997s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config0-inmemory] PASSED [ 92%] 997s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config0-sqlite] PASSED [ 92%] 998s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config0-cached_sqlite] PASSED [ 92%] 998s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config0-journal] PASSED [ 92%] 998s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config0-journal_redis] FAILED [ 92%] 998s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config1-inmemory] PASSED [ 92%] 999s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config1-sqlite] PASSED [ 92%] 1000s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config1-cached_sqlite] PASSED [ 92%] 1000s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config1-journal] PASSED [ 92%] 1000s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config1-journal_redis] FAILED [ 93%] 1000s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config2-inmemory] PASSED [ 93%] 1000s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config2-sqlite] PASSED [ 93%] 1001s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config2-cached_sqlite] PASSED [ 93%] 1001s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config2-journal] PASSED [ 93%] 1001s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config2-journal_redis] FAILED [ 93%] 1001s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config3-inmemory] PASSED [ 93%] 1002s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config3-sqlite] PASSED [ 93%] 1003s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config3-cached_sqlite] PASSED [ 93%] 1003s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config3-journal] PASSED [ 93%] 1003s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config3-journal_redis] FAILED [ 93%] 1003s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config4-inmemory] PASSED [ 93%] 1004s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config4-sqlite] PASSED [ 93%] 1005s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config4-cached_sqlite] PASSED [ 93%] 1005s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config4-journal] PASSED [ 93%] 1005s tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config4-journal_redis] FAILED [ 93%] 1005s tests/trial_tests/test_trial.py::test_suggest_float_invalid_step PASSED [ 93%] 1005s tests/trial_tests/test_trial.py::test_suggest_int[inmemory] PASSED [ 94%] 1005s tests/trial_tests/test_trial.py::test_suggest_int[sqlite] PASSED [ 94%] 1006s tests/trial_tests/test_trial.py::test_suggest_int[cached_sqlite] PASSED [ 94%] 1006s tests/trial_tests/test_trial.py::test_suggest_int[journal] PASSED [ 94%] 1006s tests/trial_tests/test_trial.py::test_suggest_int[journal_redis] FAILED [ 94%] 1006s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config0-inmemory] PASSED [ 94%] 1007s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config0-sqlite] PASSED [ 94%] 1007s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config0-cached_sqlite] PASSED [ 94%] 1008s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config0-journal] PASSED [ 94%] 1008s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config0-journal_redis] FAILED [ 94%] 1008s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config1-inmemory] PASSED [ 94%] 1008s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config1-sqlite] PASSED [ 94%] 1009s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config1-cached_sqlite] PASSED [ 94%] 1009s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config1-journal] PASSED [ 94%] 1009s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config1-journal_redis] FAILED [ 94%] 1009s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config2-inmemory] PASSED [ 94%] 1010s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config2-sqlite] PASSED [ 94%] 1011s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config2-cached_sqlite] PASSED [ 95%] 1011s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config2-journal] PASSED [ 95%] 1011s tests/trial_tests/test_trial.py::test_suggest_int_range[range_config2-journal_redis] FAILED [ 95%] 1011s tests/trial_tests/test_trial.py::test_suggest_int_invalid_step PASSED [ 95%] 1011s tests/trial_tests/test_trial.py::test_suggest_int_log[inmemory] PASSED [ 95%] 1011s tests/trial_tests/test_trial.py::test_suggest_int_log[sqlite] PASSED [ 95%] 1012s tests/trial_tests/test_trial.py::test_suggest_int_log[cached_sqlite] PASSED [ 95%] 1012s tests/trial_tests/test_trial.py::test_suggest_int_log[journal] PASSED [ 95%] 1012s tests/trial_tests/test_trial.py::test_suggest_int_log[journal_redis] FAILED [ 95%] 1012s tests/trial_tests/test_trial.py::test_suggest_int_log_invalid_range[inmemory] PASSED [ 95%] 1013s tests/trial_tests/test_trial.py::test_suggest_int_log_invalid_range[sqlite] PASSED [ 95%] 1013s tests/trial_tests/test_trial.py::test_suggest_int_log_invalid_range[cached_sqlite] PASSED [ 95%] 1013s tests/trial_tests/test_trial.py::test_suggest_int_log_invalid_range[journal] PASSED [ 95%] 1013s tests/trial_tests/test_trial.py::test_suggest_int_log_invalid_range[journal_redis] FAILED [ 95%] 1013s tests/trial_tests/test_trial.py::test_distributions[inmemory] PASSED [ 95%] 1014s tests/trial_tests/test_trial.py::test_distributions[sqlite] PASSED [ 95%] 1014s tests/trial_tests/test_trial.py::test_distributions[cached_sqlite] PASSED [ 95%] 1014s tests/trial_tests/test_trial.py::test_distributions[journal] PASSED [ 96%] 1015s tests/trial_tests/test_trial.py::test_distributions[journal_redis] FAILED [ 96%] 1015s tests/trial_tests/test_trial.py::test_should_prune PASSED [ 96%] 1015s tests/trial_tests/test_trial.py::test_relative_parameters[inmemory] PASSED [ 96%] 1015s tests/trial_tests/test_trial.py::test_relative_parameters[sqlite] PASSED [ 96%] 1015s tests/trial_tests/test_trial.py::test_relative_parameters[cached_sqlite] PASSED [ 96%] 1015s tests/trial_tests/test_trial.py::test_relative_parameters[journal] PASSED [ 96%] 1016s tests/trial_tests/test_trial.py::test_relative_parameters[journal_redis] FAILED [ 96%] 1016s tests/trial_tests/test_trial.py::test_datetime_start[inmemory] PASSED [ 96%] 1016s tests/trial_tests/test_trial.py::test_datetime_start[sqlite] PASSED [ 96%] 1016s tests/trial_tests/test_trial.py::test_datetime_start[cached_sqlite] PASSED [ 96%] 1016s tests/trial_tests/test_trial.py::test_datetime_start[journal] PASSED [ 96%] 1017s tests/trial_tests/test_trial.py::test_datetime_start[journal_redis] FAILED [ 96%] 1017s tests/trial_tests/test_trial.py::test_report PASSED [ 96%] 1017s tests/trial_tests/test_trial.py::test_report_warning PASSED [ 96%] 1017s tests/trial_tests/test_trial.py::test_suggest_with_multi_objectives PASSED [ 96%] 1017s tests/trial_tests/test_trial.py::test_raise_error_for_report_with_multi_objectives PASSED [ 96%] 1017s tests/trial_tests/test_trial.py::test_raise_error_for_should_prune_multi_objectives PASSED [ 97%] 1017s tests/trial_tests/test_trial.py::test_persisted_param PASSED [ 97%] 1017s tests/trial_tests/test_trial.py::test_lazy_trial_system_attrs[inmemory] PASSED [ 97%] 1017s tests/trial_tests/test_trial.py::test_lazy_trial_system_attrs[sqlite] PASSED [ 97%] 1018s tests/trial_tests/test_trial.py::test_lazy_trial_system_attrs[cached_sqlite] PASSED [ 97%] 1018s tests/trial_tests/test_trial.py::test_lazy_trial_system_attrs[journal] PASSED [ 97%] 1018s tests/trial_tests/test_trial.py::test_lazy_trial_system_attrs[journal_redis] FAILED [ 97%] 1018s tests/trial_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names0] PASSED [ 97%] 1018s tests/trial_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names1] PASSED [ 97%] 1018s tests/trial_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names2] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_float[FixedTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_float[FrozenTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_uniform[FixedTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_uniform[FrozenTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_loguniform[FixedTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_loguniform[FrozenTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_discrete_uniform[FixedTrial] PASSED [ 97%] 1018s tests/trial_tests/test_trials.py::test_suggest_discrete_uniform[FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_suggest_int_log[FixedTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_suggest_int_log[FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_suggest_categorical[FixedTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_suggest_categorical[FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution0-FixedTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution0-FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution0-Trial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution1-FixedTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution1-FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution1-Trial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution2-FixedTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution2-FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution2-Trial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution3-FixedTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution3-FrozenTrial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution3-Trial] PASSED [ 98%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution4-FixedTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution4-FrozenTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution4-Trial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution5-FixedTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution5-FrozenTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_not_contained_param[-distribution5-Trial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_set_user_attrs[FixedTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_set_user_attrs[FrozenTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_set_user_attrs[Trial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_report[FixedTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_report[FrozenTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_report[Trial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_should_prune[FixedTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_should_prune[FrozenTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_should_prune[Trial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_datetime_start[FixedTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_datetime_start[FrozenTrial] PASSED [ 99%] 1018s tests/trial_tests/test_trials.py::test_datetime_start[Trial] PASSED [100%] 1018s 1018s =================================== FAILURES =================================== 1018s _________ test_concurrent_append_logs_for_multi_threads[redis_default] _________ 1018s 1018s log_storage_type = 'redis_default' 1018s 1018s @pytest.mark.parametrize("log_storage_type", LOG_STORAGE) 1018s def test_concurrent_append_logs_for_multi_threads(log_storage_type: str) -> None: 1018s num_executors = 10 1018s num_records = 200 1018s record = {"key": "value"} 1018s 1018s with JournalLogStorageSupplier(log_storage_type) as storage: 1018s with ThreadPoolExecutor(num_executors) as pool: 1018s pool.map(storage.append_logs, [[record] for _ in range(num_records)], timeout=20) 1018s 1018s > assert len(storage.read_logs(0)) == num_records 1018s E assert 0 == 200 1018s E + where 0 = len([]) 1018s E + where [] = read_logs(0) 1018s E + where read_logs = .read_logs 1018s 1018s tests/storages_tests/test_journal.py:96: AssertionError 1018s _______________ test_save_snapshot_per_each_trial[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", JOURNAL_STORAGE_SUPPORTING_SNAPSHOT) 1018s def test_save_snapshot_per_each_trial(storage_mode: str) -> None: 1018s def objective(trial: optuna.Trial) -> float: 1018s return trial.suggest_float("x", 0, 10) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s assert isinstance(storage, JournalStorage) 1018s > study = create_study(storage=storage) 1018s 1018s tests/storages_tests/test_journal.py:137: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_save_snapshot_per_each_study[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", JOURNAL_STORAGE_SUPPORTING_SNAPSHOT) 1018s def test_save_snapshot_per_each_study(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s assert isinstance(storage, JournalStorage) 1018s journal_log_storage = storage._backend 1018s assert isinstance(journal_log_storage, BaseJournalLogSnapshot) 1018s 1018s assert journal_log_storage.load_snapshot() is None 1018s 1018s with mock.patch("optuna.storages._journal.storage.SNAPSHOT_INTERVAL", 1, create=True): 1018s for _ in range(2): 1018s > create_study(storage=storage) 1018s 1018s tests/storages_tests/test_journal.py:160: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________ test_check_replay_result_restored_from_snapshot[journal_redis] ________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", JOURNAL_STORAGE_SUPPORTING_SNAPSHOT) 1018s def test_check_replay_result_restored_from_snapshot(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage1: 1018s with mock.patch("optuna.storages._journal.storage.SNAPSHOT_INTERVAL", 1, create=True): 1018s for _ in range(2): 1018s > create_study(storage=storage1) 1018s 1018s tests/storages_tests/test_journal.py:170: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________________ test_create_new_study[journal_redis] _____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_create_new_study(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:51: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_create_new_study_unique_id[journal_redis] ________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_create_new_study_unique_id(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:70: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_create_new_study_with_name[journal_redis] ________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_create_new_study_with_name(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Generate unique study_name from the current function name and storage_mode. 1018s function_name = test_create_new_study_with_name.__name__ 1018s study_name = function_name + "/" + storage_mode 1018s > study_id = storage.create_new_study( 1018s directions=[StudyDirection.MINIMIZE], study_name=study_name 1018s ) 1018s 1018s tests/storages_tests/test_storages.py:89: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________________ test_delete_study[journal_redis] _______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_delete_study(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:102: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________ test_delete_study_after_create_multiple_studies[journal_redis] ________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_delete_study_after_create_multiple_studies(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id1 = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:125: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____ test_get_study_id_from_name_and_get_study_name_from_id[journal_redis] _____ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_study_id_from_name_and_get_study_name_from_id(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Generate unique study_name from the current function name and storage_mode. 1018s function_name = test_get_study_id_from_name_and_get_study_name_from_id.__name__ 1018s study_name = function_name + "/" + storage_mode 1018s > study_id = storage.create_new_study( 1018s directions=[StudyDirection.MINIMIZE], study_name=study_name 1018s ) 1018s 1018s tests/storages_tests/test_storages.py:143: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_set_and_get_study_directions[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_and_get_study_directions(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s for target in [ 1018s (StudyDirection.MINIMIZE,), 1018s (StudyDirection.MAXIMIZE,), 1018s (StudyDirection.MINIMIZE, StudyDirection.MAXIMIZE), 1018s (StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE), 1018s [StudyDirection.MINIMIZE, StudyDirection.MAXIMIZE], 1018s [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE], 1018s ]: 1018s > study_id = storage.create_new_study(directions=target) 1018s 1018s tests/storages_tests/test_storages.py:170: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_set_and_get_study_user_attrs[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_and_get_study_user_attrs(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:192: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_set_and_get_study_system_attrs[journal_redis] ______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_and_get_study_system_attrs(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:219: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_study_user_and_system_attrs_confusion[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_study_user_and_system_attrs_confusion(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:246: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________________ test_create_new_trial[journal_redis] _____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_create_new_trial(storage_mode: str) -> None: 1018s def _check_trials( 1018s trials: List[FrozenTrial], 1018s idx: int, 1018s trial_id: int, 1018s time_before_creation: datetime, 1018s time_after_creation: datetime, 1018s ) -> None: 1018s assert len(trials) == idx + 1 1018s assert len({t._trial_id for t in trials}) == idx + 1 1018s assert trial_id in {t._trial_id for t in trials} 1018s assert {t.number for t in trials} == set(range(idx + 1)) 1018s assert all(t.state == TrialState.RUNNING for t in trials) 1018s assert all(t.params == {} for t in trials) 1018s assert all(t.intermediate_values == {} for t in trials) 1018s assert all(t.user_attrs == {} for t in trials) 1018s assert all(t.system_attrs == {} for t in trials) 1018s assert all( 1018s t.datetime_start < time_before_creation 1018s for t in trials 1018s if t._trial_id != trial_id and t.datetime_start is not None 1018s ) 1018s assert all( 1018s time_before_creation < t.datetime_start < time_after_creation 1018s for t in trials 1018s if t._trial_id == trial_id and t.datetime_start is not None 1018s ) 1018s assert all(t.datetime_complete is None for t in trials) 1018s assert all(t.value is None for t in trials) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:291: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _ test_create_new_trial_with_template_trial[start_time0-complete_time0-journal_redis] _ 1018s 1018s storage_mode = 'journal_redis' 1018s start_time = datetime.datetime(2025, 1, 9, 12, 8, 5, 895006) 1018s complete_time = datetime.datetime(2025, 1, 9, 12, 8, 5, 895014) 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "start_time,complete_time", 1018s [(datetime.now(), datetime.now()), (datetime(2022, 9, 1), datetime(2022, 9, 2))], 1018s ) 1018s def test_create_new_trial_with_template_trial( 1018s storage_mode: str, start_time: datetime, complete_time: datetime 1018s ) -> None: 1018s template_trial = FrozenTrial( 1018s state=TrialState.COMPLETE, 1018s value=10000, 1018s datetime_start=start_time, 1018s datetime_complete=complete_time, 1018s params={"x": 0.5}, 1018s distributions={"x": FloatDistribution(0, 1)}, 1018s user_attrs={"foo": "bar"}, 1018s system_attrs={"baz": 123}, 1018s intermediate_values={1: 10, 2: 100, 3: 1000}, 1018s number=55, # This entry is ignored. 1018s trial_id=-1, # dummy value (unused). 1018s ) 1018s 1018s def _check_trials(trials: List[FrozenTrial], idx: int, trial_id: int) -> None: 1018s assert len(trials) == idx + 1 1018s assert len({t._trial_id for t in trials}) == idx + 1 1018s assert trial_id in {t._trial_id for t in trials} 1018s assert {t.number for t in trials} == set(range(idx + 1)) 1018s assert all(t.state == template_trial.state for t in trials) 1018s assert all(t.params == template_trial.params for t in trials) 1018s assert all(t.distributions == template_trial.distributions for t in trials) 1018s assert all(t.intermediate_values == template_trial.intermediate_values for t in trials) 1018s assert all(t.user_attrs == template_trial.user_attrs for t in trials) 1018s assert all(t.system_attrs == template_trial.system_attrs for t in trials) 1018s assert all(t.datetime_start == template_trial.datetime_start for t in trials) 1018s assert all(t.datetime_complete == template_trial.datetime_complete for t in trials) 1018s assert all(t.value == template_trial.value for t in trials) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:358: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _ test_create_new_trial_with_template_trial[start_time1-complete_time1-journal_redis] _ 1018s 1018s storage_mode = 'journal_redis', start_time = datetime.datetime(2022, 9, 1, 0, 0) 1018s complete_time = datetime.datetime(2022, 9, 2, 0, 0) 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "start_time,complete_time", 1018s [(datetime.now(), datetime.now()), (datetime(2022, 9, 1), datetime(2022, 9, 2))], 1018s ) 1018s def test_create_new_trial_with_template_trial( 1018s storage_mode: str, start_time: datetime, complete_time: datetime 1018s ) -> None: 1018s template_trial = FrozenTrial( 1018s state=TrialState.COMPLETE, 1018s value=10000, 1018s datetime_start=start_time, 1018s datetime_complete=complete_time, 1018s params={"x": 0.5}, 1018s distributions={"x": FloatDistribution(0, 1)}, 1018s user_attrs={"foo": "bar"}, 1018s system_attrs={"baz": 123}, 1018s intermediate_values={1: 10, 2: 100, 3: 1000}, 1018s number=55, # This entry is ignored. 1018s trial_id=-1, # dummy value (unused). 1018s ) 1018s 1018s def _check_trials(trials: List[FrozenTrial], idx: int, trial_id: int) -> None: 1018s assert len(trials) == idx + 1 1018s assert len({t._trial_id for t in trials}) == idx + 1 1018s assert trial_id in {t._trial_id for t in trials} 1018s assert {t.number for t in trials} == set(range(idx + 1)) 1018s assert all(t.state == template_trial.state for t in trials) 1018s assert all(t.params == template_trial.params for t in trials) 1018s assert all(t.distributions == template_trial.distributions for t in trials) 1018s assert all(t.intermediate_values == template_trial.intermediate_values for t in trials) 1018s assert all(t.user_attrs == template_trial.user_attrs for t in trials) 1018s assert all(t.system_attrs == template_trial.system_attrs for t in trials) 1018s assert all(t.datetime_start == template_trial.datetime_start for t in trials) 1018s assert all(t.datetime_complete == template_trial.datetime_complete for t in trials) 1018s assert all(t.value == template_trial.value for t in trials) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:358: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_trial_number_from_id[journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trial_number_from_id(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Check if trial_number starts from 0. 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:385: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_set_trial_state_values_for_state[journal_redis] _____________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_trial_state_values_for_state(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:400: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________ test_get_trial_param_and_get_trial_params[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trial_param_and_get_trial_params(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > _, study_to_trials = _setup_studies(storage, n_study=2, n_trial=5, seed=1) 1018s 1018s tests/storages_tests/test_storages.py:442: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________________ test_set_trial_param[journal_redis] ______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_trial_param(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Setup test across multiple studies and trials. 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:468: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________ test_set_trial_state_values_for_values[journal_redis] _____________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_trial_state_values_for_values(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Setup test across multiple studies and trials. 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:539: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_set_trial_intermediate_value[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_trial_intermediate_value(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Setup test across multiple studies and trials. 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:581: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_get_trial_user_attrs[journal_redis] ___________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trial_user_attrs(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > _, study_to_trials = _setup_studies(storage, n_study=2, n_trial=5, seed=10) 1018s 1018s tests/storages_tests/test_storages.py:625: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_set_trial_user_attr[journal_redis] ____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_trial_user_attr(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s trial_id_1 = storage.create_new_trial( 1018s > storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s ) 1018s 1018s tests/storages_tests/test_storages.py:641: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_get_trial_system_attrs[journal_redis] __________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trial_system_attrs(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > _, study_to_trials = _setup_studies(storage, n_study=2, n_trial=5, seed=10) 1018s 1018s tests/storages_tests/test_storages.py:678: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_set_trial_system_attr[journal_redis] ___________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_set_trial_system_attr(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:693: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________________ test_get_all_studies[journal_redis] ______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_studies(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > expected_frozen_studies, _ = _setup_studies(storage, n_study=10, n_trial=10, seed=46) 1018s 1018s tests/storages_tests/test_storages.py:729: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________________ test_get_trial[journal_redis] _________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trial(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > _, study_to_trials = _setup_studies(storage, n_study=2, n_trial=20, seed=47) 1018s 1018s tests/storages_tests/test_storages.py:748: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________________ test_get_all_trials[journal_redis] ______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_trials(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > _, study_to_trials = _setup_studies(storage, n_study=2, n_trial=20, seed=48) 1018s 1018s tests/storages_tests/test_storages.py:765: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________ test_get_all_trials_params_order[param_names0-journal_redis] _________ 1018s 1018s storage_mode = 'journal_redis', param_names = ['a', 'b'] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("param_names", [["a", "b"], ["b", "a"]]) 1018s def test_get_all_trials_params_order(storage_mode: str, param_names: list[str]) -> None: 1018s # We don't actually require that all storages to preserve the order of parameters, 1018s # but all current implementations do, so we test this property. 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:784: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________ test_get_all_trials_params_order[param_names1-journal_redis] _________ 1018s 1018s storage_mode = 'journal_redis', param_names = ['b', 'a'] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("param_names", [["a", "b"], ["b", "a"]]) 1018s def test_get_all_trials_params_order(storage_mode: str, param_names: list[str]) -> None: 1018s # We don't actually require that all storages to preserve the order of parameters, 1018s # but all current implementations do, so we test this property. 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:784: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_get_all_trials_deepcopy_option[journal_redis] ______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_trials_deepcopy_option(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > frozen_studies, study_to_trials = _setup_studies(storage, n_study=2, n_trial=5, seed=49) 1018s 1018s tests/storages_tests/test_storages.py:800: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_get_all_trials_state_option[journal_redis] ________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_trials_state_option(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MAXIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:817: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_get_all_trials_not_modified[journal_redis] ________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_trials_not_modified(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > _, study_to_trials = _setup_studies(storage, n_study=2, n_trial=20, seed=48) 1018s 1018s tests/storages_tests/test_storages.py:856: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________________ test_get_n_trials[journal_redis] _______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_n_trials(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id_to_frozen_studies, _ = _setup_studies(storage, n_study=2, n_trial=7, seed=50) 1018s 1018s tests/storages_tests/test_storages.py:885: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s tests/storages_tests/test_storages.py:986: in _setup_studies 1018s study_id = storage.create_new_study(directions=(direction,), study_name=study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_get_n_trials_state_option[journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_n_trials_state_option(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=(StudyDirection.MAXIMIZE,)) 1018s 1018s tests/storages_tests/test_storages.py:897: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values0-2-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [0.0, 1.0, 2.0] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values0-1-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [0.0, 1.0, 2.0] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values1-2-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [0.0, inf, 1.0] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values1-1-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [0.0, inf, 1.0] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values2-2-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [0.0, -inf, 1.0] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values2-1-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [0.0, -inf, 1.0] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values3-2-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [inf, 0.0, 1.0, -inf] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values3-1-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [inf, 0.0, 1.0, -inf] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values4-2-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [inf] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values4-1-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [inf] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values5-2-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [-inf] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_best_trial[values5-1-journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis', direction = 1018s values = [-inf] 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("direction", [StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE]) 1018s @pytest.mark.parametrize( 1018s "values", 1018s [ 1018s [0.0, 1.0, 2.0], 1018s [0.0, float("inf"), 1.0], 1018s [0.0, float("-inf"), 1.0], 1018s [float("inf"), 0.0, 1.0, float("-inf")], 1018s [float("inf")], 1018s [float("-inf")], 1018s ], 1018s ) 1018s def test_get_best_trial(storage_mode: str, direction: StudyDirection, values: List[float]) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[direction]) 1018s 1018s tests/storages_tests/test_storages.py:936: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____ test_get_best_trial_for_multi_objective_optimization[journal_redis] ______ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_best_trial_for_multi_objective_optimization(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study( 1018s directions=(StudyDirection.MAXIMIZE, StudyDirection.MINIMIZE) 1018s ) 1018s 1018s tests/storages_tests/test_storages.py:1059: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________ test_get_trial_id_from_study_id_trial_number[journal_redis] __________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trial_id_from_study_id_trial_number(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s with pytest.raises(KeyError): # Matching study does not exist. 1018s storage.get_trial_id_from_study_id_trial_number(study_id=0, trial_number=0) 1018s 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:1080: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_check_trial_is_updatable[journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_check_trial_is_updatable(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study_id = storage.create_new_study(directions=[StudyDirection.MINIMIZE]) 1018s 1018s tests/storages_tests/test_storages.py:1129: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_trials_dataframe[True-attrs0-journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s attrs = ('number', 'value', 'datetime_start', 'datetime_complete', 'params', 'user_attrs', ...) 1018s multi_index = True 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "attrs", 1018s [ 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s ), 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "duration", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s "intermediate_values", 1018s "_trial_id", 1018s "distributions", 1018s ), 1018s ], 1018s ) 1018s @pytest.mark.parametrize("multi_index", [True, False]) 1018s def test_trials_dataframe(storage_mode: str, attrs: tuple[str, ...], multi_index: bool) -> None: 1018s def f(trial: Trial) -> float: 1018s x = trial.suggest_int("x", 1, 1) 1018s y = trial.suggest_categorical("y", (2.5,)) 1018s trial.set_user_attr("train_loss", 3) 1018s trial.storage.set_trial_system_attr(trial._trial_id, "foo", "bar") 1018s value = x + y # 3.5 1018s 1018s # Test reported intermediate values, although it in practice is not "intermediate". 1018s trial.report(value, step=0) 1018s 1018s return value 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_dataframe.py:65: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_trials_dataframe[True-attrs1-journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s attrs = ('number', 'value', 'datetime_start', 'datetime_complete', 'duration', 'params', ...) 1018s multi_index = True 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "attrs", 1018s [ 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s ), 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "duration", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s "intermediate_values", 1018s "_trial_id", 1018s "distributions", 1018s ), 1018s ], 1018s ) 1018s @pytest.mark.parametrize("multi_index", [True, False]) 1018s def test_trials_dataframe(storage_mode: str, attrs: tuple[str, ...], multi_index: bool) -> None: 1018s def f(trial: Trial) -> float: 1018s x = trial.suggest_int("x", 1, 1) 1018s y = trial.suggest_categorical("y", (2.5,)) 1018s trial.set_user_attr("train_loss", 3) 1018s trial.storage.set_trial_system_attr(trial._trial_id, "foo", "bar") 1018s value = x + y # 3.5 1018s 1018s # Test reported intermediate values, although it in practice is not "intermediate". 1018s trial.report(value, step=0) 1018s 1018s return value 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_dataframe.py:65: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_trials_dataframe[False-attrs0-journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s attrs = ('number', 'value', 'datetime_start', 'datetime_complete', 'params', 'user_attrs', ...) 1018s multi_index = False 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "attrs", 1018s [ 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s ), 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "duration", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s "intermediate_values", 1018s "_trial_id", 1018s "distributions", 1018s ), 1018s ], 1018s ) 1018s @pytest.mark.parametrize("multi_index", [True, False]) 1018s def test_trials_dataframe(storage_mode: str, attrs: tuple[str, ...], multi_index: bool) -> None: 1018s def f(trial: Trial) -> float: 1018s x = trial.suggest_int("x", 1, 1) 1018s y = trial.suggest_categorical("y", (2.5,)) 1018s trial.set_user_attr("train_loss", 3) 1018s trial.storage.set_trial_system_attr(trial._trial_id, "foo", "bar") 1018s value = x + y # 3.5 1018s 1018s # Test reported intermediate values, although it in practice is not "intermediate". 1018s trial.report(value, step=0) 1018s 1018s return value 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_dataframe.py:65: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_trials_dataframe[False-attrs1-journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s attrs = ('number', 'value', 'datetime_start', 'datetime_complete', 'duration', 'params', ...) 1018s multi_index = False 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "attrs", 1018s [ 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s ), 1018s ( 1018s "number", 1018s "value", 1018s "datetime_start", 1018s "datetime_complete", 1018s "duration", 1018s "params", 1018s "user_attrs", 1018s "system_attrs", 1018s "state", 1018s "intermediate_values", 1018s "_trial_id", 1018s "distributions", 1018s ), 1018s ], 1018s ) 1018s @pytest.mark.parametrize("multi_index", [True, False]) 1018s def test_trials_dataframe(storage_mode: str, attrs: tuple[str, ...], multi_index: bool) -> None: 1018s def f(trial: Trial) -> float: 1018s x = trial.suggest_int("x", 1, 1) 1018s y = trial.suggest_categorical("y", (2.5,)) 1018s trial.set_user_attr("train_loss", 3) 1018s trial.storage.set_trial_system_attr(trial._trial_id, "foo", "bar") 1018s value = x + y # 3.5 1018s 1018s # Test reported intermediate values, although it in practice is not "intermediate". 1018s trial.report(value, step=0) 1018s 1018s return value 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_dataframe.py:65: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_trials_dataframe_with_failure[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_trials_dataframe_with_failure(storage_mode: str) -> None: 1018s def f(trial: Trial) -> float: 1018s x = trial.suggest_int("x", 1, 1) 1018s y = trial.suggest_categorical("y", (2.5,)) 1018s trial.set_user_attr("train_loss", 3) 1018s raise ValueError() 1018s return x + y # 3.5 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_dataframe.py:134: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________________ test_run_trial[journal_redis] _________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s caplog = <_pytest.logging.LogCaptureFixture object at 0xe7abba30> 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_run_trial(storage_mode: str, caplog: LogCaptureFixture) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_optimize.py:39: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_run_trial_automatically_fail[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s caplog = <_pytest.logging.LogCaptureFixture object at 0xe7a9ff10> 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_run_trial_automatically_fail(storage_mode: str, caplog: LogCaptureFixture) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_optimize.py:63: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________________ test_run_trial_pruned[journal_redis] _____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s caplog = <_pytest.logging.LogCaptureFixture object at 0xe66c7b20> 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_run_trial_pruned(storage_mode: str, caplog: LogCaptureFixture) -> None: 1018s def gen_func(intermediate: Optional[float] = None) -> Callable[[Trial], float]: 1018s def func(trial: Trial) -> float: 1018s if intermediate is not None: 1018s trial.report(step=1, value=intermediate) 1018s raise TrialPruned 1018s 1018s return func 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_optimize.py:93: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_run_trial_catch_exception[journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_run_trial_catch_exception(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_optimize.py:117: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_run_trial_exception[journal_redis] ____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_run_trial_exception(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_optimize.py:126: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______ test_run_trial_invoke_tell_with_suppressing_warning[journal_redis] ______ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_run_trial_invoke_tell_with_suppressing_warning(storage_mode: str) -> None: 1018s def func_numerical(trial: Trial) -> float: 1018s return trial.suggest_float("v", 0, 10) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_optimize.py:143: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis-1-0] ___________________ 1018s 1018s n_trials = 0, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis-1-1] ___________________ 1018s 1018s n_trials = 1, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis-1-20] __________________ 1018s 1018s n_trials = 20, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis-2-0] ___________________ 1018s 1018s n_trials = 0, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis-2-1] ___________________ 1018s 1018s n_trials = 1, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis-2-20] __________________ 1018s 1018s n_trials = 20, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis--1-0] __________________ 1018s 1018s n_trials = 0, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________________ test_optimize_parallel[journal_redis--1-1] __________________ 1018s 1018s n_trials = 1, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_optimize_parallel[journal_redis--1-20] __________________ 1018s 1018s n_trials = 20, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:159: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis-1-0] _______________ 1018s 1018s n_trials = 0, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis-1-1] _______________ 1018s 1018s n_trials = 1, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis-1-20] ______________ 1018s 1018s n_trials = 20, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_optimize_parallel_timeout[journal_redis-1-None] _____________ 1018s 1018s n_trials = None, n_jobs = 1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis-2-0] _______________ 1018s 1018s n_trials = 0, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis-2-1] _______________ 1018s 1018s n_trials = 1, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis-2-20] ______________ 1018s 1018s n_trials = 20, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_optimize_parallel_timeout[journal_redis-2-None] _____________ 1018s 1018s n_trials = None, n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis--1-0] ______________ 1018s 1018s n_trials = 0, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_optimize_parallel_timeout[journal_redis--1-1] ______________ 1018s 1018s n_trials = 1, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_optimize_parallel_timeout[journal_redis--1-20] ______________ 1018s 1018s n_trials = 20, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________ test_optimize_parallel_timeout[journal_redis--1-None] _____________ 1018s 1018s n_trials = None, n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_trials", (0, 1, 20, None)) 1018s @pytest.mark.parametrize("n_jobs", (1, 2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_parallel_timeout(n_trials: int, n_jobs: int, storage_mode: str) -> None: 1018s sleep_sec = 0.1 1018s timeout_sec = 1.0 1018s f = Func(sleep_sec=sleep_sec) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:185: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_optimize_with_catch[journal_redis] ____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_with_catch(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:204: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_optimize_with_reseeding[journal_redis-2] _________________ 1018s 1018s n_jobs = 2, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_jobs", (2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_with_reseeding(n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:244: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_optimize_with_reseeding[journal_redis--1] ________________ 1018s 1018s n_jobs = -1, storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("n_jobs", (2, -1)) 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_optimize_with_reseeding(n_jobs: int, storage_mode: str) -> None: 1018s f = Func() 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:244: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_study_set_and_get_user_attrs[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_study_set_and_get_user_attrs(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:269: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_trial_set_and_get_user_attrs[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_trial_set_and_get_user_attrs(storage_mode: str) -> None: 1018s def f(trial: Trial) -> float: 1018s trial.set_user_attr("train_accuracy", 1) 1018s assert trial.user_attrs["train_accuracy"] == 1 1018s return 0.0 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:283: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________ test_get_all_study_summaries[True-journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis', include_best_trial = True 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("include_best_trial", [True, False]) 1018s def test_get_all_study_summaries(storage_mode: str, include_best_trial: bool) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:293: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_get_all_study_summaries[False-journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis', include_best_trial = False 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("include_best_trial", [True, False]) 1018s def test_get_all_study_summaries(storage_mode: str, include_best_trial: bool) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:293: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_get_all_study_summaries_with_no_trials[journal_redis] __________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_study_summaries_with_no_trials(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:310: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_get_all_study_names[journal_redis] ____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_all_study_names(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s n_studies = 5 1018s 1018s > studies = [create_study(storage=storage) for _ in range(n_studies)] 1018s 1018s tests/study_tests/test_study.py:325: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________________ test_create_study[journal_redis] _______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_create_study(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Test creating a new study. 1018s > study = create_study(storage=storage, load_if_exists=False) 1018s 1018s tests/study_tests/test_study.py:353: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________________ test_load_study[journal_redis] ________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_load_study(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s if storage is None: 1018s # `InMemoryStorage` can not be used with `load_study` function. 1018s return 1018s 1018s study_name = str(uuid.uuid4()) 1018s 1018s with pytest.raises(KeyError): 1018s # Test loading an unexisting study. 1018s load_study(study_name=study_name, storage=storage) 1018s 1018s # Create a new study. 1018s > created_study = create_study(study_name=study_name, storage=storage) 1018s 1018s tests/study_tests/test_study.py:376: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________ test_load_study_study_name_none[journal_redis] ________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_load_study_study_name_none(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s if storage is None: 1018s # `InMemoryStorage` can not be used with `load_study` function. 1018s return 1018s 1018s study_name = str(uuid.uuid4()) 1018s 1018s > _ = create_study(study_name=study_name, storage=storage) 1018s 1018s tests/study_tests/test_study.py:392: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______________________ test_delete_study[journal_redis] _______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_delete_study(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s # Test deleting a non-existing study. 1018s with pytest.raises(KeyError): 1018s delete_study(study_name="invalid-study-name", storage=storage) 1018s 1018s # Test deleting an existing study. 1018s > study = create_study(storage=storage, load_if_exists=False) 1018s 1018s tests/study_tests/test_study.py:415: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_copy_study[inmemory-journal_redis] ____________________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'inmemory' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s 1018s tests/study_tests/test_study.py:429: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________________ test_copy_study[sqlite-journal_redis] _____________________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'sqlite' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s 1018s tests/study_tests/test_study.py:429: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_copy_study[cached_sqlite-journal_redis] _________________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'cached_sqlite' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s 1018s tests/study_tests/test_study.py:429: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________________ test_copy_study[journal-journal_redis] ____________________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'journal' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s 1018s tests/study_tests/test_study.py:429: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________________ test_copy_study[journal_redis-inmemory] ____________________ 1018s 1018s from_storage_mode = 'inmemory', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s from_study._storage.set_study_system_attr(from_study._study_id, "foo", "bar") 1018s from_study.set_user_attr("baz", "qux") 1018s from_study.optimize( 1018s lambda t: (t.suggest_float("x0", 0, 1), t.suggest_float("x1", 0, 1)), n_trials=3 1018s ) 1018s 1018s > copy_study( 1018s from_study_name=from_study.study_name, 1018s from_storage=from_storage, 1018s to_storage=to_storage, 1018s ) 1018s 1018s tests/study_tests/test_study.py:436: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1500: in copy_study 1018s to_study = create_study( 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:02,102] A new study created in memory with name: no-name-50f48235-0c28-4752-8680-5e43b79a0e5a 1018s [I 2025-01-09 12:14:02,103] Trial 0 finished with values: [0.05056391579999686, 0.33638985025153123] and parameters: {'x0': 0.05056391579999686, 'x1': 0.33638985025153123}. 1018s [I 2025-01-09 12:14:02,104] Trial 1 finished with values: [0.2975846238333588, 0.5852882920931995] and parameters: {'x0': 0.2975846238333588, 'x1': 0.5852882920931995}. 1018s [I 2025-01-09 12:14:02,104] Trial 2 finished with values: [0.7642375097854595, 0.20372953546690753] and parameters: {'x0': 0.7642375097854595, 'x1': 0.20372953546690753}. 1018s ____________________ test_copy_study[journal_redis-sqlite] _____________________ 1018s 1018s from_storage_mode = 'sqlite', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s from_study._storage.set_study_system_attr(from_study._study_id, "foo", "bar") 1018s from_study.set_user_attr("baz", "qux") 1018s from_study.optimize( 1018s lambda t: (t.suggest_float("x0", 0, 1), t.suggest_float("x1", 0, 1)), n_trials=3 1018s ) 1018s 1018s > copy_study( 1018s from_study_name=from_study.study_name, 1018s from_storage=from_storage, 1018s to_storage=to_storage, 1018s ) 1018s 1018s tests/study_tests/test_study.py:436: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1500: in copy_study 1018s to_study = create_study( 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:02,640] A new study created in RDB with name: no-name-ec6f7b2c-c5bc-4c2f-a9e2-bb326660ce79 1018s [I 2025-01-09 12:14:02,773] Trial 0 finished with values: [0.3446648830262128, 0.29427774672170803] and parameters: {'x0': 0.3446648830262128, 'x1': 0.29427774672170803}. 1018s [I 2025-01-09 12:14:02,860] Trial 1 finished with values: [0.3975278268595157, 0.9891633439706877] and parameters: {'x0': 0.3975278268595157, 'x1': 0.9891633439706877}. 1018s [I 2025-01-09 12:14:02,946] Trial 2 finished with values: [0.31031963011846886, 0.6879724343355926] and parameters: {'x0': 0.31031963011846886, 'x1': 0.6879724343355926}. 1018s _________________ test_copy_study[journal_redis-cached_sqlite] _________________ 1018s 1018s from_storage_mode = 'cached_sqlite', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s from_study._storage.set_study_system_attr(from_study._study_id, "foo", "bar") 1018s from_study.set_user_attr("baz", "qux") 1018s from_study.optimize( 1018s lambda t: (t.suggest_float("x0", 0, 1), t.suggest_float("x1", 0, 1)), n_trials=3 1018s ) 1018s 1018s > copy_study( 1018s from_study_name=from_study.study_name, 1018s from_storage=from_storage, 1018s to_storage=to_storage, 1018s ) 1018s 1018s tests/study_tests/test_study.py:436: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1500: in copy_study 1018s to_study = create_study( 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:03,446] A new study created in RDB with name: no-name-c4ef83e3-1446-4692-9765-919716c8a0ce 1018s [I 2025-01-09 12:14:03,583] Trial 0 finished with values: [0.9291787496730979, 0.6018591220364214] and parameters: {'x0': 0.9291787496730979, 'x1': 0.6018591220364214}. 1018s [I 2025-01-09 12:14:03,688] Trial 1 finished with values: [0.31429728891755226, 0.8391526536419601] and parameters: {'x0': 0.31429728891755226, 'x1': 0.8391526536419601}. 1018s [I 2025-01-09 12:14:03,781] Trial 2 finished with values: [0.3741847540438651, 0.4360484523713666] and parameters: {'x0': 0.3741847540438651, 'x1': 0.4360484523713666}. 1018s ____________________ test_copy_study[journal_redis-journal] ____________________ 1018s 1018s from_storage_mode = 'journal', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s from_study._storage.set_study_system_attr(from_study._study_id, "foo", "bar") 1018s from_study.set_user_attr("baz", "qux") 1018s from_study.optimize( 1018s lambda t: (t.suggest_float("x0", 0, 1), t.suggest_float("x1", 0, 1)), n_trials=3 1018s ) 1018s 1018s > copy_study( 1018s from_study_name=from_study.study_name, 1018s from_storage=from_storage, 1018s to_storage=to_storage, 1018s ) 1018s 1018s tests/study_tests/test_study.py:436: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1500: in copy_study 1018s to_study = create_study( 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:04,027] A new study created in Journal with name: no-name-9982d0a1-2628-4059-aa83-c89e5cca1fcf 1018s [I 2025-01-09 12:14:04,042] Trial 0 finished with values: [0.4587094413970817, 0.5211066808328584] and parameters: {'x0': 0.4587094413970817, 'x1': 0.5211066808328584}. 1018s [I 2025-01-09 12:14:04,053] Trial 1 finished with values: [0.9043615877088185, 0.33330733357116704] and parameters: {'x0': 0.9043615877088185, 'x1': 0.33330733357116704}. 1018s [I 2025-01-09 12:14:04,069] Trial 2 finished with values: [0.9419831626465149, 0.7503616661938989] and parameters: {'x0': 0.9419831626465149, 'x1': 0.7503616661938989}. 1018s _________________ test_copy_study[journal_redis-journal_redis] _________________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(storage=from_storage, directions=["maximize", "minimize"]) 1018s 1018s tests/study_tests/test_study.py:429: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________ test_copy_study_to_study_name[inmemory-journal_redis] _____________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'inmemory' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(study_name="foo", storage=from_storage) 1018s 1018s tests/study_tests/test_study.py:459: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_copy_study_to_study_name[sqlite-journal_redis] ______________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'sqlite' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(study_name="foo", storage=from_storage) 1018s 1018s tests/study_tests/test_study.py:459: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_copy_study_to_study_name[cached_sqlite-journal_redis] __________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'cached_sqlite' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(study_name="foo", storage=from_storage) 1018s 1018s tests/study_tests/test_study.py:459: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_copy_study_to_study_name[journal-journal_redis] _____________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'journal' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(study_name="foo", storage=from_storage) 1018s 1018s tests/study_tests/test_study.py:459: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________ test_copy_study_to_study_name[journal_redis-inmemory] _____________ 1018s 1018s from_storage_mode = 'inmemory', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(study_name="foo", storage=from_storage) 1018s > _ = create_study(study_name="foo", storage=to_storage) 1018s 1018s tests/study_tests/test_study.py:460: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:10,647] A new study created in memory with name: foo 1018s _____________ test_copy_study_to_study_name[journal_redis-sqlite] ______________ 1018s 1018s from_storage_mode = 'sqlite', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(study_name="foo", storage=from_storage) 1018s > _ = create_study(study_name="foo", storage=to_storage) 1018s 1018s tests/study_tests/test_study.py:460: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:11,153] A new study created in RDB with name: foo 1018s __________ test_copy_study_to_study_name[journal_redis-cached_sqlite] __________ 1018s 1018s from_storage_mode = 'cached_sqlite', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(study_name="foo", storage=from_storage) 1018s > _ = create_study(study_name="foo", storage=to_storage) 1018s 1018s tests/study_tests/test_study.py:460: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:11,683] A new study created in RDB with name: foo 1018s _____________ test_copy_study_to_study_name[journal_redis-journal] _____________ 1018s 1018s from_storage_mode = 'journal', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s from_study = create_study(study_name="foo", storage=from_storage) 1018s > _ = create_study(study_name="foo", storage=to_storage) 1018s 1018s tests/study_tests/test_study.py:460: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ----------------------------- Captured stderr call ----------------------------- 1018s [I 2025-01-09 12:14:12,315] A new study created in Journal with name: foo 1018s __________ test_copy_study_to_study_name[journal_redis-journal_redis] __________ 1018s 1018s from_storage_mode = 'journal_redis', to_storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("from_storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("to_storage_mode", STORAGE_MODES) 1018s def test_copy_study_to_study_name(from_storage_mode: str, to_storage_mode: str) -> None: 1018s with StorageSupplier(from_storage_mode) as from_storage, StorageSupplier( 1018s to_storage_mode 1018s ) as to_storage: 1018s > from_study = create_study(study_name="foo", storage=from_storage) 1018s 1018s tests/study_tests/test_study.py:459: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________________ test_add_trial[journal_redis] _________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_add_trial(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:535: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________________ test_add_trials[journal_redis] ________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_add_trials(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:560: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________ test_enqueue_trial_properly_sets_param_values[journal_redis] _________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_properly_sets_param_values(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:584: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_enqueue_trial_with_unfixed_parameters[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_with_unfixed_parameters(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:608: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_enqueue_trial_properly_sets_user_attr[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_properly_sets_user_attr(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:627: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_enqueue_trial_with_non_dict_parameters[journal_redis] __________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_with_non_dict_parameters(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:649: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________ test_enqueue_trial_with_out_of_range_parameters[journal_redis] ________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_with_out_of_range_parameters(storage_mode: str) -> None: 1018s fixed_value = 11 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:661: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_enqueue_trial_skips_existing_finished[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_skips_existing_finished(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:694: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________ test_enqueue_trial_skips_existing_waiting[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueue_trial_skips_existing_waiting(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:718: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_allows_unfixed[new_params0-journal_redis] __ 1018s 1018s storage_mode = 'journal_redis', new_params = {'x': -5, 'y': 5, 'z': 5} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "new_params", [{"x": -5, "y": 5, "z": 5}, {"x": -5}, {"x": -5, "z": 5}, {"x": -5, "y": 6}] 1018s ) 1018s def test_enqueue_trial_skip_existing_allows_unfixed( 1018s storage_mode: str, new_params: dict[str, int] 1018s ) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:746: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_allows_unfixed[new_params1-journal_redis] __ 1018s 1018s storage_mode = 'journal_redis', new_params = {'x': -5} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "new_params", [{"x": -5, "y": 5, "z": 5}, {"x": -5}, {"x": -5, "z": 5}, {"x": -5, "y": 6}] 1018s ) 1018s def test_enqueue_trial_skip_existing_allows_unfixed( 1018s storage_mode: str, new_params: dict[str, int] 1018s ) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:746: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_allows_unfixed[new_params2-journal_redis] __ 1018s 1018s storage_mode = 'journal_redis', new_params = {'x': -5, 'z': 5} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "new_params", [{"x": -5, "y": 5, "z": 5}, {"x": -5}, {"x": -5, "z": 5}, {"x": -5, "y": 6}] 1018s ) 1018s def test_enqueue_trial_skip_existing_allows_unfixed( 1018s storage_mode: str, new_params: dict[str, int] 1018s ) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:746: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_allows_unfixed[new_params3-journal_redis] __ 1018s 1018s storage_mode = 'journal_redis', new_params = {'x': -5, 'y': 6} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "new_params", [{"x": -5, "y": 5, "z": 5}, {"x": -5}, {"x": -5, "z": 5}, {"x": -5, "y": 6}] 1018s ) 1018s def test_enqueue_trial_skip_existing_allows_unfixed( 1018s storage_mode: str, new_params: dict[str, int] 1018s ) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:746: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___ test_enqueue_trial_skip_existing_handles_common_types[foo-journal_redis] ___ 1018s 1018s storage_mode = 'journal_redis', param = 'foo' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____ test_enqueue_trial_skip_existing_handles_common_types[1-journal_redis] ____ 1018s 1018s storage_mode = 'journal_redis', param = 1 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___ test_enqueue_trial_skip_existing_handles_common_types[1.1-journal_redis] ___ 1018s 1018s storage_mode = 'journal_redis', param = 1.1 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_handles_common_types[1e+17-journal_redis] __ 1018s 1018s storage_mode = 'journal_redis', param = 1e+17 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_handles_common_types[1e-17-journal_redis] __ 1018s 1018s storage_mode = 'journal_redis', param = 1e-17 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___ test_enqueue_trial_skip_existing_handles_common_types[inf-journal_redis] ___ 1018s 1018s storage_mode = 'journal_redis', param = inf 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_handles_common_types[-inf-journal_redis] ___ 1018s 1018s storage_mode = 'journal_redis', param = -inf 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___ test_enqueue_trial_skip_existing_handles_common_types[nan-journal_redis] ___ 1018s 1018s storage_mode = 'journal_redis', param = nan 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __ test_enqueue_trial_skip_existing_handles_common_types[None-journal_redis] ___ 1018s 1018s storage_mode = 'journal_redis', param = None 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "param", ["foo", 1, 1.1, 1e17, 1e-17, float("inf"), float("-inf"), float("nan"), None] 1018s ) 1018s def test_enqueue_trial_skip_existing_handles_common_types(storage_mode: str, param: Any) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:778: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ________________________ test_get_trials[journal_redis] ________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trials(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:1021: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_get_trials_state_option[journal_redis] __________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_get_trials_state_option(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:1043: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_enqueued_trial_datetime_start[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_enqueued_trial_datetime_start(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:1502: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________ test_study_summary_datetime_start_calculation[journal_redis] _________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_study_summary_datetime_start_calculation(storage_mode: str) -> None: 1018s with StorageSupplier(storage_mode) as storage: 1018s 1018s def objective(trial: Trial) -> float: 1018s x = trial.suggest_int("x", -10, 10) 1018s return x 1018s 1018s # StudySummary datetime_start tests. 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:1525: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ______________ test_pop_waiting_trial_thread_safe[journal_redis] _______________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_pop_waiting_trial_thread_safe(storage_mode: str) -> None: 1018s if "sqlite" == storage_mode or "cached_sqlite" == storage_mode: 1018s pytest.skip("study._pop_waiting_trial is not thread-safe on SQLite3") 1018s 1018s num_enqueued = 10 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/study_tests/test_study.py:1578: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________________ test_sampling[journal_redis] _________________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_sampling(storage_mode: str) -> None: 1018s def objective(trial: BaseTrial) -> float: 1018s a = trial.suggest_float("a", 0.0, 10.0) 1018s b = trial.suggest_float("b", 0.1, 10.0, log=True) 1018s c = trial.suggest_float("c", 0.0, 10.0, step=1.0) 1018s d = trial.suggest_int("d", 0, 10) 1018s e = trial.suggest_categorical("e", [0, 1, 2]) 1018s f = trial.suggest_int("f", 1, 10, log=True) 1018s 1018s return a + b + c + d + e + f 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage) 1018s 1018s tests/trial_tests/test_frozen.py:89: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________ test_check_distribution_suggest_float[journal_redis] _____________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_check_distribution_suggest_float(storage_mode: str) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:40: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________ test_check_distribution_suggest_uniform[journal_redis] ____________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_check_distribution_suggest_uniform(storage_mode: str) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:73: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_check_distribution_suggest_loguniform[journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_check_distribution_suggest_loguniform(storage_mode: str) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:97: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______ test_check_distribution_suggest_discrete_uniform[journal_redis] ________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_check_distribution_suggest_discrete_uniform(storage_mode: str) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:121: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________ test_check_distribution_suggest_int[False-journal_redis] ___________ 1018s 1018s storage_mode = 'journal_redis', enable_log = False 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("enable_log", [False, True]) 1018s def test_check_distribution_suggest_int(storage_mode: str, enable_log: bool) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:145: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ___________ test_check_distribution_suggest_int[True-journal_redis] ____________ 1018s 1018s storage_mode = 'journal_redis', enable_log = True 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize("enable_log", [False, True]) 1018s def test_check_distribution_suggest_int(storage_mode: str, enable_log: bool) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:145: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s __________ test_check_distribution_suggest_categorical[journal_redis] __________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_check_distribution_suggest_categorical(storage_mode: str) -> None: 1018s sampler = samplers.RandomSampler() 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:168: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _____________________ test_suggest_uniform[journal_redis] ______________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_suggest_uniform(storage_mode: str) -> None: 1018s sampler = DeterministicSampler({"x": 1.0, "y": 2.0}) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:190: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s ____________________ test_suggest_loguniform[journal_redis] ____________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_suggest_loguniform(storage_mode: str) -> None: 1018s with pytest.raises(ValueError): 1018s FloatDistribution(low=1.0, high=0.9, log=True) 1018s 1018s with pytest.raises(ValueError): 1018s FloatDistribution(low=0.0, high=0.9, log=True) 1018s 1018s sampler = DeterministicSampler({"x": 1.0, "y": 2.0}) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:211: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_suggest_discrete_uniform[journal_redis] _________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_suggest_discrete_uniform(storage_mode: str) -> None: 1018s sampler = DeterministicSampler({"x": 1.0, "y": 2.0}) 1018s 1018s with StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:226: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _________________ test_suggest_low_equals_high[journal_redis] __________________ 1018s 1018s storage_mode = 'journal_redis' 1018s 1018s @pytest.mark.filterwarnings("ignore::FutureWarning") 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s def test_suggest_low_equals_high(storage_mode: str) -> None: 1018s with patch.object( 1018s distributions, "_get_single_value", wraps=distributions._get_single_value 1018s ) as mock_object, StorageSupplier(storage_mode) as storage: 1018s > study = create_study(storage=storage, sampler=samplers.TPESampler(n_startup_trials=0)) 1018s 1018s tests/trial_tests/test_trial.py:247: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______ test_suggest_discrete_uniform_range[range_config0-journal_redis] _______ 1018s 1018s storage_mode = 'journal_redis' 1018s range_config = {'high': 10.0, 'low': 0.0, 'mod_high': 9.0, 'q': 3.0} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "range_config", 1018s [ 1018s {"low": 0.0, "high": 10.0, "q": 3.0, "mod_high": 9.0}, 1018s {"low": 1.0, "high": 11.0, "q": 3.0, "mod_high": 10.0}, 1018s {"low": 64.0, "high": 1312.0, "q": 160.0, "mod_high": 1184.0}, 1018s {"low": 0.0, "high": 10.0, "q": math.pi, "mod_high": 3 * math.pi}, 1018s {"low": 0.0, "high": 3.45, "q": 0.1, "mod_high": 3.4}, 1018s ], 1018s ) 1018s def test_suggest_discrete_uniform_range(storage_mode: str, range_config: Dict[str, float]) -> None: 1018s sampler = samplers.RandomSampler() 1018s 1018s # Check upper endpoints. 1018s mock = Mock() 1018s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1018s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1018s storage_mode 1018s ) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:319: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______ test_suggest_discrete_uniform_range[range_config1-journal_redis] _______ 1018s 1018s storage_mode = 'journal_redis' 1018s range_config = {'high': 11.0, 'low': 1.0, 'mod_high': 10.0, 'q': 3.0} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "range_config", 1018s [ 1018s {"low": 0.0, "high": 10.0, "q": 3.0, "mod_high": 9.0}, 1018s {"low": 1.0, "high": 11.0, "q": 3.0, "mod_high": 10.0}, 1018s {"low": 64.0, "high": 1312.0, "q": 160.0, "mod_high": 1184.0}, 1018s {"low": 0.0, "high": 10.0, "q": math.pi, "mod_high": 3 * math.pi}, 1018s {"low": 0.0, "high": 3.45, "q": 0.1, "mod_high": 3.4}, 1018s ], 1018s ) 1018s def test_suggest_discrete_uniform_range(storage_mode: str, range_config: Dict[str, float]) -> None: 1018s sampler = samplers.RandomSampler() 1018s 1018s # Check upper endpoints. 1018s mock = Mock() 1018s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1018s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1018s storage_mode 1018s ) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:319: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1018s response = connection.read_response() 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s 1018s self = FakeConnection,db=0> 1018s kwargs = {} 1018s response = ResponseError('unknown command `eval`, with args beginning with: ') 1018s 1018s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1018s if not self._sock: 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s if not self._server.connected: 1018s try: 1018s response = self._sock.responses.get_nowait() 1018s except queue.Empty: 1018s if kwargs.get("disconnect_on_error", True): 1018s self.disconnect() 1018s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1018s else: 1018s response = self._sock.responses.get() 1018s if isinstance(response, redis.ResponseError): 1018s > raise response 1018s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1018s 1018s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1018s _______ test_suggest_discrete_uniform_range[range_config2-journal_redis] _______ 1018s 1018s storage_mode = 'journal_redis' 1018s range_config = {'high': 1312.0, 'low': 64.0, 'mod_high': 1184.0, 'q': 160.0} 1018s 1018s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1018s @pytest.mark.parametrize( 1018s "range_config", 1018s [ 1018s {"low": 0.0, "high": 10.0, "q": 3.0, "mod_high": 9.0}, 1018s {"low": 1.0, "high": 11.0, "q": 3.0, "mod_high": 10.0}, 1018s {"low": 64.0, "high": 1312.0, "q": 160.0, "mod_high": 1184.0}, 1018s {"low": 0.0, "high": 10.0, "q": math.pi, "mod_high": 3 * math.pi}, 1018s {"low": 0.0, "high": 3.45, "q": 0.1, "mod_high": 3.4}, 1018s ], 1018s ) 1018s def test_suggest_discrete_uniform_range(storage_mode: str, range_config: Dict[str, float]) -> None: 1018s sampler = samplers.RandomSampler() 1018s 1018s # Check upper endpoints. 1018s mock = Mock() 1018s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1018s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1018s storage_mode 1018s ) as storage: 1018s > study = create_study(storage=storage, sampler=sampler) 1018s 1018s tests/trial_tests/test_trial.py:319: 1018s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1018s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1018s return func(**kwargs) 1018s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1018s study_id = storage.create_new_study(direction_objects, study_name) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1018s self._write_log( 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1018s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1018s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1018s self._redis.eval( # type: ignore 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1018s return self._eval("EVAL", script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1018s return self.execute_command(command, script, numkeys, *keys_and_args) 1018s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1018s return conn.retry.call_with_retry( 1018s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1018s return do() 1018s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1018s lambda: self._send_command_parse_response( 1018s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1018s return self.parse_response(conn, command_name, **options) 1018s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _______ test_suggest_discrete_uniform_range[range_config3-journal_redis] _______ 1019s 1019s storage_mode = 'journal_redis' 1019s range_config = {'high': 10.0, 'low': 0.0, 'mod_high': 9.42477796076938, 'q': 3.141592653589793} 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s @pytest.mark.parametrize( 1019s "range_config", 1019s [ 1019s {"low": 0.0, "high": 10.0, "q": 3.0, "mod_high": 9.0}, 1019s {"low": 1.0, "high": 11.0, "q": 3.0, "mod_high": 10.0}, 1019s {"low": 64.0, "high": 1312.0, "q": 160.0, "mod_high": 1184.0}, 1019s {"low": 0.0, "high": 10.0, "q": math.pi, "mod_high": 3 * math.pi}, 1019s {"low": 0.0, "high": 3.45, "q": 0.1, "mod_high": 3.4}, 1019s ], 1019s ) 1019s def test_suggest_discrete_uniform_range(storage_mode: str, range_config: Dict[str, float]) -> None: 1019s sampler = samplers.RandomSampler() 1019s 1019s # Check upper endpoints. 1019s mock = Mock() 1019s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1019s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1019s storage_mode 1019s ) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:319: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _______ test_suggest_discrete_uniform_range[range_config4-journal_redis] _______ 1019s 1019s storage_mode = 'journal_redis' 1019s range_config = {'high': 3.45, 'low': 0.0, 'mod_high': 3.4, 'q': 0.1} 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s @pytest.mark.parametrize( 1019s "range_config", 1019s [ 1019s {"low": 0.0, "high": 10.0, "q": 3.0, "mod_high": 9.0}, 1019s {"low": 1.0, "high": 11.0, "q": 3.0, "mod_high": 10.0}, 1019s {"low": 64.0, "high": 1312.0, "q": 160.0, "mod_high": 1184.0}, 1019s {"low": 0.0, "high": 10.0, "q": math.pi, "mod_high": 3 * math.pi}, 1019s {"low": 0.0, "high": 3.45, "q": 0.1, "mod_high": 3.4}, 1019s ], 1019s ) 1019s def test_suggest_discrete_uniform_range(storage_mode: str, range_config: Dict[str, float]) -> None: 1019s sampler = samplers.RandomSampler() 1019s 1019s # Check upper endpoints. 1019s mock = Mock() 1019s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1019s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1019s storage_mode 1019s ) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:319: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _______________________ test_suggest_int[journal_redis] ________________________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_suggest_int(storage_mode: str) -> None: 1019s sampler = DeterministicSampler({"x": 1, "y": 2}) 1019s 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:362: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _____________ test_suggest_int_range[range_config0-journal_redis] ______________ 1019s 1019s storage_mode = 'journal_redis' 1019s range_config = {'high': 10, 'low': 0, 'mod_high': 9, 'step': 3} 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s @pytest.mark.parametrize( 1019s "range_config", 1019s [ 1019s {"low": 0, "high": 10, "step": 3, "mod_high": 9}, 1019s {"low": 1, "high": 11, "step": 3, "mod_high": 10}, 1019s {"low": 64, "high": 1312, "step": 160, "mod_high": 1184}, 1019s ], 1019s ) 1019s def test_suggest_int_range(storage_mode: str, range_config: Dict[str, int]) -> None: 1019s sampler = samplers.RandomSampler() 1019s 1019s # Check upper endpoints. 1019s mock = Mock() 1019s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1019s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1019s storage_mode 1019s ) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:389: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _____________ test_suggest_int_range[range_config1-journal_redis] ______________ 1019s 1019s storage_mode = 'journal_redis' 1019s range_config = {'high': 11, 'low': 1, 'mod_high': 10, 'step': 3} 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s @pytest.mark.parametrize( 1019s "range_config", 1019s [ 1019s {"low": 0, "high": 10, "step": 3, "mod_high": 9}, 1019s {"low": 1, "high": 11, "step": 3, "mod_high": 10}, 1019s {"low": 64, "high": 1312, "step": 160, "mod_high": 1184}, 1019s ], 1019s ) 1019s def test_suggest_int_range(storage_mode: str, range_config: Dict[str, int]) -> None: 1019s sampler = samplers.RandomSampler() 1019s 1019s # Check upper endpoints. 1019s mock = Mock() 1019s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1019s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1019s storage_mode 1019s ) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:389: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _____________ test_suggest_int_range[range_config2-journal_redis] ______________ 1019s 1019s storage_mode = 'journal_redis' 1019s range_config = {'high': 1312, 'low': 64, 'mod_high': 1184, 'step': 160} 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s @pytest.mark.parametrize( 1019s "range_config", 1019s [ 1019s {"low": 0, "high": 10, "step": 3, "mod_high": 9}, 1019s {"low": 1, "high": 11, "step": 3, "mod_high": 10}, 1019s {"low": 64, "high": 1312, "step": 160, "mod_high": 1184}, 1019s ], 1019s ) 1019s def test_suggest_int_range(storage_mode: str, range_config: Dict[str, int]) -> None: 1019s sampler = samplers.RandomSampler() 1019s 1019s # Check upper endpoints. 1019s mock = Mock() 1019s mock.side_effect = lambda study, trial, param_name, distribution: distribution.high 1019s with patch.object(sampler, "sample_independent", mock) as mock_object, StorageSupplier( 1019s storage_mode 1019s ) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:389: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _____________________ test_suggest_int_log[journal_redis] ______________________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_suggest_int_log(storage_mode: str) -> None: 1019s sampler = DeterministicSampler({"x": 1, "y": 2}) 1019s 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:432: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s ______________ test_suggest_int_log_invalid_range[journal_redis] _______________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_suggest_int_log_invalid_range(storage_mode: str) -> None: 1019s sampler = samplers.RandomSampler() 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:445: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s ______________________ test_distributions[journal_redis] _______________________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_distributions(storage_mode: str) -> None: 1019s def objective(trial: Trial) -> float: 1019s trial.suggest_float("a", 0, 10) 1019s trial.suggest_float("b", 0.1, 10, log=True) 1019s trial.suggest_float("c", 0, 10, step=1) 1019s trial.suggest_int("d", 0, 10) 1019s trial.suggest_categorical("e", ["foo", "bar", "baz"]) 1019s trial.suggest_int("f", 1, 10, log=True) 1019s 1019s return 1.0 1019s 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = create_study(storage=storage) 1019s 1019s tests/trial_tests/test_trial.py:473: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s ___________________ test_relative_parameters[journal_redis] ____________________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_relative_parameters(storage_mode: str) -> None: 1019s class SamplerStubForTestRelativeParameters(samplers.BaseSampler): 1019s def infer_relative_search_space( 1019s self, study: "optuna.study.Study", trial: "optuna.trial.FrozenTrial" 1019s ) -> Dict[str, distributions.BaseDistribution]: 1019s return { 1019s "x": FloatDistribution(low=5, high=6), 1019s "y": FloatDistribution(low=5, high=6), 1019s } 1019s 1019s def sample_relative( 1019s self, 1019s study: "optuna.study.Study", 1019s trial: "optuna.trial.FrozenTrial", 1019s search_space: Dict[str, distributions.BaseDistribution], 1019s ) -> Dict[str, Any]: 1019s return {"x": 5.5, "y": 5.5, "z": 5.5} 1019s 1019s def sample_independent( 1019s self, 1019s study: "optuna.study.Study", 1019s trial: "optuna.trial.FrozenTrial", 1019s param_name: str, 1019s param_distribution: distributions.BaseDistribution, 1019s ) -> Any: 1019s return 5.0 1019s 1019s sampler = SamplerStubForTestRelativeParameters() 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = create_study(storage=storage, sampler=sampler) 1019s 1019s tests/trial_tests/test_trial.py:524: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s ______________________ test_datetime_start[journal_redis] ______________________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_datetime_start(storage_mode: str) -> None: 1019s trial_datetime_start: List[Optional[datetime.datetime]] = [None] 1019s 1019s def objective(trial: Trial) -> float: 1019s trial_datetime_start[0] = trial.datetime_start 1019s return 1.0 1019s 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = create_study(storage=storage) 1019s 1019s tests/trial_tests/test_trial.py:572: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s _________________ test_lazy_trial_system_attrs[journal_redis] __________________ 1019s 1019s storage_mode = 'journal_redis' 1019s 1019s @pytest.mark.parametrize("storage_mode", STORAGE_MODES) 1019s def test_lazy_trial_system_attrs(storage_mode: str) -> None: 1019s with StorageSupplier(storage_mode) as storage: 1019s > study = optuna.create_study(storage=storage) 1019s 1019s tests/trial_tests/test_trial.py:682: 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s /usr/lib/python3/dist-packages/optuna/_convert_positional_args.py:83: in converter_wrapper 1019s return func(**kwargs) 1019s /usr/lib/python3/dist-packages/optuna/study/study.py:1251: in create_study 1019s study_id = storage.create_new_study(direction_objects, study_name) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:157: in create_new_study 1019s self._write_log( 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/storage.py:145: in _write_log 1019s self._backend.append_logs([{"op_code": op_code, "worker_id": worker_id, **extra_fields}]) 1019s /usr/lib/python3/dist-packages/optuna/storages/_journal/redis.py:81: in append_logs 1019s self._redis.eval( # type: ignore 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5060: in eval 1019s return self._eval("EVAL", script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/commands/core.py:5045: in _eval 1019s return self.execute_command(command, script, numkeys, *keys_and_args) 1019s /usr/lib/python3/dist-packages/redis/client.py:1238: in execute_command 1019s return conn.retry.call_with_retry( 1019s /usr/lib/python3/dist-packages/redis/retry.py:46: in call_with_retry 1019s return do() 1019s /usr/lib/python3/dist-packages/redis/client.py:1239: in 1019s lambda: self._send_command_parse_response( 1019s /usr/lib/python3/dist-packages/redis/client.py:1215: in _send_command_parse_response 1019s return self.parse_response(conn, command_name, **options) 1019s /usr/lib/python3/dist-packages/redis/client.py:1254: in parse_response 1019s response = connection.read_response() 1019s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1019s 1019s self = FakeConnection,db=0> 1019s kwargs = {} 1019s response = ResponseError('unknown command `eval`, with args beginning with: ') 1019s 1019s def read_response(self, **kwargs: Any) -> Any: # type: ignore 1019s if not self._sock: 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s if not self._server.connected: 1019s try: 1019s response = self._sock.responses.get_nowait() 1019s except queue.Empty: 1019s if kwargs.get("disconnect_on_error", True): 1019s self.disconnect() 1019s raise redis.ConnectionError(msgs.CONNECTION_ERROR_MSG) 1019s else: 1019s response = self._sock.responses.get() 1019s if isinstance(response, redis.ResponseError): 1019s > raise response 1019s E redis.exceptions.ResponseError: unknown command `eval`, with args beginning with: 1019s 1019s /usr/lib/python3/dist-packages/fakeredis/_connection.py:66: ResponseError 1019s =============================== warnings summary =============================== 1019s tests/test_cli.py:100 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:100: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:120 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:120: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:136 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:136: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:147 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:147: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:168 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:168: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:191 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:191: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:244 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:244: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:262 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:262: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:271 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:271: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:303 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:303: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:359 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:359: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:368 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:368: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:438 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:438: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:531 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:531: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:611 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:611: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:689 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:689: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:772 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:772: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:850 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:850: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:934 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:934: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1012 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1012: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1047 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1047: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1081 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1081: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1103 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1103: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1171 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1171: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1188 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1188: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1198 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1198: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1271 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1271: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1343 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1343: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1376 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1376: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1410 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1410: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1439 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1439: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1504 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1504: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1565 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1565: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1606 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1606: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1683 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1683: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/test_cli.py:1725 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/test_cli.py:1725: PytestUnknownMarkWarning: Unknown pytest.mark.skip_coverage - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1019s @pytest.mark.skip_coverage 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_patience 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:14: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_patience 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:15: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_patience 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:18: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_min_delta 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:22: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_min_delta 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:23: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_min_delta 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:26: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_with_one_trial 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:30: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values_nan 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:41: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-0-maximize-intermediates0-expected_prune_steps0] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-0-maximize-intermediates1-expected_prune_steps1] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-0-minimize-intermediates2-expected_prune_steps2] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-0-minimize-intermediates3-expected_prune_steps3] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-1.0-maximize-intermediates4-expected_prune_steps4] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-1.0-maximize-intermediates5-expected_prune_steps5] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[0-1.0-minimize-intermediates6-expected_prune_steps6] 1019s tests/pruners_tests/test_patient.py::test_patient_pruner_intermediate_values[1-1.0-minimize-intermediates7-expected_prune_steps7] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_patient.py:82: ExperimentalWarning: 1019s 1019s PatientPruner is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:9: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:10: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:11: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:12: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:13: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:16: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_constructor 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:19: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_first_trial 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:24: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_when_best_trial_has_no_intermediate_value 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:36: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_when_best_trial_has_no_intermediate_value 1019s /usr/lib/python3/dist-packages/optuna/pruners/_wilcoxon.py:166: UserWarning: 1019s 1019s The best trial has no intermediate values so WilcoxonPruner cannot prune trials. If you have added the best trial with Study.add_trial, please consider setting intermediate_values argument. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_normal[0.2-step_values0-expected_should_prune0] 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_normal[0.15-step_values1-expected_should_prune1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:60: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py: 10 warnings 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:103: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/pruners_tests/test_wilcoxon.py::test_wilcoxon_pruner_if_average_is_best_then_not_prune 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/pruners_tests/test_wilcoxon.py:120: ExperimentalWarning: 1019s 1019s WilcoxonPruner is experimental (supported from v3.6.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py: 16 warnings 1019s /usr/lib/python3/dist-packages/optuna/study/_optimize.py:185: ExperimentalWarning: 1019s 1019s fail_stale_trials is experimental (supported from v2.9.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-1] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:114: ExperimentalWarning: 1019s 1019s RetryFailedTrialCallback is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[sqlite-1] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback[cached_sqlite-1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:136: ExperimentalWarning: 1019s 1019s retried_trial_number is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-1] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:161: ExperimentalWarning: 1019s 1019s RetryFailedTrialCallback is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[sqlite-1] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-None] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-0] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_intermediate[cached_sqlite-1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:186: ExperimentalWarning: 1019s 1019s retried_trial_number is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials[None] 1019s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials[2] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:214: ExperimentalWarning: 1019s 1019s fail_stale_trials is experimental (supported from v2.9.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials[None] 1019s tests/storages_tests/test_heartbeat.py::test_fail_stale_trials[2] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:209: ExperimentalWarning: 1019s 1019s fail_stale_trials is experimental (supported from v2.9.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_repetitive_failure[sqlite] 1019s tests/storages_tests/test_heartbeat.py::test_retry_failed_trial_callback_repetitive_failure[cached_sqlite] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:314: ExperimentalWarning: 1019s 1019s RetryFailedTrialCallback is experimental (supported from v2.8.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_heartbeat.py: 10 warnings 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_heartbeat.py:327: ExperimentalWarning: 1019s 1019s fail_stale_trials is experimental (supported from v2.9.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[redis_default] 1019s tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[redis_with_use_cluster] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_journal.py:54: ExperimentalWarning: 1019s 1019s JournalRedisStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_journal.py::test_pop_waiting_trial_multiprocess_safe 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/storages_tests/test_journal.py:110: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_journal.py: 4 warnings 1019s tests/storages_tests/test_storages.py: 48 warnings 1019s tests/study_tests/test_dataframe.py: 5 warnings 1019s tests/study_tests/test_optimize.py: 6 warnings 1019s tests/study_tests/test_study.py: 79 warnings 1019s tests/trial_tests/test_frozen.py: 1 warning 1019s tests/trial_tests/test_trial.py: 26 warnings 1019s /usr/lib/python3/dist-packages/optuna/testing/storages.py:63: ExperimentalWarning: 1019s 1019s JournalRedisStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_journal.py: 4 warnings 1019s tests/storages_tests/test_storages.py: 48 warnings 1019s tests/study_tests/test_dataframe.py: 5 warnings 1019s tests/study_tests/test_optimize.py: 6 warnings 1019s tests/study_tests/test_study.py: 79 warnings 1019s tests/trial_tests/test_frozen.py: 1 warning 1019s tests/trial_tests/test_trial.py: 26 warnings 1019s /usr/lib/python3/dist-packages/optuna/testing/storages.py:67: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/storages_tests/test_storages.py: 49 warnings 1019s tests/study_tests/test_dataframe.py: 5 warnings 1019s tests/study_tests/test_optimize.py: 6 warnings 1019s tests/study_tests/test_study.py: 80 warnings 1019s tests/trial_tests/test_frozen.py: 1 warning 1019s tests/trial_tests/test_trial.py: 35 warnings 1019s /usr/lib/python3/dist-packages/optuna/testing/storages.py:71: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[True-attrs0] 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[True-attrs1] 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[False-attrs0] 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization[False-attrs1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/study_tests/test_dataframe.py:177: ExperimentalWarning: 1019s 1019s set_metric_names is experimental (supported from v3.2.0). The interface can change in the future. 1019s 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[True-attrs0] 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[True-attrs1] 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[False-attrs0] 1019s tests/study_tests/test_dataframe.py::test_trials_dataframe_with_multi_objective_optimization_with_fail_and_pruned[False-attrs1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/study_tests/test_dataframe.py:208: ExperimentalWarning: 1019s 1019s set_metric_names is experimental (supported from v3.2.0). The interface can change in the future. 1019s 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s tests/study_tests/test_study.py::test_tell_from_another_process 1019s /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: 1019s 1019s This process (pid=1638) is multi-threaded, use of fork() may lead to deadlocks in the child. 1019s 1019s tests/study_tests/test_study.py::test_set_metric_names 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/study_tests/test_study.py:1597: ExperimentalWarning: 1019s 1019s set_metric_names is experimental (supported from v3.2.0). The interface can change in the future. 1019s 1019s tests/study_tests/test_study.py::test_set_invalid_metric_names 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/study_tests/test_study.py:1616: ExperimentalWarning: 1019s 1019s set_metric_names is experimental (supported from v3.2.0). The interface can change in the future. 1019s 1019s tests/study_tests/test_study.py::test_get_metric_names 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/study_tests/test_study.py:1622: ExperimentalWarning: 1019s 1019s set_metric_names is experimental (supported from v3.2.0). The interface can change in the future. 1019s 1019s tests/study_tests/test_study.py::test_get_metric_names 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/study_tests/test_study.py:1624: ExperimentalWarning: 1019s 1019s set_metric_names is experimental (supported from v3.2.0). The interface can change in the future. 1019s 1019s tests/test_cli.py::test_get_storage_without_storage_class 1019s /usr/lib/python3/dist-packages/optuna/cli.py:74: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/test_cli.py::test_get_storage_without_storage_class 1019s /usr/lib/python3/dist-packages/optuna/cli.py:72: ExperimentalWarning: 1019s 1019s JournalRedisStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/test_cli.py::test_get_storage_without_storage_class 1019s /usr/lib/python3/dist-packages/optuna/cli.py:72: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/test_cli.py::test_get_storage_with_storage_class 1019s /usr/lib/python3/dist-packages/optuna/cli.py:66: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/test_cli.py::test_get_storage_with_storage_class 1019s /usr/lib/python3/dist-packages/optuna/cli.py:64: ExperimentalWarning: 1019s 1019s JournalRedisStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/test_cli.py::test_get_storage_with_storage_class 1019s /usr/lib/python3/dist-packages/optuna/cli.py:64: ExperimentalWarning: 1019s 1019s JournalStorage is experimental (supported from v3.1.0). The interface can change in the future. 1019s 1019s tests/trial_tests/test_fixed.py::test_suggest_int_positional_args[positional_args_names1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_fixed.py:25: FutureWarning: 1019s 1019s suggest_int() got {'step'} as positional arguments but they were expected to be given as keyword arguments. 1019s 1019s tests/trial_tests/test_fixed.py::test_suggest_int_positional_args[positional_args_names2] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_fixed.py:25: FutureWarning: 1019s 1019s suggest_int() got {'step', 'log'} as positional arguments but they were expected to be given as keyword arguments. 1019s 1019s tests/trial_tests/test_frozen.py::test_suggest_int_positional_args[positional_args_names1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_frozen.py:440: FutureWarning: 1019s 1019s suggest_int() got {'step'} as positional arguments but they were expected to be given as keyword arguments. 1019s 1019s tests/trial_tests/test_frozen.py::test_suggest_int_positional_args[positional_args_names2] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_frozen.py:440: FutureWarning: 1019s 1019s suggest_int() got {'step', 'log'} as positional arguments but they were expected to be given as keyword arguments. 1019s 1019s tests/trial_tests/test_trial.py: 20 warnings 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_trial.py:323: FutureWarning: 1019s 1019s suggest_discrete_uniform has been deprecated in v3.0.0. This feature will be removed in v6.0.0. See https://github.com/optuna/optuna/releases/tag/v3.0.0. Use suggest_float(..., step=...) instead. 1019s 1019s tests/trial_tests/test_trial.py: 20 warnings 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_trial.py:339: FutureWarning: 1019s 1019s suggest_discrete_uniform has been deprecated in v3.0.0. This feature will be removed in v6.0.0. See https://github.com/optuna/optuna/releases/tag/v3.0.0. Use suggest_float(..., step=...) instead. 1019s 1019s tests/trial_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names1] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_trial.py:719: FutureWarning: 1019s 1019s suggest_int() got {'step'} as positional arguments but they were expected to be given as keyword arguments. 1019s 1019s tests/trial_tests/test_trial.py::test_suggest_int_positional_args[positional_args_names2] 1019s /tmp/autopkgtest.sLVbBz/autopkgtest_tmp/tests/trial_tests/test_trial.py:719: FutureWarning: 1019s 1019s suggest_int() got {'step', 'log'} as positional arguments but they were expected to be given as keyword arguments. 1019s 1019s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 1019s =========================== short test summary info ============================ 1019s FAILED tests/storages_tests/test_journal.py::test_concurrent_append_logs_for_multi_threads[redis_default] 1019s FAILED tests/storages_tests/test_journal.py::test_save_snapshot_per_each_trial[journal_redis] 1019s FAILED tests/storages_tests/test_journal.py::test_save_snapshot_per_each_study[journal_redis] 1019s FAILED tests/storages_tests/test_journal.py::test_check_replay_result_restored_from_snapshot[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_create_new_study[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_create_new_study_unique_id[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_create_new_study_with_name[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_delete_study[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_delete_study_after_create_multiple_studies[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_study_id_from_name_and_get_study_name_from_id[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_and_get_study_directions[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_and_get_study_user_attrs[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_and_get_study_system_attrs[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_study_user_and_system_attrs_confusion[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_create_new_trial[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time0-complete_time0-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_create_new_trial_with_template_trial[start_time1-complete_time1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_trial_number_from_id[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_trial_state_values_for_state[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_trial_param_and_get_trial_params[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_trial_param[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_trial_state_values_for_values[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_trial_intermediate_value[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_trial_user_attrs[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_trial_user_attr[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_trial_system_attrs[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_set_trial_system_attr[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_studies[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_trial[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_trials[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names0-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_trials_params_order[param_names1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_trials_deepcopy_option[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_trials_state_option[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_all_trials_not_modified[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_n_trials[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_n_trials_state_option[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values0-2-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values0-1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values1-2-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values1-1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values2-2-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values2-1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values3-2-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values3-1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values4-2-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values4-1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values5-2-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial[values5-1-journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_best_trial_for_multi_objective_optimization[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_get_trial_id_from_study_id_trial_number[journal_redis] 1019s FAILED tests/storages_tests/test_storages.py::test_check_trial_is_updatable[journal_redis] 1019s FAILED tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs0-journal_redis] 1019s FAILED tests/study_tests/test_dataframe.py::test_trials_dataframe[True-attrs1-journal_redis] 1019s FAILED tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs0-journal_redis] 1019s FAILED tests/study_tests/test_dataframe.py::test_trials_dataframe[False-attrs1-journal_redis] 1019s FAILED tests/study_tests/test_dataframe.py::test_trials_dataframe_with_failure[journal_redis] 1019s FAILED tests/study_tests/test_optimize.py::test_run_trial[journal_redis] - re... 1019s FAILED tests/study_tests/test_optimize.py::test_run_trial_automatically_fail[journal_redis] 1019s FAILED tests/study_tests/test_optimize.py::test_run_trial_pruned[journal_redis] 1019s FAILED tests/study_tests/test_optimize.py::test_run_trial_catch_exception[journal_redis] 1019s FAILED tests/study_tests/test_optimize.py::test_run_trial_exception[journal_redis] 1019s FAILED tests/study_tests/test_optimize.py::test_run_trial_invoke_tell_with_suppressing_warning[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-1-0] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-1-1] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-1-20] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-2-0] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-2-1] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis-2-20] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis--1-0] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis--1-1] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel[journal_redis--1-20] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-0] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-1] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-20] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-1-None] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-0] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-1] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-20] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis-2-None] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-0] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-1] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-20] 1019s FAILED tests/study_tests/test_study.py::test_optimize_parallel_timeout[journal_redis--1-None] 1019s FAILED tests/study_tests/test_study.py::test_optimize_with_catch[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_optimize_with_reseeding[journal_redis-2] 1019s FAILED tests/study_tests/test_study.py::test_optimize_with_reseeding[journal_redis--1] 1019s FAILED tests/study_tests/test_study.py::test_study_set_and_get_user_attrs[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_trial_set_and_get_user_attrs[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_get_all_study_summaries[True-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_get_all_study_summaries[False-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_get_all_study_summaries_with_no_trials[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_get_all_study_names[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_create_study[journal_redis] - re... 1019s FAILED tests/study_tests/test_study.py::test_load_study[journal_redis] - redi... 1019s FAILED tests/study_tests/test_study.py::test_load_study_study_name_none[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_delete_study[journal_redis] - re... 1019s FAILED tests/study_tests/test_study.py::test_copy_study[inmemory-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[sqlite-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[cached_sqlite-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[journal-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[journal_redis-inmemory] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[journal_redis-sqlite] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[journal_redis-cached_sqlite] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[journal_redis-journal] 1019s FAILED tests/study_tests/test_study.py::test_copy_study[journal_redis-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[inmemory-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[sqlite-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[cached_sqlite-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[journal-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-inmemory] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-sqlite] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-cached_sqlite] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-journal] 1019s FAILED tests/study_tests/test_study.py::test_copy_study_to_study_name[journal_redis-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_add_trial[journal_redis] - redis... 1019s FAILED tests/study_tests/test_study.py::test_add_trials[journal_redis] - redi... 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_param_values[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_with_unfixed_parameters[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_properly_sets_user_attr[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_with_non_dict_parameters[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_with_out_of_range_parameters[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_finished[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skips_existing_waiting[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params0-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params1-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params2-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_allows_unfixed[new_params3-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[foo-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1.1-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e+17-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[1e-17-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[inf-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[-inf-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[nan-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueue_trial_skip_existing_handles_common_types[None-journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_get_trials[journal_redis] - redi... 1019s FAILED tests/study_tests/test_study.py::test_get_trials_state_option[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_enqueued_trial_datetime_start[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_study_summary_datetime_start_calculation[journal_redis] 1019s FAILED tests/study_tests/test_study.py::test_pop_waiting_trial_thread_safe[journal_redis] 1019s FAILED tests/trial_tests/test_frozen.py::test_sampling[journal_redis] - redis... 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_float[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_uniform[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_loguniform[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_discrete_uniform[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[False-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_int[True-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_check_distribution_suggest_categorical[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_uniform[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_loguniform[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_discrete_uniform[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_low_equals_high[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config0-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config1-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config2-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config3-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_discrete_uniform_range[range_config4-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_int[journal_redis] - red... 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_int_range[range_config0-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_int_range[range_config1-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_int_range[range_config2-journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_int_log[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_suggest_int_log_invalid_range[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_distributions[journal_redis] - r... 1019s FAILED tests/trial_tests/test_trial.py::test_relative_parameters[journal_redis] 1019s FAILED tests/trial_tests/test_trial.py::test_datetime_start[journal_redis] - ... 1019s FAILED tests/trial_tests/test_trial.py::test_lazy_trial_system_attrs[journal_redis] 1019s ==== 169 failed, 1512 passed, 24 skipped, 720 warnings in 695.51s (0:11:35) ==== 1020s autopkgtest [12:19:41]: test upstream-main.sh: -----------------------] 1026s autopkgtest [12:19:47]: test upstream-main.sh: - - - - - - - - - - results - - - - - - - - - - 1026s upstream-main.sh FAIL non-zero exit status 1 1030s autopkgtest [12:19:51]: @@@@@@@@@@@@@@@@@@@@ summary 1030s upstream-main.sh FAIL non-zero exit status 1