[asterisk-bugs] [JIRA] (ASTERISK-25125) Testsuite: Investigate lock-up of tests/fastagi/record-file
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu Jun 4 16:21:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226449#comment-226449 ]
Matt Jordan commented on ASTERISK-25125:
----------------------------------------
Strangely enough, it does run okay on my local machine:
{code}
mjordan at mjordan-laptop ~/projects/testsuite (master) $ sudo ./runtests.py --test=tests/fastagi/record-file
[sudo] password for mjordan:
Running tests for Asterisk GIT-master-00a47ff
...
Tests to run: 1, Maximum test inactivity time: -1 sec.
--> Running test 'tests/fastagi/record-file' ...
Making sure Asterisk isn't running ...
Making sure SIPp isn't running...
Running ['tests/fastagi/record-file/run-test'] ...
No handlers could be found for logger "asterisk.asterisk"
Starting Asterisk
Originating call to begin test which terminates recording with DTMF
Stopping Reactor ...
Test ['tests/fastagi/record-file/run-test', 'GIT-master-00a47ff'] passed
<?xml version="1.0" encoding="utf-8"?>
<testsuite errors="0" failures="0" name="AsteriskTestSuite" tests="1" time="32.72">
<testcase name="tests/fastagi/record-file" time="32.72"/>
</testsuite>
mjordan at mjordan-laptop ~/projects/testsuite (master) $
{code}
It wouldn't shock me if the test was a bit brittle. Maybe because I'm {{sudoing}} it?
> Testsuite: Investigate lock-up of tests/fastagi/record-file
> -----------------------------------------------------------
>
> Key: ASTERISK-25125
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25125
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Tests/testsuite
> Reporter: Corey Farrell
>
> Every time I run the full testsuite I come back 12 hours later to see progress frozen at tests/fastagi/record-file/. No instances of Asterisk are running, {{tests/fastagi/record-file/run-test}} is left running. I run the testsuite with {{./run-local run}}, unsure if that is relevant to this issue. Marking as major since the full testsuite takes a VERY long time to run, any test that freezes the whole process is a major issue.
> Strange thing is it doesn't look like the test ever attempted to start Asterisk. After this failure there are no {{astroot/tmp/fastagi/record-file}} or {{logs/fastagi/record-file}} folders. {{logs/messages.txt}} does not have any messages about the test, just a large gap in the timestamps:
> {noformat}
> [May 23 12:18:52] INFO[19292]: asterisk.test_case:158 __init__: Executing tests/fastagi/hangup
> ...
> [May 23 12:19:19] INFO[19292]: twisted:443 emit: Main loop terminated.
> [May 23 18:04:35] INFO[20491]: asterisk.test_case:158 __init__: Executing tests/fastagi/say-alpha
> {noformat}
> 6PM being when I killed the process for {{python tests/fastagi/record-file/run-test}}. There was a message on the screen about reactor timeout, but for some reason it didn't make it to a log and my screen has scrolled too far. Once my system is available I will try running this test alone so I can get more information.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list