Open danaronson opened 9 years ago
I'm not completely sure that this is a parallel_tests issue, but I think it may be. While running under teamcity, I think one of the processes is getting an IOError while writing it's logs.
The main process is doing:
teamcity 5839 5838 2 16:31 ? 00:00:01 ruby /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/bin/parallel_test features --type cucumber --test-options --profile parallel_ci --expand --format Teamcity::Cucumber::Formatter --serialize-stdout -n 8
a subprocess is doing:
teamcity 5844 5839 0 16:31 ? 00:00:00 sh -c TEST_ENV_NUMBER=;export TEST_ENV_NUMBER;PARALLEL_TEST_GROUPS=8;export PARALLEL_TEST_GROUPS;bundle exec cucumber --format ParallelTests::Gherkin::RuntimeLogger --out tmp/parallel_runtime_cucumber.log --profile parallel_ci --expand --format Teamcity::Cucumber::Formatter [features]
and then frequently I get the following error in teamcity:
[16:15:16][Execute parallel:ci] stream closed (IOError) [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/common/teamcity/runner_common.rb:35:in `write' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/common/teamcity/runner_common.rb:35:in `puts' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/common/teamcity/runner_common.rb:35:in `send_msg' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/bdd/teamcity/cucumber/common.rb:404:in `log' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/bdd/teamcity/cucumber/common.rb:428:in `log_test_opened' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/bdd/teamcity/cucumber/common.rb:370:in `tc_before_step_result' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/plugins/rake-runner/rb/patch/bdd/teamcity/cucumber/formatter_03103.rb:123:in `before_step_result' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/tree_walker.rb:181:in `block in send_to_all' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/tree_walker.rb:179:in `each' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/tree_walker.rb:179:in `send_to_all' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/tree_walker.rb:169:in `broadcast' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/tree_walker.rb:111:in `visit_step_result' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/step_invocation.rb:43:in `visit_step_result' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/step_invocation.rb:39:in `accept' [16:15:16][Execute parallel:ci] /mnt/teamcity/TeamCity.9.0/buildAgent/work/master/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.17/lib/cucumber/ast/tree_walker.rb:106:in `block in visit_step' [...]
Any ideas?
sorry, no idea :/ just run from the console I guess ...
I'm not completely sure that this is a parallel_tests issue, but I think it may be. While running under teamcity, I think one of the processes is getting an IOError while writing it's logs.
The main process is doing:
a subprocess is doing:
and then frequently I get the following error in teamcity:
Any ideas?