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

Update config for downstream url endpoint #8580

Merged

Conversation

lakshmimsft
Copy link
Contributor

Description

Typo found in config in Long Running Test logs.

{"severity":"error","timestamp":"2025-02-19T23:36:13.974Z","name":"ucplogger.api","caller":"proxy/logging.go:51","message":"connection failed to downstream","serviceName":"ucplogger","version":"edge","hostName":"ucp-85868b8dc6-6kwps","resourceId":"/apis/api.ucp.dev/v1alpha3/planes/radius/local/resourcegroups/kind-radius/providers/MyCompany.Resources/testResources","error":"dial tcp: lookup dynamic-rp.radius-sytem on 172.16.0.10:53: no such host","stacktrace":"github.com/radius-project/radius/pkg/ucp/proxy.(*ReverseProxyBuilder).Build.logConnectionError.func2\n\t/home/runner/work/radius/radius/pkg/ucp/proxy/logging.go:51\nnet/http/httputil.(*ReverseProxy).ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/httputil/reverseproxy.go:486\ngithub.com/radius-project/radius/pkg/ucp/frontend/controller/radius.(*ProxyController).Run\n\t/home/runner/work/radius/radius/pkg/ucp/frontend/controller/radius/proxy.go:143\ngithub.com/radius-project/radius/pkg/armrpc/frontend/server.CreateHandler.HandlerForController.func1\n\t/home/runner/work/radius/radius/pkg/armrpc/frontend/server/handler.go:107\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/radius-project/radius/pkg/ucp/frontend/api.Register.func1\n\t/home/runner/work/radius/radius/pkg/ucp/frontend/api/routes.go:178\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:73\ngithub.com/go-chi/chi/v5.(*Mux).Mount.func1\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:327\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:480\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/go-chi/chi/[email protected]/mux.go:90\ngithub.com/radius-project/radius/pkg/ucp/frontend/api.(*Service).Initialize.(*Service).Initialize.ARMRequestCtx.func2.func3\n\t/home/runner/work/radius/radius/pkg/armrpc/servicecontext/middleware.go:59\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/radius-project/radius/pkg/ucp/frontend/api.(*Service).Initialize.WithLogger.func4\n\t/home/runner/work/radius/radius/pkg/middleware/logger.go:37\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/radius-project/radius/pkg/ucp/frontend/api.(*Service).Initialize.NormalizePath.func5\n\t/home/runner/work/radius/radius/pkg/middleware/normalizepath.go:44\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*middleware).serveHTTP\n\t/home/runner/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/[email protected]/handler.go:179\ngo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.NewMiddleware.func1.1\n\t/home/runner/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/[email protected]/handler.go:67\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\ngithub.com/radius-project/radius/pkg/ucp/frontend/api.(*Service).Initialize.RemoveRemoteAddr.func8\n\t/home/runner/work/radius/radius/pkg/middleware/removeremoteaddr.go:28\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2220\nnet/http.serverHandler.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3210\nnet/http.initALPNRequest.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3819\nnet/http.(*http2serverConn).runHandler\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/h2_bundle.go:6249"}

Type of change

Fixes: #8449

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
    • Yes
    • Not applicable
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
    • Yes
    • Not applicable
  • The design document has been reviewed and approved by Radius maintainers/approvers.
    • Yes
    • Not applicable
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
    • Yes
    • Not applicable
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
    • Yes
    • Not applicable
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.
    • Yes
    • Not applicable

Signed-off-by: lakshmimsft <[email protected]>
@radius-functional-tests
Copy link

radius-functional-tests bot commented Feb 20, 2025

Radius functional test overview

🔍 Go to test action run

Name Value
Repository lakshmimsft/radius-mainfork
Commit ref 1b89e8a
Unique ID func89ca27b804
Image tag pr-func89ca27b804
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func89ca27b804
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func89ca27b804
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-func89ca27b804
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func89ca27b804
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func89ca27b804
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.88%. Comparing base (bf7dcc1) to head (1b89e8a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8580      +/-   ##
==========================================
- Coverage   59.90%   59.88%   -0.02%     
==========================================
  Files         596      596              
  Lines       40512    40512              
==========================================
- Hits        24268    24261       -7     
- Misses      14419    14423       +4     
- Partials     1825     1828       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lakshmimsft lakshmimsft merged commit 0c818cc into radius-project:main Feb 20, 2025
29 checks passed
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

Successfully merging this pull request may close these issues.

Investigate 409 error in Long Running tests
3 participants