Skip to content

Instantly share code, notes, and snippets.

@junaruga
Last active September 25, 2024 10:44
Show Gist options
  • Save junaruga/7847004ebc339b34bd8db43fbb39d920 to your computer and use it in GitHub Desktop.
Save junaruga/7847004ebc339b34bd8db43fbb39d920 to your computer and use it in GitHub Desktop.
tmt run report virtual run-014
$ tmt -c distro=fedora-rawhide run --all provision -h virtual -i fedora-rawhide plans --default
/var/tmp/tmt/run-014
/default/plan
discover
how: fmf
directory: /home/jaruga/var/pkg/fed/tests/ruby
summary: 3 tests selected
provision
queued provision.provision task #1: default-0
provision.provision task #1: default-0
how: virtual
image: fedora-rawhide
memory: 2048 MB
disk: 40 GB
progress: downloading...
progress: booting...
multihost name: default-0
arch: x86_64
distro: Fedora Linux 42 (Cloud Edition Prerelease)
summary: 1 guest provisioned
prepare
queued push task #1: push to default-0
push task #1: push to default-0
queued prepare task #1: requires on default-0
queued prepare task #2: recommends on default-0
prepare task #1: requires on default-0
how: install
summary: Install required packages
name: requires
where: default-0
package: rubypick, beakerlib, /usr/bin/flock and 9 more
prepare task #2: recommends on default-0
how: install
summary: Install recommended packages
name: recommends
where: default-0
package: ruby
queued pull task #1: pull from default-0
pull task #1: pull from default-0
summary: 2 preparations applied
execute
queued execute task #1: default-0 on default-0
execute task #1: default-0 on default-0
how: tmt
progress:
summary: 3 tests executed
report
how: display
summary: 2 tests passed and 1 test failed
finish
guest: stopped
guest: removed
summary: 0 tasks completed
total: 2 tests passed and 1 test failed
$ tmt run --id run-014 report -vvv plans --default >& tmt_run_report_virtual_014.log
$ cat tmt_run_report_virtual_014.log
/var/tmp/tmt/run-014
/default/plan
report
how: display
order: 50
pass /Sanity/native-extension-gem-is-installed-without-error/system
output.txt: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/output.txt
content:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:34:33 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)'
:: [ 16:34:33 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0)
:: [ 16:34:33 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.U6ChMAYVgq'
/tmp/tmp.U6ChMAYVgq /var/tmp/tmt/run-014/default/plan/discover/default-0/tests/Sanity/native-extension-gem-is-installed-without-error
:: [ 16:34:33 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.U6ChMAYVgq' (Expected 0, got 0)
:: [ 16:34:33 ] :: [ BEGIN ] :: Running 'set -o pipefail'
:: [ 16:34:33 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0)
id: ‘rubyuser’: no such user
:: [ 16:34:33 ] :: [ BEGIN ] :: Adding user 'rubyuser' to the system :: actually running 'useradd rubyuser'
:: [ 16:34:33 ] :: [ PASS ] :: Adding user 'rubyuser' to the system (Expected 0, got 0)
:: [ 16:34:33 ] :: [ BEGIN ] :: rubyuser can (un)install gems in /tmp/tmp.U6ChMAYVgq :: actually running 'chown -R rubyuser:rubyuser /tmp/tmp.U6ChMAYVgq'
:: [ 16:34:33 ] :: [ PASS ] :: rubyuser can (un)install gems in /tmp/tmp.U6ChMAYVgq (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 5 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:34:33 ] :: [ BEGIN ] :: Try to install byebug gem under rubyuser :: actually running 'su -c 'gem install byebug' rubyuser'
WARNING: You don't have /home/rubyuser/bin in your PATH,
gem executables will not run.
Building native extensions. This could take a while...
Successfully installed byebug-11.1.3
Parsing documentation for byebug-11.1.3
Installing ri documentation for byebug-11.1.3
Done installing documentation for byebug after 6 seconds
1 gem installed
:: [ 16:34:43 ] :: [ PASS ] :: Try to install byebug gem under rubyuser (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 10s
:: Assertions: 1 good, 0 bad
:: RESULT: PASS (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:34:43 ] :: [ INFO ] :: Deleting installed files
:: [ 16:34:43 ] :: [ BEGIN ] :: Running 'loginctl terminate-user rubyuser'
Could not terminate user: User ID 1001 is not logged in or lingering
:: [ 16:34:43 ] :: [ PASS ] :: Command 'loginctl terminate-user rubyuser' (Expected 0,1, got 1)
:: [ 16:34:43 ] :: [ BEGIN ] :: Running 'userdel -r rubyuser'
:: [ 16:34:43 ] :: [ PASS ] :: Command 'userdel -r rubyuser' (Expected 0, got 0)
:: [ 16:34:43 ] :: [ BEGIN ] :: Running 'popd'
/var/tmp/tmt/run-014/default/plan/discover/default-0/tests/Sanity/native-extension-gem-is-installed-without-error
:: [ 16:34:43 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 16:34:43 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.U6ChMAYVgq'
:: [ 16:34:43 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 4 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:34:43 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf
:: [ 16:34:43 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG
:: [ 16:34:43 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/journal.xml
:: [ 16:34:43 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 10s
:: Phases: 3 good, 0 bad
:: OVERALL RESULT: PASS ()
journal.txt: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/journal.txt
pass /run-basic-rails-application
output.txt: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/output.txt
content:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ruby-3.3.5-15.fc42.x86_64
:: [ 16:34:45 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 16:34:45 ] :: [ LOG ] :: Package versions:
:: [ 16:34:45 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
rubygems-3.5.16-15.fc42.noarch
:: [ 16:34:45 ] :: [ PASS ] :: Checking for the presence of rubygems rpm
:: [ 16:34:45 ] :: [ LOG ] :: Package versions:
:: [ 16:34:45 ] :: [ LOG ] :: rubygems-3.5.16-15.fc42.noarch
rubypick-1.1.1-21.fc41.noarch
:: [ 16:34:45 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 16:34:45 ] :: [ LOG ] :: Package versions:
:: [ 16:34:45 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
rubypick
:: [ 16:34:45 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby rubygems rubypick
rubygems
:: [ 16:34:45 ] :: [ PASS ] :: Binary 'gem' should belong to: ruby rubygems rubypick
:: [ 16:34:45 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'TmpDir=$(mktemp -d)'
:: [ 16:34:45 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0)
:: [ 16:34:45 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.1qVSc22VpK'
/tmp/tmp.1qVSc22VpK /var/tmp/tmt/run-014/default/plan/discover/default-0/tests/run-basic-rails-application
:: [ 16:34:45 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.1qVSc22VpK' (Expected 0, got 0)
true
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:34:45 ] :: [ BEGIN ] :: Creating new rails application :: actually running 'rails new app | tee bundle.log'
create
create README.md
create Rakefile
create .ruby-version
create config.ru
create .gitignore
create .gitattributes
create Gemfile
run git init from "."
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.1qVSc22VpK/app/.git/
create app
create app/assets/config/manifest.js
create app/assets/stylesheets/application.css
create app/channels/application_cable/channel.rb
create app/channels/application_cable/connection.rb
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/jobs/application_job.rb
create app/mailers/application_mailer.rb
create app/models/application_record.rb
create app/views/layouts/application.html.erb
create app/views/layouts/mailer.html.erb
create app/views/layouts/mailer.text.erb
create app/assets/images
create app/assets/images/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/rails
create bin/rake
create bin/setup
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/cable.yml
create config/puma.rb
create config/storage.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/assets.rb
create config/initializers/content_security_policy.rb
create config/initializers/cors.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/new_framework_defaults_7_0.rb
create config/initializers/permissions_policy.rb
create config/locales
create config/locales/en.yml
create config/master.key
append .gitignore
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/apple-touch-icon-precomposed.png
create public/apple-touch-icon.png
create public/favicon.ico
create public/robots.txt
create tmp
create tmp/.keep
create tmp/pids
create tmp/pids/.keep
create tmp/cache
create tmp/cache/assets
create vendor
create vendor/.keep
create test/fixtures/files
create test/fixtures/files/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/channels/application_cable/connection_test.rb
create test/test_helper.rb
create test/system
create test/system/.keep
create test/application_system_test_case.rb
create storage
create storage/.keep
create tmp/storage
create tmp/storage/.keep
remove config/initializers/cors.rb
remove config/initializers/new_framework_defaults_7_0.rb
run bundle install
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Fetching concurrent-ruby 1.3.4
Fetching erubi 1.13.0
Installing erubi 1.13.0
Fetching crass 1.0.6
Installing concurrent-ruby 1.3.4
Installing crass 1.0.6
Fetching rack 2.2.9
Fetching nio4r 2.7.3
Installing rack 2.2.9
Fetching marcel 1.0.4
Installing nio4r 2.7.3 with native extensions
Installing marcel 1.0.4
Fetching mini_mime 1.1.5
Installing mini_mime 1.1.5
Fetching date 3.3.4
Installing date 3.3.4 with native extensions
Fetching timeout 0.4.1
Installing timeout 0.4.1
Fetching public_suffix 6.0.1
Installing public_suffix 6.0.1
Fetching base64 0.2.0
Installing base64 0.2.0
Fetching bindex 0.8.1
Installing bindex 0.8.1 with native extensions
Fetching msgpack 1.7.2
Installing msgpack 1.7.2 with native extensions
Fetching regexp_parser 2.9.2
Installing regexp_parser 2.9.2
Fetching stringio 3.1.1
Installing stringio 3.1.1 with native extensions
Fetching io-console 0.7.2
Installing io-console 0.7.2 with native extensions
Fetching method_source 1.1.0
Installing method_source 1.1.0
Fetching thor 1.3.2
Installing thor 1.3.2
Fetching zeitwerk 2.6.18
Installing zeitwerk 2.6.18
Fetching logger 1.6.1
Installing logger 1.6.1
Fetching rexml 3.3.7
Installing rexml 3.3.7
Fetching rubyzip 2.3.2
Installing rubyzip 2.3.2
Fetching websocket 1.2.11
Installing websocket 1.2.11
Fetching sqlite3 1.7.3 (x86_64-linux)
Installing sqlite3 1.7.3 (x86_64-linux)
Fetching nokogiri 1.16.7 (x86_64-linux)
Installing nokogiri 1.16.7 (x86_64-linux)
Fetching i18n 1.14.6
Installing i18n 1.14.6
Fetching rack-test 2.1.0
Installing rack-test 2.1.0
Fetching sprockets 4.2.1
Installing sprockets 4.2.1
Fetching websocket-driver 0.7.6
Installing websocket-driver 0.7.6 with native extensions
Fetching puma 6.4.3
Installing puma 6.4.3 with native extensions
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching addressable 2.8.7
Installing addressable 2.8.7
Fetching bootsnap 1.18.4
Installing bootsnap 1.18.4 with native extensions
Fetching selenium-webdriver 4.25.0
Installing selenium-webdriver 4.25.0
Fetching xpath 3.2.0
Installing xpath 3.2.0
Fetching activesupport 7.0.8.4
Installing activesupport 7.0.8.4
Fetching reline 0.5.10
Installing reline 0.5.10
Fetching net-imap 0.4.16
Installing net-imap 0.4.16
Fetching net-smtp 0.5.0
Installing net-smtp 0.5.0
Fetching rdoc 6.7.0
Fetching capybara 3.40.0
Installing rdoc 6.7.0
Installing capybara 3.40.0
Fetching rails-dom-testing 2.2.0
Installing rails-dom-testing 2.2.0
Fetching globalid 1.2.1
Installing globalid 1.2.1
Fetching activemodel 7.0.8.4
Fetching irb 1.14.0
Installing irb 1.14.0
Installing activemodel 7.0.8.4
Fetching actionview 7.0.8.4
Fetching activejob 7.0.8.4
Installing actionview 7.0.8.4
Installing activejob 7.0.8.4
Fetching debug 1.9.2
Fetching activerecord 7.0.8.4
Installing debug 1.9.2 with native extensions
Installing activerecord 7.0.8.4
Fetching actionpack 7.0.8.4
Installing actionpack 7.0.8.4
Fetching jbuilder 2.13.0
Installing jbuilder 2.13.0
Fetching actioncable 7.0.8.4
Installing actioncable 7.0.8.4
Fetching activestorage 7.0.8.4
Installing activestorage 7.0.8.4
Fetching actionmailer 7.0.8.4
Installing actionmailer 7.0.8.4
Fetching railties 7.0.8.4
Installing railties 7.0.8.4
Fetching sprockets-rails 3.5.2
Installing sprockets-rails 3.5.2
Fetching actionmailbox 7.0.8.4
Fetching actiontext 7.0.8.4
Installing actionmailbox 7.0.8.4
Fetching importmap-rails 2.0.1
Installing actiontext 7.0.8.4
Fetching stimulus-rails 1.3.4
Installing importmap-rails 2.0.1
Fetching turbo-rails 2.0.10
Installing stimulus-rails 1.3.4
Fetching web-console 4.2.1
Installing turbo-rails 2.0.10
Installing web-console 4.2.1
Fetching rails 7.0.8.4
Installing rails 7.0.8.4
Bundle complete! 14 Gemfile dependencies, 76 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
run bundle binstubs bundler
rails importmap:install
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/core_ext/object/json.rb:5: warning: /usr/share/ruby/bigdecimal.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/notifications/fanout.rb:3: warning: /usr/share/ruby/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/core_ext/object/json.rb:5: warning: /usr/share/ruby/bigdecimal.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/notifications/fanout.rb:3: warning: /usr/share/ruby/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
Add Importmap include tags in application layout
insert app/views/layouts/application.html.erb
Create application.js module as entrypoint
create app/javascript/application.js
Use vendor/javascript for downloaded pins
create vendor/javascript
create vendor/javascript/.keep
Ensure JavaScript files are in the Sprocket manifest
append app/assets/config/manifest.js
Configure importmap paths in config/importmap.rb
create config/importmap.rb
Copying binstub
create bin/importmap
rails turbo:install stimulus:install
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/core_ext/object/json.rb:5: warning: /usr/share/ruby/bigdecimal.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/notifications/fanout.rb:3: warning: /usr/share/ruby/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/core_ext/object/json.rb:5: warning: /usr/share/ruby/bigdecimal.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/notifications/fanout.rb:3: warning: /usr/share/ruby/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
Import Turbo
append app/javascript/application.js
Pin Turbo
append config/importmap.rb
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/core_ext/object/json.rb:5: warning: /usr/share/ruby/bigdecimal.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/notifications/fanout.rb:3: warning: /usr/share/ruby/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
Create controllers directory
create app/javascript/controllers
create app/javascript/controllers/index.js
create app/javascript/controllers/application.js
create app/javascript/controllers/hello_controller.js
Import Stimulus controllers
append app/javascript/application.js
Pin Stimulus
Appending: pin "@hotwired/stimulus", to: "stimulus.min.js"
append config/importmap.rb
Appending: pin "@hotwired/stimulus-loading", to: "stimulus-loading.js"
append config/importmap.rb
Pin all controllers
Appending: pin_all_from "app/javascript/controllers", under: "controllers"
append config/importmap.rb
:: [ 16:35:30 ] :: [ PASS ] :: Creating new rails application (Expected 0, got 0)
:: [ 16:35:30 ] :: [ PASS ] :: File 'bundle.log' should not contain 'bundle install --local'
:: [ 16:35:30 ] :: [ BEGIN ] :: Running 'pushd app/'
/tmp/tmp.1qVSc22VpK/app /tmp/tmp.1qVSc22VpK /var/tmp/tmt/run-014/default/plan/discover/default-0/tests/run-basic-rails-application
:: [ 16:35:30 ] :: [ PASS ] :: Command 'pushd app/' (Expected 0, got 0)
:: [ 16:35:30 ] :: [ PASS ] :: Directory app should exist
:: [ 16:35:30 ] :: [ BEGIN ] :: Check if port 3000 isn't engaged :: actually running 'netstat -tulpn | grep 3000'
/usr/share/beakerlib/testing.sh: line 896: netstat: command not found
:: [ 16:35:30 ] :: [ PASS ] :: Check if port 3000 isn't engaged (Expected 1, got 1)
:: [ 16:35:30 ] :: [ BEGIN ] :: Running rails server :: actually running 'rails server &'
:: [ 16:35:30 ] :: [ PASS ] :: Running rails server (Expected 0, got 0)
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/notifications/fanout.rb:3: warning: /usr/share/ruby/mutex_m.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.
/usr/local/share/gems/gems/activesupport-7.0.8.4/lib/active_support/core_ext/object/json.rb:5: warning: /usr/share/ruby/bigdecimal.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
You can add bigdecimal to your Gemfile or gemspec to silence this warning.
=> Booting Puma
=> Rails 7.0.8.4 application starting in development
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Puma version: 6.4.3 (ruby 3.3.5-p100) ("The Eagle of Durango")
* Min threads: 5
* Max threads: 5
* Environment: development
* PID: 24687
* Listening on http://127.0.0.1:3000
* Listening on http://[::1]:3000
Use Ctrl-C to stop
:: [ 16:35:40 ] :: [ BEGIN ] :: Wgetting running rails application :: actually running 'wget http://0.0.0.0:3000'
Started GET "/" for 127.0.0.1 at 2024-09-23 16:35:40 +0000
Processing by Rails::WelcomeController#index as HTML
Rendering /usr/local/share/gems/gems/railties-7.0.8.4/lib/rails/templates/rails/welcome/index.html.erb
Rendered /usr/local/share/gems/gems/railties-7.0.8.4/lib/rails/templates/rails/welcome/index.html.erb (Duration: 1.5ms | Allocations: 611)
Completed 200 OK in 19ms (Views: 6.4ms | ActiveRecord: 0.0ms | Allocations: 7191)
[0] Downloading 'http://0.0.0.0:3000' ...
Saving 'index.html'
HTTP response 200 OK [http://0.0.0.0:3000]
:: [ 16:35:41 ] :: [ PASS ] :: Wgetting running rails application (Expected 0, got 0)
:: [ 16:35:41 ] :: [ BEGIN ] :: Killing rails server :: actually running 'pkill ruby'
- Gracefully stopping, waiting for requests to finish
Exiting
:: [ 16:35:41 ] :: [ PASS ] :: Killing rails server (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 56s
:: Assertions: 8 good, 0 bad
:: RESULT: PASS (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:35:41 ] :: [ BEGIN ] :: Running 'popd; popd'
/tmp/tmp.1qVSc22VpK /var/tmp/tmt/run-014/default/plan/discover/default-0/tests/run-basic-rails-application
/var/tmp/tmt/run-014/default/plan/discover/default-0/tests/run-basic-rails-application
:: [ 16:35:41 ] :: [ PASS ] :: Command 'popd; popd' (Expected 0, got 0)
:: [ 16:35:41 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.1qVSc22VpK'
:: [ 16:35:41 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Package : ruby rubygems rubypick
Installed : ruby-3.3.5-15.fc42.x86_64
beakerlib RPM : beakerlib-1.31.2-1.fc41.noarch
Test name :
Test started : 2024-09-23 16:34:44 UTC
Test finished : 2024-09-23 16:35:41 UTC (still running)
Test duration : 57 seconds
Distro : Fedora release 42 (Rawhide)
Hostname : default-0
Architecture : unknown
CPUs : 2 x Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
RAM size : 1911 MB
HDD size : 117.80 GB
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:34:45 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 16:34:45 ] :: [ LOG ] :: Package versions:
:: [ 16:34:45 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
:: [ 16:34:45 ] :: [ PASS ] :: Checking for the presence of rubygems rpm
:: [ 16:34:45 ] :: [ LOG ] :: Package versions:
:: [ 16:34:45 ] :: [ LOG ] :: rubygems-3.5.16-15.fc42.noarch
:: [ 16:34:45 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 16:34:45 ] :: [ LOG ] :: Package versions:
:: [ 16:34:45 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
:: [ 16:34:45 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby rubygems rubypick
:: [ 16:34:45 ] :: [ PASS ] :: Binary 'gem' should belong to: ruby rubygems rubypick
:: [ 16:34:45 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0)
:: [ 16:34:45 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.1qVSc22VpK' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:35:30 ] :: [ PASS ] :: Creating new rails application (Expected 0, got 0)
:: [ 16:35:30 ] :: [ PASS ] :: File 'bundle.log' should not contain 'bundle install --local'
:: [ 16:35:30 ] :: [ PASS ] :: Command 'pushd app/' (Expected 0, got 0)
:: [ 16:35:30 ] :: [ PASS ] :: Directory app should exist
:: [ 16:35:30 ] :: [ PASS ] :: Check if port 3000 isn't engaged (Expected 1, got 1)
:: [ 16:35:30 ] :: [ PASS ] :: Running rails server (Expected 0, got 0)
:: [ 16:35:41 ] :: [ PASS ] :: Wgetting running rails application (Expected 0, got 0)
:: [ 16:35:41 ] :: [ PASS ] :: Killing rails server (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 56s
:: Assertions: 8 good, 0 bad
:: RESULT: PASS (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:35:41 ] :: [ PASS ] :: Command 'popd; popd' (Expected 0, got 0)
:: [ 16:35:41 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:35:41 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf
:: [ 16:35:41 ] :: [ LOG ] :: Asserts fingerprint: Mf0VrTCW
:: [ 16:35:41 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/journal.xml
:: [ 16:35:41 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 57s
:: Phases: 3 good, 0 bad
:: OVERALL RESULT: PASS ()
journal.txt: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/journal.txt
fail /systemtap-static-probes-in-ruby
output.txt: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/output.txt
content:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ruby-3.3.5-15.fc42.x86_64
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:42 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
ruby-libs-3.3.5-15.fc42.x86_64
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of ruby-libs rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:42 ] :: [ LOG ] :: ruby-libs-3.3.5-15.fc42.x86_64
rubypick-1.1.1-21.fc41.noarch
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:42 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
ruby-doc-3.3.5-15.fc42.noarch
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of ruby-doc rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:43 ] :: [ LOG ] :: ruby-doc-3.3.5-15.fc42.noarch
rubypick
:: [ 16:35:43 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby ruby-libs rubypick ruby-doc
:: [ 16:35:43 ] :: [ PASS ] :: File /usr/share/doc/ruby-doc/ruby-exercise.stp should exist
:: [ 16:35:43 ] :: [ LOG ] :: Using STAP_FILE from ruby-doc-3.3.5-15.fc42.noarch.
:: [ 16:35:43 ] :: [ BEGIN ] :: Prepare system for systemtap use :: actually running 'stap-prep'
Configuring for kernel release 6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64
Please wait, attempting to download /lib/modules/6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64/vmlinuz debuginfo
Increasing DEBUGINFOD_TIMEOUT to 300 temporarily
-r--------. 1 root root 456022064 Sep 20 00:00 /root/.cache/debuginfod_client/12eac728525911b7bf8a2ba91167137d6b514db7/debuginfo
Download successful. Assuming debuginfod server usage.
0
Need to install the following packages:
kernel-6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64
Fedora rawhide - x86_64 5.9 MB/s | 21 MB 00:03
Fedora rawhide - x86_64 - Debug 5.6 MB/s | 8.6 MB 00:01
Fedora rawhide - Source 5.6 MB/s | 6.6 MB 00:01
Fedora rawhide openh264 (From Cisco) - x86_64 1.2 kB/s | 1.4 kB 00:01
Fedora rawhide openh264 (From Cisco) - x86_64 - 1.2 kB/s | 1.1 kB 00:00
Fedora rawhide openh264 (From Cisco) - x86_64 - 126 kB/s | 140 kB 00:01
Errors during downloading metadata for repository 'fedora-cisco-openh264-source':
- Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-source-rawhide&arch=x86_64 (IP: 18.192.40.85)
- Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-source-rawhide&arch=x86_64 (IP: 18.133.140.134)
Error: Failed to download metadata for repo 'fedora-cisco-openh264-source': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-source-rawhide&arch=x86_64 (IP: 18.192.40.85)
Fedora - Rawhide - Developmental packages for t 357 kB/s | 443 kB 00:01
Fedora - Rawhide - Debug 18 kB/s | 4.9 kB 00:00
Fedora - Rawhide - Source 22 kB/s | 4.9 kB 00:00
Fedora rawhide - x86_64 - Updates 437 kB/s | 443 kB 00:01
Fedora rawhide - x86_64 - Updates - Debug 6.0 kB/s | 4.9 kB 00:00
Fedora rawhide - Updates Source 17 kB/s | 4.9 kB 00:00
Fedora rawhide - x86_64 - Test Updates 731 kB/s | 443 kB 00:00
Fedora rawhide - x86_64 - Test Updates Debug 4.0 kB/s | 4.9 kB 00:01
Fedora rawhide - Test Updates Source 5.2 kB/s | 4.9 kB 00:00
Ignoring repositories: fedora-cisco-openh264-source
Dependencies resolved.
================================================================================
Package Arch Version Repo Size
================================================================================
Installing:
kernel x86_64 6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42 fedora 348 k
Installing dependencies:
kernel-modules x86_64 6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42 fedora 64 M
Transaction Summary
================================================================================
Install 2 Packages
Total download size: 65 M
Installed size: 63 M
Downloading Packages:
(1/2): kernel-6.12.0-0.rc0.20240920gitbaeb9a7d8 2.0 MB/s | 348 kB 00:00
(2/2): kernel-modules-6.12.0-0.rc0.20240920gitb 10 MB/s | 64 MB 00:06
--------------------------------------------------------------------------------
Total 10 MB/s | 65 MB 00:06
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : kernel-modules-6.12.0-0.rc0.20240920gitbaeb9a7d8b60. 1/2
Running scriptlet: kernel-modules-6.12.0-0.rc0.20240920gitbaeb9a7d8b60. 1/2
Installing : kernel-6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x 2/2
Running scriptlet: kernel-modules-6.12.0-0.rc0.20240920gitbaeb9a7d8b60. 2/2
Running: dracut -f --kver 6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64
Running scriptlet: kernel-6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x 2/2warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
Installed:
kernel-6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64
kernel-modules-6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64
Complete!
kernel-6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64
:: [ 16:37:54 ] :: [ PASS ] :: Prepare system for systemtap use (Expected 0, got 0)
:: [ 16:37:54 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'TmpDir=`mktemp -d`'
:: [ 16:37:54 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0)
:: [ 16:37:54 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.UwrQ4O0Iyc'
/tmp/tmp.UwrQ4O0Iyc /var/tmp/tmt/run-014/default/plan/discover/default-0/tests/systemtap-static-probes-in-ruby
:: [ 16:37:54 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.UwrQ4O0Iyc' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 132s
:: Assertions: 9 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:37:54 ] :: [ BEGIN ] :: Checking file with ruby systemtap probes :: actually running 'rpm -ql ruby ruby-libs rubypick ruby-doc | grep 'stp' | grep 'tapset''
/usr/share/systemtap/tapset/libruby.so.3.3.stp
:: [ 16:37:54 ] :: [ PASS ] :: Checking file with ruby systemtap probes (Expected 0, got 0)
:: [ 16:37:54 ] :: [ LOG ] :: Changing stap buffer size
:: [ 16:37:54 ] :: [ BEGIN ] :: Running systemtap in background :: actually running '{ stap --suppress-handler-errors -s 100 -v /usr/share/doc/ruby-doc/ruby-exercise.stp -o /tmp/tmp.UwrQ4O0Iyc/ruby.log |& tee stap-out.log; } &'
:: [ 16:37:54 ] :: [ PASS ] :: Running systemtap in background (Expected 0, got 0)
--_STAP_PID--
33851
:: [ 16:37:54 ] :: [ INFO ] :: rlWaitForCmd: waiting for `grep 'starting run' stap-out.log' to return 0 in 120 seconds
Pass 1: parsed user script and 589 library scripts using 316024virt/283420res/15216shr/269624data kb, in 640usr/100sys/855real ms.
Pass 2: analyzed script: 19 probes, 7 functions, 1 embed, 0 globals using 402644virt/301756res/20880shr/290660data kb, in 570usr/250sys/6619real ms.
Pass 3: translated to C into "/tmp/stapiBBNqY/stap_688ecb4be340fc82a0ce180f28ceb17e_18928_src.c" using 402956virt/302600res/21400shr/290972data kb, in 190usr/250sys/455real ms.
In file included from /tmp/stapiBBNqY/stap_688ecb4be340fc82a0ce180f28ceb17e_18928_src.c:2968:
/usr/share/systemtap/runtime/linux/uprobes-inode.c:50:17: error: ‘uprobe_unregister’ undeclared here (not in a function); did you mean ‘uprobe_register’?
50 | typedef typeof(&uprobe_unregister) uprobe_unregister_fn;
| ^~~~~~~~~~~~~~~~~
| uprobe_register
/usr/share/systemtap/runtime/linux/uprobes-inode.c: In function ‘stapiu_register’:
/usr/share/systemtap/runtime/linux/uprobes-inode.c:290:52: error: passing argument 3 of ‘uprobe_register’ makes integer from pointer without a cast [-Wint-conversion]
290 | ret = uprobe_register (inst->inode, c->offset, &inst->kconsumer);
| ^~~~~~~~~~~~~~~~
| |
| struct uprobe_consumer *
In file included from ./include/linux/mm_types.h:16,
from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:7,
from /usr/share/systemtap/runtime/linux/runtime_defines.h:1,
from /usr/share/systemtap/runtime/runtime_defines.h:8,
from /tmp/stapiBBNqY/stap_688ecb4be340fc82a0ce180f28ceb17e_18928_src.c:12:
./include/linux/uprobes.h:116:82: note: expected ‘loff_t’ {aka ‘long long int’} but argument is of type ‘struct uprobe_consumer *’
116 | extern struct uprobe *uprobe_register(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc);
| ~~~~~~~^~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/uprobes-inode.c:290:11: error: too few arguments to function ‘uprobe_register’
290 | ret = uprobe_register (inst->inode, c->offset, &inst->kconsumer);
| ^~~~~~~~~~~~~~~
./include/linux/uprobes.h:116:23: note: declared here
116 | extern struct uprobe *uprobe_register(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc);
| ^~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapiBBNqY/stap_688ecb4be340fc82a0ce180f28ceb17e_18928_src.c:21:
/usr/share/systemtap/runtime/linux/uprobes-inode.c: In function ‘stapiu_unregister’:
/usr/share/systemtap/runtime/linux/uprobes-inode.c:54:19: error: invalid type argument of unary ‘*’ (have ‘int’)
54 | void_ibt_wrapper((* (uprobe_unregister_fn)kallsyms_uprobe_unregister)((a),(b),(c)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:324:4: note: in definition of macro ‘void_ibt_wrapper’
324 | (function); \
| ^~~~~~~~
/usr/share/systemtap/runtime/linux/uprobes-inode.c:315:10: note: in expansion of macro ‘uprobe_unregister’
315 | (void) uprobe_unregister (inst->inode, c->offset, &inst->kconsumer);
| ^~~~~~~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:244: /tmp/stapiBBNqY/stap_688ecb4be340fc82a0ce180f28ceb17e_18928_src.o] Error 1
make: *** [Makefile:1972: /tmp/stapiBBNqY] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_688ecb4be340fc82a0ce180f28ceb17e_18928.ko" in 29680usr/4670sys/18117real ms.
Pass 4: compilation failed. [man error::pass4]
Kernel version 6.12.0 is outside tested range 3.10 ... 6.11-rc3
:: [ 16:39:54 ] :: [ WARNING ] :: rlWaitForCmd: Timeout reached
:: [ 16:39:54 ] :: [ BEGIN ] :: Running ruby interpreter: Float test :: actually running 'ruby --disable-gems -e '1.0 + 9.0''
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Float test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ BEGIN ] :: Running ruby interpreter: Array test :: actually running 'ruby --disable-gems -e '[1, 2, 3].push(4)''
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Array test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ BEGIN ] :: Running ruby interpreter: Range test :: actually running 'ruby --disable-gems -e '(1..10).step(1)''
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Range test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ BEGIN ] :: Running ruby interpreter: Hash test :: actually running 'ruby --disable-gems -e 'Hash.new()''
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Hash test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ BEGIN ] :: Running ruby interpreter: String test :: actually running 'ruby --disable-gems -e '"abc".slice!("c")''
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: String test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ BEGIN ] :: Running ruby interpreter: Cycle and print test :: actually running 'ruby --disable-gems -e 'TracePoint.new{}.enable; 5.times { printf "Ruby!
" }''
Ruby!
Ruby!
Ruby!
Ruby!
Ruby!
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Cycle and print test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ BEGIN ] :: Waiting "10" seconds :: actually running 'sleep 10'
:: [ 16:40:04 ] :: [ PASS ] :: Waiting "10" seconds (Expected 0, got 0)
:: [ 16:40:04 ] :: [ BEGIN ] :: Terminating stap :: actually running 'kill 33851'
/usr/share/beakerlib/testing.sh: line 896: kill: (33851) - No such process
:: [ 16:40:04 ] :: [ FAIL ] :: Terminating stap (Expected 0, got 1)
---ps-out--
:: [ 16:40:06 ] :: [ BEGIN ] :: Attempt killing stap :: actually running 'kill -s SIGKILL 33851'
/usr/share/beakerlib/testing.sh: line 896: kill: (33851) - No such process
:: [ 16:40:06 ] :: [ PASS ] :: Attempt killing stap (Expected 0,1, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Attempt killing all leftover stapios :: actually running 'pkill stapio'
:: [ 16:40:06 ] :: [ PASS ] :: Attempt killing all leftover stapios (Expected 0,1, got 1)
---ps-out--
---/tmp/tmp.UwrQ4O0Iyc/ruby.log--
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: Array test :: actually running 'grep -q 'Array::push' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Array test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: Range test :: actually running 'grep -q 'Range::step' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Range test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: Hash test :: actually running 'grep -q 'Hash::initialize' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Hash test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: String test :: actually running 'grep -q 'String::slice!' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: String test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: Cycle and print test - iteration number :: actually running 'grep -q 'Integer::times' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Cycle and print test - iteration number (Expected 0, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: Cycle and print test - printf function :: actually running 'grep -q 'Kernel::printf' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Cycle and print test - printf function (Expected 0, got 1)
:: [ 16:40:06 ] :: [ BEGIN ] :: Checking systemtap log: Cycle and print test - IO write :: actually running 'grep -q 'IO::write' /tmp/tmp.UwrQ4O0Iyc/ruby.log'
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Cycle and print test - IO write (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 132s
:: Assertions: 11 good, 8 bad
:: RESULT: FAIL (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:40:06 ] :: [ BEGIN ] :: Running 'popd'
/var/tmp/tmt/run-014/default/plan/discover/default-0/tests/systemtap-static-probes-in-ruby
:: [ 16:40:06 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 16:40:06 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.UwrQ4O0Iyc'
:: [ 16:40:06 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Package : ruby ruby-libs rubypick ruby-doc
Installed : ruby-3.3.5-15.fc42.x86_64
beakerlib RPM : beakerlib-1.31.2-1.fc41.noarch
Test name :
Test started : 2024-09-23 16:35:42 UTC
Test finished : 2024-09-23 16:40:06 UTC (still running)
Test duration : 264 seconds
Distro : Fedora release 42 (Rawhide)
Hostname : default-0
Architecture : unknown
CPUs : 2 x Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
RAM size : 1911 MB
HDD size : 117.80 GB
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:42 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of ruby-libs rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:42 ] :: [ LOG ] :: ruby-libs-3.3.5-15.fc42.x86_64
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:42 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
:: [ 16:35:42 ] :: [ PASS ] :: Checking for the presence of ruby-doc rpm
:: [ 16:35:42 ] :: [ LOG ] :: Package versions:
:: [ 16:35:43 ] :: [ LOG ] :: ruby-doc-3.3.5-15.fc42.noarch
:: [ 16:35:43 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby ruby-libs rubypick ruby-doc
:: [ 16:35:43 ] :: [ PASS ] :: File /usr/share/doc/ruby-doc/ruby-exercise.stp should exist
:: [ 16:35:43 ] :: [ LOG ] :: Using STAP_FILE from ruby-doc-3.3.5-15.fc42.noarch.
:: [ 16:37:54 ] :: [ PASS ] :: Prepare system for systemtap use (Expected 0, got 0)
:: [ 16:37:54 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0)
:: [ 16:37:54 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.UwrQ4O0Iyc' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 132s
:: Assertions: 9 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:37:54 ] :: [ PASS ] :: Checking file with ruby systemtap probes (Expected 0, got 0)
:: [ 16:37:54 ] :: [ LOG ] :: Changing stap buffer size
:: [ 16:37:54 ] :: [ PASS ] :: Running systemtap in background (Expected 0, got 0)
:: [ 16:37:54 ] :: [ INFO ] :: rlWaitForCmd: waiting for `grep 'starting run' stap-out.log' to return 0 in 120 seconds
:: [ 16:39:54 ] :: [ WARNING ] :: rlWaitForCmd: Timeout reached
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Float test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Array test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Range test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Hash test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: String test (Expected 0, got 0)
:: [ 16:39:54 ] :: [ PASS ] :: Running ruby interpreter: Cycle and print test (Expected 0, got 0)
:: [ 16:40:04 ] :: [ PASS ] :: Waiting "10" seconds (Expected 0, got 0)
:: [ 16:40:04 ] :: [ FAIL ] :: Terminating stap (Expected 0, got 1)
:: [ 16:40:06 ] :: [ PASS ] :: Attempt killing stap (Expected 0,1, got 1)
:: [ 16:40:06 ] :: [ PASS ] :: Attempt killing all leftover stapios (Expected 0,1, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Array test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Range test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Hash test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: String test (Expected 0, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Cycle and print test - iteration number (Expected 0, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Cycle and print test - printf function (Expected 0, got 1)
:: [ 16:40:06 ] :: [ FAIL ] :: Checking systemtap log: Cycle and print test - IO write (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 132s
:: Assertions: 11 good, 8 bad
:: RESULT: FAIL (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:40:06 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 16:40:06 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:40:06 ] :: [ LOG ] :: Phases fingerprint: tIGqJLIX
:: [ 16:40:06 ] :: [ LOG ] :: Asserts fingerprint: HvJG/62i
:: [ 16:40:06 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/journal.xml
:: [ 16:40:06 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 264s
:: Phases: 2 good, 1 bad
:: OVERALL RESULT: FAIL ()
journal.txt: /var/tmp/tmt/run-014/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/journal.txt
summary: 2 tests passed and 1 test failed
total: 2 tests passed and 1 test failed
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment