routing-release icon indicating copy to clipboard operation
routing-release copied to clipboard

[WIP | Help needed] Update the Gorm version of the routing-api

Open ZPascal opened this issue 2 years ago • 4 comments

TODO:

  • [ ] Fix the routing-api component tests for the Gorm migration
  • [ ] Clarification about the missing PostgreSQL component test inside the routing-api part

What is this change about?

  • The changes update the vendors related to the routing api Gorm [Migration] (https://github.com/cloudfoundry/routing-api/pull/36)

What type of change is this?

  • [x] [Minor Feature/Improvement]

Backwards Compatibility

Expected behavior: The change should work as beforehand.

How should this be tested?

It should be deployed on a dev landscape. I've got no access to an dev landscape with an running deployment. We're not deploying the product on our landscapes.

Additional Context

Gorm migration to the new version to use pgx instead of lib/pq.

PR Checklist

ZPascal avatar Aug 25 '23 03:08 ZPascal

Hi @ZPascal, I see where you are going with this and it looks promising. What sort of assistance are you looking for on this PR?

cc @tpbrisco

MarcPaquette avatar Apr 03 '24 15:04 MarcPaquette

Hi @ZPascal, I see where you are going with this and it looks promising. What sort of assistance are you looking for on this PR?

cc @tpbrisco

Hi @MarcPaquette, I had a problem half a year ago with Ginkgo V2 and setting up a database index. Screenshot 2023-10-23 at 14 28 11

I have modified the relevant line and I think it should have been adjusted correctly. It would be good if someone could give me some hints to debug the case further. Screenshot 2023-10-23 at 14 40 07

On the other hand, I noticed that there was no component test for the PostgreSQL database in the past. Is there a reason for this or is it related to the use case/history?

I think I'll rebase the PRs and start revising them.

ZPascal avatar Apr 03 '24 20:04 ZPascal

Hi Pascal; When I've seen those sort of errors, I've been able to get more predictable performance by specifying DB=postgres (I get much better runs that way), particularly if it's running from a constrained machine (memory or slower disks). The "migration" key does look a bit different, but I thought I'd have a go at running the tests.

I saw your recent merge -- I've pulled those down, to see if I can get a "test-in-docker-locally" to run kind of clean.

Tom

On Wed, Apr 3, 2024 at 4:11 PM Pascal Zimmermann @.***> wrote:

Hi @ZPascal https://github.com/ZPascal, I see where you are going with this and it looks promising. What sort of assistance are you looking for on this PR?

cc @tpbrisco https://github.com/tpbrisco

Hi @MarcPaquette https://github.com/MarcPaquette, I had a problem half a year ago with Ginkgo V2 and setting up a database index. Screenshot.2023-10-23.at.14.28.11.png (view on web) https://github.com/cloudfoundry/routing-release/assets/13447634/6f82fdcd-9064-41b7-bf5b-bc483ff7d15b

I have modified the relevant line and I think it should have been adjusted correctly. It would be good if someone could give me some hints to debug the case further. Screenshot.2023-10-23.at.14.40.07.png (view on web) https://github.com/cloudfoundry/routing-release/assets/13447634/e87edf11-349c-43e9-92a5-12ec5102f060

On the other hand, I noticed that there was no component test for the PostgreSQL database in the past. Is there a reason for this or is it related to the use case/history?

I think I'll rebase the PRs and start revising them.

— Reply to this email directly, view it on GitHub https://github.com/cloudfoundry/routing-release/pull/339#issuecomment-2035493151, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDCCKZ763LZ2AFFJGYTLDLY3RO6XAVCNFSM6AAAAAA355J6OKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZVGQ4TGMJVGE . You are receiving this because you were mentioned.Message ID: @.***>

tpbrisco avatar Apr 03 '24 21:04 tpbrisco

Ok, this is weird -- with DB=postgres, I get some "not dissimilar" errors as to your ("database is closed", "could not create unique index", "duplicate key value", Attaching here for review, but I'm trying to think through how this would bubble up

On Wed, Apr 3, 2024 at 5:29 PM Thomas Brisco @.***> wrote:

Hi Pascal; When I've seen those sort of errors, I've been able to get more predictable performance by specifying DB=postgres (I get much better runs that way), particularly if it's running from a constrained machine (memory or slower disks). The "migration" key does look a bit different, but I thought I'd have a go at running the tests.

I saw your recent merge -- I've pulled those down, to see if I can get a "test-in-docker-locally" to run kind of clean.

Tom

On Wed, Apr 3, 2024 at 4:11 PM Pascal Zimmermann @.***> wrote:

Hi @ZPascal https://github.com/ZPascal, I see where you are going with this and it looks promising. What sort of assistance are you looking for on this PR?

cc @tpbrisco https://github.com/tpbrisco

Hi @MarcPaquette https://github.com/MarcPaquette, I had a problem half a year ago with Ginkgo V2 and setting up a database index. Screenshot.2023-10-23.at.14.28.11.png (view on web) https://github.com/cloudfoundry/routing-release/assets/13447634/6f82fdcd-9064-41b7-bf5b-bc483ff7d15b

I have modified the relevant line and I think it should have been adjusted correctly. It would be good if someone could give me some hints to debug the case further. Screenshot.2023-10-23.at.14.40.07.png (view on web) https://github.com/cloudfoundry/routing-release/assets/13447634/e87edf11-349c-43e9-92a5-12ec5102f060

On the other hand, I noticed that there was no component test for the PostgreSQL database in the past. Is there a reason for this or is it related to the use case/history?

I think I'll rebase the PRs and start revising them.

— Reply to this email directly, view it on GitHub https://github.com/cloudfoundry/routing-release/pull/339#issuecomment-2035493151, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDCCKZ763LZ2AFFJGYTLDLY3RO6XAVCNFSM6AAAAAA355J6OKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZVGQ4TGMJVGE . You are receiving this because you were mentioned.Message ID: @.***>

-d Using default tag: latest latest: Pulling from cloudfoundry/tas-runtime-postgres Digest: sha256:6494374c92aae17c11d872af8ac6726cabe8a556786439d5ee7ec411247fc715 Status: Image is up to date for cloudfoundry/tas-runtime-postgres:latest docker.io/cloudfoundry/tas-runtime-postgres:latest Error: No such container: routing-release-docker-container b09238032245855be676dd2ba2d320b69d5c4b32796504c92b0bce76eeb05380 go version go1.21.9 linux/amd64 /repo/src/code.cloudfoundry.org/vendor/github.com/nats-io/nats-server/v2 / / go version go1.21.9 linux/amd64 /repo/src/code.cloudfoundry.org/routing-api-cli / / Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Bundler 2.5.7 is running, but your lockfile was generated with 2.4.19. Installing Bundler 2.4.19 and restarting using that version. Fetching gem metadata from https://rubygems.org/. Fetching bundler 2.4.19 Installing bundler 2.4.19 Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Fetching parallel 1.23.0 Fetching ast 2.4.2 Fetching semi_semantic 1.2.0 Fetching diff-lcs 1.5.0 Fetching language_server-protocol 3.17.0.3 Fetching openssl 3.2.0 Fetching racc 1.7.1 Fetching rainbow 3.1.1 Installing semi_semantic 1.2.0 Installing parallel 1.23.0 Installing rainbow 3.1.1 Installing ast 2.4.2 Fetching regexp_parser 2.8.2 Installing diff-lcs 1.5.0 Installing racc 1.7.1 with native extensions Fetching rexml 3.2.6 Fetching rspec-support 3.12.1 Installing openssl 3.2.0 with native extensions Installing language_server-protocol 3.17.0.3 Fetching ruby-progressbar 1.13.0 Installing rspec-support 3.12.1 Installing regexp_parser 2.8.2 Installing ruby-progressbar 1.13.0 Fetching unicode-display_width 2.5.0 Installing rexml 3.2.6 Fetching bosh-template 2.4.0 Installing unicode-display_width 2.5.0 Installing bosh-template 2.4.0 Fetching rspec-expectations 3.12.3 Fetching rspec-core 3.12.2 Fetching rspec-mocks 3.12.6 Installing rspec-expectations 3.12.3 Installing rspec-mocks 3.12.6 Installing rspec-core 3.12.2 Fetching rspec 3.12.0 Installing rspec 3.12.0 Fetching parser 3.2.2.4 Installing parser 3.2.2.4 Fetching rubocop-ast 1.29.0 Installing rubocop-ast 1.29.0 Fetching rubocop 1.57.1 Installing rubocop 1.57.1 Bundle complete! 4 Gemfile dependencies, 24 gems now installed. Use bundle info [gemname] to see where a bundled gem is installed. .....................................................................................................................................................................................................................................................................

Finished in 6.86 seconds (files took 0.50524 seconds to load) 261 examples, 0 failures

Sourcing: built-binaries/nats-server/run.bash Sourcing: built-binaries/routing-api-cli/run.bash Verifying: verify_go repo/src/code.cloudfoundry.org/gorouter go version go1.21.9 linux/amd64 Verifying: verify_go_version_match_bosh_release repo Verifying: verify_gofmt repo/src/code.cloudfoundry.org/gorouter Verifying: verify_govet repo/src/code.cloudfoundry.org/gorouter booting postgres..connection established to postgres rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. rsyslogd: activation of module imklog failed [v8.2112.0 try https://www.rsyslog.com/e/2145 ] booting postgresconnection established to postgres [1712181532] [1mAccessLog Suite[0m - 19/19 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 199.135007ms [1712181532] [1mSchema Suite[0m - 33/33 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 1.68048399s [1712181532] [1mCommon Suite[0m - 9/9 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 2.055445317s [1712181532] [1mHealth Suite[0m - 9/9 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 293.780193ms [1712181532] [1mHttp Suite[0m - 5/5 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 141.32262ms [1712181532] [1mSchema Suite[0m - 10/10 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 243.299072ms [1712181532] [1mCrypto Suite[0m - 10/10 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 11.022133209s [1712181532] [1mUuid Suite[0m - 1/1 specs - 7 procs [38;5;10m•[0m [38;5;10mSUCCESS![0m 73.264523ms [1712181532] [1mConfig Suite[0m - 142/142 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 25.624468804s [1712181532] [1mErrorWriter Suite[0m - 35/35 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 123.547936ms [1712181532] [1mHandlers Suite[0m - 256/256 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [31.904 seconds][0m [0mRoute Service Handler [38;5;243mwith Route Services enabled [0mwith route service URL configured for the route [38;5;243mwhen the route service has a route in the route registry [0mwhen the hairpin feature flag is enabled, with a large list of not matching allowlist entries [38;5;10m[1mdoes not add a flag to the request context[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/handlers/routeservice_test.go:392[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m Time taken to process request with large allowlist: 326.787µs [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10mSUCCESS![0m 33.415635848s [1712181532] [1mIntegration Suite[0m - 174/174 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [22.365 seconds][0m [0mRetries [38;5;243mwhen gorouter is called by a bad client [38;5;10m[1mdoes not prune the endpoint on context cancelled[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/integration/retry_test.go:55[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:02:21 http: TLS handshake error from 127.0.0.1:60578: EOF [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [25.111 seconds][0m [0mTLS to backends [38;5;10m[1mlogs an access log with valid timestamps[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/integration/tls_to_backends_test.go:135[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m contents some-app-expecting-client-certs.localhost.routing.cf-app.com:25532 - [2024-04-03T22:04:56.009889661Z] "GET / HTTP/1.1" 200 0 22 "-" "Go-http-client/1.1" "127.0.0.1:40818" "127.0.0.1:25560" x_forwarded_for:"127.0.0.1" x_forwarded_proto:"http" vcap_request_id:"c6c91231-bd2d-491d-4542-51edf236b9f4" response_time:0.258984 gorouter_time:0.001093 app_id:"b8c1312d-d572-43c1-4bb5-505d0603fb59" app_index:"0" instance_id:"ed75b401-ad11-4e9a-5198-ef860e9966d6" x_cf_routererror:"-" x_b3_traceid:"c6c91231bd2d491d454251edf236b9f4" x_b3_spanid:"454251edf236b9f4" x_b3_parentspanid:"-" b3:"c6c91231bd2d491d454251edf236b9f4-454251edf236b9f4" [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [16.640 seconds][0m [0mRouter Integration [38;5;243mroute services [0mwhen the route service is not hosted on the platform (external) [38;5;10m[1msuccessfully connects to the route service[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/integration/main_test.go:883[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:04:54 http: TLS handshake error from 127.0.0.1:45604: EOF [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [25.220 seconds][0m [0mRoute services [38;5;243mwhen the route service has a MaxVersion of TLS 1.1 [0mwhen the client has MinVersion of TLS 1.2 [38;5;10m[1mfails with a 502[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/integration/route_services_test.go:337[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:09:26 http: TLS handshake error from 127.0.0.1:40644: tls: client offered only unsupported versions: [303] 2024/04/03 22:09:26 http: TLS handshake error from 127.0.0.1:40646: tls: client offered only unsupported versions: [303] 2024/04/03 22:09:26 http: TLS handshake error from 127.0.0.1:40662: tls: client offered only unsupported versions: [303] [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [27.633 seconds][0m [0mRoute services [38;5;243mHappy Path [0mWhen an app is registered with a simple route service [38;5;10m[1mproperly URL-encodes and decodes[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/integration/route_services_test.go:113[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:09:44 http: TLS handshake error from 127.0.0.1:45008: EOF [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [13.798 seconds][0m [0mRoute services [38;5;243mwhen the route service only uses TLS 1.3 [0mwhen the client has MaxVersion of TLS 1.2 [38;5;10m[1mfails with a 502[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/integration/route_services_test.go:279[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:19 http: TLS handshake error from 127.0.0.1:33262: tls: client offered only unsupported versions: [303] 2024/04/03 22:10:19 http: TLS handshake error from 127.0.0.1:33274: tls: client offered only unsupported versions: [303] 2024/04/03 22:10:19 http: TLS handshake error from 127.0.0.1:33290: tls: client offered only unsupported versions: [303] [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10mSUCCESS![0m 8m29.03643981s [1712181532] [1mLogger Suite[0m - 28/28 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 111.03875ms [1712181532] [1mMbus Suite[0m - 28/28 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.139 seconds][0m [0mSubscriber [38;5;243mDropped [38;5;10m[1mreturns the subscription Dropped value[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/mbus/subscriber_test.go:206[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m nats: slow consumer, messages dropped on connection [5] for subscription on "router.*" [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 2.467342983s [1712181532] [1mMetrics Suite[0m - 51/51 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 122.420249ms [1712181532] [1mMonitor Suite[0m - 12/12 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 2.148809113s [1712181532] [1mProxy Suite[0m - 171/171 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.022 seconds][0m [0mProxy Unit tests [38;5;243mServeHTTP [0mfull duplex [38;5;243mfor HTTP/1.1 requests [0mwhen concurrent read write is not enabled [38;5;10m[1mdoes not enable full duplex[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_unit_test.go:127[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:32 http: proxy error: http: no Host in request URL [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.012 seconds][0m [0mProxy Unit tests [38;5;243mServeHTTP [0mwhen backend fails to respond [38;5;10m[1mlogs the error and associated endpoint[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_unit_test.go:87[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:32 http: proxy error: http: no Host in request URL [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.055 seconds][0m [0mProxy Unit tests [38;5;243mServeHTTP [0mfull duplex [38;5;243mfor HTTP/1.1 requests [0mwhen concurrent read write is enabled [38;5;10m[1menables full duplex[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_unit_test.go:105[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:32 http: proxy error: http: no Host in request URL [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.111 seconds][0m [0mProxy [38;5;243mAccess Logging [0mA slow response body [38;5;10m[1mshows in response_time, not gorouter_time[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1534[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:32 Unsolicited response received on idle HTTP channel starting with "\r\n"; err= [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.009 seconds][0m [0mProxy [38;5;243mError Responses [38;5;10m[1mresponds to misbehaving host with 502[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:2293[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:32 http: proxy error: read tcp 127.0.0.1:52452->127.0.0.1:44987: read: connection reset by peer [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [1.859 seconds][0m [0mRoute Services [38;5;243mwith SkipSSLValidation enabled [0mwhen a request has a valid Route service signature header [38;5;243mand is forwarding to a route service on CF [38;5;10m[1mdoes not strip the signature header[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/route_service_test.go:261[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:34 http: TLS handshake error from 127.0.0.1:56094: remote error: tls: bad certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [2.986 seconds][0m [0mBackend TLS [38;5;243mwhen the backend server cert domain SAN does not match the common name on the backend's cert [38;5;10m[1mreturns a HTTP 503 Service Unavailable error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:149[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:36 http: proxy error: tls: failed to verify certificate: x509: certificate is valid for 83723ea6-a706-4f55-583d-43e366ef818e, not foo-san [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.007 seconds][0m [0mProxy Unit tests [38;5;243mServeHTTP [0mLog response time [38;5;10m[1mlogs response time for HTTP connections[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_unit_test.go:146[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:36 http: proxy error: http: no Host in request URL [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [4.071 seconds][0m [0mBackend TLS [38;5;243mwhen the backend requires a client certificate [0mwhen the gorouter does not present certs [38;5;10m[1mreturns a HTTP 496 status code[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:115[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:36 http: proxy error: remote error: tls: bad certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.125 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [38;5;10m[1mproxy detects closed client connection[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1145[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:36 http: proxy error: context canceled [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.732 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [38;5;10m[1mproxy closes connections to backends when client closes the connection[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1187[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:36 http: proxy error: context canceled [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [0.072 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [0mwhen max conn per backend is set to > 0 [38;5;10m[1mresponds with 503 after conn limit is reached [0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1029[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:37 Unsolicited response received on idle HTTP channel starting with "hello from server after sleeping\r\n"; err= 2024/04/03 22:10:37 Unsolicited response received on idle HTTP channel starting with "hello from server after sleeping\r\n"; err= [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.007 seconds][0m [0mProxy Unit tests [38;5;243mServeHTTP [0mLog response time [38;5;10m[1mlogs response time for TCP connections[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_unit_test.go:155[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:39 http: proxy error: http: no Host in request URL [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [6.521 seconds][0m [0mBackend TLS [38;5;243mwhen the backend requires a client certificate [0mwhen the gorouter presents certs that the backend does not trust [38;5;10m[1mreturns a HTTP 496 status code[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:106[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:39 http: proxy error: remote error: tls: unknown certificate authority [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [2.973 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [0mwhen a TLS handshake occurs [38;5;243mwhen the server cert does not match the client [0mwhen emptyPoolResponseCode503 is true [38;5;243mwhen MaxConns is > 0 [38;5;10m[1mprunes the route[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1311[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:39 http: proxy error: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match a-different-instance-id [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [3.517 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [0mwhen a TLS handshake occurs [38;5;243mwhen the server cert does not match the client [0mwhen emptyPoolResponseCode503 is false [38;5;10m[1mprunes the route[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1330[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:40 http: proxy error: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match a-different-instance-id [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [3.325 seconds][0m [0mBackend TLS [38;5;243mwhen the backend instance certificate is signed with an invalid CA [38;5;10m[1mreturns a HTTP 526 status code[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:138[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:41 http: proxy error: tls: failed to verify certificate: x509: certificate signed by unknown authority [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [1.857 seconds][0m [0mRoute Services [38;5;243mwith SkipSSLValidation enabled [0mwhen a request has a valid Route service signature header [38;5;10m[1mreturns 502 when backend not available[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/route_service_test.go:291[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:41 http: proxy error: dial tcp 127.0.0.1:81: connect: connection refused [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.398 seconds][0m [0mProxy [38;5;243mError Responses [0mwhen the round trip errors and original client has disconnected [38;5;10m[1mresponse code is always 499[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:2367[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:41 http: proxy error: context canceled 2024/04/03 22:10:41 http: proxy error: context canceled 2024/04/03 22:10:41 http: proxy error: context canceled 2024/04/03 22:10:41 http: proxy error: context canceled [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [7.606 seconds][0m [0mBackend TLS [38;5;243mwhen the backend instance returns a cert that has a matching CommonName but non-matching IP SAN [38;5;10m[1mreturns a HTTP 503 response (requires Go 1.9 or later)[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:213[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:41 http: proxy error: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match 6eeca750-ab0e-4fe0-64da-1e82b286d0cd [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [1.835 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [0mwhen TLS handshake is not reciprocated by the application [38;5;10m[1mprunes the route[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1397[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:43 http: proxy error: net/http: TLS handshake timeout [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.312 seconds][0m [0mProxy [38;5;243mAccess Logging [0mA slow response body [38;5;243mA slow app with multiple broken endpoints and attempt details logging enabled [38;5;10m[1mshows no backend_time or other attempt details if all endpoints are broken[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1697[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:44 http: proxy error: dial tcp 10.255.255.1:1234: i/o timeout [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [1.008 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [38;5;10m[1mrequest terminates with slow response[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1072[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:44 http: proxy error: context deadline exceeded [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [1.111 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [38;5;10m[1mproxy closes connections with slow apps[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1098[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:45 http: proxy error: context deadline exceeded [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [5.005 seconds][0m [0mProxy [38;5;243mResponse Handling [0mwhen concurrent read write is not enabled [38;5;10m[1mcan not simultaneously read request and write response[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:772[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:41 httputil: ReverseProxy read error during body copy: context deadline exceeded [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.023 seconds][0m [0mProxy [38;5;243mproxying the request headers [0mContent-type [38;5;243mwhen the response body is XML [38;5;10m[1mstill does not set the Content-Type header[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:540[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:45 Unsolicited response received on idle HTTP channel starting with "\r\n"; err= [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [6.776 seconds][0m [0mBackend TLS [38;5;243mwhen the backend instance returns a cert that has a matching CommonName but non-matching DNS SAN [38;5;10m[1mreturns a HTTP 503 Service Unavailable error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:181[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:45 http: proxy error: tls: failed to verify certificate: x509: certificate is valid for foo, not d37df63e-5977-4acc-7cb7-86b36de9b185 [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [1.627 seconds][0m [0mProxy [38;5;243mBackend Connection Handling [0mwhen a TLS handshake occurs [38;5;243mwhen the server cert does not match the client [0mwhen emptyPoolResponseCode503 is true [38;5;10m[1mprunes the route[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1294[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:47 http: proxy error: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match a-different-instance-id [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [5.629 seconds][0m [0mBackend TLS [38;5;243mwhen the backend instance returns a cert that has a non-matching CommonName but matching IP SAN [38;5;10m[1mreturns with a HTTP 503 Service Unavailable error (possible route integrity failure)[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:229[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:47 http: proxy error: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match e4423ece-f93e-4267-79d9-245adce04c14 [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.747 seconds][0m [0mProxy [38;5;243mAccess Logging [0mA slow response body [38;5;243mA slow app with multiple broken endpoints and attempt details logging enabled [38;5;10m[1mshows in failed_attempts_time and backend_time, not gorouter_time[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:1638[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:48 Unsolicited response received on idle HTTP channel starting with "\r\n"; err= 2024/04/03 22:10:48 Unsolicited response received on idle HTTP channel starting with "\r\n"; err= [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [3.249 seconds][0m [0mRoute Services [38;5;243mwith SkipSSLValidation enabled [0mwhen a request does not have a valid Route service signature header [38;5;243mwhen the route service is not available [38;5;10m[1mreturns a 502 bad gateway error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/route_service_test.go:166[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:50 http: proxy error: dial tcp: lookup bad-route-service on 192.168.5.1:53: no such host [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [6.422 seconds][0m [0mBackend TLS [38;5;243mwhen the backend requires a client certificate [0mwhen the gorouter does not present certs [38;5;243mwhen the route is expired and the backend fails with a retriable error [38;5;10m[1mprunes the route and returns a HTTP 496 status code[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:123[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:50 http: proxy error: remote error: tls: bad certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [0.131 seconds][0m [0mProxy [38;5;243mResponse Handling [38;5;10m[1mretries on POST requests if nothing was written[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/proxy_test.go:882[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:50 http: proxy error: EOF [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [3.701 seconds][0m [0mBackend TLS [38;5;243mwhen the backend is only listening for non TLS connections [38;5;10m[1mreturns a HTTP 525 SSL Handshake error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:239[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:51 http: proxy error: tls: first record does not look like a TLS handshake [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [2.669 seconds][0m [0mBackend TLS [38;5;243mwhen no cipher suites are shared between gorouter and backend [38;5;10m[1mreturns a HTTP 525 SSL Handshake error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:251[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:51 http: proxy error: remote error: tls: handshake failure [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [6.772 seconds][0m [0mBackend TLS [38;5;243mwhen the backend fails server cert domain SAN validation [38;5;10m[1mresponds with a 526 status code[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/backend_tls_test.go:81[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:52 http: proxy error: tls: failed to verify certificate: x509: certificate signed by unknown authority [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m [38;5;10mSUCCESS![0m 20.749991273s [1712181532] [1mFails Suite[0m - 16/16 specs - 7 procs [38;5;243m------------------------------[0m [38;5;10m• [3.161 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mRemoteFailedTLSCertCheck [0mwhen the server expects client certs [38;5;243mwhen but the client doesn't provide client certs [0mwhen using TLS 1.2 [38;5;10m[1mmatches the error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:148[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:57 http: TLS handshake error from 127.0.0.1:47562: tls: client didn't provide a certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [4.841 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mRemoteFailedTLSCertCheck [0mwhen the server expects client certs [38;5;243mwhen the client-provided cert is not trusted by the server [38;5;10m[1mmatches the error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:177[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:59 http: TLS handshake error from 127.0.0.1:36410: tls: failed to verify certificate: x509: certificate signed by unknown authority [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [5.044 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mRemoteHandshakeFailure [0mwhen some other TLS error occurs [38;5;10m[1mmatches[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:224[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:10:59 http: TLS handshake error from 127.0.0.1:50990: EOF [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [2.869 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mRemoteFailedTLSCertCheck [0mwhen the server expects client certs [38;5;243mwhen another TLS error occurs [38;5;10m[1mdoes not match other tls errors[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:191[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:11:02 http: TLS handshake error from 127.0.0.1:47476: tls: no cipher suite supported by both client and server [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [5.203 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mRemoteHandshakeFailure [0mwhen the cipher suites aren't compatible [38;5;10m[1mmatches[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:209[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:11:02 http: TLS handshake error from 127.0.0.1:50638: tls: no cipher suite supported by both client and server [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [3.533 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mAttemptedTLSWithNonTLSBackend [38;5;10m[1mdoes not match on other tls errors[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:96[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:11:02 http: TLS handshake error from 127.0.0.1:33618: read tcp 127.0.0.1:33401->127.0.0.1:33618: use of closed network connection [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [4.039 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mDial [38;5;10m[1mdoes not match TLS connection errors[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:129[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:11:03 http: TLS handshake error from 127.0.0.1:35800: remote error: tls: bad certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m• [5.307 seconds][0m [0mErrorClassifiers - enemy tests [38;5;243mRemoteFailedTLSCertCheck [0mwhen the server expects client certs [38;5;243mwhen but the client doesn't provide client certs [0mwhen using TLS 1.3 [38;5;10m[1mmatches the error[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/proxy/fails/basic_classifiers_test.go:163[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m 2024/04/03 22:11:03 http: TLS handshake error from 127.0.0.1:39620: tls: client didn't provide a certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m [38;5;10mSUCCESS![0m 10.072151857s [1712181532] [1mHandler Suite[0m - 19/19 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 1.18736774s [1712181532] [1mRoundTripper Suite[0m - 133/133 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 1.514425031s [1712181532] [1mUtils Suite[0m - 29/29 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 102.299885ms [1712181532] [1mRegistry Suite[0m - 83/83 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 5.032625847s [1712181532] [1mContainer Suite[0m - 37/37 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 108.363903ms [1712181532] [1mRoute Suite[0m - 199/199 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 586.648674ms [1712181532] [1mRouteFetcher Suite[0m - 20/20 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 235.089577ms [1712181532] [1mRouter Suite[0m - 104/104 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [6.731 seconds][0m [0mRouter [38;5;243mserving https [0mwhen a client provides a certificate [38;5;243mwhen the client cert is valid [0mwhen the cert is included in clientCAPool [38;5;243mwhen gorouter is configured to verify the cert [0mwhen verify_client_certificate_metadata is provided [38;5;243mwhen the client cert subject is not an exact match for the valid subjects for the specified CA subject [38;5;10m[1munsuccessfully serves SSL traffic[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/router/router_test.go:2102[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m Error Get "https://test.localhost.routing.cf-app.com:25049/": remote error: tls: bad certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m [38;5;243m------------------------------[0m [38;5;10m• [7.092 seconds][0m [0mRouter [38;5;243mserving https [0mwhen a client provides a certificate [38;5;243mwhen the client cert is valid [0mwhen the cert is included in clientCAPool [38;5;243mwhen gorouter is configured to verify the cert [0mwhen verify_client_certificate_metadata is provided [38;5;243mwhen the client cert subject is not in the valid subjects for the specified CA subject [38;5;10m[1munsuccessfully serves SSL traffic[0m [38;5;243m/repo/src/code.cloudfoundry.org/gorouter/router/router_test.go:2072[0m

[38;5;243mCaptured StdOut/StdErr Output >>[0m Error Get "https://test.localhost.routing.cf-app.com:25625/": remote error: tls: bad certificate [38;5;243m<< Captured StdOut/StdErr Output[0m [38;5;243m------------------------------[0m [38;5;10m•[0m[38;5;10m•[0m [38;5;10mSUCCESS![0m 55.40660127s [1712181532] [1mRouteService Suite[0m - 20/20 specs - 7 procs [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[

tpbrisco avatar Apr 03 '24 23:04 tpbrisco