Aron Xu created TS-1613:
---------------------------
Summary: make test of esi plugin failed
Key: TS-1613
URL: https://issues.apache.org/jira/browse/TS-1613
Project: Traffic Server
Issue Type: Bug
Components: Build
Reporter: Aron Xu
git commit ddbc3567b4176cef7ef759bd1f93b6f76f5c7503
===================== Test 21) invalidly expanding url
lt-processor_test: test/processor_test.cc:483: int main(): Assertion
`output_data_len == 0' failed.
Debug (processor): [addParseData] Implicit call to start()
Debug (parser): [_parse], Adding data of size 4 before (newly found) ESI tag as
PRE node
Debug (parser): [_compareData] string [include ] is equal to data at position 9
Debug (parser): [_parse] Found [INCLUDE] tag at position 4
Debug (parser): [_searchData] Found full match of /> in [src=$...] at position
34
Debug (parser): [_parse] Handling include tag...
Debug (parser): [_processIncludeTag] Added include tag with url [$(HTTP_HOST)]
Debug (parser): [_parse] Added 2 node(s) during parse
Debug (processor): [_preprocess] Adding fetch request for url [$(HTTP_HOST)]
Debug (vars): [_parseCachedHeaders] Parsing headers
Debug (vars): [getValue] Unmatched simple variable [HTTP_HOST] not in dict
variable form
Debug (expression): [expand] Got value [] for variable [HTTP_HOST]
Debug (expression): [expand] Returning final expanded expression []
Error: [_preprocess] Couldn't expand raw URL [$(HTTP_HOST)]
Debug (parser): [_setup] Returning true for empty data
Debug (parser): [_parse] Adding trailing text of size 4 starting at [ bar] as a
PRE node
Debug (parser): [_parse] Added 1 node(s) during parse
Debug (processor): [_handleParseComplete] Parsed ESI document with 3 nodes
Debug (processor): [process] Processing ESI node [PRE] with data of size 4
starting with [foo <...]
Debug (processor): [process] Processing ESI node [INCLUDE] with data of size 0
starting with [(null...]
Error: [_getIncludeData] Data not requested for URL [$(HTTP_HOST)]; no data to
include
Error: [_processEsiNode] Failed to process ESI doc node of type 2
Error: [process] Failed to process ESI node []
/bin/bash: line 5: 23903 Aborted ${dir}$tst
FAIL: processor_test
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira