Carel created THRIFT-5900:
-----------------------------

             Summary: Thrift Cross Test broken in Github (Python 3.14)
                 Key: THRIFT-5900
                 URL: https://issues.apache.org/jira/browse/THRIFT-5900
             Project: Thrift
          Issue Type: Task
         Environment: Python 3.14
            Reporter: Carel
            Assignee: Jens Geyer


It appears that the github containers got upgraded to Python 3.14 and as such 
the cross test runner is broken.

This is based on an assumption on a few observations. 
The last merge to master did run as expected: 
[https://github.com/apache/thrift/actions/runs/18944484196/job/54092856116]
But all subsequent PRs are now failing: 
[https://github.com/apache/thrift/actions/runs/18992409864/job/54247783627?pr=3225]

h2. Passed:
{code:java}
python test/test.py \
    --retry-count 5 \
    --skip-known-failures \
    --server cpp \
    --client java,kotlin
  shell: /usr/bin/bash -e {0}
  env:
    BUILD_DEPS: automake bison flex git libboost-all-dev libevent-dev 
libssl-dev libtool make pkg-config
    CONFIG_ARGS_FOR_LIBS: --disable-debug --disable-dependency-tracking 
--without-cpp --without-c_glib --without-java --without-kotlin --without-python 
--without-py3 --without-ruby --without-haxe --without-netstd --without-perl 
--without-php --without-php_extension --without-dart --without-erlang 
--without-go --without-d --without-nodejs --without-nodets --without-lua 
--without-rs --without-swift
  
    pythonLocation: /opt/hostedtoolcache/Python/3.13.7/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.7/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.7/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.7/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.7/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.7/x64/lib
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.462-8/x64
    JAVA_HOME_8_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.462-8/x64
    THRIFT_CROSSTEST_CONCURRENCY: 4
Apache Thrift - Integration Test Suite
..
6 failed of 54 tests in total.
Test execution took 14.8 seconds.
Thu Oct 30 14:51:06 2025
{code}

h2. Failures:
{code:java}
Run python test/test.py \
  python test/test.py \
    --retry-count 5 \
    --skip-known-failures \
    --server cpp \
    --client go,rs,cpp
  shell: /usr/bin/bash -e {0}
  env:
    BUILD_DEPS: automake bison flex git libboost-all-dev libevent-dev 
libssl-dev libtool make pkg-config
    CONFIG_ARGS_FOR_LIBS: --disable-debug --disable-dependency-tracking 
--without-cpp --without-c_glib --without-java --without-kotlin --without-python 
--without-py3 --without-ruby --without-haxe --without-netstd --without-perl 
--without-php --without-php_extension --without-dart --without-erlang 
--without-go --without-d --without-nodejs --without-nodets --without-lua 
--without-rs --without-swift
  
    pythonLocation: /opt/hostedtoolcache/Python/3.14.0/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.14.0/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.0/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.0/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.0/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.14.0/x64/lib
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.472-8/x64
    JAVA_HOME_8_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.472-8/x64
    THRIFT_CROSSTEST_CONCURRENCY: 4
Apache Thrift - Integration Test Suite
Sat Nov 01 06:16:07 2025
===============================================================================
server-client:          protocol:         transport:               result:
Traceback (most recent call last):
  File "/home/runner/work/thrift/thrift/test/test.py", line 190, in <module>
    sys.exit(main(sys.argv[1:]))
             ~~~~^^^^^^^^^^^^^^
  File "/home/runner/work/thrift/thrift/test/test.py", line 183, in main
    res = run_cross_tests(server_match, client_match, options.jobs,
                          options.skip_known_failures, 
options.only_known_failures,
                          options.retry_count, options.regex)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to