Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix warnings raised by URI 1.0.1 #23261

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

miq-bot pushed a commit to ManageIQ/manageiq-cross_repo-tests that referenced this pull request Nov 8, 2024
@jrafanie
Copy link
Member Author

jrafanie commented Nov 8, 2024

ok, cross repo: ManageIQ/manageiq-cross_repo-tests#928 is green other than an issue requiring qpid_proton in nuage and openstack:

    1) OpenstackStfEventMonitor connecting to STF service URL prepare QDR endpoint
       Failure/Error: require 'qpid_proton'
  
       ArgumentError:
         wrong number of arguments (given 1, expected 0)
       # ./spec/legacy/events/openstack_stf_event_monitor_spec.rb:5:in `block (2 levels) in <top (required)>'

...  

https://github.com/ManageIQ/manageiq-cross_repo-tests/actions/runs/11749197033/job/32736846677?pr=928

    1) ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::Runner .event_monitor_handle
       Failure/Error: require 'qpid_proton'
  
       ArgumentError:
         wrong number of arguments (given 1, expected 0)
       # ./app/models/manageiq/providers/nuage/network_manager/event_catcher/stream.rb:25:in `initialize'
       # ./app/models/manageiq/providers/nuage/network_manager/event_catcher/runner.rb:7:in `new'
       # ./app/models/manageiq/providers/nuage/network_manager/event_catcher/runner.rb:7:in `event_monitor_handle'
       # ./spec/models/manageiq/providers/nuage/network_manager/event_catcher/runner_spec.rb:12:in `block (2 levels) in <top (required)>'

https://github.com/ManageIQ/manageiq-cross_repo-tests/actions/runs/11749197033/job/32736846113?pr=928

@agrare Have you seen this before?

@kbrock
Copy link
Member

kbrock commented Nov 11, 2024

Looks like legit issues with nuage, openstack: number of args to constructor

@jrafanie
Copy link
Member Author

Looks like legit issues with nuage, openstack: number of args to constructor

yeah, thanks, I was meaning to look at those again today

@jrafanie jrafanie added the wip label Nov 11, 2024
@jrafanie
Copy link
Member Author

jrafanie commented Nov 11, 2024

Looks like legit issues with nuage, openstack: number of args to constructor

I wonder if the warnings about uri 1.0.1 are an indicator it's related to 1.0.1

  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:32: warning: already initialized constant URI::AMQP::DEFAULT_PORT
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:32: warning: previous definition of DEFAULT_PORT was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: already initialized constant URI::Schemes::AMQP
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: previous definition of AMQP was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:41: warning: already initialized constant URI::AMQPS::DEFAULT_PORT
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:41: warning: previous definition of DEFAULT_PORT was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: already initialized constant URI::Schemes::AMQPS
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: previous definition of AMQPS was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:32: warning: already initialized constant URI::AMQP::DEFAULT_PORT
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:32: warning: previous definition of DEFAULT_PORT was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: already initialized constant URI::Schemes::AMQP
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: previous definition of AMQP was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:41: warning: already initialized constant URI::AMQPS::DEFAULT_PORT
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:41: warning: previous definition of DEFAULT_PORT was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: already initialized constant URI::Schemes::AMQPS
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: previous definition of AMQPS was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:32: warning: already initialized constant URI::AMQP::DEFAULT_PORT
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:32: warning: previous definition of DEFAULT_PORT was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: already initialized constant URI::Schemes::AMQP
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: previous definition of AMQP was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:41: warning: already initialized constant URI::AMQPS::DEFAULT_PORT
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/qpid_proton-0.37.0/lib/core/uri.rb:41: warning: previous definition of DEFAULT_PORT was here
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: already initialized constant URI::Schemes::AMQPS
  /home/runner/work/manageiq-cross_repo-tests/manageiq-cross_repo-tests/repos/ManageIQ/manageiq-providers-nuage@3c618859dc3655db13b3a59ae6ab1a41d237162b/vendor/bundle/ruby/3.0.0/gems/uri-1.0.1/lib/uri/common.rb:108: warning: previous definition of AMQPS was here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants