[test-results] [Bamboo] Asterisk - Trunk > CentOS 5.5 > #20 > i386 has FAILED (8 tests failed, 7 failures were new). Change made by Russell Bryant.

Bamboo bamboo at asterisk.org
Wed Nov 24 13:17:04 CST 2010


-------------- next part --------------
----------------------------------------------------------------------------
Asterisk - Trunk > CentOS 5.5 > #20 > i386 failed.
----------------------------------------------------------------------------
Code has been updated by Russell Bryant.
8/115 tests failed.

http://bamboo.asterisk.org/browse/ASTTRUNK-CENTOS55-I386-20/        


--------------
Code Changes
--------------
Russell Bryant (296034):

>Merged revisions 296002 via svnmerge from 
>https://origsvn.digium.com/svn/asterisk/branches/1.8
>
>................
>  r296002 | russell | 2010-11-24 11:13:08 -0600 (Wed, 24 Nov 2010) | 52 lines
>  
>  Merged revisions 296001 via svnmerge from 
>  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
>  
>  ................
>    r296001 | russell | 2010-11-24 11:03:16 -0600 (Wed, 24 Nov 2010) | 45 lines
>    
>    Merged revisions 296000 via svnmerge from 
>    https://origsvn.digium.com/svn/asterisk/branches/1.4
>    
>    ........
>      r296000 | russell | 2010-11-24 10:48:39 -0600 (Wed, 24 Nov 2010) | 38 lines
>      
>      Handle failures building translation paths more effectively.
>      
>      The problem scenario occurred on a heavily loaded system that was using the
>      codec_dahdi module and exceeded the hardware transcoding capacity.  The failure
>      mode at that point was not good.  The report came in to us as an Asterisk
>      lock-up.  The "core show locks" shows a ton of threads locked up (but no
>      obvious deadlock).  Upon deeper investigation, when the system is in this
>      state, the CPU was maxed out.  The CPU was being consumed by the Asterisk
>      logger spewing messages on every audio frame for calls set up after transcoder
>      capacity was reached.
>      
>      The purpose of this patch is to make Asterisk handle failures to create a
>      translation path in a more graceful manner.  If we can't translate, then the
>      call just needs to be dropped, as it's not going to work.  These are the
>      changes:
>      
>      1) In set_format() of channel.c (which is called by set_read_format() and
>      set_write_format()), it was ignoring if ast_translator_build_path() failed and
>      returned NULL.  It now pays attention to that case and returns a result
>      reflecting failure.  With this change in place, the bridging code will
>      immediately detect a failure and end the bridge instead of proceeding to try to
>      bridge frames that can't be translated and making channel drivers freak out by
>      sending them frames in a format they weren't expecting.
>      
>      2) In ast_indicate_data() of channel.c, failure of ast_playtones_start() was
>      ignored.  It is now reflected in the return value of the function.  This didn't
>      turn out to have any affect on the bug, but seemed like a good change to leave
>      in.
>      
>      3) In app_dial(), when only sending a call to a single endpoint, it will
>      attempt to do some bridging of its own of early audio.  It uses
>      make_compatible() when it's going to do this.  However, it ignored failure from
>      make compatible.  So, even with the fix from #1, if there was early audio going
>      through app_dial, there would still be a period of invalid frames passing
>      through.  After detecting failure here, Dial() exits.
>      
>      ABE-2658
>    ........
>  ................
>................
>


--------------
Tests
--------------
Failed Tests (8)
   - AsteriskTestSuite: Cdr/console dial sip answer (New)
   - AsteriskTestSuite: Cdr/console dial sip busy (New)
   - AsteriskTestSuite: Cdr/console dial sip transfer (New)
   - AsteriskTestSuite: Cdr/console fork after busy forward (New)
   - AsteriskTestSuite: Cdr/console fork before dial (New)
   - AsteriskTestSuite: Mixmonitor (New)
   - AsteriskTestSuite: One-step-parking (New)
   - AsteriskTestSuite: Chanspy/chanspy barge (Existing)


--------------
Error Summary
--------------
   + export PATH=/usr/lib/ccache:/usr/local/libexec/ccache:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin
   + PATH=/usr/lib/ccache:/usr/local/libexec/ccache:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin
   + echo 'PATH has been set to: /usr/lib/ccache:/usr/local/libexec/ccache:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin'
   + '[' -f main/test.c ']'
   + UNIT_TESTS=yes
   + '[' AST-TRUNK = AST-TRUNK ']'
   + CODE_COVERAGE=yes
   + '[' AST-TRUNK = AST-TRUNK ']'
   + EXTERNAL_TESTS=yes
   ++ uname -s
   + '[' Linux = Linux ']'
   ++ grep mips /proc/cpuinfo
   ++ head -1
   ++ cut -d: -f2
   ++ cut -d. -f1
   + '[' 5985 -lt 2000 ']'
   + set -e
   + '[' -d /srv/bamboo/xml-data/build-dir/ASTTRUNK-CENTOS55-I386/test-reports ']'
   + mkdir /srv/bamboo/xml-data/build-dir/ASTTRUNK-CENTOS55-I386/test-reports
   + COMMON_CONFIGURE_ARGS='--sysconfdir=/etc --enable-dev-mode'
   + '[' yes = yes ']'
   + ./configure --sysconfdir=/etc --enable-dev-mode --enable-coverage
   Package gtk+-2.0 was not found in the pkg-config search path.
   Perhaps you should add the directory containing `gtk+-2.0.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'gtk+-2.0' found
   Package gtk+-2.0 was not found in the pkg-config search path.
   Perhaps you should add the directory containing `gtk+-2.0.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'gtk+-2.0' found
   + gmake uninstall-all
   + gmake menuselect.makeopts
   + '[' yes = no ']'
   + menuselect/menuselect --enable DEBUG_THREADS menuselect.makeopts
   + '[' yes = yes ']'
   + menuselect/menuselect --enable TEST_FRAMEWORK menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_TESTS menuselect.makeopts
   + '[' -d addons ']'
   + menuselect/menuselect --enable-category MENUSELECT_ADDONS menuselect.makeopts
   + test -f addons/mp3/mpg123.h
   + contrib/scripts/get_mp3_source.sh
   + '[' -d bridges ']'
   + menuselect/menuselect --enable-category MENUSELECT_BRIDGES menuselect.makeopts
   + '[' -d cel ']'
   + menuselect/menuselect --enable-category MENUSELECT_CEL menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_CDR menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_CHANNELS menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_CODECS menuselect.makeopts
   + '[' -f codecs/codec_ilbc.c ']'
   + menuselect/menuselect --disable codec_ilbc menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_FORMATS menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_FUNCS menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_PBX menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_RES menuselect.makeopts
   + grep -q MENUSELECT_UTILS menuselect.makeopts
   + menuselect/menuselect --enable-category MENUSELECT_UTILS menuselect.makeopts
   + '[' AST-TRUNK = AST-14 ']'
   + gmake ASTCFLAGS=
   gcc: -lcrypto: linker input file unused because linking not done
   gcc: -lcrypto: linker input file unused because linking not done
   + '[' -f doc/core-en_US.xml ']'
   + echo '*** Validating XML documentation ***'
   + gmake validate-docs
   + '[' -d doc/tex ']'
   + echo '*** Installing Asterisk and Sample Configuration ***'
   + WGET_EXTRA_ARGS=--quiet
   + gmake install
   + gmake samples
   + '[' '{PLAN}' = AST-14 ']'
   + '[' '{PLAN}' = AST-162 ']'
   + set +e
   + '[' yes = yes ']'
   + killall_asterisk
   + echo '*** Killing all running Asterisk processes ***'
   + '[' -d /Library/LaunchDaemons ']'
   + run_unit_tests
   + cat
   + start_asterisk
   + echo '*** Starting Asterisk ***'
   + '[' -d /Library/LaunchDaemons ']'
   + asterisk -gn
   + sleep 1
   + asterisk -rx 'core waitfullybooted'
   + sleep 3
   + echo '*** Executing Unit Tests (Results: /srv/bamboo/xml-data/build-dir/ASTTRUNK-CENTOS55-I386/test-reports/unit-test-results.xml) ***'
   + contrib/scripts/astcli -u test -s test 'test execute all'
   + contrib/scripts/astcli -u test -s test 'test generate results xml /srv/bamboo/xml-data/build-dir/ASTTRUNK-CENTOS55-I386/test-reports/unit-test-results.xml'
   + '[' -f 'core*' ']'
   + stop_asterisk
   + echo '*** Stopping Asterisk ***'
   + '[' -d /Library/LaunchDaemons ']'
   + asterisk -rx 'core stop now'
   + sleep 5
   + set -e
   + set +x
   which: no lcov in (/usr/lib/ccache:/usr/local/libexec/ccache:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin)


--
This message is automatically generated by Atlassian Bamboo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/test-results/attachments/20101124/a652ff36/attachment-0001.htm 


More information about the Test-results mailing list