Skip to content

http (fix): Fail to read RPCContext if the response Rx is evaluated in a different thread #6460

http (fix): Fail to read RPCContext if the response Rx is evaluated in a different thread

http (fix): Fail to read RPCContext if the response Rx is evaluated in a different thread #6460

Triggered via pull request March 5, 2025 20:34
Status Failure
Total duration 5m 4s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Scala 3.6.x
Process completed with exit code 1.
NettyLoggingTest.async server response: airframe-http-netty/src/test/scala/wvlet/airframe/http/netty/NettyLoggingTest.scala#L116
ListMap(custom_log_entry -> test, server_name -> log-test-server, time -> 1741206989, start_time_ms -> 1741206989052, event_timestamp -> 2025-03-05T20:36:29.052Z, method -> POST, path -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, uri -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, remote_address -> 127.0.0.1:38300, request_header -> ListMap(upgrade -> h2c, http2_settings -> AAEAAEAAAAIAAAAAAAMAAAAAAAQBAAAAAAUAAEAAAAYABgAA, connection -> Upgrade, HTTP2-Settings, content_length -> 0, user_agent -> Java-http-client/21.0.6, host -> localhost:35093), end_time_ms -> 1741206989052, duration_ms -> 0, status_code -> 200, status_code_name -> OK, response_content_length -> 0, rpc_status -> 0, rpc_status_name -> SUCCESS_S0, response_header -> ListMap(content_length -> 0, x_airframe_rpc_status -> 0)) doesn't contain (user,zzzz-xxxx)
NettyLoggingTest.async server response: airframe-http-netty/src/test/scala/wvlet/airframe/http/netty/NettyLoggingTest.scala#L116
ListMap(custom_log_entry -> test, server_name -> log-test-server, time -> 1741207002, start_time_ms -> 1741207002185, event_timestamp -> 2025-03-05T20:36:42.185Z, method -> POST, path -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, uri -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, remote_address -> 127.0.0.1:46478, request_header -> ListMap(upgrade -> h2c, http2_settings -> AAEAAEAAAAIAAAAAAAMAAAAAAAQBAAAAAAUAAEAAAAYABgAA, connection -> Upgrade, HTTP2-Settings, content_length -> 0, user_agent -> Java-http-client/21.0.6, host -> localhost:37667), end_time_ms -> 1741207002185, duration_ms -> 0, status_code -> 200, status_code_name -> OK, response_content_length -> 0, rpc_status -> 0, rpc_status_name -> SUCCESS_S0, response_header -> ListMap(content_length -> 0, x_airframe_rpc_status -> 0)) doesn't contain (user,zzzz-xxxx)
Scala 3
Process completed with exit code 1.
NettyLoggingTest.async server response: airframe-http-netty/src/test/scala/wvlet/airframe/http/netty/NettyLoggingTest.scala#L114
ListMap(custom_log_entry -> test, server_name -> log-test-server, time -> 1741207003, start_time_ms -> 1741207003459, event_timestamp -> 2025-03-05T20:36:43.459Z, method -> POST, path -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, uri -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, remote_address -> 127.0.0.1:37292, request_header -> ListMap(upgrade -> h2c, http2_settings -> AAEAAEAAAAIAAAAAAAMAAAAAAAQBAAAAAAUAAEAAAAYABgAA, connection -> Upgrade, HTTP2-Settings, content_length -> 0, user_agent -> Java-http-client/21.0.6, host -> localhost:36823), end_time_ms -> 1741207003459, duration_ms -> 0, status_code -> 200, status_code_name -> OK, response_content_length -> 0, rpc_status -> 0, rpc_status_name -> SUCCESS_S0, response_header -> ListMap(content_length -> 0, x_airframe_rpc_status -> 0)) doesn't contain (user,zzzz-xxxx)
Scala 2.13
Process completed with exit code 1.
NettyLoggingTest.async server response: airframe-http-netty/src/test/scala/wvlet/airframe/http/netty/NettyLoggingTest.scala#L116
ListMap(custom_log_entry -> test, server_name -> log-test-server, time -> 1741207008, start_time_ms -> 1741207008123, event_timestamp -> 2025-03-05T20:36:48.123Z, method -> POST, path -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, uri -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, remote_address -> 127.0.0.1:44790, request_header -> ListMap(upgrade -> h2c, http2_settings -> AAEAAEAAAAIAAAAAAAMAAAAAAAQBAAAAAAUAAEAAAAYABgAA, connection -> Upgrade, HTTP2-Settings, content_length -> 0, user_agent -> Java-http-client/17.0.14, host -> localhost:46489), end_time_ms -> 1741207008123, duration_ms -> 0, status_code -> 200, status_code_name -> OK, response_content_length -> 0, rpc_status -> 0, rpc_status_name -> SUCCESS_S0, response_header -> ListMap(content_length -> 0, x_airframe_rpc_status -> 0)) doesn't contain (user,zzzz-xxxx)
Scala 3 / JDK17
Process completed with exit code 1.
Scala 2.12
Process completed with exit code 1.
NettyLoggingTest.async server response: airframe-http-netty/src/test/scala/wvlet/airframe/http/netty/NettyLoggingTest.scala#L114
Map(server_name -> log-test-server, method -> POST, response_header -> ListMap(content_length -> 0, x_airframe_rpc_status -> 0), duration_ms -> 0, path -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, status_code_name -> OK, response_content_length -> 0, uri -> /wvlet.airframe.http.netty.NettyLoggingTest.MyRPC/async, event_timestamp -> 2025-03-05T20:36:39.927Z, status_code -> 200, start_time_ms -> 1741206999927, rpc_status -> 0, rpc_status_name -> SUCCESS_S0, end_time_ms -> 1741206999927, time -> 1741206999, custom_log_entry -> test, request_header -> ListMap(upgrade -> h2c, connection -> Upgrade, HTTP2-Settings, content_length -> 0, http2_settings -> AAEAAEAAAAIAAAAAAAMAAAAAAAQBAAAAAAUAAEAAAAYABgAA, user_agent -> Java-http-client/21.0.6, host -> localhost:37359), remote_address -> 127.0.0.1:59178) doesn't contain (user,zzzz-xxxx)