Skip to content

Instantly share code, notes, and snippets.

@junaruga
Created September 23, 2024 15:47
Show Gist options
  • Save junaruga/2b9b4eab72abd70c94989972f301d131 to your computer and use it in GitHub Desktop.
Save junaruga/2b9b4eab72abd70c94989972f301d131 to your computer and use it in GitHub Desktop.
tmt run report with container
$ tmt -c distro=fedora-rawhide run --all provision -h container -i fedora:rawhide plans --default
$ tmt run --last report -vvv plans --default >& tmt_run_report_container.log
$ cat tmt_run_report_container.log
/var/tmp/tmt/run-012
/default/plan
report
how: display
order: 50
pass /Sanity/native-extension-gem-is-installed-without-error/system
output.txt: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/output.txt
content:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:21:57 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)'
:: [ 15:21:57 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0)
:: [ 15:21:57 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.JZt188BOEa'
/tmp/tmp.JZt188BOEa /var/tmp/tmt/run-012/default/plan/discover/default-0/tests/Sanity/native-extension-gem-is-installed-without-error
:: [ 15:21:57 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.JZt188BOEa' (Expected 0, got 0)
:: [ 15:21:57 ] :: [ BEGIN ] :: Running 'set -o pipefail'
:: [ 15:21:57 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0)
id: 'rubyuser': no such user
:: [ 15:21:57 ] :: [ BEGIN ] :: Adding user 'rubyuser' to the system :: actually running 'useradd rubyuser'
:: [ 15:21:57 ] :: [ PASS ] :: Adding user 'rubyuser' to the system (Expected 0, got 0)
:: [ 15:21:57 ] :: [ BEGIN ] :: rubyuser can (un)install gems in /tmp/tmp.JZt188BOEa :: actually running 'chown -R rubyuser:rubyuser /tmp/tmp.JZt188BOEa'
:: [ 15:21:57 ] :: [ PASS ] :: rubyuser can (un)install gems in /tmp/tmp.JZt188BOEa (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 5 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:21:58 ] :: [ 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
:: [ 15:22:07 ] :: [ PASS ] :: Try to install byebug gem under rubyuser (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 9s
:: Assertions: 1 good, 0 bad
:: RESULT: PASS (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:07 ] :: [ INFO ] :: Deleting installed files
:: [ 15:22:07 ] :: [ BEGIN ] :: Running 'loginctl terminate-user rubyuser'
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
:: [ 15:22:07 ] :: [ PASS ] :: Command 'loginctl terminate-user rubyuser' (Expected 0,1, got 1)
:: [ 15:22:07 ] :: [ BEGIN ] :: Running 'userdel -r rubyuser'
:: [ 15:22:07 ] :: [ PASS ] :: Command 'userdel -r rubyuser' (Expected 0, got 0)
:: [ 15:22:07 ] :: [ BEGIN ] :: Running 'popd'
/var/tmp/tmt/run-012/default/plan/discover/default-0/tests/Sanity/native-extension-gem-is-installed-without-error
:: [ 15:22:07 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 15:22:07 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.JZt188BOEa'
:: [ 15:22:07 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 4 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:07 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf
:: [ 15:22:07 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG
:: [ 15:22:08 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/journal.xml
:: [ 15:22:08 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-012/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-012/default/plan/execute/data/guest/default-0/Sanity/native-extension-gem-is-installed-without-error/system-1/journal.txt
errr /run-basic-rails-application (timeout)
output.txt: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/output.txt
content:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
ruby-3.3.5-15.fc42.x86_64
:: [ 15:22:09 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 15:22:09 ] :: [ LOG ] :: Package versions:
:: [ 15:22:09 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
rubygems-3.5.16-15.fc42.noarch
:: [ 15:22:09 ] :: [ PASS ] :: Checking for the presence of rubygems rpm
:: [ 15:22:09 ] :: [ LOG ] :: Package versions:
:: [ 15:22:09 ] :: [ LOG ] :: rubygems-3.5.16-15.fc42.noarch
rubypick-1.1.1-21.fc41.noarch
:: [ 15:22:09 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 15:22:09 ] :: [ LOG ] :: Package versions:
:: [ 15:22:09 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
rubypick
:: [ 15:22:09 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby rubygems rubypick
rubygems
:: [ 15:22:09 ] :: [ PASS ] :: Binary 'gem' should belong to: ruby rubygems rubypick
:: [ 15:22:09 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'TmpDir=$(mktemp -d)'
:: [ 15:22:09 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0)
:: [ 15:22:09 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.vrNd0KwSCx'
/tmp/tmp.vrNd0KwSCx /var/tmp/tmt/run-012/default/plan/discover/default-0/tests/run-basic-rails-application
:: [ 15:22:09 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.vrNd0KwSCx' (Expected 0, got 0)
true
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:10 ] :: [ 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.vrNd0KwSCx/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 date 3.3.4
Fetching erubi 1.13.0
Fetching crass 1.0.6
Fetching rack 2.2.9
Fetching nio4r 2.7.3
Fetching marcel 1.0.4
Fetching mini_mime 1.1.5
Installing erubi 1.13.0
Installing mini_mime 1.1.5
Fetching timeout 0.4.1
Fetching public_suffix 6.0.1
Installing concurrent-ruby 1.3.4
Installing rack 2.2.9
Installing nio4r 2.7.3 with native extensions
Installing date 3.3.4 with native extensions
Installing marcel 1.0.4
Fetching base64 0.2.0
Installing crass 1.0.6
Installing timeout 0.4.1
Installing base64 0.2.0
Fetching bindex 0.8.1
Fetching msgpack 1.7.2
Fetching regexp_parser 2.9.2
Fetching stringio 3.1.1
Installing public_suffix 6.0.1
Installing bindex 0.8.1 with native extensions
Fetching io-console 0.7.2
Fetching method_source 1.1.0
Installing msgpack 1.7.2 with native extensions
Installing regexp_parser 2.9.2
Installing stringio 3.1.1 with native extensions
Installing io-console 0.7.2 with native extensions
Installing method_source 1.1.0
Fetching thor 1.3.2
Fetching zeitwerk 2.6.18
Installing thor 1.3.2
Fetching logger 1.6.1
Installing zeitwerk 2.6.18
Fetching rexml 3.3.7
Installing logger 1.6.1
Fetching rubyzip 2.3.2
Installing rexml 3.3.7
Installing rubyzip 2.3.2
Fetching websocket 1.2.11
Fetching sqlite3 1.7.3 (x86_64-linux)
Installing websocket 1.2.11
Fetching nokogiri 1.16.7 (x86_64-linux)
Fetching websocket-driver 0.7.6
Installing sqlite3 1.7.3 (x86_64-linux)
Fetching rack-test 2.1.0
Installing websocket-driver 0.7.6 with native extensions
Installing rack-test 2.1.0
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching i18n 1.14.6
Installing i18n 1.14.6
Fetching sprockets 4.2.1
Installing sprockets 4.2.1
Fetching addressable 2.8.7
Installing nokogiri 1.16.7 (x86_64-linux)
Installing addressable 2.8.7
Fetching selenium-webdriver 4.25.0
Fetching net-smtp 0.5.0
Fetching activesupport 7.0.8.4
Installing net-smtp 0.5.0
Fetching xpath 3.2.0
Installing xpath 3.2.0
Installing activesupport 7.0.8.4
Fetching capybara 3.40.0
Installing capybara 3.40.0
Fetching rdoc 6.7.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
Installing rdoc 6.7.0
Fetching activemodel 7.0.8.4
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 activerecord 7.0.8.4
Installing activerecord 7.0.8.4
Fetching actionpack 7.0.8.4
Fetching jbuilder 2.13.0
Installing jbuilder 2.13.0
Installing actionpack 7.0.8.4
Installing selenium-webdriver 4.25.0
Fetching railties 7.0.8.4
Fetching sprockets-rails 3.5.2
Fetching activestorage 7.0.8.4
Installing railties 7.0.8.4
Installing sprockets-rails 3.5.2
Installing activestorage 7.0.8.4
Fetching actiontext 7.0.8.4
Installing actiontext 7.0.8.4
Fetching importmap-rails 2.0.1
Fetching stimulus-rails 1.3.4
Fetching turbo-rails 2.0.10
Installing importmap-rails 2.0.1
Fetching web-console 4.2.1
Installing stimulus-rails 1.3.4
Installing web-console 4.2.1
Installing turbo-rails 2.0.10
Fetching reline 0.5.10
Installing reline 0.5.10
Fetching irb 1.14.0
Installing irb 1.14.0
Fetching debug 1.9.2
Installing debug 1.9.2 with native extensions
Fetching actioncable 7.0.8.4
Fetching puma 6.4.3
Installing actioncable 7.0.8.4
Installing puma 6.4.3 with native extensions
Fetching bootsnap 1.18.4
Installing bootsnap 1.18.4 with native extensions
Fetching net-imap 0.4.16
Installing net-imap 0.4.16
Fetching actionmailbox 7.0.8.4
Fetching actionmailer 7.0.8.4
Installing actionmailbox 7.0.8.4
Installing actionmailer 7.0.8.4
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
:: [ 15:22:38 ] :: [ PASS ] :: Creating new rails application (Expected 0, got 0)
:: [ 15:22:38 ] :: [ PASS ] :: File 'bundle.log' should not contain 'bundle install --local'
:: [ 15:22:38 ] :: [ BEGIN ] :: Running 'pushd app/'
/tmp/tmp.vrNd0KwSCx/app /tmp/tmp.vrNd0KwSCx /var/tmp/tmt/run-012/default/plan/discover/default-0/tests/run-basic-rails-application
:: [ 15:22:38 ] :: [ PASS ] :: Command 'pushd app/' (Expected 0, got 0)
:: [ 15:22:38 ] :: [ PASS ] :: Directory app should exist
:: [ 15:22:39 ] :: [ 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
:: [ 15:22:39 ] :: [ PASS ] :: Check if port 3000 isn't engaged (Expected 1, got 1)
:: [ 15:22:39 ] :: [ BEGIN ] :: Running rails server :: actually running 'rails server &'
:: [ 15:22:39 ] :: [ 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: 2688
* Listening on http://127.0.0.1:3000
* Listening on http://[::1]:3000
Use Ctrl-C to stop
:: [ 15:22:49 ] :: [ 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 15:22:49 +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.6ms | Allocations: 611)
Completed 200 OK in 18ms (Views: 5.3ms | 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]
:: [ 15:22:49 ] :: [ PASS ] :: Wgetting running rails application (Expected 0, got 0)
:: [ 15:22:49 ] :: [ BEGIN ] :: Killing rails server :: actually running 'pkill ruby'
/usr/share/beakerlib/testing.sh: line 896: pkill: command not found
:: [ 15:22:49 ] :: [ FAIL ] :: Killing rails server (Expected 0, got 127)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 39s
:: Assertions: 7 good, 1 bad
:: RESULT: FAIL (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:49 ] :: [ BEGIN ] :: Running 'popd; popd'
/tmp/tmp.vrNd0KwSCx /var/tmp/tmt/run-012/default/plan/discover/default-0/tests/run-basic-rails-application
/var/tmp/tmt/run-012/default/plan/discover/default-0/tests/run-basic-rails-application
:: [ 15:22:49 ] :: [ PASS ] :: Command 'popd; popd' (Expected 0, got 0)
:: [ 15:22:49 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.vrNd0KwSCx'
:: [ 15:22:49 ] :: [ 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 15:22:09 UTC
Test finished : 2024-09-23 15:22:49 UTC (still running)
Test duration : 40 seconds
Distro : Fedora release 42 (Rawhide)
Hostname : b38b94aa1103
Architecture : unknown
CPUs : 8 x Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
RAM size : 15635 MB
HDD size : 225.33 GB
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:09 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 15:22:09 ] :: [ LOG ] :: Package versions:
:: [ 15:22:09 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
:: [ 15:22:09 ] :: [ PASS ] :: Checking for the presence of rubygems rpm
:: [ 15:22:09 ] :: [ LOG ] :: Package versions:
:: [ 15:22:09 ] :: [ LOG ] :: rubygems-3.5.16-15.fc42.noarch
:: [ 15:22:09 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 15:22:09 ] :: [ LOG ] :: Package versions:
:: [ 15:22:09 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
:: [ 15:22:09 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby rubygems rubypick
:: [ 15:22:09 ] :: [ PASS ] :: Binary 'gem' should belong to: ruby rubygems rubypick
:: [ 15:22:09 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0)
:: [ 15:22:09 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.vrNd0KwSCx' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:38 ] :: [ PASS ] :: Creating new rails application (Expected 0, got 0)
:: [ 15:22:38 ] :: [ PASS ] :: File 'bundle.log' should not contain 'bundle install --local'
:: [ 15:22:38 ] :: [ PASS ] :: Command 'pushd app/' (Expected 0, got 0)
:: [ 15:22:38 ] :: [ PASS ] :: Directory app should exist
:: [ 15:22:39 ] :: [ PASS ] :: Check if port 3000 isn't engaged (Expected 1, got 1)
:: [ 15:22:39 ] :: [ PASS ] :: Running rails server (Expected 0, got 0)
:: [ 15:22:49 ] :: [ PASS ] :: Wgetting running rails application (Expected 0, got 0)
:: [ 15:22:49 ] :: [ FAIL ] :: Killing rails server (Expected 0, got 127)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 39s
:: Assertions: 7 good, 1 bad
:: RESULT: FAIL (Test)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:49 ] :: [ PASS ] :: Command 'popd; popd' (Expected 0, got 0)
:: [ 15:22:49 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:22:49 ] :: [ LOG ] :: Phases fingerprint: tIGqJLIX
:: [ 15:22:49 ] :: [ LOG ] :: Asserts fingerprint: Q9M93/aR
:: [ 15:22:50 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/journal.xml
:: [ 15:22:50 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 40s
:: Phases: 2 good, 1 bad
:: OVERALL RESULT: FAIL ()
Maximum test time '20m' exceeded.
Adjust the test 'duration' attribute if necessary.
https://tmt.readthedocs.io/en/stable/spec/tests.html#duration
journal.txt: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/run-basic-rails-application-2/journal.txt
warn /systemtap-static-probes-in-ruby
output.txt: /var/tmp/tmt/run-012/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
:: [ 15:42:10 ] :: [ PASS ] :: Checking for the presence of ruby rpm
:: [ 15:42:10 ] :: [ LOG ] :: Package versions:
:: [ 15:42:10 ] :: [ LOG ] :: ruby-3.3.5-15.fc42.x86_64
ruby-libs-3.3.5-15.fc42.x86_64
:: [ 15:42:10 ] :: [ PASS ] :: Checking for the presence of ruby-libs rpm
:: [ 15:42:10 ] :: [ LOG ] :: Package versions:
:: [ 15:42:10 ] :: [ LOG ] :: ruby-libs-3.3.5-15.fc42.x86_64
rubypick-1.1.1-21.fc41.noarch
:: [ 15:42:10 ] :: [ PASS ] :: Checking for the presence of rubypick rpm
:: [ 15:42:10 ] :: [ LOG ] :: Package versions:
:: [ 15:42:10 ] :: [ LOG ] :: rubypick-1.1.1-21.fc41.noarch
ruby-doc-3.3.5-15.fc42.noarch
:: [ 15:42:10 ] :: [ PASS ] :: Checking for the presence of ruby-doc rpm
:: [ 15:42:10 ] :: [ LOG ] :: Package versions:
:: [ 15:42:10 ] :: [ LOG ] :: ruby-doc-3.3.5-15.fc42.noarch
rubypick
:: [ 15:42:10 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby ruby-libs rubypick ruby-doc
:: [ 15:42:10 ] :: [ FAIL ] :: File /usr/share/doc/ruby-doc/ruby-exercise.stp should exist
:: [ 15:42:10 ] :: [ FATAL ] ::
:: [ 15:42:10 ] :: [ FAIL ] :: (Assert: expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 5 good, 2 bad
:: RESULT: WARN (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 15:42:10 ] :: [ LOG ] :: Phases fingerprint: FECn9jqN
:: [ 15:42:10 ] :: [ LOG ] :: Asserts fingerprint: fcNmax4F
:: [ 15:42:10 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/journal.xml
:: [ 15:42:10 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Phases: 0 good, 1 bad
:: OVERALL RESULT: WARN ()
journal.txt: /var/tmp/tmt/run-012/default/plan/execute/data/guest/default-0/systemtap-static-probes-in-ruby-3/journal.txt
summary: 1 test passed, 1 warn and 1 error
total: 1 test passed, 1 warn and 1 error
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment