Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
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

Closed

Description

@ShreckYe

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.

Activity

  1. 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
  2. ShreckYe commented on Jan 12, 2026

    @ShreckYe
    ContributorAuthor

    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.

  3. NateBrady23 commented on Mar 24, 2026

    @NateBrady23
    Member

    Closing as part of bulk cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions