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

Ruby 3.2: undefining the allocator of T_DATA class Twopence::Target #75

Open
nodeg opened this issue Mar 14, 2023 · 0 comments
Open

Ruby 3.2: undefining the allocator of T_DATA class Twopence::Target #75

nodeg opened this issue Mar 14, 2023 · 0 comments
Labels

Comments

@nodeg
Copy link
Member

nodeg commented Mar 14, 2023

With Ruby 3.2, we see the following issue with Twopence. This occurred when running the Uyuni test suite with Ruby 3.2.

18:22:01  + ./terracumber-cli --outputdir /home/jenkins/jenkins-build/workspace/suma-pr8/results --tf susemanager-ci/terracumber_config/tf_files/Uyuni-PR-tests-env8.tf --gitfolder /home/jenkins/jenkins-build/workspace/suma-pr8/results/sumaform --parallelism 20 --logfile /home/jenkins/jenkins-build/workspace/suma-pr8/results/49/testsuite.log --runstep cucumber --cucumber-cmd 'cd /root/spacewalk/testsuite; rake cucumber:reposync'
18:23:26  Running command...
18:23:26  /usr/bin/ruby.ruby3.2 -S bundle exec cucumber --profile default -f html -o output_20230314182202-reposync.html -f json -o output_20230314182202-reposync.json -f junit -o results_junit -f pretty -r features features/reposync/srv_sync_channels.feature features/reposync/srv_sync_products.feature features/reposync/srv_enable_sync_products.feature features/reposync/srv_wait_for_reposync.feature features/reposync/srv_add_rocky8_repositories.feature
18:23:26  Capybara APP Host: https://suma-pr8-srv.mgr.prv.suse.net:8888/
18:23:26  Client IP address or domain name variable empty
18:23:26  /root/spacewalk/testsuite/features/support/twopence_init.rb:24: warning: undefining the allocator of T_DATA class Twopence::Target

twopence_init.rb from the Uyuni test suite:

def twopence_init(target)
  init_target = Twopence.init(target) # <--- line 24 as mentioned above
  $named_nodes[init_target.hash] = target.split(':')[1]
  init_target
end

Links

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

No branches or pull requests

1 participant