You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd test flake: 0-length response instead of expected timeout #15453
=== BEGIN TEST CASE ===
test/cmd/timeout.sh:19: executing 'oc login -u testuser -p test --request-timeout=1ns' expecting failure and text 'Timeout exceeded while awaiting headers'
FAILURE after 0.356s: test/cmd/timeout.sh:19: executing 'oc login -u testuser -p test --request-timeout=1ns' expecting failure and text 'Timeout exceeded while awaiting headers': the output content test failed
There was no output from the command.
Standard error from the command:
error: 0-length response
=== END TEST CASE ===
@miminar thank you, I finally managed to reproduce the issue
Code to reproduce the issue:
#!/bin/sh
# Cleanup cluster resources created by this test
(
set +e
oc delete all,templates --all
exit 0
) &>/dev/null
oc new-app node
while true; do
oc login -u testuser -p test --request-timeout=1ns 2>> log.txt &
if grep -q "error" "log.txt"; then
echo "Error found...leaving"
exit 1
fi
done
Activity
simo5 commentedon Aug 15, 2017
@abstractj can you look into this one ?
abstractj commentedon Aug 15, 2017
@simo5 sure!
abstractj commentedon Aug 15, 2017
@miminar is this URL correct? I'm getting 404 when trying to access the report.
miminar commentedon Aug 16, 2017
@abstractj unfortunately the test results don't survive long. The latest accessible run is 3481 as of now (not mentioning anomaly 1250).
abstractj commentedon Aug 16, 2017
@miminar thank you, I finally managed to reproduce the issue
Code to reproduce the issue:
abstractj commentedon Aug 18, 2017
@juanvallejo I will definitely need your help on this. It seems something really tricky to debug.
Merge pull request #15885 from abstractj/issue-15453
juanvallejo commentedon Sep 19, 2017
Fixed in #15885