[Home]

Summary:ASTERISK-28085: testsuite: Figure out why chan_sip blind transfer tests are failing.
Reporter:Joshua C. Colp (jcolp)Labels:
Date Opened:2018-10-01 06:19:52Date Closed:2018-10-29 06:07:44
Priority:MinorRegression?Yes
Status:Closed/CompleteComponents:Tests/General
Versions:13.22.0 15.6.0 Frequency of
Occurrence
Related
Issues:
is caused byASTERISK-28096 pjsip: PJPROJECT 2.8 causes test failure
Environment:Attachments:
Description:For some reason the tests/channels/SIP/sip_blind_transfer tests are failing consistently. They all throw 30 second reactor timeouts. Not just jenkins either. Also happens when I run them locally. Seems to have started a few weeks back.

NOTE: These tests do NOT fail in the 16.0 branch so we must have done something since then to cause these tests to fail.
Comments:By: Corey Farrell (coreyfarrell) 2018-10-09 16:37:45.441-0500

I re-enabled the chan_sip blind transfer tests, confirmed they fail on my system.  I then reverted the Asterisk pjproject-2.8 patches and verified the blind transfer tests passed.

By: Joshua C. Colp (jcolp) 2018-10-10 05:41:37.932-0500

[~coreyfarrell] Both Kevin, myself, and George I think rolled back to even earlier versions of Asterisk that don't use 2.8 and also saw this failing.

By: Corey Farrell (coreyfarrell) 2018-10-10 05:52:33.542-0500

Could you confirm this?  Because after I reverted to pjproject 2.7.2 all 4 tests definitely passed.  I seem to remember only one of the sip transfer tests sporadically failed?  If so then maybe once ASTERISK-28096 is resolved we can re-enable the tests that consistently pass.

By: Kevin Harwell (kharwell) 2018-10-15 15:40:18.410-0500

This seems like it might have something to do with pjsua. On one of my machines I had a system installed version of pjsua. I'm not sure which version of pjproject it was associated with, but I do know it was < 2.8. Bundling Asterisk with 2.8 and using the older pjsua system installed exe made it so these chan_sip tests passed. Moving the pjsua exe out of /usr/local/lib resulted in the tests using the bundled 2.8 pjsua version and then failing. Moving the system pjsua exe back made the tests pass again.