Diff of the two buildlogs: -- --- b1/build.log 2024-12-22 22:59:59.625819138 +0000 +++ b2/build.log 2024-12-22 23:15:40.182980554 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 22 10:46:11 -12 2024 -I: pbuilder-time-stamp: 1734907571 +I: Current time: Mon Dec 23 13:00:14 +14 2024 +I: pbuilder-time-stamp: 1734908414 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking locust_2.24.0-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29399/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 22 23:00 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='118fbf1b0925420b8b7237242cb1e56c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='29399' - PS1='# ' - PS2='> ' + INVOCATION_ID=09ab42561e634fd5a96402d5812937dc + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=16060 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.X6faYuXZ/pbuilderrc_BpK0 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.X6faYuXZ/b1 --logfile b1/build.log locust_2.24.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.X6faYuXZ/pbuilderrc_Kd1a --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.X6faYuXZ/b2 --logfile b2/build.log locust_2.24.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/29399/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -267,7 +299,7 @@ Get: 125 http://deb.debian.org/debian trixie/main armhf python3-retry all 0.9.2-3 [7088 B] Get: 126 http://deb.debian.org/debian trixie/main armhf python3-roundrobin all 0.0.4-3 [4364 B] Get: 127 http://deb.debian.org/debian trixie/main armhf python3-zmq armhf 26.2.0-1 [197 kB] -Fetched 40.8 MB in 1s (32.6 MB/s) +Fetched 40.8 MB in 2s (26.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package fonts-lato. (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 ... 19681 files and directories currently installed.) @@ -686,8 +718,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Dec 22 22:47:28 UTC 2024. -Universal Time is now: Sun Dec 22 22:47:28 UTC 2024. +Local time is now: Sun Dec 22 23:02:16 UTC 2024. +Universal Time is now: Sun Dec 22 23:02:16 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpgm-5.3-0t64:armhf (5.3.128~dfsg-2.1+b1) ... @@ -816,7 +848,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/locust-2.24.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../locust_2.24.0-1_source.changes +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/locust-2.24.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../locust_2.24.0-1_source.changes dpkg-buildpackage: info: source package locust dpkg-buildpackage: info: source version 2.24.0-1 dpkg-buildpackage: info: source distribution unstable @@ -850,230 +886,230 @@ running build running build_py creating build/lib/locust -copying locust/main.py -> build/lib/locust -copying locust/shape.py -> build/lib/locust -copying locust/web.py -> build/lib/locust -copying locust/clients.py -> build/lib/locust -copying locust/argument_parser.py -> build/lib/locust copying locust/html.py -> build/lib/locust -copying locust/runners.py -> build/lib/locust +copying locust/__main__.py -> build/lib/locust +copying locust/shape.py -> build/lib/locust +copying locust/dispatch.py -> build/lib/locust copying locust/event.py -> build/lib/locust -copying locust/debug.py -> build/lib/locust +copying locust/clients.py -> build/lib/locust copying locust/_version.py -> build/lib/locust -copying locust/stats.py -> build/lib/locust -copying locust/input_events.py -> build/lib/locust +copying locust/argument_parser.py -> build/lib/locust copying locust/log.py -> build/lib/locust +copying locust/stats.py -> build/lib/locust copying locust/env.py -> build/lib/locust -copying locust/__main__.py -> build/lib/locust -copying locust/dispatch.py -> build/lib/locust -copying locust/__init__.py -> build/lib/locust +copying locust/main.py -> build/lib/locust copying locust/exception.py -> build/lib/locust +copying locust/debug.py -> build/lib/locust +copying locust/runners.py -> build/lib/locust +copying locust/web.py -> build/lib/locust +copying locust/__init__.py -> build/lib/locust +copying locust/input_events.py -> build/lib/locust +creating build/lib/locust/user +copying locust/user/inspectuser.py -> build/lib/locust/user +copying locust/user/task.py -> build/lib/locust/user +copying locust/user/sequential_taskset.py -> build/lib/locust/user +copying locust/user/users.py -> build/lib/locust/user +copying locust/user/__init__.py -> build/lib/locust/user +copying locust/user/wait_time.py -> build/lib/locust/user +creating build/lib/locust/contrib +copying locust/contrib/__init__.py -> build/lib/locust/contrib +copying locust/contrib/fasthttp.py -> build/lib/locust/contrib +creating build/lib/locust/rpc +copying locust/rpc/zmqrpc.py -> build/lib/locust/rpc +copying locust/rpc/__init__.py -> build/lib/locust/rpc +copying locust/rpc/protocol.py -> build/lib/locust/rpc creating build/lib/locust/test -copying locust/test/test_taskratio.py -> build/lib/locust/test +copying locust/test/test_load_locustfile.py -> build/lib/locust/test +copying locust/test/test_dispatch.py -> build/lib/locust/test copying locust/test/test_tags.py -> build/lib/locust/test +copying locust/test/testcases.py -> build/lib/locust/test copying locust/test/mock_locustfile.py -> build/lib/locust/test -copying locust/test/test_sequential_taskset.py -> build/lib/locust/test -copying locust/test/fake_module2_for_env_test.py -> build/lib/locust/test -copying locust/test/test_main.py -> build/lib/locust/test -copying locust/test/test_log.py -> build/lib/locust/test +copying locust/test/test_parser.py -> build/lib/locust/test copying locust/test/test_interruptable_task.py -> build/lib/locust/test -copying locust/test/test_env.py -> build/lib/locust/test copying locust/test/mock_logging.py -> build/lib/locust/test -copying locust/test/test_users.py -> build/lib/locust/test +copying locust/test/test_env.py -> build/lib/locust/test copying locust/test/test_wait_time.py -> build/lib/locust/test -copying locust/test/test_web.py -> build/lib/locust/test -copying locust/test/test_runners.py -> build/lib/locust/test -copying locust/test/test_fasthttp.py -> build/lib/locust/test -copying locust/test/test_util.py -> build/lib/locust/test -copying locust/test/test_dispatch.py -> build/lib/locust/test -copying locust/test/test_load_locustfile.py -> build/lib/locust/test -copying locust/test/__init__.py -> build/lib/locust/test copying locust/test/util.py -> build/lib/locust/test +copying locust/test/test_log.py -> build/lib/locust/test +copying locust/test/test_users.py -> build/lib/locust/test +copying locust/test/fake_module1_for_env_test.py -> build/lib/locust/test +copying locust/test/test_util.py -> build/lib/locust/test +copying locust/test/fake_module2_for_env_test.py -> build/lib/locust/test +copying locust/test/test_main.py -> build/lib/locust/test copying locust/test/test_locust_class.py -> build/lib/locust/test -copying locust/test/test_stats.py -> build/lib/locust/test -copying locust/test/test_http.py -> build/lib/locust/test +copying locust/test/test_runners.py -> build/lib/locust/test +copying locust/test/__init__.py -> build/lib/locust/test copying locust/test/test_old_wait_api.py -> build/lib/locust/test -copying locust/test/test_parser.py -> build/lib/locust/test -copying locust/test/test_zmqrpc.py -> build/lib/locust/test +copying locust/test/test_web.py -> build/lib/locust/test copying locust/test/test_debugging.py -> build/lib/locust/test -copying locust/test/testcases.py -> build/lib/locust/test -copying locust/test/fake_module1_for_env_test.py -> build/lib/locust/test -creating build/lib/locust/user -copying locust/user/sequential_taskset.py -> build/lib/locust/user -copying locust/user/users.py -> build/lib/locust/user -copying locust/user/task.py -> build/lib/locust/user -copying locust/user/__init__.py -> build/lib/locust/user -copying locust/user/wait_time.py -> build/lib/locust/user -copying locust/user/inspectuser.py -> build/lib/locust/user -creating build/lib/locust/rpc -copying locust/rpc/zmqrpc.py -> build/lib/locust/rpc -copying locust/rpc/protocol.py -> build/lib/locust/rpc -copying locust/rpc/__init__.py -> build/lib/locust/rpc -creating build/lib/locust/contrib -copying locust/contrib/__init__.py -> build/lib/locust/contrib -copying locust/contrib/fasthttp.py -> build/lib/locust/contrib +copying locust/test/test_fasthttp.py -> build/lib/locust/test +copying locust/test/test_taskratio.py -> build/lib/locust/test +copying locust/test/test_sequential_taskset.py -> build/lib/locust/test +copying locust/test/test_zmqrpc.py -> build/lib/locust/test +copying locust/test/test_http.py -> build/lib/locust/test +copying locust/test/test_stats.py -> build/lib/locust/test creating build/lib/locust/util -copying locust/util/cache.py -> build/lib/locust/util -copying locust/util/deprecation.py -> build/lib/locust/util copying locust/util/exception_handler.py -> build/lib/locust/util -copying locust/util/load_locustfile.py -> build/lib/locust/util -copying locust/util/rounding.py -> build/lib/locust/util +copying locust/util/deprecation.py -> build/lib/locust/util copying locust/util/timespan.py -> build/lib/locust/util +copying locust/util/cache.py -> build/lib/locust/util copying locust/util/__init__.py -> build/lib/locust/util +copying locust/util/rounding.py -> build/lib/locust/util +copying locust/util/load_locustfile.py -> build/lib/locust/util copying locust/py.typed -> build/lib/locust creating build/lib/locust/templates -copying locust/templates/report.html -> build/lib/locust/templates copying locust/templates/stats_data.html -> build/lib/locust/templates +copying locust/templates/report.html -> build/lib/locust/templates copying locust/templates/index.html -> build/lib/locust/templates creating build/lib/locust/static -copying locust/static/jquery-1.11.3.min.js -> build/lib/locust/static -copying locust/static/vintage.js -> build/lib/locust/static -copying locust/static/jquery.jqote2.min.js -> build/lib/locust/static -copying locust/static/chart.js -> build/lib/locust/static -copying locust/static/locust.js -> build/lib/locust/static copying locust/static/tasks.js -> build/lib/locust/static -copying locust/static/echarts.common.min.js -> build/lib/locust/static copying locust/static/jquery.tools.min.js -> build/lib/locust/static +copying locust/static/echarts.common.min.js -> build/lib/locust/static +copying locust/static/chart.js -> build/lib/locust/static +copying locust/static/jquery.jqote2.min.js -> build/lib/locust/static +copying locust/static/locust.js -> build/lib/locust/static +copying locust/static/vintage.js -> build/lib/locust/static +copying locust/static/jquery-1.11.3.min.js -> build/lib/locust/static creating build/lib/locust/static/sass -copying locust/static/sass/_mixins.sass -> build/lib/locust/static/sass -copying locust/static/sass/tables.sass -> build/lib/locust/static/sass copying locust/static/sass/_base.sass -> build/lib/locust/static/sass +copying locust/static/sass/_mixins.sass -> build/lib/locust/static/sass copying locust/static/sass/application.sass -> build/lib/locust/static/sass +copying locust/static/sass/tables.sass -> build/lib/locust/static/sass creating build/lib/locust/static/css copying locust/static/css/tables.css.map -> build/lib/locust/static/css -copying locust/static/css/application.css.map -> build/lib/locust/static/css -copying locust/static/css/tables.css -> build/lib/locust/static/css copying locust/static/css/application.css -> build/lib/locust/static/css +copying locust/static/css/tables.css -> build/lib/locust/static/css +copying locust/static/css/application.css.map -> build/lib/locust/static/css creating build/lib/locust/static/img -copying locust/static/img/ui-screenshot-workers.png -> build/lib/locust/static/img copying locust/static/img/logo.png -> build/lib/locust/static/img +copying locust/static/img/favicon.ico -> build/lib/locust/static/img copying locust/static/img/ui-screenshot-start-test.png -> build/lib/locust/static/img copying locust/static/img/ui-screenshot-charts.png -> build/lib/locust/static/img copying locust/static/img/ui-screenshot-stats.png -> build/lib/locust/static/img -copying locust/static/img/favicon.ico -> build/lib/locust/static/img +copying locust/static/img/ui-screenshot-workers.png -> build/lib/locust/static/img creating build/lib/locust/webui/dist -copying locust/webui/dist/report.html -> build/lib/locust/webui/dist copying locust/webui/dist/auth.html -> build/lib/locust/webui/dist +copying locust/webui/dist/report.html -> build/lib/locust/webui/dist copying locust/webui/dist/index.html -> build/lib/locust/webui/dist creating build/lib/locust/webui/dist/assets copying locust/webui/dist/assets/logo.png -> build/lib/locust/webui/dist/assets -copying locust/webui/dist/assets/index-0d6d578a.js -> build/lib/locust/webui/dist/assets copying locust/webui/dist/assets/favicon.ico -> build/lib/locust/webui/dist/assets +copying locust/webui/dist/assets/index-0d6d578a.js -> build/lib/locust/webui/dist/assets installing to build/bdist.linux-armv7l/wheel running install running install_lib creating build/bdist.linux-armv7l/wheel creating build/bdist.linux-armv7l/wheel/locust -copying build/lib/locust/main.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/shape.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/web.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/clients.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/argument_parser.py -> build/bdist.linux-armv7l/wheel/./locust copying build/lib/locust/html.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/runners.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/__main__.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/shape.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/dispatch.py -> build/bdist.linux-armv7l/wheel/./locust copying build/lib/locust/event.py -> build/bdist.linux-armv7l/wheel/./locust -creating build/bdist.linux-armv7l/wheel/locust/templates -copying build/lib/locust/templates/report.html -> build/bdist.linux-armv7l/wheel/./locust/templates -copying build/lib/locust/templates/stats_data.html -> build/bdist.linux-armv7l/wheel/./locust/templates -copying build/lib/locust/templates/index.html -> build/bdist.linux-armv7l/wheel/./locust/templates -copying build/lib/locust/debug.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/_version.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/stats.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/input_events.py -> build/bdist.linux-armv7l/wheel/./locust -creating build/bdist.linux-armv7l/wheel/locust/test -copying build/lib/locust/test/test_taskratio.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_tags.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/mock_locustfile.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_sequential_taskset.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/fake_module2_for_env_test.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_main.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_log.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_interruptable_task.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_env.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/mock_logging.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_users.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_wait_time.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_web.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_runners.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_fasthttp.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_util.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_dispatch.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_load_locustfile.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/util.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_locust_class.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_stats.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_http.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_old_wait_api.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_parser.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_zmqrpc.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/test_debugging.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/testcases.py -> build/bdist.linux-armv7l/wheel/./locust/test -copying build/lib/locust/test/fake_module1_for_env_test.py -> build/bdist.linux-armv7l/wheel/./locust/test creating build/bdist.linux-armv7l/wheel/locust/user +copying build/lib/locust/user/inspectuser.py -> build/bdist.linux-armv7l/wheel/./locust/user +copying build/lib/locust/user/task.py -> build/bdist.linux-armv7l/wheel/./locust/user copying build/lib/locust/user/sequential_taskset.py -> build/bdist.linux-armv7l/wheel/./locust/user copying build/lib/locust/user/users.py -> build/bdist.linux-armv7l/wheel/./locust/user -copying build/lib/locust/user/task.py -> build/bdist.linux-armv7l/wheel/./locust/user copying build/lib/locust/user/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/user copying build/lib/locust/user/wait_time.py -> build/bdist.linux-armv7l/wheel/./locust/user -copying build/lib/locust/user/inspectuser.py -> build/bdist.linux-armv7l/wheel/./locust/user -creating build/bdist.linux-armv7l/wheel/locust/rpc -copying build/lib/locust/rpc/zmqrpc.py -> build/bdist.linux-armv7l/wheel/./locust/rpc -copying build/lib/locust/rpc/protocol.py -> build/bdist.linux-armv7l/wheel/./locust/rpc -copying build/lib/locust/rpc/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/rpc -copying build/lib/locust/log.py -> build/bdist.linux-armv7l/wheel/./locust +creating build/bdist.linux-armv7l/wheel/locust/templates +copying build/lib/locust/templates/stats_data.html -> build/bdist.linux-armv7l/wheel/./locust/templates +copying build/lib/locust/templates/report.html -> build/bdist.linux-armv7l/wheel/./locust/templates +copying build/lib/locust/templates/index.html -> build/bdist.linux-armv7l/wheel/./locust/templates +copying build/lib/locust/clients.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/_version.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/argument_parser.py -> build/bdist.linux-armv7l/wheel/./locust creating build/bdist.linux-armv7l/wheel/locust/contrib copying build/lib/locust/contrib/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/contrib copying build/lib/locust/contrib/fasthttp.py -> build/bdist.linux-armv7l/wheel/./locust/contrib +copying build/lib/locust/log.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/stats.py -> build/bdist.linux-armv7l/wheel/./locust copying build/lib/locust/env.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/__main__.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/dispatch.py -> build/bdist.linux-armv7l/wheel/./locust -copying build/lib/locust/__init__.py -> build/bdist.linux-armv7l/wheel/./locust -creating build/bdist.linux-armv7l/wheel/locust/util -copying build/lib/locust/util/cache.py -> build/bdist.linux-armv7l/wheel/./locust/util -copying build/lib/locust/util/deprecation.py -> build/bdist.linux-armv7l/wheel/./locust/util -copying build/lib/locust/util/exception_handler.py -> build/bdist.linux-armv7l/wheel/./locust/util -copying build/lib/locust/util/load_locustfile.py -> build/bdist.linux-armv7l/wheel/./locust/util -copying build/lib/locust/util/rounding.py -> build/bdist.linux-armv7l/wheel/./locust/util -copying build/lib/locust/util/timespan.py -> build/bdist.linux-armv7l/wheel/./locust/util -copying build/lib/locust/util/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/main.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/py.typed -> build/bdist.linux-armv7l/wheel/./locust +creating build/bdist.linux-armv7l/wheel/locust/webui +creating build/bdist.linux-armv7l/wheel/locust/webui/dist +creating build/bdist.linux-armv7l/wheel/locust/webui/dist/assets +copying build/lib/locust/webui/dist/assets/logo.png -> build/bdist.linux-armv7l/wheel/./locust/webui/dist/assets +copying build/lib/locust/webui/dist/assets/favicon.ico -> build/bdist.linux-armv7l/wheel/./locust/webui/dist/assets +copying build/lib/locust/webui/dist/assets/index-0d6d578a.js -> build/bdist.linux-armv7l/wheel/./locust/webui/dist/assets +copying build/lib/locust/webui/dist/auth.html -> build/bdist.linux-armv7l/wheel/./locust/webui/dist +copying build/lib/locust/webui/dist/report.html -> build/bdist.linux-armv7l/wheel/./locust/webui/dist +copying build/lib/locust/webui/dist/index.html -> build/bdist.linux-armv7l/wheel/./locust/webui/dist copying build/lib/locust/exception.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/debug.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/runners.py -> build/bdist.linux-armv7l/wheel/./locust +copying build/lib/locust/web.py -> build/bdist.linux-armv7l/wheel/./locust +creating build/bdist.linux-armv7l/wheel/locust/rpc +copying build/lib/locust/rpc/zmqrpc.py -> build/bdist.linux-armv7l/wheel/./locust/rpc +copying build/lib/locust/rpc/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/rpc +copying build/lib/locust/rpc/protocol.py -> build/bdist.linux-armv7l/wheel/./locust/rpc +copying build/lib/locust/__init__.py -> build/bdist.linux-armv7l/wheel/./locust creating build/bdist.linux-armv7l/wheel/locust/static -copying build/lib/locust/static/jquery-1.11.3.min.js -> build/bdist.linux-armv7l/wheel/./locust/static +copying build/lib/locust/static/tasks.js -> build/bdist.linux-armv7l/wheel/./locust/static +copying build/lib/locust/static/jquery.tools.min.js -> build/bdist.linux-armv7l/wheel/./locust/static creating build/bdist.linux-armv7l/wheel/locust/static/sass -copying build/lib/locust/static/sass/_mixins.sass -> build/bdist.linux-armv7l/wheel/./locust/static/sass -copying build/lib/locust/static/sass/tables.sass -> build/bdist.linux-armv7l/wheel/./locust/static/sass copying build/lib/locust/static/sass/_base.sass -> build/bdist.linux-armv7l/wheel/./locust/static/sass +copying build/lib/locust/static/sass/_mixins.sass -> build/bdist.linux-armv7l/wheel/./locust/static/sass copying build/lib/locust/static/sass/application.sass -> build/bdist.linux-armv7l/wheel/./locust/static/sass -copying build/lib/locust/static/vintage.js -> build/bdist.linux-armv7l/wheel/./locust/static -copying build/lib/locust/static/jquery.jqote2.min.js -> build/bdist.linux-armv7l/wheel/./locust/static +copying build/lib/locust/static/sass/tables.sass -> build/bdist.linux-armv7l/wheel/./locust/static/sass +copying build/lib/locust/static/echarts.common.min.js -> build/bdist.linux-armv7l/wheel/./locust/static +copying build/lib/locust/static/chart.js -> build/bdist.linux-armv7l/wheel/./locust/static creating build/bdist.linux-armv7l/wheel/locust/static/css copying build/lib/locust/static/css/tables.css.map -> build/bdist.linux-armv7l/wheel/./locust/static/css -copying build/lib/locust/static/css/application.css.map -> build/bdist.linux-armv7l/wheel/./locust/static/css -copying build/lib/locust/static/css/tables.css -> build/bdist.linux-armv7l/wheel/./locust/static/css copying build/lib/locust/static/css/application.css -> build/bdist.linux-armv7l/wheel/./locust/static/css -copying build/lib/locust/static/chart.js -> build/bdist.linux-armv7l/wheel/./locust/static +copying build/lib/locust/static/css/tables.css -> build/bdist.linux-armv7l/wheel/./locust/static/css +copying build/lib/locust/static/css/application.css.map -> build/bdist.linux-armv7l/wheel/./locust/static/css +copying build/lib/locust/static/jquery.jqote2.min.js -> build/bdist.linux-armv7l/wheel/./locust/static copying build/lib/locust/static/locust.js -> build/bdist.linux-armv7l/wheel/./locust/static -copying build/lib/locust/static/tasks.js -> build/bdist.linux-armv7l/wheel/./locust/static creating build/bdist.linux-armv7l/wheel/locust/static/img -copying build/lib/locust/static/img/ui-screenshot-workers.png -> build/bdist.linux-armv7l/wheel/./locust/static/img copying build/lib/locust/static/img/logo.png -> build/bdist.linux-armv7l/wheel/./locust/static/img +copying build/lib/locust/static/img/favicon.ico -> build/bdist.linux-armv7l/wheel/./locust/static/img copying build/lib/locust/static/img/ui-screenshot-start-test.png -> build/bdist.linux-armv7l/wheel/./locust/static/img copying build/lib/locust/static/img/ui-screenshot-charts.png -> build/bdist.linux-armv7l/wheel/./locust/static/img copying build/lib/locust/static/img/ui-screenshot-stats.png -> build/bdist.linux-armv7l/wheel/./locust/static/img -copying build/lib/locust/static/img/favicon.ico -> build/bdist.linux-armv7l/wheel/./locust/static/img -copying build/lib/locust/static/echarts.common.min.js -> build/bdist.linux-armv7l/wheel/./locust/static -copying build/lib/locust/static/jquery.tools.min.js -> build/bdist.linux-armv7l/wheel/./locust/static -copying build/lib/locust/py.typed -> build/bdist.linux-armv7l/wheel/./locust -creating build/bdist.linux-armv7l/wheel/locust/webui -creating build/bdist.linux-armv7l/wheel/locust/webui/dist -copying build/lib/locust/webui/dist/report.html -> build/bdist.linux-armv7l/wheel/./locust/webui/dist -creating build/bdist.linux-armv7l/wheel/locust/webui/dist/assets -copying build/lib/locust/webui/dist/assets/logo.png -> build/bdist.linux-armv7l/wheel/./locust/webui/dist/assets -copying build/lib/locust/webui/dist/assets/index-0d6d578a.js -> build/bdist.linux-armv7l/wheel/./locust/webui/dist/assets -copying build/lib/locust/webui/dist/assets/favicon.ico -> build/bdist.linux-armv7l/wheel/./locust/webui/dist/assets -copying build/lib/locust/webui/dist/auth.html -> build/bdist.linux-armv7l/wheel/./locust/webui/dist -copying build/lib/locust/webui/dist/index.html -> build/bdist.linux-armv7l/wheel/./locust/webui/dist +copying build/lib/locust/static/img/ui-screenshot-workers.png -> build/bdist.linux-armv7l/wheel/./locust/static/img +copying build/lib/locust/static/vintage.js -> build/bdist.linux-armv7l/wheel/./locust/static +copying build/lib/locust/static/jquery-1.11.3.min.js -> build/bdist.linux-armv7l/wheel/./locust/static +creating build/bdist.linux-armv7l/wheel/locust/test +copying build/lib/locust/test/test_load_locustfile.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_dispatch.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_tags.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/testcases.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/mock_locustfile.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_parser.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_interruptable_task.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/mock_logging.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_env.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_wait_time.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/util.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_log.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_users.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/fake_module1_for_env_test.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_util.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/fake_module2_for_env_test.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_main.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_locust_class.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_runners.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_old_wait_api.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_web.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_debugging.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_fasthttp.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_taskratio.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_sequential_taskset.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_zmqrpc.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_http.py -> build/bdist.linux-armv7l/wheel/./locust/test +copying build/lib/locust/test/test_stats.py -> build/bdist.linux-armv7l/wheel/./locust/test +creating build/bdist.linux-armv7l/wheel/locust/util +copying build/lib/locust/util/exception_handler.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/util/deprecation.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/util/timespan.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/util/cache.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/util/__init__.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/util/rounding.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/util/load_locustfile.py -> build/bdist.linux-armv7l/wheel/./locust/util +copying build/lib/locust/input_events.py -> build/bdist.linux-armv7l/wheel/./locust running install_egg_info running egg_info creating locust.egg-info @@ -1090,7 +1126,7 @@ Copying locust.egg-info to build/bdist.linux-armv7l/wheel/./locust-0.0.0.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/locust-0.0.0.dist-info/WHEEL -creating '/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.12_locust/.tmp-ym24wods/locust-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it +creating '/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.12_locust/.tmp-u5lp_lql/locust-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'locust/__init__.py' adding 'locust/__main__.py' adding 'locust/_version.py' @@ -1201,7 +1237,7 @@ make[1]: Entering directory '/build/reproducible-path/locust-2.24.0' # examples/test_data_management.py - attempted network access during pytest collection phase # TestMasterWorkerRunners times out after a long time -http_proxy= https_proxy= PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/build/reproducible-path/locust-2.24.0/debian PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} -m pytest -v --ignore=examples/test_data_management.py -k 'not TestMasterWorkerRunners'" dh_auto_test +http_proxy= https_proxy= PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path:/build/reproducible-path/locust-2.24.0/debian PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} -m pytest -v --ignore=examples/test_data_management.py -k 'not TestMasterWorkerRunners'" dh_auto_test I: pybuild base:311: PYTHONPATH=/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.12_locust/build python3.12 -m pytest -v --ignore=examples/test_data_management.py -k 'not TestMasterWorkerRunners' ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 @@ -1233,9 +1269,9 @@ locust/test/test_dispatch.py::TestRampUpThenDownThenUp::test_ramp_up_then_down_then_up SKIPPED [ 3%] locust/test/test_dispatch.py::TestDispatchUsersToWorkersHavingTheSameUsersAsTheTarget::test_dispatch_users_to_3_workers PASSED [ 3%] locust/test/test_dispatch.py::TestDistributionIsRespectedDuringDispatch::test_dispatch_75_users_to_4_workers_with_spawn_rate_of_5 PASSED [ 4%] -locust/test/test_dispatch.py::TestLargeScale::test_distribute_users FAILED [ 4%] +locust/test/test_dispatch.py::TestLargeScale::test_distribute_users PASSED [ 4%] locust/test/test_dispatch.py::TestLargeScale::test_ramp_down_from_100_000_to_0_users_with_50_user_classes_and_1000_workers_and_5000_spawn_rate PASSED [ 4%] -locust/test/test_dispatch.py::TestLargeScale::test_ramp_up_from_0_to_100_000_users_with_50_user_classes_and_1000_workers_and_5000_spawn_rate FAILED [ 4%] +locust/test/test_dispatch.py::TestLargeScale::test_ramp_up_from_0_to_100_000_users_with_50_user_classes_and_1000_workers_and_5000_spawn_rate PASSED [ 4%] locust/test/test_dispatch.py::TestSmallConsecutiveRamping::test_consecutive_ramp_up_and_ramp_down PASSED [ 4%] locust/test/test_dispatch.py::TestRampingMiscellaneous::test_spawn_rate_greater_than_target_user_count PASSED [ 4%] locust/test/test_dispatch.py::TestRemoveWorker::test_remove_last_worker PASSED [ 5%] @@ -1356,7 +1392,7 @@ locust/test/test_http.py::TestHttpSession::test_delete PASSED [ 26%] locust/test/test_http.py::TestHttpSession::test_error_message PASSED [ 26%] locust/test/test_http.py::TestHttpSession::test_error_message_with_name_replacement PASSED [ 26%] -locust/test/test_http.py::TestHttpSession::test_event_measure FAILED [ 26%] +locust/test/test_http.py::TestHttpSession::test_event_measure PASSED [ 26%] locust/test/test_http.py::TestHttpSession::test_get PASSED [ 26%] locust/test/test_http.py::TestHttpSession::test_get_with_params PASSED [ 26%] locust/test/test_http.py::TestHttpSession::test_head PASSED [ 27%] @@ -1526,7 +1562,7 @@ locust/test/test_runners.py::TestLocustRunner::test_attributes_populated_when_calling_start PASSED [ 57%] locust/test/test_runners.py::TestLocustRunner::test_can_call_stop_endpoint_if_currently_swarming PASSED [ 57%] locust/test/test_runners.py::TestLocustRunner::test_change_user_count_during_spawning PASSED [ 57%] -locust/test/test_runners.py::TestLocustRunner::test_cpu_warning PASSED [ 57%] +locust/test/test_runners.py::TestLocustRunner::test_cpu_warning FAILED [ 57%] locust/test/test_runners.py::TestLocustRunner::test_custom_dispatcher_class PASSED [ 57%] locust/test/test_runners.py::TestLocustRunner::test_custom_message PASSED [ 57%] locust/test/test_runners.py::TestLocustRunner::test_duplicate_message_handler_registration PASSED [ 58%] @@ -1541,7 +1577,7 @@ locust/test/test_runners.py::TestLocustRunner::test_stop_event_quit PASSED [ 59%] locust/test/test_runners.py::TestLocustRunner::test_stop_event_stop_and_quit PASSED [ 59%] locust/test/test_runners.py::TestLocustRunner::test_stop_users_count PASSED [ 60%] -locust/test/test_runners.py::TestLocustRunner::test_stop_users_with_spawn_rate PASSED [ 60%] +locust/test/test_runners.py::TestLocustRunner::test_stop_users_with_spawn_rate FAILED [ 60%] locust/test/test_runners.py::TestLocustRunner::test_stopping_event PASSED [ 60%] locust/test/test_runners.py::TestLocustRunner::test_swarm_endpoint_is_non_blocking PASSED [ 60%] locust/test/test_runners.py::TestLocustRunner::test_target_user_count_is_set_before_ramp_up PASSED [ 60%] @@ -1602,13 +1638,13 @@ locust/test/test_runners.py::TestWorkerRunner::test_worker_without_stop_timeout PASSED [ 70%] locust/test/test_runners.py::TestMessageSerializing::test_message_serialize PASSED [ 71%] locust/test/test_runners.py::TestStopTimeout::test_gracefully_handle_exceptions_in_listener PASSED [ 71%] -locust/test/test_runners.py::TestStopTimeout::test_kill_locusts_with_stop_timeout PASSED [ 71%] -locust/test/test_runners.py::TestStopTimeout::test_stop_timeout PASSED [ 71%] -locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_during_on_start PASSED [ 71%] -locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_exit_during_wait PASSED [ 71%] +locust/test/test_runners.py::TestStopTimeout::test_kill_locusts_with_stop_timeout FAILED [ 71%] +locust/test/test_runners.py::TestStopTimeout::test_stop_timeout FAILED [ 71%] +locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_during_on_start FAILED [ 71%] +locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_exit_during_wait FAILED [ 71%] locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_with_interrupt PASSED [ 72%] locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_with_interrupt_no_reschedule FAILED [ 72%] -locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_with_ramp_down PASSED [ 72%] +locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_with_ramp_down FAILED [ 72%] locust/test/test_runners.py::TestStopTimeout::test_users_can_call_runner_quit_with_stop_timeout PASSED [ 72%] locust/test/test_sequential_taskset.py::TestTaskSet::test_task_sequence_multiple_iterations PASSED [ 72%] locust/test/test_sequential_taskset.py::TestTaskSet::test_task_sequence_with_inheritance PASSED [ 73%] @@ -1644,10 +1680,10 @@ locust/test/test_stats.py::TestStatsPrinting::test_print_stats PASSED [ 78%] locust/test/test_stats.py::TestCsvStats::test_csv_stats_on_master_from_aggregated_stats PASSED [ 78%] locust/test/test_stats.py::TestCsvStats::test_csv_stats_writer PASSED [ 78%] -locust/test/test_stats.py::TestCsvStats::test_csv_stats_writer_full_history PASSED [ 79%] +locust/test/test_stats.py::TestCsvStats::test_csv_stats_writer_full_history FAILED [ 79%] locust/test/test_stats.py::TestCsvStats::test_requests_csv_quote_escaping PASSED [ 79%] locust/test/test_stats.py::TestCsvStats::test_stats_history FAILED [ 79%] -locust/test/test_stats.py::TestCsvStats::test_user_count_in_csv_history_stats PASSED [ 79%] +locust/test/test_stats.py::TestCsvStats::test_user_count_in_csv_history_stats FAILED [ 79%] locust/test/test_stats.py::TestCsvStats::test_write_csv_files PASSED [ 79%] locust/test/test_stats.py::TestCsvStats::test_write_csv_files_full_history PASSED [ 79%] locust/test/test_stats.py::TestStatsEntryResponseTimesCache::test_diff_response_times_dicts PASSED [ 80%] @@ -1698,7 +1734,7 @@ locust/test/test_util.py::TestRounding::test_rounding_up PASSED [ 88%] locust/test/test_wait_time.py::TestWaitTime::test_between PASSED [ 88%] locust/test/test_wait_time.py::TestWaitTime::test_constant PASSED [ 88%] -locust/test/test_wait_time.py::TestWaitTime::test_constant_throughput PASSED [ 88%] +locust/test/test_wait_time.py::TestWaitTime::test_constant_throughput FAILED [ 88%] locust/test/test_wait_time.py::TestWaitTime::test_default_wait_time PASSED [ 89%] locust/test/test_web.py::TestWebUI::test_custom_argument_dropdown PASSED [ 89%] locust/test/test_web.py::TestWebUI::test_custom_shape_deactivate_num_users_and_spawn_rate PASSED [ 89%] @@ -1762,65 +1798,6 @@ locust/test/test_zmqrpc.py::ZMQRPC_tests::test_rpc_error PASSED [100%] =================================== FAILURES =================================== -_____________________ TestLargeScale.test_distribute_users _____________________ - -self = - - def test_distribute_users(self): - for user_classes in [self.weighted_user_classes, self.fixed_user_classes_1M, self.mixed_users]: - workers = [WorkerNode(str(i)) for i in range(10_000)] - - target_user_count = 1_000_000 - - users_dispatcher = UsersDispatcher(worker_nodes=workers, user_classes=user_classes) - - ts = time.perf_counter() - users_on_workers, user_gen, worker_gen, active_users = users_dispatcher._distribute_users( - target_user_count=target_user_count - ) - delta = time.perf_counter() - ts - - # Because tests are run with coverage, the code will be slower. - # We set the pass criterion to 7000ms, but in real life, the - # `_distribute_users` method runs faster than this. -> self.assertLessEqual(1000 * delta, 7000) -E AssertionError: 7398.3030817471445 not less than or equal to 7000 - -locust/test/test_dispatch.py:2074: AssertionError -_ TestLargeScale.test_ramp_up_from_0_to_100_000_users_with_50_user_classes_and_1000_workers_and_5000_spawn_rate _ - -self = - - def test_ramp_up_from_0_to_100_000_users_with_50_user_classes_and_1000_workers_and_5000_spawn_rate(self): - for user_classes in [ - self.weighted_user_classes, - self.fixed_user_classes_1M, - self.fixed_user_classes_10k, - self.mixed_users, - ]: - workers = [WorkerNode(str(i)) for i in range(1000)] - - target_user_count = 100_000 - - users_dispatcher = UsersDispatcher(worker_nodes=workers, user_classes=user_classes) - users_dispatcher.new_dispatch(target_user_count=target_user_count, spawn_rate=5_000) - users_dispatcher._wait_between_dispatch = 0 - - all_dispatched_users = list(users_dispatcher) - - tol = 0.2 -> self.assertTrue( - all( - dispatch_iteration_duration <= tol - for dispatch_iteration_duration in users_dispatcher.dispatch_iteration_durations - ), - "One or more dispatch took more than {:.0f}s to compute (max = {}ms)".format( - tol * 1000, 1000 * max(users_dispatcher.dispatch_iteration_durations) - ), - ) -E AssertionError: False is not true : One or more dispatch took more than 200s to compute (max = 288.56408363208175ms) - -locust/test/test_dispatch.py:2096: AssertionError ______________ TestFastHttpUserClass.test_client_pool_concurrency ______________ self = @@ -1847,7 +1824,7 @@ after_requests = time.time() expected_delta = 0.4 # 20 requests with concurrency 10 and response time 0.2 > self.assertAlmostEqual(before_requests + expected_delta, after_requests, delta=0.1) -E AssertionError: 1734907798.7005963 != 1734907798.8291445 within 0.1 delta (0.12854814529418945 difference) +E AssertionError: 1734908696.937602 != 1734908697.0429497 within 0.1 delta (0.1053476333618164 difference) locust/test/test_fasthttp.py:589: AssertionError _______________ TestFastHttpUserClass.test_max_redirect_setting ________________ @@ -1939,28 +1916,9 @@ E AssertionError: Request took longer than 0.6 even though FastHttpUser.network_timeout was set to 0.5 src/gevent/_gevent_c_greenlet_primitives.pxd:35: AssertionError -______________________ TestHttpSession.test_event_measure ______________________ - -self = - - def test_event_measure(self): - kwargs = {} - - def on_request(**kw): - kwargs.update(**kw) - - self.environment.events.request.add_listener(on_request) - - with self.environment.events.request.measure("GET", "/test") as request_meta: - time.sleep(0.001) - -> self.assertTrue(1 <= kwargs["response_time"] <= 1.5, kwargs["response_time"]) -E AssertionError: False is not true : 2.1704952232539654 - -locust/test/test_http.py:293: AssertionError _________________ TestLoadLocustfile.test_locustfile_from_url __________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2176,7 +2134,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/locustio/locust/master/examples/basic.py', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -2410,7 +2368,7 @@ self.sock = sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2426,13 +2384,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:206: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None, proxies = OrderedDict({'no': 'localhost'}) @@ -2514,9 +2472,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/locustio/locust/master/examples/basic.py' response = None -error = NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2610,7 +2568,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /locustio/locust/master/examples/basic.py (Caused by NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /locustio/locust/master/examples/basic.py (Caused by NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2634,7 +2592,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None, proxies = OrderedDict({'no': 'localhost'}) @@ -2727,7 +2685,7 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /locustio/locust/master/examples/basic.py (Caused by NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /locustio/locust/master/examples/basic.py (Caused by NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError @@ -2763,7 +2721,7 @@ locust/argument_parser.py:198: SystemExit ----------------------------- Captured stderr call ----------------------------- -Failed to get locustfile from: https://raw.githubusercontent.com/locustio/locust/master/examples/basic.py. Exception: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /locustio/locust/master/examples/basic.py (Caused by NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)")) +Failed to get locustfile from: https://raw.githubusercontent.com/locustio/locust/master/examples/basic.py. Exception: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /locustio/locust/master/examples/basic.py (Caused by NameResolutionError(": Failed to resolve 'raw.githubusercontent.com' ([Errno -3] Temporary failure in name resolution)")) _____________________ TestLoggingOptions.test_log_to_file ______________________ self = @@ -2814,8 +2772,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpccatoesx_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmp1d_lxzv2_locustfile.py', '-u', '1', '-r', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -3142,8 +3100,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpfich852m_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmpg1rs0beq_locustfile.py', '-u', '1', '-r', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -3421,6 +3379,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _____________________ TestLoggingOptions.test_skip_logging _____________________ self = @@ -3466,8 +3426,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpmgdrgdj2_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmpwd_wztjm_locustfile.py', '-u', '1', '-r', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -3745,6 +3705,51 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _________________ TestLoggingOptions.test_user_broken_on_start _________________ self = @@ -3785,8 +3790,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmphagab1ew_locustfile.py', '-t', '1', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmpamt72r5u_locustfile.py', '-t', '1', '--headless'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -4064,6 +4069,9 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines __ StandaloneIntegrationTests.test_autostart_multiple_locustfiles_with_shape ___ self = @@ -4124,8 +4132,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907838_1348886_45781.py,/tmp/tmpbgg2238p_locustfile.py', '--legacy-ui', '--web-port', '49227', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908727_893219_98335.py,/tmp/tmpnjey6_ty_locustfile.py', '--legacy-ui', '--web-port', '56231', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -4403,6 +4411,9 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ____________ StandaloneIntegrationTests.test_autostart_w_load_shape ____________ self = @@ -4447,8 +4458,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907838_4856753_36998.py', '--legacy-ui', '--web-port', '60793', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908728_2145844_65729.py', '--legacy-ui', '--web-port', '45311', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -4726,6 +4737,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _____________ StandaloneIntegrationTests.test_autostart_w_run_time _____________ self = @@ -4758,8 +4771,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907838_9535928_93775.py', '--web-port', '57809', '-t', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908728_5236092_64691.py', '--web-port', '54995', '-t', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -5037,6 +5050,9 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ____________ StandaloneIntegrationTests.test_autostart_wo_run_time _____________ self = @@ -5065,8 +5081,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907839_3491254_8982.py', '--web-port', '36911', '--autostart'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908728_8399193_37122.py', '--web-port', '39963', '--autostart'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -5344,6 +5360,9 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _________ StandaloneIntegrationTests.test_command_line_user_selection __________ self = @@ -5399,9 +5418,11 @@ output = proc.communicate()[0] self.assertNotIn("User1 is running", output) > self.assertIn("User2 is running", output) -E AssertionError: 'User2 is running' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: 'User2 is running' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:1080: AssertionError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _______________ StandaloneIntegrationTests.test_custom_arguments _______________ self = @@ -5439,8 +5460,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpfs4uxewk_locustfile.py', '--custom-string-arg', 'command_line_value', '--web-port', ...] +self = +args = ['locust', '-f', '/tmp/tmppf182p3c_locustfile.py', '--custom-string-arg', 'command_line_value', '--web-port', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -5756,8 +5777,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpn2fla8y__locustfile.py', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmp5xdev4bb_locustfile.py', '--autostart'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -6035,6 +6056,9 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _______________ StandaloneIntegrationTests.test_custom_exit_code _______________ self = @@ -6067,8 +6091,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp60dg8yhl_locustfile.py'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmpiku3scwj_locustfile.py'], executable = 'locust' preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None universal_newlines = None, startupinfo = None, creationflags = 0, shell = False p2cread = -1, p2cwrite = -1, c2pread = 11, c2pwrite = 80, errread = 81 @@ -6345,6 +6369,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ________ StandaloneIntegrationTests.test_default_headless_spawn_options ________ self = @@ -6380,8 +6406,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907840_9766767_73779.py', '--host', 'https://test.com/', '--run-time', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908730_1877923_68012.py', '--host', 'https://test.com/', '--run-time', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -6659,6 +6685,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines __ StandaloneIntegrationTests.test_default_headless_spawn_options_with_shape ___ self = @@ -6699,8 +6727,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907841_3428128_29089.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908730_47989_79669.py', '--host', 'https://test.com/', '--headless', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -6978,6 +7006,29 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ____ StandaloneIntegrationTests.test_error_when_duplicate_shape_class_names ____ self = @@ -7017,8 +7068,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpj9ykcp_u_locustfile.py,/tmp/tmpg40w_jb8_locustfile.py'] +self = +args = ['locust', '-f', '/tmp/tmp84hduva1_locustfile.py,/tmp/tmp9g89m044_locustfile.py'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -7296,6 +7347,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _____ StandaloneIntegrationTests.test_error_when_duplicate_userclass_names _____ self = @@ -7321,8 +7374,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpwyvjjx3j_locustfile.py,/tmp/tmpn07ne43m_locustfile.py'] +self = +args = ['locust', '-f', '/tmp/tmpnalznhha_locustfile.py,/tmp/tmp_6tii2xs_locustfile.py'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -7600,6 +7653,9 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines __ StandaloneIntegrationTests.test_error_when_locustfiles_directory_is_empty ___ self = @@ -7614,8 +7670,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpn_e7bhwn'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmpn437x3f2'], executable = 'locust' preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None universal_newlines = None, startupinfo = None, creationflags = 0, shell = False p2cread = -1, p2cwrite = -1, c2pread = 11, c2pwrite = 80, errread = 81 @@ -7930,8 +7986,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907842_7661748_38424.py', '--headless', '-t', '1', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908731_6713297_48411.py', '--headless', '-t', '1', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -8209,6 +8265,11 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _ StandaloneIntegrationTests.test_error_when_providing_both_run_time_and_a_shape_class _ self = @@ -8245,8 +8306,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907843_1083024_56553.py', '--run-time=1s', '--headless', '--exit-code-on-error', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908731_9658718_31435.py', '--run-time=1s', '--headless', '--exit-code-on-error', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -8524,6 +8585,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ____ StandaloneIntegrationTests.test_graceful_exit_when_keyboard_interrupt _____ self = @@ -8572,8 +8635,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpx7fwaccd_locustfile.py', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmplec8fz9q_locustfile.py', '--headless'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -8880,8 +8943,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907843_9510183_73763.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908732_671929_71826.py', '--host', 'https://test.com/', '--headless', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -9159,6 +9222,8 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ___________________ StandaloneIntegrationTests.test_help_arg ___________________ self = @@ -9179,7 +9244,7 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , args = ['locust', '--help'] +self = , args = ['locust', '--help'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -9494,8 +9559,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907844_7081459_98885.py', '--legacy-ui', '--host', 'https://test.com/', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908733_3016305_52730.py', '--legacy-ui', '--host', 'https://test.com/', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -9835,7 +9900,7 @@ output = proc.communicate()[0] stdin.close() > self.assertIn("Ramping to 1 users at a rate of 100.00 per second", output) -E AssertionError: 'Ramping to 1 users at a rate of 100.00 per second' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: 'Ramping to 1 users at a rate of 100.00 per second' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:922: AssertionError _________ StandaloneIntegrationTests.test_invalid_percentile_parameter _________ @@ -9865,8 +9930,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpuxwrbr9e_locustfile.py', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmp166nmxcv_locustfile.py', '--autostart'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -10171,8 +10236,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907851_8649564_10038.py', '--host', 'https://test.com/', '--stop-timeout', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908740_1322563_8811.py', '--host', 'https://test.com/', '--stop-timeout', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -10473,8 +10538,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp5xlyr3xs_locustfile.py,/tmp/tmpd095y49x_locustfile.py', '-t', '1', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmpbytu9igq_locustfile.py,/tmp/tmp1eqa5469_locustfile.py', '-t', '1', '--headless'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -10754,7 +10819,7 @@ /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError ----------------------------- Captured stdout call ----------------------------- -from tmp5xlyr3xs_locustfile import TestUser1 +from tmpbytu9igq_locustfile import TestUser1 _____________ StandaloneIntegrationTests.test_percentile_parameter _____________ @@ -10787,8 +10852,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmprpi0xuqj_locustfile.py', '--web-port', '55087', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmp16u7geu__locustfile.py', '--web-port', '46511', '--autostart'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -11099,8 +11164,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpmvii50f7_locustfile.py', '--web-port', '46091', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmp_3ez7m3g_locustfile.py', '--web-port', '53855', '--autostart'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -11421,8 +11486,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpc7rqlbax', '--autostart', '-u', '2', ...] +self = +args = ['locust', '-f', '/tmp/tmpnl636uja', '--autostart', '-u', '2', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -11743,8 +11808,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmplxoef5ka', '--headless', '-u', '2', ...] +self = +args = ['locust', '-f', '/tmp/tmpzbmb22dl', '--headless', '-u', '2', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -12080,8 +12145,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907854_1836798_77147.py,/tmp/tmp686bxrah_locustfile.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908741_9965858_29145.py,/tmp/tmpdqbjrgnw_locustfile.py', '--host', 'https://test.com/', '--headless', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -12379,8 +12444,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp96kta4gp_locustfile.py,/tmp/tmplp95imkw_locustfile.py', '--class-picker'] +self = +args = ['locust', '-f', '/tmp/tmpanwyev0g_locustfile.py,/tmp/tmpx0ntmj84_locustfile.py', '--class-picker'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -12695,8 +12760,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '--headless', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907854_9855556_93489.py', '--exit-code-on-error=0', '--users=1', ...] +self = +args = ['locust', '--headless', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908742_6329286_71512.py', '--exit-code-on-error=0', '--users=1', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -13014,8 +13079,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907855_4741306_77585.py', '--run-time=1s', '--users=1', '--spawn-rate=1', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908743_077756_21431.py', '--run-time=1s', '--users=1', '--spawn-rate=1', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -13325,7 +13390,7 @@ output = proc.communicate()[0] > self.assertIn("Ramping to 10 users at a rate of 10.00 per second", output) -E AssertionError: 'Ramping to 10 users at a rate of 10.00 per second' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: 'Ramping to 10 users at a rate of 10.00 per second' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:1022: AssertionError _____________ StandaloneIntegrationTests.test_spawning_with_fixed ______________ @@ -13384,7 +13449,7 @@ output = proc.communicate()[0] > self.assertIn("Ramping to 10 users at a rate of 10.00 per second", output) -E AssertionError: 'Ramping to 10 users at a rate of 10.00 per second' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: 'Ramping to 10 users at a rate of 10.00 per second' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:987: AssertionError _________________ StandaloneIntegrationTests.test_web_options __________________ @@ -13410,8 +13475,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907856_287642_3163.py', '--web-host', '127.0.0.2', '--web-port', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908743_865353_9457.py', '--web-host', '127.0.0.2', '--web-port', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -13715,8 +13780,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp9uch55rf_locustfile.py'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmpgn2o14qg_locustfile.py'], executable = 'locust' preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None universal_newlines = None, startupinfo = None, creationflags = 0, shell = False p2cread = -1, p2cwrite = -1, c2pread = 11, c2pwrite = 81, errread = 82 @@ -14011,8 +14076,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907857_0800416_20513.py,/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907857_0805626_23335.py'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908744_520113_56743.py,/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908744_5205536_7553.py'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -14307,8 +14372,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp90g6l0y0'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmp3c5gw9e2'], executable = 'locust' preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None universal_newlines = None, startupinfo = None, creationflags = 0, shell = False p2cread = -1, p2cwrite = -1, c2pread = 11, c2pwrite = 81, errread = 82 @@ -14632,8 +14697,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907857_805677_70917.py,/tmp/tmpnio4vojt_locustfile.py'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908745_1421902_33969.py,/tmp/tmpbi_f_poz_locustfile.py'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -14954,8 +15019,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907858_1874447_82053.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908745_4606183_18089.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -15286,8 +15351,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907858_5173788_43370.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908745_8199103_42543.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -15610,8 +15675,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907859_0007985_90844.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908746_1698723_12698.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -15941,8 +16006,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907859_3586416_49724.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908746_546742_65641.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -16257,8 +16322,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907859_8728802_67823', '--headless', '--master'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908747_0157645_75209', '--headless', '--master'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -16565,8 +16630,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907860_2990737_81159.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908747_469176_66028.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -16888,8 +16953,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907860_7008355_53632.py', '--host', 'http://google.com', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908747_9151583_98901.py', '--host', 'http://google.com', '--headless', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -17208,8 +17273,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907861_0291495_90150.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908748_4068007_39877.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -17523,7 +17588,7 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = args = ['locust', '-f', '-', '--worker'], executable = 'locust' preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None universal_newlines = None, startupinfo = None, creationflags = 0, shell = False @@ -17823,7 +17888,7 @@ assert False, f"locust process never finished: {command}" self.assertNotIn("Traceback", stderr) > self.assertIn("(index 3) reported as ready", stderr) -E AssertionError: '(index 3) reported as ready' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: '(index 3) reported as ready' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:1993: AssertionError ____________ DistributedIntegrationTests.test_processes_autodetect _____________ @@ -17848,7 +17913,7 @@ assert False, f"locust process never finished: {command}" self.assertNotIn("Traceback", stderr) > self.assertIn("(index 0) reported as ready", stderr) -E AssertionError: '(index 0) reported as ready' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: '(index 0) reported as ready' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:2013: AssertionError ______________ DistributedIntegrationTests.test_processes_ctrl_c _______________ @@ -17882,8 +17947,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907862_1257522_50364.py', '--processes', '4', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908750_2705417_64661.py', '--processes', '4', '--headless', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -18190,8 +18255,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907862_5979445_49901.py', '--processes', '4', '-L', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908751_2512667_55271.py', '--processes', '4', '-L', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -18516,7 +18581,7 @@ self.assertNotIn("Traceback", master_stderr) self.assertNotIn("Gave up waiting for workers to connect", master_stderr) > self.assertIn("(index 3) reported as ready", master_stderr) -E AssertionError: '(index 3) reported as ready' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: 2: from: not found\n/build/reproducible-path/locust-2.24.0/debian/locust: 5: Syntax error: end of file unexpected\n' +E AssertionError: '(index 3) reported as ready' not found in '/build/reproducible-path/locust-2.24.0/debian/locust: line 2: from: command not found\n/build/reproducible-path/locust-2.24.0/debian/locust: line 5: syntax error: unexpected end of file\n' locust/test/test_main.py:2058: AssertionError ______ DistributedIntegrationTests.test_processes_workers_quit_unexpected ______ @@ -18555,8 +18620,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907863_1618805_38478.py', '--processes', '2', '--worker'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908752_3608825_24891.py', '--processes', '2', '--worker'] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -18877,8 +18942,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907863_5045_77939.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908752_757008_42482.py', '--headless', '--master', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -19195,8 +19260,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734907863_8631501_71557.py', '--master', '--headless', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1734908753_2103863_47231.py', '--master', '--headless', '--expect-workers', ...] executable = 'locust', preexec_fn = None, close_fds = True, pass_fds = () cwd = None, env = None, universal_newlines = None, startupinfo = None creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 @@ -19474,6 +19539,85 @@ E OSError: [Errno 8] Exec format error: 'locust' /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError +______________________ TestLocustRunner.test_cpu_warning _______________________ + +self = + + def test_cpu_warning(self): + _monitor_interval = runners.CPU_MONITOR_INTERVAL + runners.CPU_MONITOR_INTERVAL = 2.0 + try: + + class CpuUser(User): + wait_time = constant(0.001) + + @task + def cpu_task(self): + for i in range(1000000): + _ = 3 / 2 + + environment = Environment(user_classes=[CpuUser]) + environment._cpu_warning_event_triggered = False + + def cpu_warning(environment, cpu_usage, **kwargs): + environment._cpu_warning_event_triggered = True + environment._cpu_usage = cpu_usage + + environment.events.cpu_warning.add_listener(cpu_warning) + runner = LocalRunner(environment) + self.assertFalse(runner.cpu_warning_emitted) + runner.spawn_users({CpuUser.__name__: 1}, wait=False) + sleep(2.5) +> self.assertTrue(environment._cpu_warning_event_triggered) +E AssertionError: False is not true + +locust/test/test_runners.py:172: AssertionError +_______________ TestLocustRunner.test_stop_users_with_spawn_rate _______________ + +self = + + def test_stop_users_with_spawn_rate(self): + """ + The spawn rate does not have an effect on the rate at which the users are stopped. + It is expected that the excess users will be stopped as soon as possible in parallel + (while respecting the stop_timeout). + """ + + class MyUser(User): + wait_time = constant(1) + + @task + def my_task(self): + pass + + environment = Environment(user_classes=[MyUser]) + runner = LocalRunner(environment) + + # Start load test, wait for users to start, then trigger ramp down + ts = time.time() + runner.start(10, 10, wait=False) + runner.spawning_greenlet.join() + delta = time.time() - ts + self.assertTrue( + 0 <= delta <= 0.05, f"Expected user count to increase to 10 instantaneously, instead it took {delta:f}" + ) + self.assertTrue( + runner.user_count == 10, "User count has not decreased correctly to 2, it is : %i" % runner.user_count + ) + + ts = time.time() + runner.start(2, 4, wait=False) + runner.spawning_greenlet.join() + delta = time.time() - ts +> self.assertTrue(0 <= delta <= 1.05, f"Expected user count to decrease to 2 in 1s, instead it took {delta:f}") +E AssertionError: False is not true : Expected user count to decrease to 2 in 1s, instead it took 1.150069 + +locust/test/test_runners.py:492: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 10 users at a rate of 10.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyUser": 10} (10 total users) +INFO locust.runners:runners.py:499 Ramping to 2 users at a rate of 4.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyUser": 2} (2 total users) ________ TestMasterRunner.test_attributes_populated_when_calling_start _________ self = @@ -19550,12 +19694,16 @@ ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client0). That's not going to work. ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client1). That's not going to work. ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client2). That's not going to work. +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client3). That's not going to work. ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client4). That's not going to work. INFO locust.runners:runners.py:329 Shape test starting. INFO locust.runners:runners.py:337 Shape worker starting INFO locust.runners:runners.py:356 Shape test updating to 5 users at 5.00 spawn rate WARNING locust.runners:runners.py:743 You can't start a distributed test before at least one worker processes has connected +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines ______________ TestMasterRunner.test_custom_shape_scale_interval _______________ self = @@ -19763,6 +19911,7 @@ WARNING locust.runners:runners.py:743 You can't start a distributed test before at least one worker processes has connected INFO locust.runners:runners.py:356 Shape test updating to 2 users at 2.00 spawn rate WARNING locust.runners:runners.py:743 You can't start a distributed test before at least one worker processes has connected +INFO locust.runners:runners.py:342 Shape test stopping ___________ TestMasterRunner.test_master_discard_first_client_ready ____________ self = @@ -19796,7 +19945,7 @@ locust/test/test_runners.py:2162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , k = 'fake_client' +self = , k = 'fake_client' def __getitem__(self, k: str) -> WorkerNode: > return self._worker_nodes[k] @@ -20269,6 +20418,206 @@ locust/test/test_runners.py:3194: AssertionError ------------------------------ Captured log call ------------------------------- ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (zeh_fake_client1). That's not going to work. +_____________ TestStopTimeout.test_kill_locusts_with_stop_timeout ______________ + +self = + + def test_kill_locusts_with_stop_timeout(self): + short_time = 0.05 + + class MyTaskSet(TaskSet): + @task + def my_task(self): + MyTaskSet.state = "first" + gevent.sleep(short_time) + MyTaskSet.state = "second" # should only run when run time + stop_timeout is > short_time + gevent.sleep(short_time) + MyTaskSet.state = "third" # should only run when run time + stop_timeout is > short_time * 2 + + class MyTestUser(User): + tasks = [MyTaskSet] + + environment = create_environment([MyTestUser], mocked_options()) + runner = environment.create_local_runner() + runner.start(1, 1) + gevent.sleep(short_time / 2) + runner.stop_users({MyTestUser.__name__: 1}) +> self.assertEqual("first", MyTaskSet.state) +E AssertionError: 'first' != 'third' +E - first +E + third + +locust/test/test_runners.py:4105: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 1 users at a rate of 1.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyTestUser": 1} (1 total users) +INFO locust.runners:runners.py:141 Resetting stats +______________________ TestStopTimeout.test_stop_timeout _______________________ + +self = + + def test_stop_timeout(self): + short_time = 0.05 + + class MyTaskSet(TaskSet): + @task + def my_task(self): + MyTaskSet.state = "first" + gevent.sleep(short_time) + MyTaskSet.state = "second" # should only run when run time + stop_timeout is > short_time + gevent.sleep(short_time) + MyTaskSet.state = "third" # should only run when run time + stop_timeout is > short_time * 2 + + class MyTestUser(User): + tasks = [MyTaskSet] + + environment = Environment(user_classes=[MyTestUser]) + runner = environment.create_local_runner() + runner.start(1, 1, wait=False) + gevent.sleep(short_time / 2) + runner.quit() +> self.assertEqual("first", MyTaskSet.state) +E AssertionError: 'first' != 'third' +E - first +E + third + +locust/test/test_runners.py:3944: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 1 users at a rate of 1.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyTestUser": 1} (1 total users) +______________ TestStopTimeout.test_stop_timeout_during_on_start _______________ + +self = + + def test_stop_timeout_during_on_start(self): + short_time = 0.05 + + class MyTaskSet(TaskSet): + finished_on_start = False + my_task_run = False + + def on_start(self): + gevent.sleep(short_time) + MyTaskSet.finished_on_start = True + + @task + def my_task(self): + MyTaskSet.my_task_run = True + + class MyTestUser(User): + tasks = [MyTaskSet] + + environment = create_environment([MyTestUser], mocked_options()) + environment.stop_timeout = short_time + runner = environment.create_local_runner() + runner.start(1, 1) + gevent.sleep(short_time / 2) + runner.quit() + + self.assertTrue(MyTaskSet.finished_on_start) +> self.assertFalse(MyTaskSet.my_task_run) +E AssertionError: True is not false + +locust/test/test_runners.py:3996: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 1 users at a rate of 1.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyTestUser": 1} (1 total users) +INFO locust.runners:runners.py:141 Resetting stats +______________ TestStopTimeout.test_stop_timeout_exit_during_wait ______________ + +self = + + def test_stop_timeout_exit_during_wait(self): + short_time = 0.05 + + class MyTaskSet(TaskSet): + @task + def my_task(self): + pass + + class MyTestUser(User): + tasks = [MyTaskSet] + wait_time = constant(1) + + environment = Environment(user_classes=[MyTestUser], stop_timeout=short_time) + runner = environment.create_local_runner() + runner.start(1, 1) + gevent.sleep(short_time) # sleep to make sure locust has had time to start waiting + timeout = gevent.Timeout(short_time) + timeout.start() + try: +> runner.quit() + +locust/test/test_runners.py:4017: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +locust/runners.py:415: in quit + self.stop() +locust/runners.py:562: in stop + super().stop() +locust/runners.py:402: in stop + self.stop_users(self.user_classes_count) +locust/runners.py:284: in stop_users + async_calls_to_stop.join() +/usr/lib/python3/dist-packages/gevent/pool.py:430: in join + result = self._empty_event.wait(timeout=timeout) +src/gevent/event.py:164: in gevent._gevent_cevent.Event.wait + ??? +src/gevent/_abstract_linkable.py:521: in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait + ??? +src/gevent/_abstract_linkable.py:487: in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core + ??? +src/gevent/_abstract_linkable.py:496: in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core + ??? +src/gevent/_abstract_linkable.py:490: in gevent._gevent_c_abstract_linkable.AbstractLinkable._wait_core + ??? +src/gevent/_abstract_linkable.py:442: in gevent._gevent_c_abstract_linkable.AbstractLinkable._AbstractLinkable__wait_to_be_notified + ??? +src/gevent/_abstract_linkable.py:451: in gevent._gevent_c_abstract_linkable.AbstractLinkable._switch_to_hub + ??? +src/gevent/_greenlet_primitives.py:61: in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch + ??? +src/gevent/_greenlet_primitives.py:65: in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch + ??? +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +> ??? +E gevent.timeout.Timeout: 0.05 seconds + +src/gevent/_gevent_c_greenlet_primitives.pxd:35: Timeout + +During handling of the above exception, another exception occurred: + +self = + + def test_stop_timeout_exit_during_wait(self): + short_time = 0.05 + + class MyTaskSet(TaskSet): + @task + def my_task(self): + pass + + class MyTestUser(User): + tasks = [MyTaskSet] + wait_time = constant(1) + + environment = Environment(user_classes=[MyTestUser], stop_timeout=short_time) + runner = environment.create_local_runner() + runner.start(1, 1) + gevent.sleep(short_time) # sleep to make sure locust has had time to start waiting + timeout = gevent.Timeout(short_time) + timeout.start() + try: + runner.quit() + runner.greenlet.join() + except gevent.Timeout: +> self.fail("Got Timeout exception. Waiting locusts should stop immediately, even when using stop_timeout.") +E AssertionError: Got Timeout exception. Waiting locusts should stop immediately, even when using stop_timeout. + +locust/test/test_runners.py:4020: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 1 users at a rate of 1.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyTestUser": 1} (1 total users) ________ TestStopTimeout.test_stop_timeout_with_interrupt_no_reschedule ________ self = @@ -20371,6 +20720,87 @@ locust/test/test_runners.py:4080: AssertionError ------------------------------ Captured log call ------------------------------- INFO locust.runners:runners.py:499 Ramping to 1 users at a rate of 1.00 per second +_______________ TestStopTimeout.test_stop_timeout_with_ramp_down _______________ + +self = + + def test_stop_timeout_with_ramp_down(self): + class MyTaskSet(TaskSet): + @task + def my_task(self): + gevent.sleep(1) + + class MyTestUser(User): + tasks = [MyTaskSet] + + environment = Environment(user_classes=[MyTestUser], stop_timeout=2) + runner = environment.create_local_runner() + + # Start load test, wait for users to start, then trigger ramp down + ts = time.perf_counter() + runner.start(10, 10, wait=False) + runner.spawning_greenlet.join() + delta = time.perf_counter() - ts + self.assertTrue( + 0 <= delta <= 0.05, f"Expected user count to increase to 10 instantaneously, instead it took {delta:f}" + ) + self.assertTrue( + runner.user_count == 10, "User count has not decreased correctly to 2, it is : %i" % runner.user_count + ) + + ts = time.perf_counter() + runner.start(2, 4, wait=False) + runner.spawning_greenlet.join() + delta = time.perf_counter() - ts +> self.assertTrue(2 <= delta <= 2.05, f"Expected user count to decrease to 2 in 2s, instead it took {delta:f}") +E AssertionError: False is not true : Expected user count to decrease to 2 in 2s, instead it took 2.218965 + +locust/test/test_runners.py:4208: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 10 users at a rate of 10.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyTestUser": 10} (10 total users) +INFO locust.runners:runners.py:499 Ramping to 2 users at a rate of 4.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"MyTestUser": 2} (2 total users) +_______________ TestCsvStats.test_csv_stats_writer_full_history ________________ + +self = + + @mock.patch("locust.stats.CSV_STATS_INTERVAL_SEC", new=_TEST_CSV_STATS_INTERVAL_SEC) + def test_csv_stats_writer_full_history(self): + stats_writer = StatsCSVFileWriter( + self.environment, PERCENTILES_TO_REPORT, self.STATS_BASE_NAME, full_history=True + ) + + for i in range(10): + self.runner.stats.log_request("GET", "/", 100, content_length=666) + + greenlet = gevent.spawn(stats_writer) + gevent.sleep(10) + + for i in range(10): + self.runner.stats.log_request("GET", "/", 10, content_length=666) + + gevent.sleep(5) + + gevent.sleep(_TEST_CSV_STATS_INTERVAL_WAIT_SEC) + gevent.kill(greenlet) + stats_writer.close_files() + + self.assertTrue(os.path.exists(self.STATS_FILENAME)) + self.assertTrue(os.path.exists(self.STATS_HISTORY_FILENAME)) + self.assertTrue(os.path.exists(self.STATS_FAILURES_FILENAME)) + self.assertTrue(os.path.exists(self.STATS_EXCEPTIONS_FILENAME)) + + with open(self.STATS_HISTORY_FILENAME) as f: + reader = csv.DictReader(f) + rows = [r for r in reader] + +> self.assertGreaterEqual(len(rows), 130) +E AssertionError: 114 not greater than or equal to 130 + +locust/test/test_stats.py:459: AssertionError +------------------------------ Captured log call ------------------------------- +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines _______________________ TestCsvStats.test_stats_history ________________________ self = @@ -20511,7 +20941,7 @@ self.connect_to_master() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect_to_master(self): self.retry += 1 @@ -20536,126 +20966,243 @@ locust/runners.py:1444: ConnectionError ------------------------------ Captured log call ------------------------------- -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 3/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 4/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 5/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 6/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 7/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 8/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 9/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 10/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 11/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 12/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 13/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 14/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 15/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 16/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 17/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 18/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 19/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 20/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 21/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 22/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 23/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 24/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 25/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 26/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 27/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. +WARNING root:runners.py:305 CPU usage above 90%! This may constrain your throughput and may even give inconsistent response time measurements! See https://docs.locust.io/en/stable/running-distributed.html for how to distribute the load over multiple CPU cores or machines WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 28/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 29/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 30/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 31/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 32/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 33/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 34/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 35/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 36/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 37/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 38/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 39/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 40/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 41/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 42/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 43/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 44/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 45/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 46/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 47/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 48/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 49/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 50/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 51/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 52/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 53/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 54/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 55/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 56/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 57/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 58/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 59/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 60/60. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (virt64c_f178a1d046a6462c868525aa4e5dce0d). That's not going to work. +ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (i-capture-the-hostname_11a49dab71194769bc612f3bac1717a9). That's not going to work. WARNING locust.runners:runners.py:1440 Failed to connect to master 127.0.0.1:5558, retry 61/60. +______________ TestCsvStats.test_user_count_in_csv_history_stats _______________ + +self = + + @mock.patch("locust.stats.CSV_STATS_INTERVAL_SEC", new=_TEST_CSV_STATS_INTERVAL_SEC) + def test_user_count_in_csv_history_stats(self): + start_time = int(time.time()) + + class TestUser(User): + wait_time = constant(10) + + @task + def t(self): + self.environment.runner.stats.log_request("GET", "/", 10, 10) + + environment = Environment(user_classes=[TestUser]) + stats_writer = StatsCSVFileWriter(environment, PERCENTILES_TO_REPORT, self.STATS_BASE_NAME, full_history=True) + runner = environment.create_local_runner() + # spawn a user every _TEST_CSV_STATS_INTERVAL_SEC second + user_count = 15 + spawn_rate = 5 + assert 1 / 5 == _TEST_CSV_STATS_INTERVAL_SEC + runner_greenlet = gevent.spawn(runner.start, user_count, spawn_rate) + gevent.sleep(0.1) + + greenlet = gevent.spawn(stats_writer) + gevent.sleep(user_count / spawn_rate) + gevent.kill(greenlet) + stats_writer.close_files() + runner.stop() + gevent.kill(runner_greenlet) + + with open(self.STATS_HISTORY_FILENAME) as f: + reader = csv.DictReader(f) + rows = [r for r in reader] + +> self.assertEqual(2 * user_count, len(rows)) +E AssertionError: 30 != 26 + +locust/test/test_stats.py:545: AssertionError +------------------------------ Captured log call ------------------------------- +INFO locust.runners:runners.py:499 Ramping to 15 users at a rate of 5.00 per second +INFO locust.runners:runners.py:537 All users spawned: {"TestUser": 15} (15 total users) +____________________ TestWaitTime.test_constant_throughput _____________________ + +self = + + def test_constant_throughput(self): + class MyUser(User): + wait_time = constant_throughput(10) + + class TS(TaskSet): + pass + + ts = TS(MyUser(self.environment)) + + ts2 = TS(MyUser(self.environment)) + + previous_time = time.perf_counter() + for i in range(7): + ts.wait() + since_last_run = time.perf_counter() - previous_time +> self.assertLess(abs(0.1 - since_last_run), 0.02) +E AssertionError: 0.07166275810450315 not less than 0.02 + +locust/test/test_wait_time.py:75: AssertionError =============================== warnings summary =============================== locust/test/test_fasthttp.py::TestFastHttpSsl::test_ssl_request_insecure locust/test/test_web.py::TestWebUIWithTLS::test_index_with_https @@ -20663,8 +21210,8 @@ self._context = SSLContext(ssl_version) locust/test/test_log.py: 4 warnings -locust/test/test_main.py: 25 warnings - /usr/lib/python3/dist-packages/gevent/os.py:431: DeprecationWarning: This process (pid=3620) is multi-threaded, use of fork() may lead to deadlocks in the child. +locust/test/test_main.py: 28 warnings + /usr/lib/python3/dist-packages/gevent/os.py:431: DeprecationWarning: This process (pid=25226) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = fork() locust/test/test_web.py::TestWebUI::test_html_stats_report @@ -20688,12 +21235,9 @@ -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ -FAILED locust/test/test_dispatch.py::TestLargeScale::test_distribute_users - ... -FAILED locust/test/test_dispatch.py::TestLargeScale::test_ramp_up_from_0_to_100_000_users_with_50_user_classes_and_1000_workers_and_5000_spawn_rate FAILED locust/test/test_fasthttp.py::TestFastHttpUserClass::test_client_pool_concurrency FAILED locust/test/test_fasthttp.py::TestFastHttpUserClass::test_max_redirect_setting FAILED locust/test/test_fasthttp.py::TestFastHttpUserClass::test_network_timeout_setting -FAILED locust/test/test_http.py::TestHttpSession::test_event_measure - Assert... FAILED locust/test/test_load_locustfile.py::TestLoadLocustfile::test_locustfile_from_url FAILED locust/test/test_log.py::TestLoggingOptions::test_log_to_file - OSErro... FAILED locust/test/test_log.py::TestLoggingOptions::test_logging_output - OSE... @@ -20754,6 +21298,8 @@ FAILED locust/test/test_main.py::DistributedIntegrationTests::test_processes_workers_quit_unexpected FAILED locust/test/test_main.py::DistributedIntegrationTests::test_worker_indexes FAILED locust/test/test_main.py::DistributedIntegrationTests::test_workers_shut_down_if_master_is_gone +FAILED locust/test/test_runners.py::TestLocustRunner::test_cpu_warning - Asse... +FAILED locust/test/test_runners.py::TestLocustRunner::test_stop_users_with_spawn_rate FAILED locust/test/test_runners.py::TestMasterRunner::test_attributes_populated_when_calling_start FAILED locust/test/test_runners.py::TestMasterRunner::test_custom_shape_scale_down FAILED locust/test/test_runners.py::TestMasterRunner::test_custom_shape_scale_interval @@ -20777,9 +21323,17 @@ FAILED locust/test/test_runners.py::TestMasterRunner::test_worker_missing_after_heartbeat_dead_interval FAILED locust/test/test_runners.py::TestMasterRunner::test_worker_sends_bad_message_to_master FAILED locust/test/test_runners.py::TestMasterRunner::test_worker_sends_unrecognized_message_to_master +FAILED locust/test/test_runners.py::TestStopTimeout::test_kill_locusts_with_stop_timeout +FAILED locust/test/test_runners.py::TestStopTimeout::test_stop_timeout - Asse... +FAILED locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_during_on_start +FAILED locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_exit_during_wait FAILED locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_with_interrupt_no_reschedule +FAILED locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_with_ramp_down +FAILED locust/test/test_stats.py::TestCsvStats::test_csv_stats_writer_full_history FAILED locust/test/test_stats.py::TestCsvStats::test_stats_history - Connecti... -= 91 failed, 457 passed, 1 skipped, 15 deselected, 44 warnings in 644.67s (0:10:44) = +FAILED locust/test/test_stats.py::TestCsvStats::test_user_count_in_csv_history_stats +FAILED locust/test/test_wait_time.py::TestWaitTime::test_constant_throughput += 98 failed, 450 passed, 1 skipped, 15 deselected, 47 warnings in 687.72s (0:11:27) = E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: PYTHONPATH=/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.12_locust/build python3.12 -m pytest -v --ignore=examples/test_data_management.py -k 'not TestMasterWorkerRunners' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13 make[1]: [debian/rules:15: override_dh_auto_test] Error 25 (ignored) @@ -20820,12 +21374,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16060/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/29399 and its subdirectories -I: Current time: Sun Dec 22 10:59:54 -12 2024 -I: pbuilder-time-stamp: 1734908394 +I: removing directory /srv/workspace/pbuilder/16060 and its subdirectories +I: Current time: Mon Dec 23 13:15:30 +14 2024 +I: pbuilder-time-stamp: 1734909330