[asterisk-bugs] [JIRA] (ASTERISK-30208) runtests.py hangs forever if Asterisk cannot start
George Joseph (JIRA)
noreply at issues.asterisk.org
Fri Sep 2 05:35:09 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Joseph updated ASTERISK-30208:
-------------------------------------
Status: Open (was: Triage)
> runtests.py hangs forever if Asterisk cannot start
> --------------------------------------------------
>
> Key: ASTERISK-30208
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30208
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Tests/testsuite
> Affects Versions: 18.14.0
> Environment: Linux debian11 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 GNU/Linux
> Reporter: N A
>
> If Asterisk fails to start for a test, then runtests.py just hangs forever until it gets a SIGINT.
> Probably only a minor issue - this shouldn't happen, but if it happens, then the tests aren't going to pass anyway, so it only happens if there's another problem.
> From log/messages.txt:
> {noformat}
> [Sep 01 09:52:09] INFO[2716462]: asterisk.test_case:168 __init__: Executing tests/apps/agents/agent_acknowledge/agent_acknowledge_error
> [Sep 01 09:52:09] INFO[2716462]: asterisk.test_case:279 create_asterisk: Creating Asterisk instance 1
> [Sep 01 09:52:09] INFO[2716462]: asterisk.test_case:458 _start_asterisk: Starting Asterisk instance 1
> [Sep 01 09:52:09] WARNING[2716462]: asterisk.asterisk:246 errReceived: Asterisk 127.0.0.1 received error: ASTdb initialization failed. ASTERISK EXITING!
> [Sep 01 09:52:18] INFO[2716462]: twisted:147 publishToNewObserver: Received SIGINT, shutting down.
> [Sep 01 09:52:18] INFO[2716462]: twisted:147 publishToNewObserver: Main loop terminated.
> [Sep 01 09:52:18] INFO[2716462]: test_runner:312 main: Test run for tests/apps/agents/agent_acknowledge/agent_acknowledge_error completed with result None
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:18] CRITICAL[2716462]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 09:52:38] INFO[2716483]: asterisk.test_case:168 __init__: Executing tests/apps/agents/agent_acknowledge/agent_acknowledge_error
> [Sep 01 09:52:38] INFO[2716483]: asterisk.test_case:279 create_asterisk: Creating Asterisk instance 1
> [Sep 01 09:52:38] INFO[2716483]: asterisk.test_case:458 _start_asterisk: Starting Asterisk instance 1
> [Sep 01 09:52:38] WARNING[2716483]: asterisk.asterisk:246 errReceived: Asterisk 127.0.0.1 received error: ASTdb initialization failed. ASTERISK EXITING!
> [Sep 01 09:52:39] INFO[2716483]: twisted:147 publishToNewObserver: Received SIGINT, shutting down.
> [Sep 01 09:52:39] INFO[2716483]: twisted:147 publishToNewObserver: Main loop terminated.
> [Sep 01 09:52:39] INFO[2716483]: test_runner:312 main: Test run for tests/apps/agents/agent_acknowledge/agent_acknowledge_error completed with result None
> [Sep 01 11:24:20] INFO[2720252]: asterisk.test_case:168 __init__: Executing tests/apps/agents/agent_acknowledge/agent_acknowledge_error
> [Sep 01 11:24:20] INFO[2720252]: asterisk.test_case:279 create_asterisk: Creating Asterisk instance 1
> [Sep 01 11:24:20] INFO[2720252]: asterisk.test_case:458 _start_asterisk: Starting Asterisk instance 1
> [Sep 01 11:24:20] WARNING[2720252]: asterisk.asterisk:246 errReceived: Asterisk 127.0.0.1 received error: ASTdb initialization failed. ASTERISK EXITING!
> [Sep 01 11:24:22] INFO[2720252]: twisted:147 publishToNewObserver: Received SIGINT, shutting down.
> [Sep 01 11:24:22] INFO[2720252]: twisted:147 publishToNewObserver: Main loop terminated.
> [Sep 01 11:24:22] INFO[2720252]: test_runner:312 main: Test run for tests/apps/agents/agent_acknowledge/agent_acknowledge_error completed with result None
> [Sep 01 15:50:41] INFO[2724484]: asterisk.test_case:168 __init__: Executing tests/apps/assert
> [Sep 01 15:50:41] INFO[2724484]: asterisk.test_case:279 create_asterisk: Creating Asterisk instance 1
> [Sep 01 15:50:41] INFO[2724484]: asterisk.test_case:458 _start_asterisk: Starting Asterisk instance 1
> [Sep 01 15:50:42] WARNING[2724484]: asterisk.asterisk:246 errReceived: Asterisk 127.0.0.1 received error: ASTdb initialization failed. ASTERISK EXITING!
> [Sep 01 15:50:54] INFO[2724484]: twisted:147 publishToNewObserver: Received SIGINT, shutting down.
> [Sep 01 15:50:54] INFO[2724484]: twisted:147 publishToNewObserver: Main loop terminated.
> [Sep 01 15:50:54] INFO[2724484]: test_runner:312 main: Test run for tests/apps/assert completed with result None
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:50:54] CRITICAL[2724484]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:51:53] INFO[2724533]: asterisk.test_case:168 __init__: Executing tests/apps/agents/agent_acknowledge/agent_acknowledge_error
> [Sep 01 15:51:53] INFO[2724533]: asterisk.test_case:279 create_asterisk: Creating Asterisk instance 1
> [Sep 01 15:51:53] INFO[2724533]: asterisk.test_case:458 _start_asterisk: Starting Asterisk instance 1
> [Sep 01 15:51:53] WARNING[2724533]: asterisk.asterisk:246 errReceived: Asterisk 127.0.0.1 received error: ASTdb initialization failed. ASTERISK EXITING!
> [Sep 01 15:52:26] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:52:26] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:52:26] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:50] INFO[2724533]: twisted:147 publishToNewObserver: Received SIGINT, shutting down.
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] CRITICAL[2724533]: twisted:147 publishToNewObserver: Unhandled error in Deferred:
> [Sep 01 15:57:51] INFO[2724533]: twisted:147 publishToNewObserver: Main loop terminated.
> [Sep 01 15:57:51] INFO[2724533]: test_runner:312 main: Test run for tests/apps/agents/agent_acknowledge/agent_acknowledge_error completed with result None
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list