sofastack/sofa-mesh

master分支的e2e-dubbo实例已经跑不通了

veterancj opened this issue · 8 comments

各位大神,master分支的e2e-dubbo实例consumer调用provider总是报超时,已经跑不通了,能帮忙解释一下吗?

关注~

问下,这个e2e-dubbo的java代码在哪呢

这个是直接用的 dubbo 官方的例子,我们会来看看这个问题。

@junxiong 能给个链接吗

@junxiong 能给个链接吗

我们修改过了一些内部逻辑,这个代码现在还没有开源,稍等,问题这两天我们会解决。

@

@junxiong 能给个链接吗

我们修改过了一些内部逻辑,这个代码现在还没有开源,稍等,问题这两天我们会解决。

好的,多谢回复 啥时候能开源出来呢

@junxiong
master 分支 e2e-dubbo测试跑不通, 过程说明:

http service for dubbo consumer

kubectl apply -f samples/e2e-dubbo/platform/kube/dubbo-consumer-service.yaml

dubbo provider service

kubectl apply -f samples/e2e-dubbo/platform/kube/dubbo-provider-service.yaml
执行到这两步骤,会导致:istio-pilot pod panic,日志如下:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x15f8def]

goroutine 399 [running]:
istio.io/istio/pilot/pkg/networking/core/v1alpha3.buildXProxy(0xc0001f8a50, 0xc0014ee3c0, 0xc0014904c8, 0x1, 0x1, 0x3)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/listener.go:1496 +0x3f
istio.io/istio/pilot/pkg/networking/core/v1alpha3.buildCompleteFilterChain(0xc000874600, 0xc00153f4c0, 0xc0001f8a50, 0xc00047f980, 0xc0000d5000, 0x1, 0x1, 0xc00087c020, 0x1, 0x1, ...)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/listener.go:1735 +0x20e
istio.io/istio/pilot/pkg/networking/core/v1alpha3.(*ConfigGeneratorImpl).buildSidecarInboundListenerForPortOrUDS(0xc000499640, 0xc0001f8a50, 0xc00047f980, 0xc0000d5000, 0x1, 0x1, 0xc00087c020, 0x1, 0x1, 0xc000c1e6c8, ...)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/listener.go:569 +0x761
istio.io/istio/pilot/pkg/networking/core/v1alpha3.(*ConfigGeneratorImpl).buildSidecarInboundListeners(0xc000499640, 0xc0001f8a50, 0xc00047f980, 0xc0006b8400, 0xc0000d5000, 0x1, 0x1, 0x0, 0x500000000000000, 0xffffffffffffffff)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/listener.go:365 +0x10ae
istio.io/istio/pilot/pkg/networking/core/v1alpha3.(*ConfigGeneratorImpl).buildSidecarListeners(0xc000499640, 0xc0001f8a50, 0xc00047f980, 0xc0006b8400, 0xc000ed5550, 0x174efd5, 0xc000192070, 0x1c89c2e, 0x32)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/listener.go:189 +0x7f9
istio.io/istio/pilot/pkg/networking/core/v1alpha3.(*ConfigGeneratorImpl).BuildListeners(0xc000499640, 0xc0001f8a50, 0xc00047f980, 0xc0006b8400, 0xc000ed5390, 0x0, 0x0, 0xc000ed53f0, 0x42e626)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/networking/core/v1alpha3/listener.go:171 +0x144
istio.io/istio/pilot/pkg/proxy/envoy/v2.(*DiscoveryServer).generateRawListeners(0xc0002f3290, 0xc000d1c700, 0xc0006b8400, 0xc000ed54f8, 0x42b3c4, 0x8, 0x3, 0x3)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/proxy/envoy/v2/lds.go:52 +0x72
istio.io/istio/pilot/pkg/proxy/envoy/v2.(*DiscoveryServer).pushLds(0xc0002f3290, 0xc000d1c700, 0xc0006b8400, 0xc000c5e4c0, 0x16, 0x2, 0x0)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/proxy/envoy/v2/lds.go:30 +0x5a
istio.io/istio/pilot/pkg/proxy/envoy/v2.(*DiscoveryServer).StreamAggregatedResources(0xc0002f3290, 0x1ea2960, 0xc0003521f0, 0x0, 0x0)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/pilot/pkg/proxy/envoy/v2/ads.go:462 +0xb0a
istio.io/istio/vendor/github.com/envoyproxy/go-control-plane/envoy/service/discovery/v2._AggregatedDiscoveryService_StreamAggregatedResources_Handler(0x1c23780, 0xc0002f3290, 0x1e9c240, 0xc000143d90, 0x2fd5930, 0xc000a1e270)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/vendor/github.com/envoyproxy/go-control-plane/envoy/service/discovery/v2/ads.pb.go:197 +0xad
istio.io/istio/vendor/google.golang.org/grpc.(*Server).processStreamingRPC(0xc0004e3b00, 0x1ea4b80, 0xc000b8aa80, 0xc000ac0000, 0xc000701b90, 0x2f9d820, 0xc000a1e240, 0x0, 0x0)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/vendor/google.golang.org/grpc/server.go:1124 +0x8bd
istio.io/istio/vendor/google.golang.org/grpc.(*Server).handleStream(0xc0004e3b00, 0x1ea4b80, 0xc000b8aa80, 0xc000ac0000, 0xc000a1e240)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/vendor/google.golang.org/grpc/server.go:1212 +0x12a1
istio.io/istio/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000f94790, 0xc0004e3b00, 0x1ea4b80, 0xc000b8aa80, 0xc000ac0000)
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/vendor/google.golang.org/grpc/server.go:686 +0x9f
created by istio.io/istio/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
        /mnt/hgfs/ubuntuShare/opensource-test/src/istio.io/istio/vendor/google.golang.org/grpc/server.go:684 +0xa1

已查明是pilot在生成xprotocol listener配置时存在一个bug,目前正在修复中