dubbo-go icon indicating copy to clipboard operation
dubbo-go copied to clipboard

[TASK] Test samples before release 3.3.2

Open Alanxtl opened this issue 4 months ago • 10 comments

  • [x] async: yuqi
  • [x] apisix: yuqi
  • [x] config_center: yuqi
  • [x] config_yaml: yuqi
  • [x] context: zhengjiansong
  • [x] error: zhengjiansong
  • [x] filter: chaojixinren
  • [x] custom: chaojixinren
  • [x] hystrix: yuxuan
  • [x] sentinel: yuxuan
  • [x] token: yuxuan
  • [x] tpslimit: yuxuan
  • [x] healthcheck: xianing
  • [x] helloworld: xianing
  • [x] http3: xianing
  • [x] generic: xianing
  • [x] graceful_shutdown: wenxi
  • [x] java_interop: wenxi
  • [x] service_discovery: wenxi
  • [x] logger: wenxi
  • [x] metrics: jiatao
  • [x] mesh: jiatao
  • [x] otel/tracing: jiatao
  • [x] registry: jiatao
  • [x] retry: caicai
  • [x] router: caicai
  • [x] rpc: caicai
  • [x] streaming: xuetao
  • [x] timeout: xuetao
  • [x] tls: yuqi

注意 一定要用最新的 develop 分支代码进行测试

Alanxtl avatar Jul 26 '26 12:07 Alanxtl

https://github.com/apache/dubbo-go/issues/3541 healthcheck, helloworld, http3, generic

对日志有疑问或者步骤有问题 我可以再测一下owo 标题格式统一为 Server + Client

Branch

Image

healthcheck

Image

helloworld

Go + Go

Image

Go + Java

Image

Java + Go

Image

http3

Go + Go

Image

Go + Java

Image

Java Client 确认出现关键日志 Connecting to 127.0.0.1:20000/greet.GreetService SUCCESS! Response: Hello Java Client, from Go HTTP/3!

Java + Go

Image

generic

Go + Go

Image

Go + Java

Image

Java + Go

Image

XnLemon avatar Jul 26 '26 15:07 XnLemon

streaming

go-go

Image

go-java

Image

java-java

Image

java-go

Image

timeout

go-go

Image

Alanxtl avatar Jul 27 '26 02:07 Alanxtl

#3541 hystix sentinel token tpslimit

hystrix

Test 1:3 个请求全 success

  • Test 2:15 个并发请求(并发上限 10,超出的会失败)
  • Test 3:并发后再发 5 个,若熔断触发会看到 circuit open
  • 触发熔断后等 5 秒(SleepWindow)再跑一次 client,能看到恢复 Image

sentinel

client 依次跑三个场景,每个打印 success: X fail: Y

  • Greet 并发 150 → 被并发隔离(阈值 100)挡掉一部分,fail > 0
  • GreetWithQPSLimit → server 端 QPS 限 100,有 block
  • GreetWithChanceOfError → 故意发 error 触发熔断,随后打印状态迁移:Closed → Open →(等 2s)→ Half-Open → Closed
  • 若出现 wait circuit breaker ... timeout 警告, Image

token

server 用 token dubbo-go 注册,consumer 从注册中心自动拿到 token 并带上。成功则 client 打印 Greet response: hello world, Image

tpslimit

client 发 60 个请求(间隔 200ms)。策略是随机 50% 拒绝 + 速率 5/秒,所以会交替看到:

  • 成功:response: hello world
  • 被拒:error: the request is rejected and doesn't have any default value
  • server 端会打 Random IsAllowable! 和被拒时的自定义 handler 日志
  • 最后 client 打印 successCount=..., failCount=...,两者都应 > 0 Image

NeverENG avatar Jul 28 '26 14:07 NeverENG

没问题 开始忘记拆终端了(

async

go-go

Image

java-go

Image

go-java

Image

java-java

Image

apisix

Image Image

config_center

nacos

go-go

Image

java-go

Image

go-java

Image

java-java

Image

zookeeper

go-go

Image

java-go

Image

java-java

Image

go-java

Image

apollo

Image

config_yaml

Image

tls

go-go

Image

java-go

Image

java-java

Image

go-java

Image

Qiao-yq avatar Jul 29 '26 02:07 Qiao-yq

registry下的etcd没有README文件,其他没有问题

metrics

probe

在本地运行

Image

在集群运行

Image

prometheus_grafana

push

Image

pull

Image

mesh

Image

otel tracing

jaeger

Image

otlp_http_exporter

Image

stdout

Image

registry

etcd

Image

nacos

Image

polaris

Image

zookeeper

Image

222twotwotwo avatar Jul 30 '26 03:07 222twotwotwo

没有问题

graceful_shutdown

长连接下的triple主动通知

长连接: Image

短连接:

Image

在途请求排空

长连接: Image

短连接:

Image

同时观察主动通知与请求排空

长连接: Image

短连接:

Image

收紧整体超时预算

长连接: Image

短连接: Image

集成测试:

Image

java_interop

non-protobuf-dubbo

go-go

Image

java-go

Image

java-java

Image

go-java

Image

non-protobuf-triple

go-go

Image

java-go

Image

java-java

Image

go-java

Image

protobuf-triple

go-go

Image

java-go

Image

java-java

Image

go-java

Image

service_discovery

interface

go-go

Image

java-go

Image

java-java

Image

go-java

Image

service

go-go

Image

java-go

Image

java-java

Image

go-java

Image

logger

custom

Image

default

Image

level

Image

rolling

Image

trace-integration

Image

Vanillaxi avatar Jul 30 '26 05:07 Vanillaxi

没有问题

retry

Image Image ## router/static_config/condition Image Image Image

router/static_config/tag

Image Image Image

rpc/grpc

Image Image Image

rpc/triple/instance

Image Image

rpc/triple/pb-json

Image Image

rpc/triple/openapi

Image Image

rpc/triple/stream

Image

rpc/triple/reflection

Image Image

CAICAIIs avatar Jul 30 '26 10:07 CAICAIIs

@Alanxtl 剩下的可以assign me

XnLemon avatar Jul 31 '26 06:07 XnLemon

context error 符合预期

context

Image

error

Image

XnLemon avatar Jul 31 '26 07:07 XnLemon

custom


Image Image

filter

Image Image

chaojixinren avatar Jul 31 '26 08:07 chaojixinren