RSpec failure: ./spec/models/clusters/platforms/kubernetes_spec.rb:231 # Clusters::Platforms::Kubernetes#kubeclient ca_pem is a chain includes chain of certificates
First appeared in https://gitlab.com/gitlab-org/gitlab/-/jobs/1862519205
Failures:
1) Clusters::Platforms::Kubernetes#kubeclient ca_pem is a chain includes chain of certificates
Failure/Error: expect(cert_store.verify(cert1)).to be true
expected true
got false
# ./spec/models/clusters/platforms/kubernetes_spec.rb:243:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:399:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/database/query_analyzer.rb:42:in `within'
# ./spec/support/database/query_analyzer.rb:9:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
Finished in 31 minutes 29 seconds (files took 1 minute 4.12 seconds to load)
3625 examples, 1 failure, 11 pending
Failed examples:
rspec ./spec/models/clusters/platforms/kubernetes_spec.rb:231 # Clusters::Platforms::Kubernetes#kubeclient ca_pem is a chain includes chain of certificates