masaori335 opened a new issue, #10296:
URL: https://github.com/apache/trafficserver/issues/10296
It's a bit odd, ASan build on the
`ci.trafficserver.apache.org/ats/ubuntu:23.04` image, `make check` is failed
with `test_NextHopConsistentHash `. However, if I run the test program
directly, it passed.
## `make check`
```
root@c502b392c53f:/workspace/out_of_source_build_dir/proxy/http/remap# make
check
make test_NextHopStrategyFactory test_NextHopRoundRobin
test_NextHopConsistentHash test_PluginFactory test_PluginDso
test_RemapPluginInfo
make[1]: Entering directory
'/workspace/out_of_source_build_dir/proxy/http/remap'
make[1]: 'test_NextHopStrategyFactory' is up to date.
make[1]: 'test_NextHopRoundRobin' is up to date.
make[1]: 'test_NextHopConsistentHash' is up to date.
make[1]: 'test_PluginFactory' is up to date.
make[1]: 'test_PluginDso' is up to date.
make[1]: 'test_RemapPluginInfo' is up to date.
make[1]: Leaving directory
'/workspace/out_of_source_build_dir/proxy/http/remap'
make check-TESTS
make[1]: Entering directory
'/workspace/out_of_source_build_dir/proxy/http/remap'
make[2]: Entering directory
'/workspace/out_of_source_build_dir/proxy/http/remap'
PASS: test_NextHopStrategyFactory
PASS: test_NextHopRoundRobin
FAIL: test_NextHopConsistentHash
PASS: test_PluginFactory
PASS: test_PluginDso
PASS: test_RemapPluginInfo
```
test-suite.log has this.
```
next_hop
../../../../proxy/http/remap/NextHopConsistentHash.cc:415:findNextHop() [30007]
next hop c4.bar.com is now retryable
next_hop
../../../../proxy/http/remap/NextHopConsistentHash.cc:453:findNextHop() [30007]
Initial parent lookups: 2789
next_hop
../../../../proxy/http/remap/NextHopConsistentHash.cc:485:findNextHop() [30007]
result->result: PARENT_SPECIFIED Chosen parent: c4.bar.com.80
-------------------------------------------------------------------------------
Scenario: Testing NextHopConsistentHash class (alternating rings), using
policy
'consistent_hash'
Given: Loading the consistent-hash-tests.yaml config for
'consistent_hash' tests.
When: requests are made in a config set for alternating rings and
hosts
are marked down.
Then: expect the following results when making requests and marking
hosts down.
-------------------------------------------------------------------------------
../../../../proxy/http/remap/unit-tests/test_NextHopConsistentHash.cc:544
...............................................................................
../../../../proxy/http/remap/unit-tests/test_NextHopConsistentHash.cc:608:
FAILED:
REQUIRE( result->result == ParentResultType::PARENT_FAIL )
with expansion:
2 == 4
```
## Direct run
```
root@c502b392c53f:/workspace/out_of_source_build_dir/proxy/http/remap#
./test_NextHopConsistentHash
...
===============================================================================
All tests passed (111 assertions in 8 test cases)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]