You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2023/01/12 16:30:37 UTC
[GitHub] [trafficserver] bryancall opened a new pull request, #9300: Fixed issue with SDK_API_HttpParentProxySet_Fail regression test
bryancall opened a new pull request, #9300:
URL: https://github.com/apache/trafficserver/pull/9300
When testing 9.2.0 RC0 I ran into an issue with the regression tests (-R 3) crashing. I tracked down the commit that caused the issue to be #7976.
Regression test before #7996
+++++++++ Incoming O.S. Response +++++++++
```
-- State Machine Id: 0
HTTP/1.0 0
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransact.cc:3499 (HandleResponse)> (http_seq) [0] [HttpTransact::HandleResponse] Response not valid
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransact.cc:3634 (handle_response_from_parent)> (http_trans) [0] [handle_response_from_parent] (hrfp)
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransact.cc:3667 (handle_response_from_parent)> (http_trans) [0] [hrfp] connection not alive
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransact.cc:3680 (handle_response_from_parent)> (http_trans) [0] [0] failed to connect to parent 127.0.0.1
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransact.cc:3706 (handle_response_from_parent)> (http_trans) [0] [handle_response_from_parent] 1 per parent attempts exhausted
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransact.cc:260 (nextParent)> (parent_down) [0] sm_id[0] connection to parent 127.0.0.1 failed, conn_state: CONNECTION_CLOSED, request to origin: trafficserver.apache.org
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <ParentSelection.cc:176 (nextParent)> (parent_select) ParentConfigParams::nextParent(): parent_table: 0x1d1ee50, result->rec: 0xeeeeffff
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <ParentSelection.cc:188 (nextParent)> (parent_select) Retry result for trafficserver.apache.org was PARENT_SPECIFIED
[Jan 11 18:05:57.124] [ET_NET 14] DEBUG: <HttpTransactHeaders.cc:1147 (add_server_header_to_response)> (http_trans) Adding Server: ATS/10.0.0
```
Regression test after #7996
```
+++++++++ Incoming O.S. Response +++++++++
-- State Machine Id: 0
HTTP/1.0 0
[Jan 11 17:53:32.904] [ET_NET 11] DEBUG: <HttpTransact.cc:359 (is_response_valid)> (http_trans) [0] Response Error: Missing status code
[Jan 11 17:53:32.904] [ET_NET 11] DEBUG: <HttpTransact.cc:3434 (HandleResponse)> (http_seq) [0] Response not valid
[Jan 11 17:53:32.904] [ET_NET 11] DEBUG: <HttpTransact.cc:3569 (handle_response_from_parent)> (http_trans) [0] (hrfp)
Fatal: ../../../proxy/http/HttpTransact.cc:313: failed assertion `(s->current.state == CONNECTION_ERROR) || (s->current.state == OPEN_RAW_ERROR) || (s->current.state == PARSE_ERROR) || (s->current.state == CONNECTION_CLOSED) || (s->current.state == INACTIVE_TIMEOUT) || (s->current.state == ACTIVE_TIMEOUT) || s->current.state == OUTBOUND_CONGESTION`
```
Regression test after this change
```
+++++++++ Incoming O.S. Response +++++++++
-- State Machine Id: 0
HTTP/1.0 0
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:359 (is_response_valid)> (http_trans) [0] Response Error: Missing status code
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3434 (HandleResponse)> (http_seq) [0] Response not valid
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3569 (handle_response_from_parent)> (http_trans) [0] (hrfp)
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3615 (handle_response_from_parent)> (http_trans) [0] [hrfp] connection not alive
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3628 (handle_response_from_parent)> (http_trans) [0] [0] failed to connect to parent 127.0.0.1
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3654 (handle_response_from_parent)> (http_trans) [0] [handle_response_from_parent] 1 per parent attempts exhausted
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:278 (nextParent)> (parent_down) [0] connection to parent 127.0.0.1 failed, conn_state: BAD_INCOMING_RESPONSE, request to origin: trafficserver.apache.org
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <ParentSelection.cc:176 (nextParent)> (parent_select) ParentConfigParams::nextParent(): parent_table: 0x223a360, result->rec: 0xeeeeffff
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <ParentSelection.cc:188 (nextParent)> (parent_select) Retry result for trafficserver.apache.org was PARENT_SPECIFIED
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3883 (handle_server_connection_not_open)> (http_trans) [0] (hscno)
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransact.cc:3884 (handle_server_connection_not_open)> (http_seq) [0] Entering HttpTransact::handle_server_connection_not_open
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpSM.cc:4348 (do_hostdb_update_if_necessary)> (http) [0] server info = 127.0.0.1:3300
[Jan 11 17:54:04.784] [ET_NET 10] DEBUG: <HttpTransactHeaders.cc:1165 (add_server_header_to_response)> (http_trans) Adding Server: ATS/10.0.0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] bryancall merged pull request #9300: Fixed issue with SDK_API_HttpParentProxySet_Fail regression test
Posted by GitBox <gi...@apache.org>.
bryancall merged PR #9300:
URL: https://github.com/apache/trafficserver/pull/9300
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficserver] zwoop commented on pull request #9300: Fixed issue with SDK_API_HttpParentProxySet_Fail regression test
Posted by "zwoop (via GitHub)" <gi...@apache.org>.
zwoop commented on PR #9300:
URL: https://github.com/apache/trafficserver/pull/9300#issuecomment-1400721424
Cherry-picked to v9.1.x branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org