[asterisk-bugs] [JIRA] (ASTERISK-29874) testsuite notify_after_register/realtime sipp invalid sipp scenarios
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Mon Jan 24 12:02:06 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257817#comment-257817 ]
Kevin Harwell edited comment on ASTERISK-29874 at 1/24/22 12:01 PM:
--------------------------------------------------------------------
{noformat}
$ sudo ./runtests.py -t tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register
[sudo] password for mbradeen:
Running tests for Asterisk (run 1 of 1)...
Tests to run: 1 * 1 time(s) = 1 Maximum test inactivity time: -1 sec.
--> Running test 'tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register' ...
Making sure Asterisk isn't running ...
Making sure SIPp isn't running...
Running tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register ...
[Jan 21 16:47:26] WARNING[1268553]: asterisk.sipp:527 processEnded: Unexpected </scenario> (expected </recv>)
2022-01-21 16:47:26.810384 1642808846.810384: Invalid XML in scenario
Test tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register failed
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
<testsuite errors="0" failures="1" name="AsteriskTestSuite" tests="1" time="2.85" timestamp="2022-01-21T16:47:24 MST">
<testcase classname="channels.pjsip.subscriptions.mwi.unsolicited" name="notify_after_register" time="2.85">
<failure>Running tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register ...
[Jan 21 16:47:26] WARNING[1268553]: asterisk.sipp:527 processEnded: Unexpected </scenario> (expected </recv>)
2022-01-21 16:47:26.810384 1642808846.810384: Invalid XML in scenario
</failure>
</testcase>
</testsuite>
</testsuites>
{noformat}
was (Author: mbradeen):
$ sudo ./runtests.py -t tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register
[sudo] password for mbradeen:
Running tests for Asterisk (run 1 of 1)...
Tests to run: 1 * 1 time(s) = 1 Maximum test inactivity time: -1 sec.
--> Running test 'tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register' ...
Making sure Asterisk isn't running ...
Making sure SIPp isn't running...
Running tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register ...
[Jan 21 16:47:26] WARNING[1268553]: asterisk.sipp:527 processEnded: Unexpected </scenario> (expected </recv>)
2022-01-21 16:47:26.810384 1642808846.810384: Invalid XML in scenario
Test tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register failed
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
<testsuite errors="0" failures="1" name="AsteriskTestSuite" tests="1" time="2.85" timestamp="2022-01-21T16:47:24 MST">
<testcase classname="channels.pjsip.subscriptions.mwi.unsolicited" name="notify_after_register" time="2.85">
<failure>Running tests/channels/pjsip/subscriptions/mwi/unsolicited/notify_after_register ...
[Jan 21 16:47:26] WARNING[1268553]: asterisk.sipp:527 processEnded: Unexpected </scenario> (expected </recv>)
2022-01-21 16:47:26.810384 1642808846.810384: Invalid XML in scenario
</failure>
</testcase>
</testsuite>
</testsuites>
> testsuite notify_after_register/realtime sipp invalid sipp scenarios
> --------------------------------------------------------------------
>
> Key: ASTERISK-29874
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29874
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Tests/testsuite
> Affects Versions: 18.9.0
> Reporter: Michael Bradeen
>
> both notify_after_register and notify_after_register_realtime on line 22 of their respective sipp scenario xml files have an un-terminated recv which is caught by current versions of sipp:
> <recv response="200">
> Additionally, the scenario itself is not valid. sipp will not recognize the notify as part of the same scenario and so will exit without passing. Test needs to be re-worked to give accurate pass/fail.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list