Skip to content

Conversation

kart2bc
Copy link
Contributor

@kart2bc kart2bc commented Oct 13, 2025

Summary

check for empty guid name while creating cert

testresults:

bosh: null | cf:  (tpcf-runtime-vm-karthick) 
~/workspace/diego-release/src/code.cloudfoundry.org/executor |test-san ✔| 
$ docker exec -it 976 /bin/bash
root@976a1f3d4087:/# 
root@976a1f3d4087:/# ./repo/scripts/docker/test.bash executor
Sourcing: built-binaries/proxy/run.bash
Sourcing: built-binaries/nats-server/run.bash
Setting env: DB_USER
Setting env: DB_PASSWORD
Verifying: verify_go repo/src/code.cloudfoundry.org/executor
go version go1.25.2 linux/amd64
booting mysqlconnection established to mysql
[1760390095] Executor Suite - 11/11 specs - 7 procs ••••••••••• SUCCESS! 64.028591ms 
[1760390095] ContainerMetrics Suite - 27/27 specs - 7 procs ••••••••••••••••••••••••••• SUCCESS! 364.413786ms 
[1760390095] Depot Suite - 32/32 specs - 7 procs •••••••••••••••••••••••••••••••• SUCCESS! 435.212924ms 
[1760390095] Containerstore Suite - 254/254 specs - 7 procs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• SUCCESS! 21.884037281s 
[1760390095] Log Streamer Suite - 60/60 specs - 7 procs •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• SUCCESS! 1.180270363s 
[1760390095] Metrics Suite - 7/7 specs - 7 procs ••••••• SUCCESS! 67.849559ms 
[1760390095] Steps Suite - 263/263 specs - 7 procs ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• SUCCESS! 4.860718515s 
[1760390095] Transformer Suite - 63/63 specs - 7 procs ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• SUCCESS! 791.348962ms 
[1760390095] Uploader Suite - 13/13 specs - 7 procs ••••••
------------------------------
• [0.100 seconds]
Uploader Secure Upload when the server supports tls when the client has incorrect certs fails when ca cert is wrong
/repo/src/code.cloudfoundry.org/executor/depot/uploader/uploader_test.go:343

  Captured StdOut/StdErr Output >>
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:55264: remote error: tls: bad certificate
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:55274: remote error: tls: bad certificate
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:55284: remote error: tls: bad certificate
  << Captured StdOut/StdErr Output
------------------------------
••
------------------------------
• [0.092 seconds]
Uploader Secure Upload when the server supports tls when the client has incorrect certs fails when wrong cert/keypair is provided
/repo/src/code.cloudfoundry.org/executor/depot/uploader/uploader_test.go:330

  Captured StdOut/StdErr Output >>
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:38222: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "server-ca")
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:38224: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "server-ca")
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:38240: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "server-ca")
  << Captured StdOut/StdErr Output
------------------------------
•
------------------------------
• [0.235 seconds]
Uploader Secure Upload when the server supports tls when the client has incorrect certs fails when no certs are provided
/repo/src/code.cloudfoundry.org/executor/depot/uploader/uploader_test.go:324

  Captured StdOut/StdErr Output >>
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:52086: remote error: tls: bad certificate
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:52100: remote error: tls: bad certificate
  2025/10/13 21:15:45 http: TLS handshake error from 127.0.0.1:52112: remote error: tls: bad certificate
  << Captured StdOut/StdErr Output
------------------------------
• SUCCESS! 2.568105107s 
[1760390095] HealthState Suite - 26/26 specs - 7 procs •••••••••••••••••••••••••• SUCCESS! 224.575626ms 
[1760390095] Initializer Suite - 37/37 specs - 7 procs ••••••••••••••••••••••••••••••••••••• SUCCESS! 897.409058ms 
[1760390095] Configuration Suite - 29/29 specs - 7 procs ••••••••••••••••••••••••••••• SUCCESS! 131.985587ms 

Ginkgo ran 12 suites in 57.864828937s
Test Suite Passed
root@976a1f3d4087:/# 

Backward Compatibility

Breaking Change? No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant