Project

General

Profile

Actions

Bug #11543

closed

Run Rinda/DRb tests on localhost

Added by vo.x (Vit Ondruch) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby -v: ruby 2.3.0dev (2015-09-18 trunk 51895) [x86_64-linux]
[ruby-core:<unknown>]

Description

I am trying to setup Ruby CI workers using Fedora's Jenkins instance [1, 2]. Unfortunately, the Rinda/DRb tests typically timeouts [3] with failures such as:

  3) Error:
DRbTests::TestDRbAry#test_02_collect:
DRb::DRbConnError: druby://jenkins-slave-f22.fedorainfracloud.org:60570 - #<Errno::ETIMEDOUT: Connection timed out - connect(2) for "jenkins-slave-f22.fedorainfracloud.org" port 60570>
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:744:in `rescue in block in open'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:738:in `block in open'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:737:in `each'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:737:in `open'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1247:in `initialize'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1227:in `new'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1227:in `open'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1140:in `block in method_missing'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1159:in `with_friend'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1139:in `method_missing'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/invokemethod.rb:10:in `block_yield'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/invokemethod.rb:17:in `block in perform_with_block'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/invokemethod.rb:14:in `collect'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/invokemethod.rb:14:in `perform_with_block'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1581:in `perform'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1656:in `block (2 levels) in main_loop'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1652:in `loop'
    (druby://localhost:39217) /chkbuild/tmp/build/20150918T070333Z/ruby/lib/drb/drb.rb:1652:in `block in main_loop'
    /chkbuild/tmp/build/20150918T070333Z/ruby/test/drb/drbtest.rb:301:in `test_02_collect'

Apparently, this is because the Jenkins builder have all ports except 22 and 80 blocked. The fix is to use localhost by default for tests of Rinda/DRb. I submitted the PR [4] fixing this issue. I'd appreciate if it can be merged. It would enable CI for latest Fedoras and possibly RHEL.

[1] http://jenkins.fedorainfracloud.org/job/ruby/
[2] http://jenkins.fedorainfracloud.org/job/ruby-chkbuild/configure
[3] http://jenkins.fedorainfracloud.org/job/ruby-chkbuild/label=F22/ws/tmp/build/20150918T070333Z/log/*view*/
[4] https://github.com/ruby/ruby/pull/1027

Actions #1

Updated by vo.x (Vit Ondruch) almost 10 years ago

  • Status changed from Open to Closed
  • Assignee set to seki (Masatoshi Seki)

Resolved by r51916.

Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE

Backported into ruby_2_2 branch at r52305.

Updated by usa (Usaku NAKAMURA) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE to 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE

ruby_2_1 r52353 merged revision(s) 51916.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy