Created
September 30, 2010 08:35
-
-
Save tosch/604228 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ree-1.8.7-2010.02@ruote tsc@raisa:~/git/ruote$ ruby test/functional/rt_1_listen.rb -- --dm | |
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02 | |
Thu Sep 30 11:54:34 +0200 2010 | |
Loaded suite test/functional/rt_1_listen | |
Started | |
tracker subscribed to worker | |
#<Ruote::Worker:0xa2ea554 @storage=#<Ruote::Dm::DmStorage:0xa326b80 @context=#<Ruote::Context:0xa2e9de8 @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xa2e61e8 @context=#<Ruote::Context:0xa2e9de8 ...>>}, @storage=#<Ruote::Dm::DmStorage:0xa326b80 ...>, @worker=#<Ruote::Worker:0xa2ea554 ...>>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}>, @subscribers=[[:all, #<Ruote::Tracker:0xa1e24a4 @context=#<Ruote::Context:0xa2e9de8 @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xa2e61e8 @context=#<Ruote::Context:0xa2e9de8 ...>>}, @storage=#<Ruote::Dm::DmStorage:0xa326b80 @context=#<Ruote::Context:0xa2e9de8 ...>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}>, @worker=#<Ruote::Worker:0xa2ea554 ...>>>]]> | |
noisy test/functional/rt_1_listen.rb:33:in `test_listen_and_restart' | |
tracker got msg | |
getting trackers from storage | |
0 70 pa * {"regex"=>"alpha", "engine_worker_only"=>true} | |
tracker got msg | |
getting trackers from storage | |
1 70 la * 20100930-bigabemomo {:wi=>["0!!20100930-bigabemomo", 0], :t=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]} | |
tracker got msg | |
getting trackers from storage | |
2 70 ap * 20100930-bigabemomo 0_0 {:wi=>["0_0!!20100930-bigabemomo", 0], :pi=>"0!!20100930-bigabemomo", :t=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]} | |
tracker got msg | |
getting trackers from storage | |
3 70 ap * 20100930-bigabemomo 0_0_0 {:wi=>["0_0_0!!20100930-bigabemomo", 0], :pi=>"0_0!!20100930-bigabemomo", :t=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]]} | |
tracker got msg | |
getting trackers from storage | |
4 70 ap * 20100930-bigabemomo 0_0_1 {:wi=>["0_0_1!!20100930-bigabemomo", 1], :pi=>"0_0!!20100930-bigabemomo", :t=>["participant", {"ref"=>"alpha"}, []]} | |
adding tracker #<Ruote::Tracker:0xa1e24a4 @context=#<Ruote::Context:0xa2e9de8 @engine=#<Ruote::Engine:0xabb75b0 @context=#<Ruote::Context:0xa2e9de8 ...>, @variables=#<Ruote::EngineVariables:0xabb24fc @storage=#<Ruote::Dm::DmStorage:0xa326b80 @context=#<Ruote::Context:0xa2e9de8 ...>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=7>>>, @services={"s_parser"=>#<Ruote::Parser:0xa2e61e8 @context=#<Ruote::Context:0xa2e9de8 ...>>, "s_tracker"=>#<Ruote::Tracker:0xa1e24a4 ...>, "s_treechecker"=>#<Ruote::TreeChecker:0xa1daac4 @checker=#<Rufus::TreeChecker:0xa1c6a60 @root_set=#<Rufus::TreeChecker::RuleSet:0xac4ca0c @accepted_patterns={}, @excluded_symbols={}, @excluded_patterns={}>, @current_set=#<Rufus::TreeChecker::RuleSet:0xac4c9f8 @accepted_patterns={}, @excluded_symbols={:xstr=>"backquotes are forbidden", :module=>"defining or opening a module is forbidden", :alias_method=>"'alias_method' is forbidden", :gvar=>"global vars are forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden"}, @excluded_patterns={:lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]]}>, @set=#<Rufus::TreeChecker::RuleSet:0xac4c9f8 @accepted_patterns={}, @excluded_symbols={:xstr=>"backquotes are forbidden", :module=>"defining or opening a module is forbidden", :alias_method=>"'alias_method' is forbidden", :gvar=>"global vars are forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden"}, @excluded_patterns={:lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]]}>>, @cchecker=#<Rufus::TreeChecker:0xac4c930 @root_set=#<Rufus::TreeChecker::RuleSet:0xac3fc94 @accepted_patterns={}, @excluded_symbols={}, @excluded_patterns={:lasgn=>[[[:lasgn], "[:lasgn] is excluded"]], :block=>[[[:block], "[:block] is excluded"]]}>, @current_set=#<Rufus::TreeChecker::RuleSet:0xac3fbcc @accepted_patterns={}, @excluded_symbols={:xstr=>"backquotes are forbidden", :alias_method=>"'alias_method' is forbidden", :module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden"}, @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]]}>, @set=#<Rufus::TreeChecker::RuleSet:0xac3fbcc @accepted_patterns={}, @excluded_symbols={:xstr=>"backquotes are forbidden", :alias_method=>"'alias_method' is forbidden", :module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden"}, @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]]}>>>, "s_expmap"=>#<Ruote::ExpressionMap:0xabdf678 @map={"unset"=>Ruote::Exp::SetExpression, "concurrent_iterator"=>Ruote::Exp::ConcurrentIteratorExpression, "rewind"=>Ruote::Exp::CommandExpression, "back"=>Ruote::Exp::CommandExpression, "participant"=>Ruote::Exp::ParticipantExpression, "sequence"=>Ruote::Exp::SequenceExpression, "redo"=>Ruote::Exp::RedoExpression, "jump"=>Ruote::Exp::CommandExpression, "as_soon_as"=>Ruote::Exp::WhenExpression, "cursor"=>Ruote::Exp::CursorExpression, "set_fields"=>Ruote::Exp::RestoreExpression, "set"=>Ruote::Exp::SetExpression, "forget"=>Ruote::Exp::ForgetExpression, "noop"=>Ruote::Exp::NoOpExpression, "add_branch"=>Ruote::Exp::AddBranchesExpression, "stop"=>Ruote::Exp::CommandExpression, "break"=>Ruote::Exp::CommandExpression, "concurrence"=>Ruote::Exp::ConcurrenceExpression, "cancel"=>Ruote::Exp::UndoExpression, "dec"=>Ruote::Exp::IncExpression, "sleep"=>Ruote::Exp::WaitExpression, "wait"=>Ruote::Exp::WaitExpression, "cancel_process"=>Ruote::Exp::CancelProcessExpression, "cron"=>Ruote::Exp::CronExpression, "add_branches"=>Ruote::Exp::AddBranchesExpression, "increment"=>Ruote::Exp::IncExpression, "repeat"=>Ruote::Exp::CursorExpression, "process_definition"=>Ruote::Exp::DefineExpression, "define"=>Ruote::Exp::DefineExpression, "apply"=>Ruote::Exp::ApplyExpression, "reserve"=>Ruote::Exp::ReserveExpression, "undo"=>Ruote::Exp::UndoExpression, "intercept"=>Ruote::Exp::ListenExpression, "restore"=>Ruote::Exp::RestoreExpression, "if"=>Ruote::Exp::IfExpression, "save"=>Ruote::Exp::SaveExpression, "every"=>Ruote::Exp::CronExpression, "iterator"=>Ruote::Exp::IteratorExpression, "echo"=>Ruote::Exp::EchoExpression, "receive"=>Ruote::Exp::ListenExpression, "when"=>Ruote::Exp::WhenExpression, "loop"=>Ruote::Exp::CursorExpression, "ref"=>Ruote::Exp::RefExpression, "subprocess"=>Ruote::Exp::SubprocessExpression, "inc"=>Ruote::Exp::IncExpression, "equals"=>Ruote::Exp::EqualsExpression, "continue"=>Ruote::Exp::CommandExpression, "skip"=>Ruote::Exp::CommandExpression, "listen"=>Ruote::Exp::ListenExpression, "workflow_definition"=>Ruote::Exp::DefineExpression, "error"=>Ruote::Exp::ErrorExpression, "decrement"=>Ruote::Exp::IncExpression}>, "s_plist"=>#<Ruote::ParticipantList:0xabdda30 @context=#<Ruote::Context:0xa2e9de8 ...>, @instantiated_participants={"inpa_:alpha"=>#<Ruote::HashParticipant:0xabae1b8 @context=#<Ruote::Context:0xa2e9de8 ...>, @items={}>}>, "s_tracer"=>#<Tracer:0x9fc60bc @s="">, "s_logger"=>#<Ruote::TestLogger:0xabc802c @context=#<Ruote::Context:0xa2e9de8 ...>, @noisy=true, @color=33, @log=[{"regex"=>"alpha", "_rev"=>1, "put_at"=>"2010-09-30 09:54:35.692034 UTC", "_id"=>"23255!81682590!2010-09-30!1285840475.691951!000", "action"=>"participant_registered", "type"=>"msgs", "engine_worker_only"=>true}, {"_rev"=>1, "variables"=>{}, "wfid"=>"20100930-bigabemomo", "put_at"=>"2010-09-30 09:54:35.818201 UTC", "_id"=>"23255!81682590!2010-09-30!1285840475.818125!001", "action"=>"launch", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0"}}, "type"=>"msgs", "tree"=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]}, {"_rev"=>1, "variables"=>nil, "put_at"=>"2010-09-30 09:54:36.218975 UTC", "_id"=>"23255!90018410!2010-09-30!1285840476.218895!002", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0"}, "tree"=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}}, {"_rev"=>1, "variables"=>nil, "put_at"=>"2010-09-30 09:54:36.521666 UTC", "_id"=>"23255!90018410!2010-09-30!1285840476.521584!003", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0"}}, {"_rev"=>1, "variables"=>nil, "put_at"=>"2010-09-30 09:54:36.563702 UTC", "_id"=>"23255!90018410!2010-09-30!1285840476.563622!004", "action"=>"apply", "workitem"=>{"participant_name"=>"alpha", "fields"=>{"params"=>{"ref"=>"alpha"}}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["participant", {"ref"=>"alpha"}, []], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_1"}}], @count=4, @waiting=[[#<Thread:0x9bcc13c sleep>, [:alpha]]], @seen=[]>, "s_wfidgen"=>#<Ruote::MnemoWfidGenerator:0xabca4f8 @context=#<Ruote::Context:0xa2e9de8 ...>, @last={"_id"=>"last_wfid", "type"=>"variables", "raw"=>1285840475.7342}>, "s_error_handler"=>#<Ruote::ErrorHandler:0xabb7498 @context=#<Ruote::Context:0xa2e9de8 ...>>, "s_dollar_sub"=>#<Ruote::DollarSubstitution:0xabb7c04 @context=#<Ruote::Context:0xa2e9de8 ...>>, "s_dispatch_pool"=>#<Ruote::DispatchPool:0xabb48d8 @context=#<Ruote::Context:0xa2e9de8 ...>>}, @storage=#<Ruote::Dm::DmStorage:0xa326b80 @context=#<Ruote::Context:0xa2e9de8 ...>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=7>, @worker=#<Ruote::Worker:0xa2ea554 @last_time=Thu Sep 30 09:54:36 UTC 2010, @context=#<Ruote::Context:0xa2e9de8 ...>, @msgs=[{"participant"=>"inpa_:alpha", "_rev"=>1, "participant_name"=>"alpha", "put_at"=>"2010-09-30 09:54:37.184017 UTC", "_id"=>"23255!90018410!2010-09-30!1285840477.183938!006", "action"=>"dispatch", "workitem"=>{"participant_name"=>"alpha", "fields"=>{"params"=>{"ref"=>"alpha"}}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "for_engine_worker?"=>true, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_1"}}], @storage=#<Ruote::Dm::DmStorage:0xa326b80 @context=#<Ruote::Context:0xa2e9de8 ...>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=7>, @subscribers=[[:all, #<Ruote::Tracker:0xa1e24a4 ...>], [:all, #<Ruote::TestLogger:0xabc802c @context=#<Ruote::Context:0xa2e9de8 ...>, @noisy=true, @color=33, @log=[{"regex"=>"alpha", "_rev"=>1, "put_at"=>"2010-09-30 09:54:35.692034 UTC", "_id"=>"23255!81682590!2010-09-30!1285840475.691951!000", "action"=>"participant_registered", "type"=>"msgs", "engine_worker_only"=>true}, {"_rev"=>1, "variables"=>{}, "wfid"=>"20100930-bigabemomo", "put_at"=>"2010-09-30 09:54:35.818201 UTC", "_id"=>"23255!81682590!2010-09-30!1285840475.818125!001", "action"=>"launch", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0"}}, "type"=>"msgs", "tree"=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]}, {"_rev"=>1, "variables"=>nil, "put_at"=>"2010-09-30 09:54:36.218975 UTC", "_id"=>"23255!90018410!2010-09-30!1285840476.218895!002", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0"}, "tree"=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}}, {"_rev"=>1, "variables"=>nil, "put_at"=>"2010-09-30 09:54:36.521666 UTC", "_id"=>"23255!90018410!2010-09-30!1285840476.521584!003", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0"}}, {"_rev"=>1, "variables"=>nil, "put_at"=>"2010-09-30 09:54:36.563702 UTC", "_id"=>"23255!90018410!2010-09-30!1285840476.563622!004", "action"=>"apply", "workitem"=>{"participant_name"=>"alpha", "fields"=>{"params"=>{"ref"=>"alpha"}}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["participant", {"ref"=>"alpha"}, []], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_1"}}], @count=4, @waiting=[[#<Thread:0x9bcc13c sleep>, [:alpha]]], @seen=[]>]], @run_thread=#<Thread:0xabb24d4 run>, @running=true, @sleep_time=0.0>>> | |
wfid: nil | |
action: "receive" | |
fei: {"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"} | |
conditions: {"participant_name"=>"^al.*"} | |
msg: {"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bigabemomo" | |
5 70 ap * 20100930-bigabemomo 0_0_0_0 {:wi=>["0_0_0_0!!20100930-bigabemomo", 0], :pi=>"0_0_0!!20100930-bigabemomo", :t=>["listen", {"to"=>"^al.*", "upon"=>"reply"}, []]} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bigabemomo" | |
6 70 di * 20100930-bigabemomo 0_0_1 {:wi=>["0_0_1!!20100930-bigabemomo", 2], "participant"=>"inpa_:alpha", "participant_name"=>"alpha", "for_engine_worker?"=>true} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bigabemomo", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bigabemomo" | |
7 70 dd * 20100930-bigabemomo 0_0_1 {} | |
tracker subscribed to worker | |
#<Ruote::Worker:0xaaa8bd8 @storage=#<Ruote::Dm::DmStorage:0xaab28e0 @context=#<Ruote::Context:0xaaa846c @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xaaa4894 @context=#<Ruote::Context:0xaaa846c ...>>}, @storage=#<Ruote::Dm::DmStorage:0xaab28e0 ...>, @worker=#<Ruote::Worker:0xaaa8bd8 ...>>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}>, @subscribers=[[:all, #<Ruote::Tracker:0xaaa454c @context=#<Ruote::Context:0xaaa846c @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xaaa4894 @context=#<Ruote::Context:0xaaa846c ...>>}, @storage=#<Ruote::Dm::DmStorage:0xaab28e0 @context=#<Ruote::Context:0xaaa846c ...>, @repository=:default, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}>, @worker=#<Ruote::Worker:0xaaa8bd8 ...>>>]]> | |
noisy test/functional/rt_1_listen.rb:47:in `test_listen_and_restart' | |
tracker got msg | |
getting trackers from storage | |
0 50 rc * 20100930-bigabemomo 0_0_1 {:wi=>["0_0_1!!20100930-bigabemomo", 2], "participant_name"=>"alpha", "receiver"=>"Ruote::Engine"} | |
^C/home/tsc/git/ruote/lib/ruote/log/test_logger.rb:93:in `stop': Interrupt | |
from /home/tsc/git/ruote/lib/ruote/log/test_logger.rb:93:in `wait_for' | |
from /home/tsc/git/ruote/lib/ruote/engine.rb:382:in `wait_for' | |
from ./test/functional/base.rb:104:in `wait_for' | |
from test/functional/rt_1_listen.rb:51:in `test_listen_and_restart' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testcase.rb:78:in `__send__' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testcase.rb:78:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' | |
from /home/tsc/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/test/unit.rb:279 | |
from test/functional/rt_1_listen.rb:19 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02 | |
Thu Sep 30 11:55:49 +0200 2010 | |
Loaded suite test/functional/rt_1_listen | |
Started | |
tracker subscribed to worker | |
#<Ruote::Worker:0xa13ea98 @storage=#<Ruote::FsStorage:0xa140d48 @context=#<Ruote::Context:0xa13ea70 @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xa13e0ac @context=#<Ruote::Context:0xa13ea70 ...>>}, @storage=#<Ruote::FsStorage:0xa140d48 ...>, @worker=#<Ruote::Worker:0xa13ea98 ...>>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @cloche=#<Rufus::Cloche:0xa140c6c @nolock=nil, @mutex=#<Mutex:0xa140bcc>, @dir="/home/tsc/git/ruote/work">>, @subscribers=[[:all, #<Ruote::Tracker:0x9ef26e0 @context=#<Ruote::Context:0xa13ea70 @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xa13e0ac @context=#<Ruote::Context:0xa13ea70 ...>>}, @storage=#<Ruote::FsStorage:0xa140d48 @context=#<Ruote::Context:0xa13ea70 ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @cloche=#<Rufus::Cloche:0xa140c6c @nolock=nil, @mutex=#<Mutex:0xa140bcc>, @dir="/home/tsc/git/ruote/work">>, @worker=#<Ruote::Worker:0xa13ea98 ...>>>]]> | |
noisy test/functional/rt_1_listen.rb:33:in `test_listen_and_restart' | |
tracker got msg | |
getting trackers from storage | |
0 70 pa * {"regex"=>"alpha", "engine_worker_only"=>true} | |
tracker got msg | |
getting trackers from storage | |
1 70 la * 20100930-bobedowane {:wi=>["0!!20100930-bobedowane", 0], :t=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]} | |
tracker got msg | |
getting trackers from storage | |
2 70 ap * 20100930-bobedowane 0_0 {:pi=>"0!!20100930-bobedowane", :wi=>["0_0!!20100930-bobedowane", 0], :t=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]} | |
tracker got msg | |
getting trackers from storage | |
3 70 ap * 20100930-bobedowane 0_0_0 {:pi=>"0_0!!20100930-bobedowane", :wi=>["0_0_0!!20100930-bobedowane", 0], :t=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]]} | |
tracker got msg | |
getting trackers from storage | |
4 70 ap * 20100930-bobedowane 0_0_1 {:pi=>"0_0!!20100930-bobedowane", :wi=>["0_0_1!!20100930-bobedowane", 1], :t=>["participant", {"ref"=>"alpha"}, []]} | |
adding tracker #<Ruote::Tracker:0x9ef26e0 @context=#<Ruote::Context:0xa13ea70 @engine=#<Ruote::Engine:0xa48e068 @context=#<Ruote::Context:0xa13ea70 ...>, @variables=#<Ruote::EngineVariables:0xa489004 @storage=#<Ruote::FsStorage:0xa140d48 @context=#<Ruote::Context:0xa13ea70 ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=7, @cloche=#<Rufus::Cloche:0xa140c6c @nolock=nil, @mutex=#<Mutex:0xa140bcc>, @dir="/home/tsc/git/ruote/work">>>>, @services={"s_parser"=>#<Ruote::Parser:0xa13e0ac @context=#<Ruote::Context:0xa13ea70 ...>>, "s_tracker"=>#<Ruote::Tracker:0x9ef26e0 ...>, "s_treechecker"=>#<Ruote::TreeChecker:0x9eda414 @cchecker=#<Rufus::TreeChecker:0xa520134 @set=#<Rufus::TreeChecker::RuleSet:0xa5133d0 @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>, @root_set=#<Rufus::TreeChecker::RuleSet:0xa513498 @excluded_patterns={:lasgn=>[[[:lasgn], "[:lasgn] is excluded"]], :block=>[[[:block], "[:block] is excluded"]]}, @accepted_patterns={}, @excluded_symbols={}>, @current_set=#<Rufus::TreeChecker::RuleSet:0xa5133d0 @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>>, @checker=#<Rufus::TreeChecker:0x9e63c9c @set=#<Rufus::TreeChecker::RuleSet:0xa5201fc @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>, @root_set=#<Rufus::TreeChecker::RuleSet:0xa520210 @excluded_patterns={}, @accepted_patterns={}, @excluded_symbols={}>, @current_set=#<Rufus::TreeChecker::RuleSet:0xa5201fc @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>>>, "s_expmap"=>#<Ruote::ExpressionMap:0xa4b3228 @map={"rewind"=>Ruote::Exp::CommandExpression, "back"=>Ruote::Exp::CommandExpression, "unset"=>Ruote::Exp::SetExpression, "concurrent_iterator"=>Ruote::Exp::ConcurrentIteratorExpression, "redo"=>Ruote::Exp::RedoExpression, "participant"=>Ruote::Exp::ParticipantExpression, "jump"=>Ruote::Exp::CommandExpression, "sequence"=>Ruote::Exp::SequenceExpression, "forget"=>Ruote::Exp::ForgetExpression, "stop"=>Ruote::Exp::CommandExpression, "break"=>Ruote::Exp::CommandExpression, "dec"=>Ruote::Exp::IncExpression, "add_branch"=>Ruote::Exp::AddBranchesExpression, "cancel"=>Ruote::Exp::UndoExpression, "set"=>Ruote::Exp::SetExpression, "as_soon_as"=>Ruote::Exp::WhenExpression, "cursor"=>Ruote::Exp::CursorExpression, "concurrence"=>Ruote::Exp::ConcurrenceExpression, "set_fields"=>Ruote::Exp::RestoreExpression, "noop"=>Ruote::Exp::NoOpExpression, "cancel_process"=>Ruote::Exp::CancelProcessExpression, "cron"=>Ruote::Exp::CronExpression, "add_branches"=>Ruote::Exp::AddBranchesExpression, "sleep"=>Ruote::Exp::WaitExpression, "wait"=>Ruote::Exp::WaitExpression, "increment"=>Ruote::Exp::IncExpression, "process_definition"=>Ruote::Exp::DefineExpression, "define"=>Ruote::Exp::DefineExpression, "repeat"=>Ruote::Exp::CursorExpression, "apply"=>Ruote::Exp::ApplyExpression, "reserve"=>Ruote::Exp::ReserveExpression, "intercept"=>Ruote::Exp::ListenExpression, "undo"=>Ruote::Exp::UndoExpression, "iterator"=>Ruote::Exp::IteratorExpression, "receive"=>Ruote::Exp::ListenExpression, "every"=>Ruote::Exp::CronExpression, "echo"=>Ruote::Exp::EchoExpression, "save"=>Ruote::Exp::SaveExpression, "if"=>Ruote::Exp::IfExpression, "restore"=>Ruote::Exp::RestoreExpression, "subprocess"=>Ruote::Exp::SubprocessExpression, "ref"=>Ruote::Exp::RefExpression, "inc"=>Ruote::Exp::IncExpression, "when"=>Ruote::Exp::WhenExpression, "loop"=>Ruote::Exp::CursorExpression, "continue"=>Ruote::Exp::CommandExpression, "skip"=>Ruote::Exp::CommandExpression, "listen"=>Ruote::Exp::ListenExpression, "equals"=>Ruote::Exp::EqualsExpression, "error"=>Ruote::Exp::ErrorExpression, "workflow_definition"=>Ruote::Exp::DefineExpression, "decrement"=>Ruote::Exp::IncExpression}>, "s_plist"=>#<Ruote::ParticipantList:0xa4b1608 @context=#<Ruote::Context:0xa13ea70 ...>, @instantiated_participants={"inpa_:alpha"=>#<Ruote::HashParticipant:0xa48871c @context=#<Ruote::Context:0xa13ea70 ...>, @items={}>}>, "s_tracer"=>#<Tracer:0xa140fc8 @s="">, "s_logger"=>#<Ruote::TestLogger:0xa49dfa4 @context=#<Ruote::Context:0xa13ea70 ...>, @log=[{"regex"=>"alpha", "_rev"=>0, "put_at"=>"2010-09-30 09:55:50.287828 UTC", "_id"=>"23383!82446490!2010-09-30!1285840550.287754!000", "action"=>"participant_registered", "type"=>"msgs", "engine_worker_only"=>true}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.292242 UTC", "variables"=>{}, "wfid"=>"20100930-bobedowane", "_id"=>"23383!82446490!2010-09-30!1285840550.292178!001", "action"=>"launch", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0"}}, "type"=>"msgs", "tree"=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.300475 UTC", "variables"=>nil, "_id"=>"23383!86263790!2010-09-30!1285840550.300394!002", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0"}, "tree"=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.309816 UTC", "variables"=>nil, "_id"=>"23383!86263790!2010-09-30!1285840550.309733!003", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0"}}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.311173 UTC", "variables"=>nil, "_id"=>"23383!86263790!2010-09-30!1285840550.311104!004", "action"=>"apply", "workitem"=>{"participant_name"=>"alpha", "fields"=>{"params"=>{"ref"=>"alpha"}}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["participant", {"ref"=>"alpha"}, []], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}], @noisy=true, @seen=[], @color=33, @count=4, @waiting=[[#<Thread:0x9d41134 sleep>, [:alpha]]]>, "s_wfidgen"=>#<Ruote::MnemoWfidGenerator:0xa49ec10 @context=#<Ruote::Context:0xa13ea70 ...>, @last={"put_at"=>"2010-09-30 09:55:50.289453 UTC", "_id"=>"last_wfid", "type"=>"variables", "raw"=>1285840550.28943}>, "s_error_handler"=>#<Ruote::ErrorHandler:0xa48df78 @context=#<Ruote::Context:0xa13ea70 ...>>, "s_dollar_sub"=>#<Ruote::DollarSubstitution:0xa48e6bc @context=#<Ruote::Context:0xa13ea70 ...>>, "s_dispatch_pool"=>#<Ruote::DispatchPool:0xa48b3e0 @context=#<Ruote::Context:0xa13ea70 ...>>}, @storage=#<Ruote::FsStorage:0xa140d48 @context=#<Ruote::Context:0xa13ea70 ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=7, @cloche=#<Rufus::Cloche:0xa140c6c @nolock=nil, @mutex=#<Mutex:0xa140bcc>, @dir="/home/tsc/git/ruote/work">>, @worker=#<Ruote::Worker:0xa13ea98 @last_time=Thu Sep 30 09:55:50 UTC 2010, @context=#<Ruote::Context:0xa13ea70 ...>, @msgs=[{"participant"=>"inpa_:alpha", "_rev"=>0, "put_at"=>"2010-09-30 09:55:50.324356 UTC", "participant_name"=>"alpha", "_id"=>"23383!86263790!2010-09-30!1285840550.324280!006", "action"=>"dispatch", "workitem"=>{"participant_name"=>"alpha", "fields"=>{"params"=>{"ref"=>"alpha"}}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "for_engine_worker?"=>true, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}], @storage=#<Ruote::FsStorage:0xa140d48 @context=#<Ruote::Context:0xa13ea70 ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=7, @cloche=#<Rufus::Cloche:0xa140c6c @nolock=nil, @mutex=#<Mutex:0xa140bcc>, @dir="/home/tsc/git/ruote/work">>, @subscribers=[[:all, #<Ruote::Tracker:0x9ef26e0 ...>], [:all, #<Ruote::TestLogger:0xa49dfa4 @context=#<Ruote::Context:0xa13ea70 ...>, @log=[{"regex"=>"alpha", "_rev"=>0, "put_at"=>"2010-09-30 09:55:50.287828 UTC", "_id"=>"23383!82446490!2010-09-30!1285840550.287754!000", "action"=>"participant_registered", "type"=>"msgs", "engine_worker_only"=>true}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.292242 UTC", "variables"=>{}, "wfid"=>"20100930-bobedowane", "_id"=>"23383!82446490!2010-09-30!1285840550.292178!001", "action"=>"launch", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0"}}, "type"=>"msgs", "tree"=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.300475 UTC", "variables"=>nil, "_id"=>"23383!86263790!2010-09-30!1285840550.300394!002", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0"}, "tree"=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.309816 UTC", "variables"=>nil, "_id"=>"23383!86263790!2010-09-30!1285840550.309733!003", "action"=>"apply", "workitem"=>{"fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0"}}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.311173 UTC", "variables"=>nil, "_id"=>"23383!86263790!2010-09-30!1285840550.311104!004", "action"=>"apply", "workitem"=>{"participant_name"=>"alpha", "fields"=>{"params"=>{"ref"=>"alpha"}}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "parent_id"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}, "tree"=>["participant", {"ref"=>"alpha"}, []], "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}], @noisy=true, @seen=[], @color=33, @count=4, @waiting=[[#<Thread:0x9d41134 sleep>, [:alpha]]]>]], @run_thread=#<Thread:0xa488fdc run>, @running=true, @sleep_time=0.0>>> | |
wfid: nil | |
action: "receive" | |
fei: {"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"} | |
conditions: {"participant_name"=>"^al.*"} | |
msg: {"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bobedowane" | |
5 70 ap * 20100930-bobedowane 0_0_0_0 {:pi=>"0_0_0!!20100930-bobedowane", :wi=>["0_0_0_0!!20100930-bobedowane", 0], :t=>["listen", {"to"=>"^al.*", "upon"=>"reply"}, []]} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bobedowane" | |
6 70 di * 20100930-bobedowane 0_0_1 {:wi=>["0_0_1!!20100930-bobedowane", 2], "participant"=>"inpa_:alpha", "participant_name"=>"alpha", "for_engine_worker?"=>true} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bobedowane" | |
7 70 dd * 20100930-bobedowane 0_0_1 {} | |
tracker subscribed to worker | |
#<Ruote::Worker:0xa4346a8 @storage=#<Ruote::FsStorage:0xa4351fc @context=#<Ruote::Context:0xa43466c @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xa433dac @context=#<Ruote::Context:0xa43466c ...>>}, @storage=#<Ruote::FsStorage:0xa4351fc ...>, @worker=#<Ruote::Worker:0xa4346a8 ...>>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @cloche=#<Rufus::Cloche:0xa435120 @nolock=nil, @mutex=#<Mutex:0xa434e28>, @dir="/home/tsc/git/ruote/work">>, @subscribers=[[:all, #<Ruote::Tracker:0xa433aa0 @context=#<Ruote::Context:0xa43466c @engine=nil, @services={"s_parser"=>#<Ruote::Parser:0xa433dac @context=#<Ruote::Context:0xa43466c ...>>}, @storage=#<Ruote::FsStorage:0xa4351fc @context=#<Ruote::Context:0xa43466c ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @cloche=#<Rufus::Cloche:0xa435120 @nolock=nil, @mutex=#<Mutex:0xa434e28>, @dir="/home/tsc/git/ruote/work">>, @worker=#<Ruote::Worker:0xa4346a8 ...>>>]]> | |
noisy test/functional/rt_1_listen.rb:47:in `test_listen_and_restart' | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bobedowane" | |
tracker matches | |
{"participant_name"=>"^al.*"} | |
tracker msg: {"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
0 60 rc * 20100930-bobedowane 0_0_1 {:wi=>["0_0_1!!20100930-bobedowane", 0], "participant_name"=>"alpha", "receiver"=>"Ruote::Engine"} | |
tracker got msg | |
getting trackers from storage | |
checking tracker | |
{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}} | |
t_wfid: nil | |
t_action: "receive" | |
m_wfid: "20100930-bobedowane" | |
1 60 re * 20100930-bobedowane 0_0 {:wi=>["0_0_1!!20100930-bobedowane", 0], "updated_tree"=>nil} | |
removing tracker #<Ruote::Tracker:0xa433aa0 @context=#<Ruote::Context:0xa43466c @engine=#<Ruote::Engine:0xa4233a8 @context=#<Ruote::Context:0xa43466c ...>, @variables=#<Ruote::EngineVariables:0xa422ae8 @storage=#<Ruote::FsStorage:0xa4351fc @context=#<Ruote::Context:0xa43466c ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=3, @cloche=#<Rufus::Cloche:0xa435120 @nolock=nil, @mutex=#<Mutex:0xa434e28>, @dir="/home/tsc/git/ruote/work">>>>, @services={"s_parser"=>#<Ruote::Parser:0xa433dac @context=#<Ruote::Context:0xa43466c ...>>, "s_tracker"=>#<Ruote::Tracker:0xa433aa0 ...>, "s_treechecker"=>#<Ruote::TreeChecker:0xa433438 @cchecker=#<Rufus::TreeChecker:0xa432b28 @set=#<Rufus::TreeChecker::RuleSet:0xa425e78 @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>, @root_set=#<Rufus::TreeChecker::RuleSet:0xa425f40 @excluded_patterns={:lasgn=>[[[:lasgn], "[:lasgn] is excluded"]], :block=>[[[:block], "[:block] is excluded"]]}, @accepted_patterns={}, @excluded_symbols={}>, @current_set=#<Rufus::TreeChecker::RuleSet:0xa425e78 @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>>, @checker=#<Rufus::TreeChecker:0xa433014 @set=#<Rufus::TreeChecker::RuleSet:0xa432bf0 @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>, @root_set=#<Rufus::TreeChecker::RuleSet:0xa432c04 @excluded_patterns={}, @accepted_patterns={}, @excluded_symbols={}>, @current_set=#<Rufus::TreeChecker::RuleSet:0xa432bf0 @excluded_patterns={:call=>[[[:call, :any, :abort], "[:call, :any, :abort] is excluded"], [[:call, :any, :exit], "[:call, :any, :exit] is excluded"], [[:call, :any, :exit!], "[:call, :any, :exit!] is excluded"], [[:call, :any, :system], "[:call, :any, :system] is excluded"], [[:call, :any, :fork], "[:call, :any, :fork] is excluded"], [[:call, :any, :syscall], "[:call, :any, :syscall] is excluded"], [[:call, :any, :trap], "[:call, :any, :trap] is excluded"], [[:call, :any, :require], "[:call, :any, :require] is excluded"], [[:call, :any, :load], "[:call, :any, :load] is excluded"], [[:call, :any, :eval], "eval() is forbidden"], [[:call, :any, :module_eval], "module_eval() is forbidden"], [[:call, :any, :instance_eval], "instance_eval() is forbidden"], [[:call, :any, :raise], "raise is forbidden"], [[:call, :any, :throw], "throw is forbidden"], [[:call, [:const, :IO]], "[:call, [:const, :IO]] is excluded"], [[:call, [:colon3, :IO]], "[:call, [:colon3, :IO]] is excluded"], [[:call, [:const, :File]], "[:call, [:const, :File]] is excluded"], [[:call, [:colon3, :File]], "[:call, [:colon3, :File]] is excluded"], [[:call, [:const, :FileUtils]], "[:call, [:const, :FileUtils]] is excluded"], [[:call, [:colon3, :FileUtils]], "[:call, [:colon3, :FileUtils]] is excluded"], [[:call, [:const, :Process]], "[:call, [:const, :Process]] is excluded"], [[:call, [:colon3, :Process]], "[:call, [:colon3, :Process]] is excluded"], [[:call, [:const, :Signal]], "[:call, [:const, :Signal]] is excluded"], [[:call, [:colon3, :Signal]], "[:call, [:colon3, :Signal]] is excluded"], [[:call, [:const, :Thread]], "[:call, [:const, :Thread]] is excluded"], [[:call, [:colon3, :Thread]], "[:call, [:colon3, :Thread]] is excluded"], [[:call, [:const, :ThreadGroup]], "[:call, [:const, :ThreadGroup]] is excluded"], [[:call, [:colon3, :ThreadGroup]], "[:call, [:colon3, :ThreadGroup]] is excluded"], [[:call, :any, :instance_variable_get], "[:call, :any, :instance_variable_get] is excluded"], [[:call, :any, :instance_variable_set], "[:call, :any, :instance_variable_set] is excluded"]], :fcall=>[[[:fcall, :abort], "[:fcall, :abort] is excluded"], [[:fcall, :exit], "[:fcall, :exit] is excluded"], [[:fcall, :exit!], "[:fcall, :exit!] is excluded"], [[:fcall, :system], "[:fcall, :system] is excluded"], [[:fcall, :fork], "[:fcall, :fork] is excluded"], [[:fcall, :syscall], "[:fcall, :syscall] is excluded"], [[:fcall, :trap], "[:fcall, :trap] is excluded"], [[:fcall, :require], "[:fcall, :require] is excluded"], [[:fcall, :load], "[:fcall, :load] is excluded"], [[:fcall, :private], "[:fcall, :private] is excluded"], [[:fcall, :public], "[:fcall, :public] is excluded"], [[:fcall, :protected], "[:fcall, :protected] is excluded"], [[:fcall, :raise], "raise is forbidden"], [[:fcall, :throw], "throw is forbidden"]], :lasgn=>[[[:lasgn, :any, [:const, :Kernel]], "[:lasgn, :any, [:const, :Kernel]] is excluded"], [[:lasgn, :any, [:colon3, :Kernel]], "[:lasgn, :any, [:colon3, :Kernel]] is excluded"], [[:lasgn, :any, [:const, :IO]], "[:lasgn, :any, [:const, :IO]] is excluded"], [[:lasgn, :any, [:colon3, :IO]], "[:lasgn, :any, [:colon3, :IO]] is excluded"], [[:lasgn, :any, [:const, :File]], "[:lasgn, :any, [:const, :File]] is excluded"], [[:lasgn, :any, [:colon3, :File]], "[:lasgn, :any, [:colon3, :File]] is excluded"], [[:lasgn, :any, [:const, :FileUtils]], "[:lasgn, :any, [:const, :FileUtils]] is excluded"], [[:lasgn, :any, [:colon3, :FileUtils]], "[:lasgn, :any, [:colon3, :FileUtils]] is excluded"], [[:lasgn, :any, [:const, :Process]], "[:lasgn, :any, [:const, :Process]] is excluded"], [[:lasgn, :any, [:colon3, :Process]], "[:lasgn, :any, [:colon3, :Process]] is excluded"], [[:lasgn, :any, [:const, :Signal]], "[:lasgn, :any, [:const, :Signal]] is excluded"], [[:lasgn, :any, [:colon3, :Signal]], "[:lasgn, :any, [:colon3, :Signal]] is excluded"], [[:lasgn, :any, [:const, :Thread]], "[:lasgn, :any, [:const, :Thread]] is excluded"], [[:lasgn, :any, [:colon3, :Thread]], "[:lasgn, :any, [:colon3, :Thread]] is excluded"], [[:lasgn, :any, [:const, :ThreadGroup]], "[:lasgn, :any, [:const, :ThreadGroup]] is excluded"], [[:lasgn, :any, [:colon3, :ThreadGroup]], "[:lasgn, :any, [:colon3, :ThreadGroup]] is excluded"]], :vcall=>[[[:vcall, :abort], "[:vcall, :abort] is excluded"], [[:vcall, :exit], "[:vcall, :exit] is excluded"], [[:vcall, :exit!], "[:vcall, :exit!] is excluded"], [[:vcall, :system], "[:vcall, :system] is excluded"], [[:vcall, :fork], "[:vcall, :fork] is excluded"], [[:vcall, :syscall], "[:vcall, :syscall] is excluded"], [[:vcall, :trap], "[:vcall, :trap] is excluded"], [[:vcall, :require], "[:vcall, :require] is excluded"], [[:vcall, :load], "[:vcall, :load] is excluded"], [[:vcall, :private], "[:vcall, :private] is excluded"], [[:vcall, :public], "[:vcall, :public] is excluded"], [[:vcall, :protected], "[:vcall, :protected] is excluded"], [[:vcall, :raise], "raise is forbidden"], [[:vcall, :throw], "throw is forbidden"]]}, @accepted_patterns={}, @excluded_symbols={:module=>"defining or opening a module is forbidden", :gvar=>"global vars are forbidden", :alias_method=>"'alias_method' is forbidden", :gasgn=>"global vars are forbidden", :alias=>"'alias' is forbidden", :xstr=>"backquotes are forbidden"}>>>, "s_expmap"=>#<Ruote::ExpressionMap:0xa425874 @map={"rewind"=>Ruote::Exp::CommandExpression, "back"=>Ruote::Exp::CommandExpression, "unset"=>Ruote::Exp::SetExpression, "concurrent_iterator"=>Ruote::Exp::ConcurrentIteratorExpression, "redo"=>Ruote::Exp::RedoExpression, "participant"=>Ruote::Exp::ParticipantExpression, "jump"=>Ruote::Exp::CommandExpression, "sequence"=>Ruote::Exp::SequenceExpression, "forget"=>Ruote::Exp::ForgetExpression, "stop"=>Ruote::Exp::CommandExpression, "break"=>Ruote::Exp::CommandExpression, "dec"=>Ruote::Exp::IncExpression, "add_branch"=>Ruote::Exp::AddBranchesExpression, "cancel"=>Ruote::Exp::UndoExpression, "set"=>Ruote::Exp::SetExpression, "as_soon_as"=>Ruote::Exp::WhenExpression, "cursor"=>Ruote::Exp::CursorExpression, "concurrence"=>Ruote::Exp::ConcurrenceExpression, "set_fields"=>Ruote::Exp::RestoreExpression, "noop"=>Ruote::Exp::NoOpExpression, "cancel_process"=>Ruote::Exp::CancelProcessExpression, "cron"=>Ruote::Exp::CronExpression, "add_branches"=>Ruote::Exp::AddBranchesExpression, "sleep"=>Ruote::Exp::WaitExpression, "wait"=>Ruote::Exp::WaitExpression, "increment"=>Ruote::Exp::IncExpression, "process_definition"=>Ruote::Exp::DefineExpression, "define"=>Ruote::Exp::DefineExpression, "repeat"=>Ruote::Exp::CursorExpression, "apply"=>Ruote::Exp::ApplyExpression, "reserve"=>Ruote::Exp::ReserveExpression, "intercept"=>Ruote::Exp::ListenExpression, "undo"=>Ruote::Exp::UndoExpression, "iterator"=>Ruote::Exp::IteratorExpression, "receive"=>Ruote::Exp::ListenExpression, "every"=>Ruote::Exp::CronExpression, "echo"=>Ruote::Exp::EchoExpression, "save"=>Ruote::Exp::SaveExpression, "if"=>Ruote::Exp::IfExpression, "restore"=>Ruote::Exp::RestoreExpression, "subprocess"=>Ruote::Exp::SubprocessExpression, "ref"=>Ruote::Exp::RefExpression, "inc"=>Ruote::Exp::IncExpression, "when"=>Ruote::Exp::WhenExpression, "loop"=>Ruote::Exp::CursorExpression, "continue"=>Ruote::Exp::CommandExpression, "skip"=>Ruote::Exp::CommandExpression, "listen"=>Ruote::Exp::ListenExpression, "equals"=>Ruote::Exp::EqualsExpression, "error"=>Ruote::Exp::ErrorExpression, "workflow_definition"=>Ruote::Exp::DefineExpression, "decrement"=>Ruote::Exp::IncExpression}>, "s_plist"=>#<Ruote::ParticipantList:0xa424154 @context=#<Ruote::Context:0xa43466c ...>, @instantiated_participants={}>, "s_tracer"=>#<Tracer:0xa140fc8 @s="">, "s_logger"=>#<Ruote::TestLogger:0xa4236a0 @context=#<Ruote::Context:0xa43466c ...>, @log=[{"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.360786 UTC", "participant_name"=>"alpha", "_id"=>"23383!82446490!2010-09-30!1285840550.360694!000", "action"=>"receive", "workitem"=>{"participant_name"=>"alpha", "fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "receiver"=>"Ruote::Engine", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.364916 UTC", "_id"=>"23383!86054240!2010-09-30!1285840550.364849!001", "action"=>"reply", "updated_tree"=>nil, "workitem"=>{"participant_name"=>"alpha", "fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}}], @noisy=true, @seen=[], @color=33, @count=1, @waiting=[[#<Thread:0x9d41134 sleep>, ["20100930-bobedowane"]]]>, "s_wfidgen"=>#<Ruote::MnemoWfidGenerator:0xa423e48 @context=#<Ruote::Context:0xa43466c ...>, @last={"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.289453 UTC", "_id"=>"last_wfid", "type"=>"variables", "raw"=>1285840550.28943}>, "s_error_handler"=>#<Ruote::ErrorHandler:0xa42304c @context=#<Ruote::Context:0xa43466c ...>>, "s_dollar_sub"=>#<Ruote::DollarSubstitution:0xa423344 @context=#<Ruote::Context:0xa43466c ...>>, "s_dispatch_pool"=>#<Ruote::DispatchPool:0xa422d54 @context=#<Ruote::Context:0xa43466c ...>>}, @storage=#<Ruote::FsStorage:0xa4351fc @context=#<Ruote::Context:0xa43466c ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=3, @cloche=#<Rufus::Cloche:0xa435120 @nolock=nil, @mutex=#<Mutex:0xa434e28>, @dir="/home/tsc/git/ruote/work">>, @worker=#<Ruote::Worker:0xa4346a8 @last_time=Thu Sep 30 09:55:50 UTC 2010, @context=#<Ruote::Context:0xa43466c ...>, @msgs=[], @storage=#<Ruote::FsStorage:0xa4351fc @context=#<Ruote::Context:0xa43466c ...>, @options={"s_logger"=>["ruote/log/test_logger", "Ruote::TestLogger"]}, @counter=3, @cloche=#<Rufus::Cloche:0xa435120 @nolock=nil, @mutex=#<Mutex:0xa434e28>, @dir="/home/tsc/git/ruote/work">>, @subscribers=[[:all, #<Ruote::Tracker:0xa433aa0 ...>], [:all, #<Ruote::TestLogger:0xa4236a0 @context=#<Ruote::Context:0xa43466c ...>, @log=[{"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.360786 UTC", "participant_name"=>"alpha", "_id"=>"23383!82446490!2010-09-30!1285840550.360694!000", "action"=>"receive", "workitem"=>{"participant_name"=>"alpha", "fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "receiver"=>"Ruote::Engine", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, {"_rev"=>0, "put_at"=>"2010-09-30 09:55:50.364916 UTC", "_id"=>"23383!86054240!2010-09-30!1285840550.364849!001", "action"=>"reply", "updated_tree"=>nil, "workitem"=>{"participant_name"=>"alpha", "fields"=>{}, "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_1"}}, "type"=>"msgs", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0"}}], @noisy=true, @seen=[], @color=33, @count=1, @waiting=[[#<Thread:0x9d41134 sleep>, ["20100930-bobedowane"]]]>]], @run_thread=#<Thread:0xa422ac0 run>, @running=true, @sleep_time=0.0>>> | |
fei: {"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"} | |
doc['trackers'] before removing tracker: | |
{"0_0_0_0!!20100930-bobedowane"=>{"msg"=>{"action"=>"reply", "flavour"=>"listen", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}, "conditions"=>{"participant_name"=>"^al.*"}, "wfid"=>nil, "action"=>"receive", "fei"=>{"sub_wfid"=>nil, "wfid"=>"20100930-bobedowane", "engine_id"=>"engine", "expid"=>"0_0_0_0"}}} | |
doc['trackers'] after removing tracker: | |
{} | |
put result: nil | |
tracker got msg | |
getting trackers from storage | |
2 60 re * 20100930-bobedowane 0_0_0_0 {:wi=>["0_0_1!!20100930-bobedowane", 0], "flavour"=>"listen"} | |
tracker got msg | |
getting trackers from storage | |
3 60 re * 20100930-bobedowane 0_0_0 {:wi=>["0_0_0_0!!20100930-bobedowane", 0], "updated_tree"=>nil} | |
tracker got msg | |
getting trackers from storage | |
4 60 ap * 20100930-bobedowane 0_0_0_1 {:pi=>"0_0_0!!20100930-bobedowane", :wi=>["0_0_0_1!!20100930-bobedowane", 0], :t=>["echo", {"done."=>nil}, []]} | |
tracker got msg | |
getting trackers from storage | |
5 60 re * 20100930-bobedowane 0_0_0 {:wi=>["0_0_0!!20100930-bobedowane", 0], "updated_tree"=>nil} | |
tracker got msg | |
getting trackers from storage | |
6 60 re * 20100930-bobedowane 0_0 {:wi=>["0_0_0!!20100930-bobedowane", 0], "updated_tree"=>nil} | |
tracker got msg | |
getting trackers from storage | |
7 60 re * 20100930-bobedowane 0 {:wi=>["0_0!!20100930-bobedowane", 0], "updated_tree"=>nil} | |
tracker got msg | |
getting trackers from storage | |
8 60 te * 20100930-bobedowane 0 {:wi=>["0_0!!20100930-bobedowane", 0]} | |
. | |
Finished in 0.505799 seconds. | |
1 tests, 2 assertions, 0 failures, 0 errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ree-1.8.7-2010.02@ruote tsc@raisa:~/git/ruote$ ruby test/functional/rt_1_listen.rb -- --dm -d | |
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02 | |
Thu Sep 30 10:53:40 +0200 2010 | |
Loaded suite test/functional/rt_1_listen | |
Started | |
noisy test/functional/rt_1_listen.rb:33:in `test_listen_and_restart' | |
0 90 pa * {"regex"=>"alpha", "engine_worker_only"=>true} | |
1 90 la * 20100930-binitejeni {:wi=>["0!!20100930-binitejeni", 0], :t=>["define", {}, [["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]]]} | |
2 90 ap * 20100930-binitejeni 0_0 {:wi=>["0_0!!20100930-binitejeni", 0], :pi=>"0!!20100930-binitejeni", :t=>["concurrence", {}, [["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]], ["alpha", {}, []]]]} | |
3 90 ap * 20100930-binitejeni 0_0_0 {:wi=>["0_0_0!!20100930-binitejeni", 0], :pi=>"0_0!!20100930-binitejeni", :t=>["sequence", {}, [["listen", {"to"=>"^al.*", "upon"=>"reply"}, []], ["echo", {"done."=>nil}, []]]]} | |
4 90 ap * 20100930-binitejeni 0_0_1 {:wi=>["0_0_1!!20100930-binitejeni", 1], :pi=>"0_0!!20100930-binitejeni", :t=>["participant", {"ref"=>"alpha"}, []]} | |
5 90 ap * 20100930-binitejeni 0_0_0_0 {:wi=>["0_0_0_0!!20100930-binitejeni", 0], :pi=>"0_0_0!!20100930-binitejeni", :t=>["listen", {"to"=>"^al.*", "upon"=>"reply"}, []]} | |
6 90 di * 20100930-binitejeni 0_0_1 {:wi=>["0_0_1!!20100930-binitejeni", 2], "participant"=>"inpa_:alpha", "participant_name"=>"alpha", "for_engine_worker?"=>true} | |
7 90 dd * 20100930-binitejeni 0_0_1 {} | |
noisy test/functional/rt_1_listen.rb:47:in `test_listen_and_restart' | |
0 30 rc * 20100930-binitejeni 0_0_1 {:wi=>["0_0_1!!20100930-binitejeni", 2], "participant_name"=>"alpha", "receiver"=>"Ruote::Engine"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment