Skip to content

xds_end2end_test crash #25897

@yashykt

Description

@yashykt

I found this crash on xds_end2end_test

E0406 11:18:38.598187823     259 tls_security_connector.cc:572] Server BlockOnInitialCredentialHandshaker not supported yet.
E0406 11:18:38.601282991     259 server_auth_filter.cc:303]  assertion failed: auth_context != nullptr
*** SIGABRT received at time=1617707918 on cpu 0 ***
PC: @     0x7fcd1bee1428  (unknown)  raise
    @     0x7fcd28bee59e        352  absl::lts_20210324::WriteFailureInfo()
    @     0x7fcd28becada        560  absl::lts_20210324::AbslFailureSignalHandler()
    @           0x5ed03c  (unknown)  SignalAction()
Aborted (core dumped)

https://source.cloud.google.com/results/invocations/7ab685e4-1d55-4de5-999a-25e8d9685c97/targets/%2F%2Ftest%2Fcpp%2Fend2end:xds_end2end_test@poller%3Depoll1/log

I believe it happens when certificates have not been updated yet, resulting in a case where handshakers are not added for an incoming connection which would result in auth_context not being populated. The server_auth_filter currently assumes the auth_context to always be filled if the server uses credentials.

@ZhenLian

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions