Enable logging tests for BB CI
Currently when enabled the logging script tests are hit or miss whether they pass. Failures look like:
+ sleep 15
+ echo 'Hitting Elasticsearch API endpoint...'
+ curl -skISu elastic:8to2Udy2c505MT67gQOre1m2 https://logging-ek-es-http.logging.svc.cluster.local:9200/
Hitting Elasticsearch API endpoint...
+ export ES_DOWN=true
+ ES_DOWN=true
Test 1 Failure: Cannot hit Elasticsearch endpoint.
+ [[ true == \t\r\u\e ]]
+ echo 'Test 1 Failure: Cannot hit Elasticsearch endpoint.'
Debug information (curl response):
+ echo 'Debug information (curl response):'
++ curl -ku elastic:8to2Udy2c505MT67gQOre1m2 https://logging-ek-es-http.logging.svc.cluster.local:9200
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to logging-ek-es-http.logging.svc.cluster.local port 9200: Connection refused
+ echo
+ exit 1
This seems to be something that might be resolved either by changes to networkpolicies or improved retries.