You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Python toolset verify_type fails for a new Vert.x-Web Kotlin R2DBC update test : int() argument must be a string, a bytes-like object or a real number, not 'NoneType' #10432
Checkout huanshankeji@1c57bca and run ./tfb --test vertx-web-kotlinx-r2dbc-postgresql --type update --mode verify, or see the CI results:
--------------------------------------------------------------------------------
VERIFYING UPDATE
--------------------------------------------------------------------------------
FAIL for http://tfb-server:8080
Caused Exception in TFB
This almost certainly means your return value is incorrect,
but also that you have found a bug. Please submit an issue
including this message: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback (most recent call last):
File "/FrameworkBenchmarks/toolset/benchmark/framework_test.py", line 113, in verify_type
results = test.verify(base_url)
^^^^^^^^^^^^^^^^^^^^^
File "/FrameworkBenchmarks/toolset/test_types/update/update.py", line 31, in verify
problems = verify_query_cases(self, cases, url, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/FrameworkBenchmarks/toolset/test_types/verifications.py", line 415, in verify_query_cases
problems += verify_queries_count(test_instance, "world", url + "20", concurrency, repetitions, expected_queries,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/FrameworkBenchmarks/toolset/test_types/verifications.py", line 434, in verify_queries_count
queries, rows, rows_updated, margin, trans_failures = databases[test_instance.database.lower()].verify_queries(test_instance.config,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/FrameworkBenchmarks/toolset/databases/abstract_database.py", line 88, in verify_queries
rows_updated = int(cls.get_rows_updated(config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
See https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Project-Information-Framework-Tests-Overview#specific-test-requirements
I am adapting the vertx-web-kotlinx portion to a multi-module Gradle project with multiple portions and they all share the same architecture in request and response processing. So I suspect that this is likely caused by something that happened to the PostgreSQL database, maybe deadlocks or too many connections that cause the PostgreSQL to be irresponsive, but I didn't identify the root cause yet.
changed the title [-]Python toolset `verify_type` fails for a new Vert.x-Web Kotlin R2DBC `update` test[/-][+]Python toolset `verify_type` fails for a new Vert.x-Web Kotlin R2DBC `update` test : `int() argument must be a string, a bytes-like object or a real number, not 'NoneType'`[/+]on Dec 21, 2025
I have fixed this in my benchmark. FYI, this is caused by (R2DBC) batch statement results not completely consumed. Each statement result in the batch will have to be consumed separately. This might be blocking the underlying PostgreSQL protocol and causing the error.
Activity
[-]Python toolset `verify_type` fails for a new Vert.x-Web Kotlin R2DBC `update` test[/-][+]Python toolset `verify_type` fails for a new Vert.x-Web Kotlin R2DBC `update` test : `int() argument must be a string, a bytes-like object or a real number, not 'NoneType'`[/+]Temporarily remove 'update_url' from benchmark_config.json whose corr…
ShreckYe commentedon Jan 12, 2026
I have fixed this in my benchmark. FYI, this is caused by (R2DBC) batch statement results not completely consumed. Each statement result in the batch will have to be consumed separately. This might be blocking the underlying PostgreSQL protocol and causing the error.
Revamp the `vertx-web-kotlinx` benchmark, splitting code into differe…
NateBrady23 commentedon Mar 24, 2026
Closing as part of bulk cleanup.