Diff of the two buildlogs: -- --- b1/build.log 2025-01-29 00:54:36.262805066 +0000 +++ b2/build.log 2025-01-29 01:20:01.465894308 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Mar 2 18:59:03 -12 2026 -I: pbuilder-time-stamp: 1772521143 +I: Current time: Wed Jan 29 14:54:39 +14 2025 +I: pbuilder-time-stamp: 1738112079 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,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/2418788/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2045249/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Jan 29 00:54 /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/2045249/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2045249/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='552a7938bff94a1a9f5ae655f74c206a' - 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='2418788' - PS1='# ' - PS2='> ' + INVOCATION_ID=4dc2b712db234b43a223d2885124c651 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=2045249 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.clFiOerN/pbuilderrc_kWfb --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.clFiOerN/b1 --logfile b1/build.log locust_2.24.0-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.clFiOerN/pbuilderrc_adlr --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.clFiOerN/b2 --logfile b2/build.log locust_2.24.0-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2418788/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2045249/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -271,7 +303,7 @@ Get: 132 http://deb.debian.org/debian trixie/main arm64 python3-retry all 0.9.2-3 [7088 B] Get: 133 http://deb.debian.org/debian trixie/main arm64 python3-roundrobin all 0.0.4-3 [4364 B] Get: 134 http://deb.debian.org/debian trixie/main arm64 python3-zmq arm64 26.2.0-1 [193 kB] -Fetched 48.4 MB in 0s (145 MB/s) +Fetched 48.4 MB in 0s (101 MB/s) Preconfiguring packages ... 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 ... 19969 files and directories currently installed.) @@ -714,8 +746,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Mar 3 06:59:28 UTC 2026. -Universal Time is now: Tue Mar 3 06:59:28 UTC 2026. +Local time is now: Wed Jan 29 00:55:28 UTC 2025. +Universal Time is now: Wed Jan 29 00:55:28 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpgm-5.3-0t64:arm64 (5.3.128~dfsg-2.1+b1) ... @@ -848,7 +880,11 @@ fakeroot is already the newest version (1.37-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/2045249/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2045249/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 @@ -1122,7 +1158,7 @@ Copying locust.egg-info to build/bdist.linux-aarch64/wheel/./locust-0.0.0.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/locust-0.0.0.dist-info/WHEEL -creating '/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.12_locust/.tmp-yuyz_t0b/locust-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it +creating '/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.12_locust/.tmp-bf2dboi7/locust-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'locust/__init__.py' adding 'locust/__main__.py' adding 'locust/_version.py' @@ -1365,7 +1401,7 @@ Copying locust.egg-info to build/bdist.linux-aarch64/wheel/./locust-0.0.0.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/locust-0.0.0.dist-info/WHEEL -creating '/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.13_locust/.tmp-p7fwx2ud/locust-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it +creating '/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.13_locust/.tmp-k0r8a6ju/locust-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'locust/__init__.py' adding 'locust/__main__.py' adding 'locust/_version.py' @@ -1476,7 +1512,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.4, pluggy-1.5.0 -- /usr/bin/python3.12 @@ -1631,7 +1667,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 PASSED [ 26%] +locust/test/test_http.py::TestHttpSession::test_event_measure FAILED [ 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%] @@ -1801,7 +1837,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%] @@ -1877,13 +1913,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_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 PASSED [ 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 PASSED [ 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_interrupt_no_reschedule FAILED [ 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%] @@ -1919,10 +1955,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%] @@ -2126,9 +2162,28 @@ 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 : 3.9546641055494547 + +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. @@ -2344,7 +2399,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) @@ -2578,7 +2633,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. @@ -2594,13 +2649,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:205: 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'}) @@ -2682,9 +2737,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, @@ -2778,7 +2833,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 @@ -2802,7 +2857,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'}) @@ -2895,7 +2950,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 @@ -2931,7 +2986,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 = @@ -2982,8 +3037,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpk6vrlmrx_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmpdiou0itb_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 @@ -3310,8 +3365,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpsn0gomf5_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmp3cx2jr_f_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 @@ -3634,8 +3689,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpuvmj5zrr_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmpfkj8bxg8_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 @@ -3953,8 +4008,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp9c8zmzjv_locustfile.py', '-t', '1', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmpbeb3nkk5_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 @@ -4292,8 +4347,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_1772521263_5713243_14676.py,/tmp/tmpdv1t4ohd_locustfile.py', '--legacy-ui', '--web-port', '59991', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112344_7215478_56801.py,/tmp/tmppkbvw2lf_locustfile.py', '--legacy-ui', '--web-port', '35903', ...] 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 @@ -4615,8 +4670,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_1772521263_6576803_16053.py', '--legacy-ui', '--web-port', '51873', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112344_9812317_69611.py', '--legacy-ui', '--web-port', '37453', ...] 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 @@ -4926,8 +4981,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_1772521263_748311_24084.py', '--web-port', '38269', '-t', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112345_261839_21720.py', '--web-port', '52099', '-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 @@ -5233,8 +5288,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_1772521263_846011_43416.py', '--web-port', '44905', '--autostart'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112345_4812183_65742.py', '--web-port', '56023', '--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 @@ -5567,7 +5622,7 @@ 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 _______________ StandaloneIntegrationTests.test_custom_arguments _______________ @@ -5607,8 +5662,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpb6gwt_hv_locustfile.py', '--custom-string-arg', 'command_line_value', '--web-port', ...] +self = +args = ['locust', '-f', '/tmp/tmpe_17ji6o_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 @@ -5924,8 +5979,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpxzh_sboe_locustfile.py', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmp1aleeher_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 @@ -6235,8 +6290,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpfebhv1kd_locustfile.py'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmp6dwg0prd_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 @@ -6548,8 +6603,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_1772521264_2763207_79133.py', '--host', 'https://test.com/', '--run-time', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112346_6969619_87851.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 @@ -6867,8 +6922,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_1772521264_3650112_73062.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112346_9693391_79325.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 @@ -7185,8 +7240,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpu3g1fd0a_locustfile.py,/tmp/tmpx2144dod_locustfile.py'] +self = +args = ['locust', '-f', '/tmp/tmpo3e7bztp_locustfile.py,/tmp/tmpzl436l50_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 @@ -7489,8 +7544,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpnkalmbz4_locustfile.py,/tmp/tmpzlkdwpq7_locustfile.py'] +self = +args = ['locust', '-f', '/tmp/tmpldjlme09_locustfile.py,/tmp/tmp4grjltxm_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 @@ -7782,8 +7837,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpmw0bl6_x'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmpieatxyjt'], 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 @@ -8098,8 +8153,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_1772521264_746364_32124.py', '--headless', '-t', '1', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112347_9888964_58805.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 @@ -8413,8 +8468,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_1772521264_8449845_90068.py', '--run-time=1s', '--headless', '--exit-code-on-error', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112348_260987_92127.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 @@ -8740,8 +8795,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpsgrhbz9i_locustfile.py', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmpyiw_69p5_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 @@ -9048,8 +9103,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_1772521265_0532804_69413.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112348_968047_34788.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 @@ -9347,7 +9402,7 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +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 @@ -9662,8 +9717,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_1772521265_2486649_77558.py', '--legacy-ui', '--host', 'https://test.com/', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112349_6289074_58976.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 @@ -10003,7 +10058,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 _________ @@ -10033,8 +10088,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpuvgn_j3k_locustfile.py', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmps7p99ctq_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 @@ -10339,8 +10394,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_1772521271_5613866_34128.py', '--host', 'https://test.com/', '--stop-timeout', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112356_832088_13217.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 @@ -10641,8 +10696,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp_zzexc82_locustfile.py,/tmp/tmptqoxi17i_locustfile.py', '-t', '1', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmp6f3o0_eh_locustfile.py,/tmp/tmpn0fppgwn_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 @@ -10922,7 +10977,7 @@ /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError ----------------------------- Captured stdout call ----------------------------- -from tmp_zzexc82_locustfile import TestUser1 +from tmp6f3o0_eh_locustfile import TestUser1 _____________ StandaloneIntegrationTests.test_percentile_parameter _____________ @@ -10955,8 +11010,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp8bisex7r_locustfile.py', '--web-port', '39627', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmpi3031f7s_locustfile.py', '--web-port', '33165', '--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 @@ -11267,8 +11322,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpv5n4bxp3_locustfile.py', '--web-port', '40593', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmpg3h5_6gp_locustfile.py', '--web-port', '48231', '--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 @@ -11589,8 +11644,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpfj3x54ff', '--autostart', '-u', '2', ...] +self = +args = ['locust', '-f', '/tmp/tmp31ut2iqm', '--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 @@ -11911,8 +11966,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp047g5zfc', '--headless', '-u', '2', ...] +self = +args = ['locust', '-f', '/tmp/tmp8rpnasdi', '--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 @@ -12248,8 +12303,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_1772521272_2454467_81075.py,/tmp/tmp19wg3sl7_locustfile.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112359_4608834_42117.py,/tmp/tmptvwy3834_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 @@ -12547,8 +12602,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp580t5jtn_locustfile.py,/tmp/tmpw49as07h_locustfile.py', '--class-picker'] +self = +args = ['locust', '-f', '/tmp/tmpdpufy4e1_locustfile.py,/tmp/tmpm703ya0t_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 @@ -12863,8 +12918,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_1772521272_4327633_32367.py', '--exit-code-on-error=0', '--users=1', ...] +self = +args = ['locust', '--headless', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112360_3468132_49918.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 @@ -13182,8 +13237,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_1772521272_565786_81430.py', '--run-time=1s', '--users=1', '--spawn-rate=1', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112360_7121272_50588.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 @@ -13493,7 +13548,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 ______________ @@ -13552,7 +13607,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 __________________ @@ -13578,8 +13633,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_1772521272_8084033_47775.py', '--web-host', '127.0.0.2', '--web-port', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112361_649048_85820.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 @@ -13883,8 +13938,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpgxjhncqk_locustfile.py'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmpvga_ry9e_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 @@ -14179,8 +14234,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_1772521273_0694182_88841.py,/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1772521273_0697432_61694.py'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112362_2691383_6492.py,/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112362_2692719_46961.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 @@ -14475,8 +14530,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpaho26pwg'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmp464egc8b'], 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 @@ -14800,8 +14855,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_1772521273_28008_9400.py,/tmp/tmpsr7h1jec_locustfile.py'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112363_1129162_43124.py,/tmp/tmptr5yscbh_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 @@ -15122,8 +15177,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_1772521273_3791924_12697.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112363_4199023_86682.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 @@ -15454,8 +15509,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_1772521273_4727356_35407.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112363_8038547_98430.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 @@ -15778,8 +15833,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_1772521273_5790777_79774.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112364_1692173_77228.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 @@ -16109,8 +16164,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_1772521273_6735344_40762.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112364_6572669_47028.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 @@ -16425,8 +16480,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_1772521273_766228_14402', '--headless', '--master'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112365_1168835_16523', '--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 @@ -16733,8 +16788,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_1772521273_868428_60856.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112365_6165893_86618.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 @@ -17056,8 +17111,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_1772521273_972153_87232.py', '--host', 'http://google.com', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112365_96402_15581.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 @@ -17376,8 +17431,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_1772521274_0601475_72693.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112366_4598505_58567.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 @@ -17691,7 +17746,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 @@ -17991,7 +18046,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 _____________ @@ -18016,7 +18071,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 _______________ @@ -18050,8 +18105,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_1772521274_3919168_91862.py', '--processes', '4', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112367_8544257_50574.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 @@ -18358,8 +18413,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_1772521274_5209613_15868.py', '--processes', '4', '-L', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112368_3322773_203.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 @@ -18684,7 +18739,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 ______ @@ -18723,8 +18778,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_1772521274_7122018_38836.py', '--processes', '2', '--worker'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112368_8597665_50486.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 @@ -19045,8 +19100,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_1772521274_805898_85956.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112369_1637788_40825.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 @@ -19363,8 +19418,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_1772521274_9013746_33630.py', '--master', '--headless', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738112369_5015345_43190.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 @@ -19642,6 +19697,39 @@ 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 ________ TestMasterRunner.test_attributes_populated_when_calling_start _________ self = @@ -19718,7 +19806,6 @@ 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 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. @@ -19832,6 +19919,8 @@ INFO locust.runners:runners.py:337 Shape worker starting INFO locust.runners:runners.py:356 Shape test updating to 1 users at 1.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:356 Shape test updating to 1 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 _____________ TestMasterRunner.test_last_worker_missing_stops_test _____________ self = @@ -19926,6 +20015,10 @@ WARNING locust.runners:runners.py:743 You can't start a distributed test before at least one worker processes has connected WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client1. Asking worker to quit. WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client2. Asking worker to quit. +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: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 ___________ TestMasterRunner.test_master_discard_first_client_ready ____________ self = @@ -19959,7 +20052,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] @@ -19968,10 +20061,6 @@ locust/runners.py:636: KeyError ------------------------------ Captured log call ------------------------------- ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client). That's not going to work. -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: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 INFO locust.runners:runners.py:933 Worker 0 failed to send heartbeat, setting state to missing. INFO locust.runners:runners.py:933 Worker 1 failed to send heartbeat, setting state to missing. @@ -19979,11 +20068,11 @@ INFO locust.runners:runners.py:933 Worker 3 failed to send heartbeat, setting state to missing. INFO locust.runners:runners.py:933 Worker 4 failed to send heartbeat, setting state to missing. INFO locust.runners:runners.py:941 The last worker went missing, stopping test. -INFO locust.runners:runners.py:342 Shape test stopping INFO locust.runners:runners.py:356 Shape test updating to 3 users at 3.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:356 Shape test updating to 4 users at 4.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_reset_connection _________________ self = @@ -20004,7 +20093,6 @@ locust/test/test_runners.py:2998: AssertionError ------------------------------ Captured log call ------------------------------- -INFO locust.runners:runners.py:342 Shape test stopping ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client). That's not going to work. INFO locust.runners:runners.py:959 Resetting RPC server and all worker connections. ________ TestMasterRunner.test_rebalance_locust_users_on_worker_connect ________ @@ -20433,6 +20521,292 @@ 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' != 'second' +E - first +E + second + +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_with_interrupt_no_reschedule ________ + +self = + + def test_stop_timeout_with_interrupt_no_reschedule(self): + state = [0] + + class MySubTaskSet(TaskSet): + @task + def a_task(self): + gevent.sleep(0.1) + state[0] = 1 + self.interrupt(reschedule=False) + + class MyTestUser(User): + tasks = [MySubTaskSet] + wait_time = constant(3) + + options = mocked_options() + options.stop_timeout = 0.3 + environment = create_environment([MyTestUser], options) + runner = environment.create_local_runner() + runner.start(1, 1, wait=True) + gevent.sleep(0) + timeout = gevent.Timeout(0.11) + timeout.start() + try: +> runner.quit() + +locust/test/test_runners.py:4077: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +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:286: in stop_users + if not stop_group.join(timeout=self.environment.stop_timeout): +/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.11 seconds + +src/gevent/_gevent_c_greenlet_primitives.pxd:35: Timeout + +During handling of the above exception, another exception occurred: + +self = + + def test_stop_timeout_with_interrupt_no_reschedule(self): + state = [0] + + class MySubTaskSet(TaskSet): + @task + def a_task(self): + gevent.sleep(0.1) + state[0] = 1 + self.interrupt(reschedule=False) + + class MyTestUser(User): + tasks = [MySubTaskSet] + wait_time = constant(3) + + options = mocked_options() + options.stop_timeout = 0.3 + environment = create_environment([MyTestUser], options) + runner = environment.create_local_runner() + runner.start(1, 1, wait=True) + gevent.sleep(0) + timeout = gevent.Timeout(0.11) + timeout.start() + try: + runner.quit() + runner.greenlet.join() + except gevent.Timeout: +> self.fail("Got Timeout exception. Interrupted locusts should exit immediately during stop_timeout.") +E AssertionError: Got Timeout exception. Interrupted locusts should exit immediately during stop_timeout. + +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.159224 + +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: 128 not greater than or equal to 130 + +locust/test/test_stats.py:459: AssertionError _______________________ TestCsvStats.test_stats_history ________________________ self = @@ -20573,7 +20947,7 @@ self.connect_to_master() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect_to_master(self): self.retry += 1 @@ -20598,126 +20972,179 @@ locust/runners.py:1444: ConnectionError ------------------------------ Captured log call ------------------------------- -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). That's not going to work. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). That's not going to work. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). That's not going to work. 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). That's not going to work. 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). That's not going to work. 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). That's not going to work. 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 (codethink03-arm64_d80fb2d3173d41288000e12828a9640e). 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_28dbff36e8c14168ba5e5b7fd0902af7). 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 != 28 + +locust/test/test_stats.py:545: AssertionError +----------------------------- Captured stderr call ----------------------------- +Traceback (most recent call last): + File "src/gevent/greenlet.py", line 900, in gevent._gevent_cgreenlet.Greenlet.run + File "/build/reproducible-path/locust-2.24.0/locust/stats.py", line 1090, in __call__ + self.stats_writer() + File "/build/reproducible-path/locust-2.24.0/locust/stats.py", line 1112, in stats_writer + self.requests_csv_filehandle.seek(requests_csv_data_start) +ValueError: I/O operation on closed file. +2025-01-29T01:06:54Z failed with ValueError + +------------------------------ 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) =============================== warnings summary =============================== locust/test/test_fasthttp.py::TestFastHttpSsl::test_ssl_request_insecure locust/test/test_web.py::TestWebUIWithTLS::test_index_with_https @@ -20725,8 +21152,8 @@ self._context = SSLContext(ssl_version) locust/test/test_log.py: 4 warnings -locust/test/test_main.py: 38 warnings - /usr/lib/python3/dist-packages/gevent/os.py:431: DeprecationWarning: This process (pid=2447772) is multi-threaded, use of fork() may lead to deadlocks in the child. +locust/test/test_main.py: 30 warnings + /usr/lib/python3/dist-packages/gevent/os.py:431: DeprecationWarning: This process (pid=2061585) 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 @@ -20752,6 +21179,7 @@ =========================== short test summary info ============================ 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... @@ -20812,6 +21240,7 @@ 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::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 @@ -20835,8 +21264,15 @@ 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_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... -= 86 failed, 462 passed, 1 skipped, 15 deselected, 57 warnings in 512.69s (0:08:32) = +FAILED locust/test/test_stats.py::TestCsvStats::test_user_count_in_csv_history_stats += 95 failed, 453 passed, 1 skipped, 15 deselected, 49 warnings in 661.28s (0:11:01) = 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' I: pybuild base:311: PYTHONPATH=/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.13_locust/build python3.13 -m pytest -v --ignore=examples/test_data_management.py -k 'not TestMasterWorkerRunners' ============================= test session starts ============================== @@ -20871,7 +21307,7 @@ 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 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 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::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%] @@ -21170,7 +21606,7 @@ locust/test/test_runners.py::TestLocustRunner::test_kill_locusts PASSED [ 58%] locust/test/test_runners.py::TestLocustRunner::test_no_reset_stats PASSED [ 58%] locust/test/test_runners.py::TestLocustRunner::test_reset_stats PASSED [ 58%] -locust/test/test_runners.py::TestLocustRunner::test_runner_quit_can_run_on_stop_for_multiple_users_concurrently PASSED [ 59%] +locust/test/test_runners.py::TestLocustRunner::test_runner_quit_can_run_on_stop_for_multiple_users_concurrently FAILED [ 59%] locust/test/test_runners.py::TestLocustRunner::test_runner_reference_on_environment PASSED [ 59%] locust/test/test_runners.py::TestLocustRunner::test_start_event PASSED [ 59%] locust/test/test_runners.py::TestLocustRunner::test_stop_event PASSED [ 59%] @@ -21240,11 +21676,11 @@ 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 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 PASSED [ 71%] -locust/test/test_runners.py::TestStopTimeout::test_stop_timeout_exit_during_wait PASSED [ 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%] @@ -21280,10 +21716,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%] @@ -21334,7 +21770,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%] @@ -21398,6 +21834,40 @@ locust/test/test_zmqrpc.py::ZMQRPC_tests::test_rpc_error PASSED [100%] =================================== FAILURES =================================== +_ 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 = 225.88873701170087ms) + +locust/test/test_dispatch.py:2096: AssertionError _______________ TestFastHttpUserClass.test_max_redirect_setting ________________ self = @@ -21503,12 +21973,12 @@ time.sleep(0.001) > self.assertTrue(1 <= kwargs["response_time"] <= 1.5, kwargs["response_time"]) -E AssertionError: False is not true : 3.9653199492022395 +E AssertionError: False is not true : 3.9463830180466175 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. @@ -21724,7 +22194,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) @@ -21958,7 +22428,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. @@ -21974,13 +22444,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:205: 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'}) @@ -22062,9 +22532,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, @@ -22158,7 +22628,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 @@ -22182,7 +22652,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'}) @@ -22275,7 +22745,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 @@ -22311,7 +22781,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 = @@ -22362,8 +22832,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp9amjq9p0_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmpl9wiya_8_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 @@ -22690,8 +23160,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpkfdpvpeb_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmpcr5samvo_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 @@ -23014,8 +23484,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpbnl2iha3_locustfile.py', '-u', '1', '-r', ...] +self = +args = ['locust', '-f', '/tmp/tmptx_mqur1_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 @@ -23333,8 +23803,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpvspo3v74_locustfile.py', '-t', '1', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmpc_z_fx_5_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 @@ -23672,8 +24142,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_1772521782_9416707_98815.py,/tmp/tmphiup4b01_locustfile.py', '--legacy-ui', '--web-port', '56553', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113008_5273921_84504.py,/tmp/tmpvkha23fq_locustfile.py', '--legacy-ui', '--web-port', '44277', ...] 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 @@ -23995,8 +24465,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_1772521783_0567071_87684.py', '--legacy-ui', '--web-port', '33125', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113008_776296_80572.py', '--legacy-ui', '--web-port', '35563', ...] 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 @@ -24306,8 +24776,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_1772521783_1383812_7432.py', '--web-port', '43943', '-t', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113009_0208175_60566.py', '--web-port', '55621', '-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 @@ -24613,8 +25083,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_1772521783_2207384_92720.py', '--web-port', '37319', '--autostart'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113009_2682486_41198.py', '--web-port', '37947', '--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 @@ -24947,7 +25417,7 @@ 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 _______________ StandaloneIntegrationTests.test_custom_arguments _______________ @@ -24987,8 +25457,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpeuddcbtf_locustfile.py', '--custom-string-arg', 'command_line_value', '--web-port', ...] +self = +args = ['locust', '-f', '/tmp/tmp5lp3hh3p_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 @@ -25304,8 +25774,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp2djv0____locustfile.py', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmptu_7btff_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 @@ -25615,8 +26085,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpwvavlkdb_locustfile.py'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmptwqbph5g_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 @@ -25928,8 +26398,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_1772521783_6842225_37061.py', '--host', 'https://test.com/', '--run-time', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113010_677648_44592.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 @@ -26247,8 +26717,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_1772521783_7676375_40965.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113010_9721313_86713.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 @@ -26565,8 +27035,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp0j65diva_locustfile.py,/tmp/tmph9g41uun_locustfile.py'] +self = +args = ['locust', '-f', '/tmp/tmp1jtb7aw8_locustfile.py,/tmp/tmpbpnucbqg_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 @@ -26869,8 +27339,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpp3_xv_2x_locustfile.py,/tmp/tmpht3g6u62_locustfile.py'] +self = +args = ['locust', '-f', '/tmp/tmp9b02f5i5_locustfile.py,/tmp/tmpicl17ccv_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 @@ -27162,8 +27632,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpymz0bjmq'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmp3jn1ucnk'], 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 @@ -27478,8 +27948,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_1772521784_2164047_44427.py', '--headless', '-t', '1', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113012_7213888_98833.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 @@ -27793,8 +28263,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_1772521784_3000255_44469.py', '--run-time=1s', '--headless', '--exit-code-on-error', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113013_0701597_25458.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 @@ -28120,8 +28590,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp7c31gpvk_locustfile.py', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmpi1v05468_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 @@ -28428,8 +28898,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_1772521784_519007_96387.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113013_7807267_73192.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 @@ -28727,7 +29197,7 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +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 @@ -29042,8 +29512,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_1772521784_8321128_46321.py', '--legacy-ui', '--host', 'https://test.com/', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113014_6041207_52237.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 @@ -29383,7 +29853,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 _________ @@ -29413,8 +29883,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmphrexy9i__locustfile.py', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmpax6qbit2_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 @@ -29719,8 +30189,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_1772521791_3152692_12639.py', '--host', 'https://test.com/', '--stop-timeout', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113021_5401268_65837.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 @@ -30021,8 +30491,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpq6hix8es_locustfile.py,/tmp/tmpvnys0wgh_locustfile.py', '-t', '1', '--headless'] +self = +args = ['locust', '-f', '/tmp/tmp1gyvv3oc_locustfile.py,/tmp/tmpm0sq4smp_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 @@ -30302,7 +30772,7 @@ /usr/lib/python3/dist-packages/gevent/subprocess.py:1849: OSError ----------------------------- Captured stdout call ----------------------------- -from tmpq6hix8es_locustfile import TestUser1 +from tmp1gyvv3oc_locustfile import TestUser1 _____________ StandaloneIntegrationTests.test_percentile_parameter _____________ @@ -30335,8 +30805,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp_05agonn_locustfile.py', '--web-port', '48615', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmp23p1dpbw_locustfile.py', '--web-port', '43229', '--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 @@ -30647,8 +31117,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpt0uty5ln_locustfile.py', '--web-port', '58669', '--autostart'] +self = +args = ['locust', '-f', '/tmp/tmpphnb8re7_locustfile.py', '--web-port', '41241', '--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 @@ -30969,8 +31439,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpz4iutuwz', '--autostart', '-u', '2', ...] +self = +args = ['locust', '-f', '/tmp/tmp90ev_0g_', '--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 @@ -31291,8 +31761,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmpaesni3ws', '--headless', '-u', '2', ...] +self = +args = ['locust', '-f', '/tmp/tmpo4gh_uxv', '--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 @@ -31628,8 +32098,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_1772521792_3681185_14640.py,/tmp/tmp97kcr508_locustfile.py', '--host', 'https://test.com/', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113023_8761508_60503.py,/tmp/tmp5zwo3y40_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 @@ -31927,8 +32397,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp7dvg0nma_locustfile.py,/tmp/tmppdplum1u_locustfile.py', '--class-picker'] +self = +args = ['locust', '-f', '/tmp/tmpykxvdv3a_locustfile.py,/tmp/tmp2xt6f_1j_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 @@ -32243,8 +32713,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_1772521792_6338625_98617.py', '--exit-code-on-error=0', '--users=1', ...] +self = +args = ['locust', '--headless', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113024_644171_13724.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 @@ -32562,8 +33032,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_1772521792_8026035_33308.py', '--run-time=1s', '--users=1', '--spawn-rate=1', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113025_1081684_12926.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 @@ -32873,7 +33343,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 ______________ @@ -32932,7 +33402,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 __________________ @@ -32958,8 +33428,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_1772521793_156358_58780.py', '--web-host', '127.0.0.2', '--web-port', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113026_0770795_45715.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 @@ -33263,8 +33733,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp6ki1q_77_locustfile.py'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmphbr9l7w6_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 @@ -33559,8 +34029,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_1772521793_5134113_20305.py,/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1772521793_5135598_99122.py'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113026_812354_51145.py,/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113026_8124962_85139.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 @@ -33855,8 +34325,8 @@ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -args = ['locust', '-f', '/tmp/tmp7mwgqgwg'], executable = 'locust' +self = +args = ['locust', '-f', '/tmp/tmp7nd1321k'], 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 @@ -34180,8 +34650,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_1772521793_7004452_23696.py,/tmp/tmp185__3_6_locustfile.py'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113027_6009548_96844.py,/tmp/tmpm7vcs7xl_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 @@ -34502,8 +34972,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_1772521793_7923484_18462.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113028_0280151_41812.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 @@ -34834,8 +35304,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_1772521793_9729378_59751.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113028_4597993_83737.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 @@ -35158,8 +35628,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_1772521794_0868273_82541.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113028_8616965_38294.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 @@ -35489,8 +35959,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_1772521794_1885555_59977.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113029_2437851_61196.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 @@ -35805,8 +36275,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_1772521794_358973_79474', '--headless', '--master'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113029_6918187_11892', '--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 @@ -36113,8 +36583,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_1772521794_4776351_49106.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113030_1477728_10409.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 @@ -36436,8 +36906,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_1772521794_5802398_9082.py', '--host', 'http://google.com', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113030_5718768_6190.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 @@ -36756,8 +37226,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_1772521794_673047_13077.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113030_9798346_89629.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 @@ -37071,7 +37541,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 @@ -37371,7 +37841,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 _____________ @@ -37396,7 +37866,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 _______________ @@ -37430,8 +37900,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_1772521795_1639771_50070.py', '--processes', '4', '--headless', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113032_2357917_60115.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 @@ -37738,8 +38208,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_1772521795_2876704_64196.py', '--processes', '4', '-L', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113032_8237786_91072.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 @@ -38064,7 +38534,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 ______ @@ -38103,8 +38573,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_1772521795_51935_54587.py', '--processes', '2', '--worker'] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113033_5409214_60238.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 @@ -38425,8 +38895,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_1772521795_7092419_71327.py', '--headless', '--master', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113033_943802_8771.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 @@ -38743,8 +39213,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_1772521795_8869832_15872.py', '--master', '--headless', '--expect-workers', ...] +self = +args = ['locust', '-f', '/build/reproducible-path/locust-2.24.0/locust/test/mock_locustfile_1738113034_3465996_75561.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 @@ -39055,6 +39525,95 @@ E AssertionError: False is not true locust/test/test_runners.py:172: AssertionError +_ TestLocustRunner.test_runner_quit_can_run_on_stop_for_multiple_users_concurrently _ + +self = + + def test_runner_quit_can_run_on_stop_for_multiple_users_concurrently(self): + class BaseUser(User): + stop_count = 0 + + @task + def trigger(self): + pass + + def on_stop(self): + gevent.sleep(0.1) + BaseUser.stop_count += 1 + + runner = Environment(user_classes=[BaseUser]).create_local_runner() + users = runner.spawn_users({BaseUser.__name__: 10}, wait=False) + self.assertEqual(10, len(users)) + timeout = gevent.Timeout(0.3) + timeout.start() + try: +> runner.quit() + +locust/test/test_runners.py:451: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +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.3 seconds + +src/gevent/_gevent_c_greenlet_primitives.pxd:35: Timeout + +During handling of the above exception, another exception occurred: + +self = + + def test_runner_quit_can_run_on_stop_for_multiple_users_concurrently(self): + class BaseUser(User): + stop_count = 0 + + @task + def trigger(self): + pass + + def on_stop(self): + gevent.sleep(0.1) + BaseUser.stop_count += 1 + + runner = Environment(user_classes=[BaseUser]).create_local_runner() + users = runner.spawn_users({BaseUser.__name__: 10}, wait=False) + self.assertEqual(10, len(users)) + timeout = gevent.Timeout(0.3) + timeout.start() + try: + runner.quit() + except gevent.Timeout: +> self.fail("Got Timeout exception, runner must have hung somehow.") +E AssertionError: Got Timeout exception, runner must have hung somehow. + +locust/test/test_runners.py:453: AssertionError ________ TestMasterRunner.test_attributes_populated_when_calling_start _________ self = @@ -39192,9 +39751,6 @@ INFO locust.runners:runners.py:337 Shape worker starting INFO locust.runners:runners.py:356 Shape test updating to 1 users at 1.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 -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 _________________ TestMasterRunner.test_custom_shape_scale_up __________________ self = @@ -39247,8 +39803,8 @@ INFO locust.runners:runners.py:337 Shape worker starting INFO locust.runners:runners.py:356 Shape test updating to 1 users at 1.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 -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 +INFO locust.runners:runners.py:356 Shape test updating to 1 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 _____________ TestMasterRunner.test_last_worker_missing_stops_test _____________ self = @@ -39310,6 +39866,10 @@ WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client1. Asking worker to quit. WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client2. Asking worker to quit. WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client3. Asking worker to quit. +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: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 ____________ TestMasterRunner.test_last_worker_quitting_stops_test _____________ self = @@ -39343,6 +39903,12 @@ WARNING locust.runners:runners.py:743 You can't start a distributed test before at least one worker processes has connected WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client1. Asking worker to quit. WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client2. Asking worker to quit. +INFO locust.runners:runners.py:933 Worker 0 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:933 Worker 1 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:933 Worker 2 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:933 Worker 3 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:933 Worker 4 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:941 The last worker went missing, stopping test. ___________ TestMasterRunner.test_master_discard_first_client_ready ____________ self = @@ -39376,7 +39942,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] @@ -39385,49 +39951,12 @@ locust/runners.py:636: KeyError ------------------------------ Captured log call ------------------------------- ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client). That's not going to work. -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: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 -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 INFO locust.runners:runners.py:342 Shape test stopping -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 -INFO locust.runners:runners.py:933 Worker 0 failed to send heartbeat, setting state to missing. -INFO locust.runners:runners.py:933 Worker 1 failed to send heartbeat, setting state to missing. -INFO locust.runners:runners.py:933 Worker 2 failed to send heartbeat, setting state to missing. -INFO locust.runners:runners.py:933 Worker 3 failed to send heartbeat, setting state to missing. -INFO locust.runners:runners.py:933 Worker 4 failed to send heartbeat, setting state to missing. -INFO locust.runners:runners.py:941 The last worker went missing, stopping test. -INFO locust.runners:runners.py:342 Shape test stopping -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 INFO locust.runners:runners.py:356 Shape test updating to 3 users at 3.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 -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 INFO locust.runners:runners.py:356 Shape test updating to 4 users at 4.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_reset_connection _________________ self = @@ -39448,7 +39977,6 @@ locust/test/test_runners.py:2998: AssertionError ------------------------------ Captured log call ------------------------------- -INFO locust.runners:runners.py:342 Shape test stopping ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (fake_client). That's not going to work. INFO locust.runners:runners.py:959 Resetting RPC server and all worker connections. ________ TestMasterRunner.test_rebalance_locust_users_on_worker_connect ________ @@ -39831,8 +40359,10 @@ WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client1. Asking worker to quit. WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client2. Asking worker to quit. WARNING locust.runners:runners.py:1115 Got spawning message from unknown worker fake_client3. Asking worker to quit. -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 +INFO locust.runners:runners.py:933 Worker 1 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:933 Worker 2 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:933 Worker 3 failed to send heartbeat, setting state to missing. +INFO locust.runners:runners.py:941 The last worker went missing, stopping test. ___________ TestMasterRunner.test_worker_sends_bad_message_to_master ___________ self = @@ -39904,18 +40434,15 @@ gevent.sleep(short_time / 2) runner.stop_users({MyTestUser.__name__: 1}) > self.assertEqual("first", MyTaskSet.state) -E AssertionError: 'first' != 'second' +E AssertionError: 'first' != 'third' E - first -E + second +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 - -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 ______________________ TestStopTimeout.test_stop_timeout _______________________ self = @@ -39949,8 +40476,139 @@ ------------------------------ 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) -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 +______________ 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 = @@ -40053,7 +40711,85 @@ 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 -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 +_______________ 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.058758 + +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: 124 not greater than or equal to 130 + +locust/test/test_stats.py:459: AssertionError _______________________ TestCsvStats.test_stats_history ________________________ self = @@ -40194,7 +40930,7 @@ self.connect_to_master() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def connect_to_master(self): self.retry += 1 @@ -40219,131 +40955,192 @@ locust/runners.py:1444: ConnectionError ------------------------------ Captured log call ------------------------------- -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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 -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). That's not going to work. -ERROR locust.runners:runners.py:1009 An old (pre 2.0) worker tried to connect (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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_d07711e557684ec48a178a18b6e0b17a). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). That's not going to work. 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). That's not going to work. 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). That's not going to work. 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). That's not going to work. 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 (codethink03-arm64_0c66a3c059d64ee19038b7068c3aa1f6). 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_d07711e557684ec48a178a18b6e0b17a). 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 != 28 + +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.039040542999282474 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 @@ -40351,8 +41148,8 @@ self._context = SSLContext(ssl_version) locust/test/test_log.py: 4 warnings -locust/test/test_main.py: 38 warnings - /usr/lib/python3/dist-packages/gevent/os.py:431: DeprecationWarning: This process (pid=2562896) is multi-threaded, use of fork() may lead to deadlocks in the child. +locust/test/test_main.py: 26 warnings + /usr/lib/python3/dist-packages/gevent/os.py:431: DeprecationWarning: This process (pid=2158110) 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 @@ -40376,6 +41173,7 @@ -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ +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_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... @@ -40440,6 +41238,7 @@ 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_runner_quit_can_run_on_stop_for_multiple_users_concurrently 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 @@ -40465,9 +41264,15 @@ 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, 57 warnings in 526.22s (0:08:46) = +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 += 99 failed, 449 passed, 1 skipped, 15 deselected, 45 warnings in 675.37s (0:11:15) = E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: PYTHONPATH=/build/reproducible-path/locust-2.24.0/.pybuild/cpython3_3.13_locust/build python3.13 -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 3.13" returned exit code 13 make[1]: [debian/rules:15: override_dh_auto_test] Error 25 (ignored) @@ -40509,12 +41314,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/2045249/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2045249/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/2418788 and its subdirectories -I: Current time: Mon Mar 2 19:17:35 -12 2026 -I: pbuilder-time-stamp: 1772522255 +I: removing directory /srv/workspace/pbuilder/2045249 and its subdirectories +I: Current time: Wed Jan 29 15:20:00 +14 2025 +I: pbuilder-time-stamp: 1738113600