Created
August 18, 2020 21:01
-
-
Save pvalena/c0e6f8e5f0611e5544feee7409e5a4e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/tmp/tmt/run-006 | |
Found 1 plan. | |
/ci | |
summary: Run fmf tests from Fedora tests namespace. | |
discover | |
how: fmf | |
url: https://src.fedoraproject.org/forks/pvalena/tests/ruby.git | |
ref: tmt | |
summary: 1 test selected | |
/run-basic-rails-application | |
provision | |
how: container | |
image: fedora:rawhide | |
name: tmt-var-tmp-tmt-run-006-ci | |
distro: Fedora release 33 (Thirty Three) | |
kernel: 5.8.0-0.rc5.20200714git0dc589da873b.1.fc33.x86_64 | |
summary: 1 guest provisioned | |
prepare | |
how: install | |
copr: pvalena/ruby-on-rails | |
package: rubygem-rails | |
how: install | |
summary: Install required packages | |
name: requires | |
package: beakerlib | |
how: install | |
summary: Install recommended packages | |
name: recommends | |
package: libxslt-devel, rubygem-rails, procps-ng and 16 more | |
summary: 3 preparations applied | |
execute | |
how: beakerlib | |
stdout.log: .D | |
stderr.log: | |
/var/tmp/tmt/run-006/ci $ main beakerlib < discover/run.yaml | |
> /run-basic-rails-application: | |
> test: ./runtest.sh | |
> path: /default/tests/run-basic-rails-application | |
> duration: 60m | |
> > path: /var/tmp/tmt/run-006/ci/discover/default/tests/run-basic-rails-application | |
> > environment: | |
> > duration: timeout '60m' | |
> > command: ./runtest.sh | |
> > type: beakerlib | |
> > out.log: | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Setup | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
ruby-2.7.1-134.fc33.x86_64 | |
:: [ 21:01:15 ] :: [ PASS ] :: Checking for the presence of ruby rpm | |
:: [ 21:01:15 ] :: [ LOG ] :: Package versions: | |
:: [ 21:01:15 ] :: [ LOG ] :: ruby-2.7.1-134.fc33.x86_64 | |
rubygems-3.1.4-201.fc33.noarch | |
:: [ 21:01:15 ] :: [ PASS ] :: Checking for the presence of rubygems rpm | |
:: [ 21:01:15 ] :: [ LOG ] :: Package versions: | |
:: [ 21:01:15 ] :: [ LOG ] :: rubygems-3.1.4-201.fc33.noarch | |
rubypick-1.1.1-13.fc33.noarch | |
:: [ 21:01:15 ] :: [ PASS ] :: Checking for the presence of rubypick rpm | |
:: [ 21:01:15 ] :: [ LOG ] :: Package versions: | |
:: [ 21:01:15 ] :: [ LOG ] :: rubypick-1.1.1-13.fc33.noarch | |
rubypick | |
:: [ 21:01:15 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby rubygems rubypick | |
rubygems | |
:: [ 21:01:15 ] :: [ PASS ] :: Binary 'gem' should belong to: ruby rubygems rubypick | |
:: [ 21:01:15 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'TmpDir=$(mktemp -d)' | |
:: [ 21:01:15 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) | |
:: [ 21:01:15 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.NTohjpd1ys' | |
/tmp/tmp.NTohjpd1ys /var/tmp/tmt/run-006/ci/discover/default/tests/run-basic-rails-application | |
:: [ 21:01:15 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.NTohjpd1ys' (Expected 0, got 0) | |
true | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 1s | |
:: Assertions: 7 good, 0 bad | |
:: RESULT: PASS (Setup) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Test | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: [ 21:01:16 ] :: [ BEGIN ] :: Creating new rails application :: actually running 'rails new app --skip-bundle --skip-spring --skip-test --skip-bootsnap --skip-webpacker --skip-javascript -f | tee bundle.log' | |
create | |
create README.md | |
create Rakefile | |
create .ruby-version | |
create config.ru | |
create .gitignore | |
create Gemfile | |
run git init from "." | |
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/javascript/channels/consumer.js | |
create app/javascript/channels/index.js | |
create app/javascript/packs/application.js | |
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 bin/yarn | |
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/application_controller_renderer.rb | |
create config/initializers/assets.rb | |
create config/initializers/backtrace_silencers.rb | |
create config/initializers/content_security_policy.rb | |
create config/initializers/cookies_serializer.rb | |
create config/initializers/cors.rb | |
create config/initializers/filter_parameter_logging.rb | |
create config/initializers/inflections.rb | |
create config/initializers/mime_types.rb | |
create config/initializers/new_framework_defaults_6_0.rb | |
create config/initializers/wrap_parameters.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 storage | |
create storage/.keep | |
create tmp/storage | |
create tmp/storage/.keep | |
remove app/javascript | |
remove config/initializers/cors.rb | |
remove config/initializers/new_framework_defaults_6_0.rb | |
remove bin/yarn | |
:: [ 21:01:16 ] :: [ PASS ] :: Creating new rails application (Expected 0, got 0) | |
:: [ 21:01:16 ] :: [ PASS ] :: File 'bundle.log' should not contain 'bundle install --local' | |
:: [ 21:01:16 ] :: [ BEGIN ] :: Running 'pushd app/' | |
/tmp/tmp.NTohjpd1ys/app /tmp/tmp.NTohjpd1ys /var/tmp/tmt/run-006/ci/discover/default/tests/run-basic-rails-application | |
:: [ 21:01:16 ] :: [ PASS ] :: Command 'pushd app/' (Expected 0, got 0) | |
:: [ 21:01:16 ] :: [ PASS ] :: Directory app should exist | |
:: [ 21:01:17 ] :: [ BEGIN ] :: Relax puma dependency :: actually running 'sed -i "s/\(gem .puma.\).*/\1/" Gemfile' | |
:: [ 21:01:17 ] :: [ PASS ] :: Relax puma dependency (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ BEGIN ] :: Relax listen dependency :: actually running 'sed -i "s/\(gem .listen.\).*/\1/" Gemfile' | |
:: [ 21:01:17 ] :: [ PASS ] :: Relax listen dependency (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ BEGIN ] :: Drop sass-rails dependency :: actually running 'sed -i "/gem .sass-rails./ s/^/#/" Gemfile' | |
:: [ 21:01:17 ] :: [ PASS ] :: Drop sass-rails dependency (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ BEGIN ] :: Set bundle config(1) :: actually running 'bundle config set without test' | |
:: [ 21:01:17 ] :: [ PASS ] :: Set bundle config(1) (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ BEGIN ] :: Set bundle config(2) :: actually running 'bundle config set deployment false' | |
:: [ 21:01:17 ] :: [ PASS ] :: Set bundle config(2) (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ BEGIN ] :: Bundle dependencies locally :: actually running 'bundle install --local' | |
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and | |
installing your bundle as root will break this application for all non-root | |
users on this machine. | |
Resolving dependencies... | |
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. | |
Using rake 13.0.1 | |
Using concurrent-ruby 1.1.5 | |
Using i18n 1.8.2 | |
Using minitest 5.14.1 | |
Using tzinfo 2.0.1 | |
Using zeitwerk 2.3.0 | |
Using activesupport 6.0.3.2 | |
Using builder 3.2.4 | |
Using erubi 1.7.0 | |
Using nokogiri 1.10.10 | |
Using rails-dom-testing 2.0.3 | |
Using crass 1.0.4 | |
Using loofah 2.4.0 | |
Using rails-html-sanitizer 1.3.0 | |
Using actionview 6.0.3.2 | |
Using rack 2.2.3 | |
Using rack-test 1.1.0 | |
Using actionpack 6.0.3.2 | |
Using nio4r 2.5.2 | |
Using websocket-extensions 0.1.2 | |
Using websocket-driver 0.6.5 | |
Using actioncable 6.0.3.2 | |
Using globalid 0.4.2 | |
Using activejob 6.0.3.2 | |
Using activemodel 6.0.3.2 | |
Using activerecord 6.0.3.2 | |
Using mimemagic 0.3.2 | |
Using marcel 0.3.2 | |
Using activestorage 6.0.3.2 | |
Using mini_mime 1.0.0 | |
Using mail 2.7.1 | |
Using actionmailbox 6.0.3.2 | |
Using actionmailer 6.0.3.2 | |
Using actiontext 6.0.3.2 | |
Using bindex 0.5.0 | |
Using bundler 2.1.4 | |
Using byebug 11.1.3 | |
Using ffi 1.12.1 | |
Using multi_json 1.14.1 | |
Using jbuilder 2.7.0 | |
Using rb-inotify 0.10.1 | |
Using listen 3.2.1 | |
Using method_source 0.8.2 | |
Using puma 4.3.3 | |
Using thor 0.20.3 | |
Using railties 6.0.3.2 | |
Using sprockets 3.7.2 | |
Using sprockets-rails 3.2.1 | |
Using rails 6.0.3.2 | |
Using sqlite3 1.4.2 | |
Using web-console 3.5.1 | |
Bundle complete! 8 Gemfile dependencies, 51 gems now installed. | |
Gems in the group test were not installed. | |
Use `bundle info [gemname]` to see where a bundled gem is installed. | |
:: [ 21:01:18 ] :: [ PASS ] :: Bundle dependencies locally (Expected 0, got 0) | |
:: [ 21:01:18 ] :: [ BEGIN ] :: Check if port 3000 isn't engaged :: actually running 'netstat -tulpn | grep 3000' | |
:: [ 21:01:18 ] :: [ PASS ] :: Check if port 3000 isn't engaged (Expected 1, got 1) | |
:: [ 21:01:18 ] :: [ BEGIN ] :: Running rails server :: actually running 'rails server &' | |
:: [ 21:01:18 ] :: [ PASS ] :: Running rails server (Expected 0, got 0) | |
=> Booting Puma | |
=> Rails 6.0.3.2 application starting in development | |
=> Run `rails server --help` for more startup options | |
Puma starting in single mode... | |
* Version 4.3.3 (ruby 2.7.1-p83), codename: Mysterious Traveller | |
* Min threads: 5, max threads: 5 | |
* Environment: development | |
* Listening on tcp://127.0.0.1:3000 | |
* Listening on tcp://[::1]:3000 | |
Use Ctrl-C to stop | |
:: [ 21:01:28 ] :: [ BEGIN ] :: Wgetting running rails application :: actually running 'wget http://0.0.0.0:3000' | |
--2020-08-18 21:01:28-- http://0.0.0.0:3000/ | |
Connecting to 0.0.0.0:3000... connected. | |
HTTP request sent, awaiting response... Started GET "/" for 127.0.0.1 at 2020-08-18 21:01:28 +0000 | |
(1.3ms) SELECT sqlite_version(*) | |
Processing by Rails::WelcomeController#index as */* | |
Rendering /usr/share/gems/gems/railties-6.0.3.2/lib/rails/templates/rails/welcome/index.html.erb | |
Rendered /usr/share/gems/gems/railties-6.0.3.2/lib/rails/templates/rails/welcome/index.html.erb (Duration: 6.1ms | Allocations: 351) | |
Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.0ms | Allocations: 1864) | |
200 OK | |
Length: unspecified [text/html] | |
Saving to: 'index.html' | |
0K .......... .......... .......... .......... .......... 59.5M | |
50K .......... .......... .......... .......... .......... 94.1M | |
100K .......... .......... .......... .......... .......... 18.4M | |
150K .......... .......... .......... .......... .......... 62.2M | |
200K .......... .......... .......... .......... .......... 99.4M | |
250K .......... .......... .......... .......... .......... 90.9M | |
300K .......... .......... .......... .......... .......... 75.0M | |
350K .......... .......... .......... .......... 91.3M=0.007s | |
2020-08-18 21:01:28 (55.4 MB/s) - 'index.html' saved [399726] | |
:: [ 21:01:28 ] :: [ PASS ] :: Wgetting running rails application (Expected 0, got 0) | |
:: [ 21:01:28 ] :: [ BEGIN ] :: Killing rails server :: actually running 'pkill ruby' | |
- Gracefully stopping, waiting for requests to finish | |
=== puma shutdown: 2020-08-18 21:01:28 +0000 === | |
- Goodbye! | |
Exiting | |
:: [ 21:01:28 ] :: [ PASS ] :: Killing rails server (Expected 0, got 0) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 12s | |
:: Assertions: 14 good, 0 bad | |
:: RESULT: PASS (Test) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Cleanup | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: [ 21:01:28 ] :: [ BEGIN ] :: Running 'popd; popd' | |
/tmp/tmp.NTohjpd1ys /var/tmp/tmt/run-006/ci/discover/default/tests/run-basic-rails-application | |
/var/tmp/tmt/run-006/ci/discover/default/tests/run-basic-rails-application | |
:: [ 21:01:28 ] :: [ PASS ] :: Command 'popd; popd' (Expected 0, got 0) | |
:: [ 21:01:29 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.NTohjpd1ys' | |
:: [ 21:01:29 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 1s | |
:: Assertions: 2 good, 0 bad | |
:: RESULT: PASS (Cleanup) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: TEST PROTOCOL | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
Package : ruby rubygems rubypick | |
Installed : ruby-2.7.1-134.fc33.x86_64 | |
beakerlib RPM : beakerlib-1.18-13.fc33.noarch | |
Test name : unknown | |
Test started : 2020-08-18 21:01:14 UTC | |
Test finished : 2020-08-18 21:01:29 UTC (still running) | |
Test duration : 15 seconds | |
Distro : Fedora release 33 (Thirty Three) | |
Hostname : 47e5dbd69627 | |
Architecture : x86_64 | |
CPUs : 8 x Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz | |
RAM size : 15621 MB | |
HDD size : 68.40 GB | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Test description | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
PURPOSE of /CoreOS/rubygem-rails/run-basic-rails-application | |
Description: Test creates new rails application and runs it | |
Author: Iveta Senfeldova <isenfeld@redhat.com> | |
Test ensure it is possible to create new rails application and run it. | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Setup | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: [ 21:01:15 ] :: [ PASS ] :: Checking for the presence of ruby rpm | |
:: [ 21:01:15 ] :: [ LOG ] :: Package versions: | |
:: [ 21:01:15 ] :: [ LOG ] :: ruby-2.7.1-134.fc33.x86_64 | |
:: [ 21:01:15 ] :: [ PASS ] :: Checking for the presence of rubygems rpm | |
:: [ 21:01:15 ] :: [ LOG ] :: Package versions: | |
:: [ 21:01:15 ] :: [ LOG ] :: rubygems-3.1.4-201.fc33.noarch | |
:: [ 21:01:15 ] :: [ PASS ] :: Checking for the presence of rubypick rpm | |
:: [ 21:01:15 ] :: [ LOG ] :: Package versions: | |
:: [ 21:01:15 ] :: [ LOG ] :: rubypick-1.1.1-13.fc33.noarch | |
:: [ 21:01:15 ] :: [ PASS ] :: Binary 'ruby' should belong to: ruby rubygems rubypick | |
:: [ 21:01:15 ] :: [ PASS ] :: Binary 'gem' should belong to: ruby rubygems rubypick | |
:: [ 21:01:15 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) | |
:: [ 21:01:15 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.NTohjpd1ys' (Expected 0, got 0) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 1s | |
:: Assertions: 7 good, 0 bad | |
:: RESULT: PASS (Setup) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Test | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: [ 21:01:16 ] :: [ PASS ] :: Creating new rails application (Expected 0, got 0) | |
:: [ 21:01:16 ] :: [ PASS ] :: File 'bundle.log' should not contain 'bundle install --local' | |
:: [ 21:01:16 ] :: [ PASS ] :: Command 'pushd app/' (Expected 0, got 0) | |
:: [ 21:01:16 ] :: [ PASS ] :: Directory app should exist | |
:: [ 21:01:17 ] :: [ PASS ] :: Relax puma dependency (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ PASS ] :: Relax listen dependency (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ PASS ] :: Drop sass-rails dependency (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ PASS ] :: Set bundle config(1) (Expected 0, got 0) | |
:: [ 21:01:17 ] :: [ PASS ] :: Set bundle config(2) (Expected 0, got 0) | |
:: [ 21:01:18 ] :: [ PASS ] :: Bundle dependencies locally (Expected 0, got 0) | |
:: [ 21:01:18 ] :: [ PASS ] :: Check if port 3000 isn't engaged (Expected 1, got 1) | |
:: [ 21:01:18 ] :: [ PASS ] :: Running rails server (Expected 0, got 0) | |
:: [ 21:01:28 ] :: [ PASS ] :: Wgetting running rails application (Expected 0, got 0) | |
:: [ 21:01:28 ] :: [ PASS ] :: Killing rails server (Expected 0, got 0) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 12s | |
:: Assertions: 14 good, 0 bad | |
:: RESULT: PASS (Test) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Cleanup | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: [ 21:01:28 ] :: [ PASS ] :: Command 'popd; popd' (Expected 0, got 0) | |
:: [ 21:01:29 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 1s | |
:: Assertions: 2 good, 0 bad | |
:: RESULT: PASS (Cleanup) | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: unknown | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: [ 21:01:29 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-006/ci/execute/logs/run-basic-rails-application/journal.xml | |
:: [ 21:01:29 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-006/ci/execute/logs/run-basic-rails-application/journal.txt | |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Duration: 15s | |
:: Phases: 3 good, 0 bad | |
:: OVERALL RESULT: PASS (unknown) | |
> > exitcode.log: | |
0 | |
Test execution finished. | |
summary: 1 test executed | |
report | |
how: display | |
pass /run-basic-rails-application | |
out.log: /var/tmp/tmt/run-006/ci/execute/logs/run-basic-rails-application/out.log | |
journal.txt: /var/tmp/tmt/run-006/ci/execute/logs/run-basic-rails-application/journal.txt | |
summary: 1 test passed | |
finish | |
container: stopped | |
container: removed | |
summary: 0 tasks completed | |
total: 1 test passed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment