ev1lQuark commented on PR #2310:
URL: https://github.com/apache/dubbo-go/pull/2310#issuecomment-1535779836
> > What happend in CI? How should I modify it? @FinalT @justxuewei
>
> I reran those CI tests.
Thank you. But it still went wrong.
```
2023-05-05T06:26:35.213Z ERROR polaris/service_discovery.go:193
Could not query the instances for service: myApp . It happened err
Polaris-1004(ErrCodeAPITimeoutError): retry times exceed 1 in SyncGetResources,
serviceKey: {namespace: "dubbogo", service: "myApp"}, timeout is 1s
dubbo.apache.org/dubbo-go/v3/registry/polaris.(*polarisServiceDiscovery).GetInstances
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/polaris/service_discovery.go:193
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*ServiceDiscoveryRegistry).LoadSubscribeInstances
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/servicediscovery/service_discovery_registry.go:256
dubbo.apache.org/dubbo-go/v3/registry/directory.NewRegistryDirectory
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/directory/directory.go:97
dubbo.apache.org/dubbo-go/v3/common/extension.GetDefaultRegistryDirectory
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/common/extension/registry_directory.go:40
dubbo.apache.org/dubbo-go/v3/registry/protocol.(*registryProtocol).Refer
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/protocol/protocol.go:152
dubbo.apache.org/dubbo-go/v3/config.(*ReferenceConfig).Refer
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/config/reference_config.go:238
dubbo.apache.org/dubbo-go/v3/config.(*ConsumerConfig).Load
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/config/consumer_config.go:132
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start.func1
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/config/root_config.go:212
sync.(*Once).doSlow
/opt/hostedtoolcache/go/1.17.13/x64/src/sync/once.go:68
sync.(*Once).Do
/opt/hostedtoolcache/go/1.17.13/x64/src/sync/once.go:59
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Start
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/config/root_config.go:210
dubbo.apache.org/dubbo-go/v3/config.(*RootConfig).Init
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/config/root_config.go:205
dubbo.apache.org/dubbo-go/v3/config.Load
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/config/config_loader.go:59
github.com/apache/dubbo-go-samples/integrate_test/polaris/registry/tests/integration.TestMain
/home/runner/work/dubbo-go/dubbo-go/samples/integrate_test/polaris/registry/tests/integration/main_test.go:60
main.main
_testmain.go:45
runtime.main
/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:255
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x12a8695]
goroutine 84 [running]:
dubbo.apache.org/dubbo-go/v3/metadata/mapping/metadata.(*MetadataServiceNameMapping).Get(0x30,
0x30, {0x1eda438, 0xc0008c9740})
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/metadata/mapping/metadata/service_name_mapping.go:83
+0x75
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*ServiceDiscoveryRegistry).findMappedServices(0xc000295d40,
0xc0007fa000, {0x1eda438, 0xc0008c9740})
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/servicediscovery/service_discovery_registry.go:343
+0x5f
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*ServiceDiscoveryRegistry).getServices(0xc000295d40,
0xc00061beb8, {0x1eda438, 0xc0008c9740})
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/servicediscovery/service_discovery_registry.go:334
+0xc5
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*ServiceDiscoveryRegistry).Subscribe(0xc000295d40,
0xc0007fa000, {0x1eda2f8, 0xc0007fa780})
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/servicediscovery/service_discovery_registry.go:210
+0x250
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).Subscribe(0xc0007fa780,
0xc0007fa000)
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/directory/directory.go:107
+0xbe
created by
dubbo.apache.org/dubbo-go/v3/registry/protocol.(*registryProtocol).Refer
/home/runner/go/pkg/mod/github.com/ev1l!quark/dubbo-go/[email protected]/registry/protocol/protocol.go:164
+0x21d
FAIL
github.com/apache/dubbo-go-samples/integrate_test/polaris/registry/tests/integration
4.553s
FAIL
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]