Repository navigation
Closed
Description
Another intermittent failure of AuTest. I saw this several times on ci jobs for PRs.
Test: thread_2_1: Failed
File: thread_2_1.test.py
Directory: /var/jenkins/workspace/autest-github/src/tests/gold_tests/thread_config
Starting Test thread_2_1 : No issues found - Passed
Reason: Started!
Process: ts: Passed
Setting up : MakeDir - Passed
Setting up : Copy - Passed
Setting up : MakeDir - Passed
Setting up : Chown - Passed
Setting up : Chown - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : CopyAs - Passed
Setting up : Copy - Passed
Setting up : MakeDir - Passed
Setting up : Copy - Passed
Setting up : MakeDir - Passed
Setting up : Chown - Passed
Setting up : Chown - Passed
Setting up : MakeDir - Passed
Setting up : Chown - Passed
Setting up : Chown - Passed
Setting up : MakeDir - Passed
Setting up : MakeDir - Passed
Setting up : Chown - Passed
Setting up : Chown - Passed
Setting up : MakeDir - Passed
Setting up : Chown - Passed
Setting up : Chown - Passed
Setting up : Lamda - Passed
Setting up : Lamda - Passed
Setting up : Lamda - Passed
Setting up : Lamda - Passed
Setting up : CopyAs - Passed
Test : Checking that ReturnCode == 0 - Passed
Reason: Returned Value: 0 == 0
file /var/tmp/ausb-5903.11015/thread_2_1/ts/log/diags.log : diags.log should not contain errors - Passed
Reason: Contents of /var/tmp/ausb-5903.11015/thread_2_1/ts/log/diags.log excludes expression
file /var/tmp/ausb-5903.11015/thread_2_1/ts/log/diags.log : diags.log should not contain errors - Passed
Reason: Contents of /var/tmp/ausb-5903.11015/thread_2_1/ts/log/diags.log excludes expression
Appending File /var/tmp/ausb-5903.11015/thread_2_1/ts/config/records.config : Writing config file records.config - Passed
Reason: Success
Appending File /var/tmp/ausb-5903.11015/thread_2_1/ts/config/remap.config : Appended file /var/tmp/ausb-5903.11015/thread_2_1/ts/config/remap.config - Passed
Reason: Success
Process: server: Passed
Setting up : Lamda - Passed
Setting up : MakeDir - Passed
Test : Checking that any test passes - Passed
Reason: One or more tests passed
Test : Checking that ReturnCode == None - Failed
Reason: Returned Value 0 != None
Test : Checking that ReturnCode == 0 - Passed
Reason: Returned Value: 0 == 0
Process: Default: Skipped
Reason: Was not started
Process: Default: Skipped
Reason: Was not started
Run: 0-tr: Passed
Process: Default: Passed
Test : Checking that ReturnCode == 0 - Passed
Reason: Returned Value: 0 == 0
file /var/tmp/ausb-5903.11015/thread_2_1/_output/0-tr-Default/stream.stderr.txt : Checking that /var/tmp/ausb-5903.11015/thread_2_1/_output/0-tr-Default/stream.stderr.txt matches gold/http_200.gold - Passed
Reason: Values match
Process: Default: Passed
Test : Checking that ReturnCode == 0 - Passed
Reason: Returned Value: 0 == 0
file /var/tmp/ausb-5903.11015/thread_2_1/_output/0-tr-Default/stream.stderr.txt : Checking that /var/tmp/ausb-5903.11015/thread_2_1/_output/0-tr-Default/stream.stderr.txt matches gold/http_200.gold - Passed
Reason: Values match
Run: 1-tr: Failed
Starting TestRun 1-tr : No Issues found - Passed
Reason: Started!
Process: Default: Failed
Test : Checking that ReturnCode == 0 - Failed
Reason: Returned Value 1 != 0
Process: Default: Failed
Test : Checking that ReturnCode == 0 - Failed
Reason: Returned Value 1 != 0
Activity
masaori335 commentedon Sep 6, 2019
"thread_1_1" fails sometime too.
https://ci.trafficserver.apache.org/job/autest-github/10994/console
masaori335 commentedon Jun 3, 2020
thread_2_10 got similar intermittent failure.
https://ci.trafficserver.apache.org/job/autest-github/13379/console
https://ci.trafficserver.apache.org/autest/ausb-6844.13379/thread_2_10/_output/1-tr-Default/stream.all.txt
[-]Intermittent AuTest failure (thread_2_1)[/-][+]Intermittent AuTest failures (thread_N_M tests)[/+]ywkaras commentedon Oct 1, 2020
thread_1_0 was seen to fail recently.
ywkaras commentedon Oct 1, 2020
I ran the thread_1_0 test 500 times and it failed twice, here is the sandbox: https://github.com/ywkaras/MiscRepo/blob/master/FILES/thread_0_1_sb.tar.gz .
ywkaras commentedon Oct 1, 2020
I think the above failures may have been because of faulty docker installation. I will retry.
ywkaras commentedon Oct 1, 2020
Saw a single failure on the retry. It looks like TS froze very early in the initialization process. diags.log does not exist. stream.all.out has zero bytes for the ts process.
ywkaras commentedon Oct 1, 2020
Saw thread_1_0.test.py fail in PR check autest. (The PR, https://github.com/apache/trafficserver/pull/7232/files , only changed a different Au test.) The failure happened running the check_threads.py script in the second test run. Here is the resulting stream.all.txt:
ywkaras commentedon Oct 1, 2020
Here is the diags.log for the failed test above:
bryancall commentedon Aug 30, 2021
Looks like this has been fixed. Please reopen if there is still an issue.
bneradt commentedon Aug 31, 2021
For documentation purposes: this was fixed by #7515. Both the thread_config and the thread_N_M tests used that count_threads function which could wind up trying to get information on a closed process. @duke8253 fixed this issue in #7515 via using the process_iter function.