Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if the "TestNetworkServiceEndpointClientRefreshingTime" test is unstable #621

Open
dualBreath opened this issue Nov 13, 2023 · 0 comments

Comments

@dualBreath
Copy link

Failure: https://github.com/networkservicemesh/cmd-registry-memory/actions/runs/6796527604/job/18476798951?pr=619

...
Nov  8 09:56:53.400 [INFO] [type:registry] nse-server-unregister={"name":"nse-9"}
Nov  8 09:56:53.400 [WARN] [type:registry] Unegister: failed to load grpc metadata from context: failed to load path from grpc metadata
Nov  8 09:56:53.400 [WARN] [type:registry] can't get spiffe id from empty path
Nov  8 09:56:53.401 [ERRO] [type:registry] policy failed: policies/registry/client_allowed.rego
Nov  8 09:56:53.401 [ERRO] [type:registry] Error returned from sdk/pkg/registry/common/authorize/authorizeNSEServer.Unregister: registry: an error occurred during authorization policy check: rpc error: code = PermissionDenied desc = no sufficient privileges
    main_test.go:338: 
        	Error Trace:	/build/main_test.go:338
        	Error:      	Received unexpected error:
        	            	rpc error: code = PermissionDenied desc = registry: an error occurred during authorization policy check: rpc error: code = PermissionDenied desc = no sufficient privileges
        	Test:       	TestRegistryTestSuite/TestNetworkServiceEndpointClientRefreshingTime
=== RUN   TestRegistryTestSuite/TestNetworkServiceEndpointRegistration
...
--- FAIL: TestRegistryTestSuite (10.59s)
    --- PASS: TestRegistryTestSuite/TestHealthCheck (1.01s)
    --- FAIL: TestRegistryTestSuite/TestNetworkServiceEndpointClientRefreshingTime (1.05s)
    --- PASS: TestRegistryTestSuite/TestNetworkServiceEndpointRegistration (0.01s)
    --- PASS: TestRegistryTestSuite/TestNetworkServiceEndpointRegistrationExpiration (1.01s)
    --- PASS: TestRegistryTestSuite/TestNetworkServiceRegistration (0.02s)

logs_6119.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant