[erlang-patches] gen_stream intermittent errors

Raimo Niskanen raimo+erlang-patches@REDACTED
Fri Aug 20 15:25:18 CEST 2010


On Wed, Aug 18, 2010 at 10:52:29AM -0700, jay@REDACTED wrote:
> Recent 'pu' summary stated:
> 
> * jn/gen_stream (stdlib) (2010-07-15) 2 commits
>  - Track gen_stream processes directly for accurate test results (38a4083)
>  - Patch dev to reproduce jn/gen_stream (7694a74)
> 
>  . Add new gen_stream behaviour for efficiently consuming serial
> streams (65f3db8)
> 
> This topic branch has failing test cases.
> 
> shell_SUITE:start_restricted_from_shell;
>     We have now tested with and without this topic branch and when
>     it is present that test case fails. We consider it proved
>     to be guilty. The test case does not fail when run standalone
>     so it seems to be tricky... Also, some of its own test cases
>     fail sporadicly apparently since the assumption there shoul
>     be no more processes after the test case does not hold;
>     probably a timing issue.
> 
> ------------------
> 
> Is it really still having intermittent errors?  I made a patch to correct
> the test results that doesn't depend on the number of running processes
> (it exposes an interface to report on the processes being used).  It
> should no longer be giving any errors.

The failing test case are:

gen_stream_SUITE:block_buffers_file	SLES10_debug, WinXP, Solaris10
=== location {gen_stream_SUITE,1325}
=== reason = no match of right hand side value 
                 {proc_info,[{requested,2},
                             {active,2},
                             {pids,[<0.22755.2>,<0.22756.2>]}]}
  in function  gen_stream_SUITE:block_buffer_info/6
  in call from gen_stream_SUITE:'-block_buffers_file/1-lc$^0/1-0-'/4
  in call from gen_stream_SUITE:block_buffers_file/1
  in call from test_server:my_apply/3
  in call from test_server:ts_tc/3
  in call from test_server:run_test_case_eval1/6
  in call from test_server:run_test_case_eval/8
KindOf, the pids vary between platforms...

  gen_stream_SUITE:num_buffers_file	SLES10_debug, WinXP, Solaris10
=== location {gen_stream_SUITE,1258}
=== reason = no match of right hand side value 
                 {proc_info,[{requested,2},
                             {active,2},
                             {pids,[<0.22650.2>,<0.22651.2>]}]}
  in function  gen_stream_SUITE:buffer_file_info/4
  in call from gen_stream_SUITE:'-num_buffers_file/1-lc$^0/1-0-'/3
  in call from gen_stream_SUITE:num_buffers_file/1
  in call from test_server:my_apply/3
  in call from test_server:ts_tc/3
  in call from test_server:run_test_case_eval1/6
  in call from test_server:run_test_case_eval/8
KindOf, the pids vary between platforms...

  gen_stream_SUITE:num_procs_file	WinXP
=== location {gen_stream_SUITE,1170}
=== reason = no match of right hand side value 
                 {proc_info,[{requested,1},{active,1},{pids,[<0.22480.2>]}]}
  in function  gen_stream_SUITE:proc_file_info/4
  in call from gen_stream_SUITE:'-num_procs_file/1-lc$^0/1-0-'/3
  in call from gen_stream_SUITE:num_procs_file/1
  in call from test_server:my_apply/3
  in call from test_server:ts_tc/3
  in call from test_server:run_test_case_eval1/6
  in call from test_server:run_test_case_eval/8


> 
> Is there any more information on the shell_SUITE issue.  I added the
> failing line to the test cases to see what caused it to fail.  If there is
> a shell failure it should isolate the exact test which is causing the
> failure.

shell_SUITE:start_restricted_from_shell	All Platforms
=== location {shell_SUITE,122}
=== reason = timetrap timeout


> 
> Just wanted to get the latest information on the results of the nightly
> test runs.
> 
> jay
> 
> 
> 
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@REDACTED

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list