Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2498

Ruby binding fails to test with ruby 3.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.37.0
    • ruby-binding
    • None

    Description

      When you build/test proton on a really recent version of ruby the test phase fails (this is on fedora rawhide):

      29: Test command: /usr/bin/python3.10 "/home/jenkins/workspace/proton/proton-rawhide-main/source/scripts/env.py" "--" "PATH=/home/jenkins/workspace/proton/proton-rawhide-main/source/build/ruby:/home/jenkins/workspace/proton/proton-rawhide-main/source/build/c:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "RUBYLIB=/home/jenkins/workspace/proton/proton-rawhide-main/source/ruby/lib:/home/jenkins/workspace/proton/proton-rawhide-main/source/ruby/tests:/home/jenkins/workspace/proton/proton-rawhide-main/source/ruby/spec:/home/jenkins/workspace/proton/proton-rawhide-main/source/build/ruby:/home/jenkins/workspace/proton/proton-rawhide-main/source/build/c:" "COVERAGE_DIR=/home/jenkins/workspace/proton/proton-rawhide-main/source/build/ruby/coverage" "SASLPASSWD=/usr/sbin/saslpasswd2" "TEST_EXE_PREFIX=/usr/bin/valgrind --tool=memcheck --leak-check=full --error-exitcode=42 --quiet --suppressions=/home/jenkins/workspace/proton/proton-rawhide-main/source/tests/valgrind.supp" "/usr/bin/ruby" "testme" "-v"
      29: Test timeout computed to be: 360
      29: /home/jenkins/workspace/proton/proton-rawhide-main/source/ruby/lib/core/uri.rb:30:in `<module:URI>': uninitialized class variable @@schemes in URI (NameError)
      29: Did you mean?  scheme_list
      29: 	from /home/jenkins/workspace/proton/proton-rawhide-main/source/ruby/lib/core/uri.rb:22:in `<top (required)>'
      29: 	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
      29: 	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
      29: 	from /home/jenkins/workspace/proton/proton-rawhide-main/source/ruby/lib/qpid_proton.rb:64:in `<top (required)>'
      29: 	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
      29: 	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
      29: 	from testme:22:in `<main>'
      29/48 Test #29: ruby-example-test ................***Failed    0.18 sec
      

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: