AMD64
Ruby: 2.7.8
Git
Scroll to End of Log
0.12s0.09s0.00s0.06sTopworker_info1Worker information2hostname: 920099de-ff4a-4e7c-ae3c-c3d78e28956c@1.worker-premium-n2-4-75bd656d6f-8qzcs.gce-production-23version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e9662314instance: travis-job-e7552b08-1529-4612-8ab0-cb9a4e17acd3 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)5startup: 6.54130052ssystem_info7Build system information8Build language: ruby9Build dist: xenial10Build id: 26916732511Job id: 61844900012Runtime kernel version: 4.15.0-1098-gcp13travis-build version: f3de9fb714Build image provisioning date and time15Thu May 18 10:07:51 UTC 202316Operating System Details17Distributor ID: Ubuntu18Description: Ubuntu 16.04.7 LTS19Release: 16.0420Codename: xenial21Systemd Version22systemd 22923Cookbooks Version24d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff25git version26git version 2.40.127bash version28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)29gcc version30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 2016060931docker version32Client: Docker Engine - Community33 Version: 20.10.734 API version: 1.4135 Go version: go1.13.1536 Git commit: f0df35037 Built: Wed Jun 2 11:56:47 202138 OS/Arch: linux/amd6439 Context: default40 Experimental: true42Server: Docker Engine - Community43 Engine:44 Version: 20.10.745 API version: 1.41 (minimum version 1.12)46 Go version: go1.13.1547 Git commit: b0f5bc348 Built: Wed Jun 2 11:54:58 202149 OS/Arch: linux/amd6450 Experimental: false51 containerd:52 Version: 1.4.653 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d54 runc:55 Version: 1.0.0-rc9556 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b757 docker-init:58 Version: 0.19.059 GitCommit: de40ad060clang version61clang version 7.0.0 (tags/RELEASE_700/final)62jq version63jq-1.664bats version65Bats 0.4.066shellcheck version670.7.268shfmt version69v3.2.170ccache version713.2.472cmake version73cmake version 3.26.374heroku version75heroku/8.1.3 linux-x64 node-v16.19.076imagemagick version77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org78md5deep version794.480mercurial version81version 5.9.382mysql version83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper84openssl version85OpenSSL 1.0.2g 1 Mar 201686packer version871.7.588postgresql client version89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)90ragel version91Ragel State Machine Compiler version 6.8 Feb 201392sudo version931.8.1694gzip version95gzip 1.696zip version97Zip 3.098vim version99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)100iptables version101iptables v1.6.0102curl version103curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3104wget version105GNU Wget 1.17.1 built on linux-gnu.106rsync version107rsync version 3.1.1 protocol version 31108gimme version109v1.5.4110nvm version1110.39.3112perlbrew version113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95114phpenv version115rbenv 1.2.0116rvm version117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]118default ruby version119ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]120default python version121Python 3.7.13122CouchDB version123couchdb 1.6.1124ElasticSearch version1257.16.3126Installed Firefox version127firefox 63.0.1128MongoDB version129MongoDB 4.4.21130PhantomJS version1312.1.1132Pre-installed PostgreSQL versions1339.4.261349.5.251359.6.22136Redis version137redis-server 6.0.6138Pre-installed Go versions1391.18.4140ant version141Apache Ant(TM) version 1.9.6 compiled on July 20 2018142mvn version143Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)144gradle version145Gradle 7.5.1!146lein version147Leiningen 2.10.0 on Java 11.0.15.1 OpenJDK 64-Bit Server VM148Pre-installed Node.js versions149v10.24.1150v12.22.12151v14.21.3152v16.15153v16.16.0154v16.20.0155v18.16.0156v4.9.1157v6.17.1158v8.17.0159phpenv versions160 system161 7.4162* 7.4.30 (set by /home/travis/.phpenv/version)163 hhvm-stable164 hhvm165composer --version166Composer version 2.3.7 2022-06-06 16:43:28167Pre-installed Ruby versions168ruby-2.7.6169ruby-3.0.4170ruby-3.1.21730.00s0.02s0.00s0.01s0.28s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.89s0.00s0.00s6.03s0.00s3.20s0.00s2.45sdocker_mtu_and_registry_mirrorsresolvconfgit.checkout1740.01s0.44s$ git clone --depth=50 https://github.com/murtaza-swati/schedule_api-v1.git murtaza-swati/schedule_api-v1175Cloning into 'murtaza-swati/schedule_api-v1'...176remote: Enumerating objects: 470, done.177remote: Counting objects: 100% (470/470), done.178remote: Compressing objects: 100% (198/198), done.179remote: Total 470 (delta 248), reused 465 (delta 247), pack-reused 0180Receiving objects: 100% (470/470), 65.28 KiB | 4.08 MiB/s, done.181Resolving deltas: 100% (248/248), done.182$ cd murtaza-swati/schedule_api-v1184remote: Enumerating objects: 6, done.185remote: Counting objects: 100% (6/6), done.186remote: Compressing objects: 100% (4/4), done.187remote: Total 4 (delta 2), reused 0 (delta 0), pack-reused 0188Unpacking objects: 100% (4/4), 1.77 KiB | 1.77 MiB/s, done.189From https://github.com/murtaza-swati/schedule_api-v1190 * branch refs/pull/12/merge -> FETCH_HEAD191$ git checkout -qf FETCH_HEAD1930.01s194Setting environment variables from .travis.yml195$ export SECRET_KEY=0b1edf7e6c104a79c2986bebeb07b68d6fe617d3484c4eddc7ae7623e71cad496364709e3b4e2338d1c5ad95f83a6c75c3d8c9fb8cffbe0b5b169d7cdda8be29196$ export ARTIFACTS_PATHS="./coverage"rvm199curl: (22) The requested URL returned error: 404 Not Found200Required ruby-2.7.8 is not installed - installing.201curl: (22) The requested URL returned error: 404 Not Found202Searching for binary rubies, this might take some time.203Found remote file https://storage.googleapis.com/travis-ci-language-archives/ruby/binaries/ubuntu/16.04/x86_64/ruby-2.7.8.tar.bz2204Checking requirements for ubuntu.205Requirements installation successful.206ruby-2.7.8 - #configure207ruby-2.7.8 - #download208 % Total % Received % Xferd Average Speed Time Time Time Current209 Dload Upload Total Spent Left Speed210100 11.1M 100 11.1M 0 0 40.0M 0 --:--:-- --:--:-- --:--:-- 40.0M211No checksum for downloaded archive, recording checksum in user configuration.212ruby-2.7.8 - #validate archive213ruby-2.7.8 - #extract214ruby-2.7.8 - #validate binary215ruby-2.7.8 - #setup216ruby-2.7.8 - #gemset created /home/travis/.rvm/gems/ruby-2.7.8@global217ruby-2.7.8 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................220ruby-2.7.8 - #gemset created /home/travis/.rvm/gems/ruby-2.7.8223Using /home/travis/.rvm/gems/ruby-2.7.8225$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1226Setting up build cache227$ export CASHER_DIR=${TRAVIS_HOME}/.casher230fetching PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz231fetching PR.12/cache-linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz232fetching PR.12/cache--rvm-2.7.8--gemfile-Gemfile.tgz233fetching main/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz234fetching main/cache-linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz235fetching main/cache--rvm-2.7.8--gemfile-Gemfile.tgz236could not download cachecache.bundler240creating directory /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundleruby.versions241$ ruby --version242ruby 2.7.8p225 (2023-03-30 revision 1f4d455848) [x86_64-linux]243$ rvm --version244rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]245$ bundle --version246Bundler version 2.1.4247$ gem --version2483.1.6install.bundler251[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag252Fetching gem metadata from https://rubygems.org/........253Fetching rake 13.0.6254Installing rake 13.0.6255Fetching concurrent-ruby 1.2.2256Fetching minitest 5.20.0257Installing minitest 5.20.0258Fetching ast 2.4.2259Installing concurrent-ruby 1.2.2260Installing ast 2.4.2261Fetching base64 0.1.1262Fetching bcrypt 3.1.19263Installing base64 0.1.1264Using bundler 2.1.4265Fetching byebug 11.1.3266Installing bcrypt 3.1.19 with native extensions267Installing byebug 11.1.3 with native extensions268Fetching coderay 1.1.3269Installing coderay 1.1.3270Fetching database_cleaner-core 2.0.1271Installing database_cleaner-core 2.0.1272Fetching stringio 3.0.8273Installing stringio 3.0.8 with native extensions274Fetching io-console 0.6.0275Installing io-console 0.6.0 with native extensions276Fetching diff-lcs 1.5.0277Installing diff-lcs 1.5.0278Fetching docile 1.4.0279Installing docile 1.4.0280Fetching dotenv 2.8.1281Installing dotenv 2.8.1282Fetching zeitwerk 2.6.12283Installing zeitwerk 2.6.12284Fetching dry-inflector 1.0.0285Installing dry-inflector 1.0.0286Fetching dry-initializer 3.1.1287Installing dry-initializer 3.1.1288Fetching json 2.6.3289Installing json 2.6.3 with native extensions290Fetching jwt 2.3.0291Installing jwt 2.3.0292Fetching language_server-protocol 3.17.0.3293Installing language_server-protocol 3.17.0.3294Fetching lint_roller 1.1.0295Installing lint_roller 1.1.0296Fetching method_source 1.0.0297Installing method_source 1.0.0298Fetching mini_portile2 2.8.4299Installing mini_portile2 2.8.4300Fetching multi_json 1.15.0301Installing multi_json 1.15.0302Fetching nio4r 2.5.9303Installing nio4r 2.5.9 with native extensions304Fetching parallel 1.23.0305Installing parallel 1.23.0306Fetching racc 1.7.1307Fetching rack 1.6.13308Installing racc 1.7.1 with native extensions309Installing rack 1.6.13310Fetching rainbow 3.1.1311Installing rainbow 3.1.1312Fetching regexp_parser 2.8.1313Installing regexp_parser 2.8.1314Fetching rexml 3.2.6315Installing rexml 3.2.6316Fetching rspec-support 3.12.1317Installing rspec-support 3.12.1318Fetching ruby-progressbar 1.13.0319Fetching unicode-display_width 2.5.0320Installing unicode-display_width 2.5.0321Installing ruby-progressbar 1.13.0322Fetching simplecov-html 0.12.3323Fetching simplecov_json_formatter 0.1.4324Installing simplecov_json_formatter 0.1.4325Fetching tilt 2.3.0326Installing simplecov-html 0.12.3327Installing tilt 2.3.0328Fetching i18n 1.14.1329Fetching tzinfo 2.0.6330Installing i18n 1.14.1331Installing tzinfo 2.0.6332Fetching psych 5.1.0333Fetching dry-core 1.0.0334Installing psych 5.1.0 with native extensions335Installing dry-core 1.0.0336Fetching reline 0.3.9337Installing reline 0.3.9338Fetching pry 0.14.2339Installing pry 0.14.2340Fetching sqlite3 1.6.6 (x86_64-linux)341Installing sqlite3 1.6.6 (x86_64-linux)342Fetching puma 6.4.0343Installing puma 6.4.0 with native extensions344Fetching rack-protection 1.5.5345Installing rack-protection 1.5.5346Fetching rack-test 2.1.0347Installing rack-test 2.1.0348Fetching rspec-core 3.12.2349Installing rspec-core 3.12.2350Fetching rspec-expectations 3.12.3351Installing rspec-expectations 3.12.3352Fetching rspec-mocks 3.12.6353Installing rspec-mocks 3.12.6354Fetching parser 3.2.2.4355Installing parser 3.2.2.4356Fetching simplecov 0.22.0357Installing simplecov 0.22.0358Fetching faker 3.2.1359Installing faker 3.2.1360Fetching activesupport 7.0.8361Installing activesupport 7.0.8362Fetching dry-configurable 1.0.1363Installing dry-configurable 1.0.1364Fetching dry-logic 1.5.0365Installing dry-logic 1.5.0366Fetching pry-byebug 3.10.1367Installing pry-byebug 3.10.1368Fetching rdoc 6.5.0369Fetching sinatra 1.4.8370Installing rdoc 6.5.0371Fetching rspec 3.12.0372Installing sinatra 1.4.8373Installing rspec 3.12.0374Fetching rubocop-ast 1.29.0375Fetching activemodel 7.0.8376Installing rubocop-ast 1.29.0377Installing activemodel 7.0.8378Fetching factory_bot 6.3.0379Fetching dry-types 1.7.1380Installing factory_bot 6.3.0381Installing dry-types 1.7.1382Fetching irb 1.8.1383Fetching sinatra-json 0.1.0384Installing sinatra-json 0.1.0385Fetching activerecord 7.0.8386Installing irb 1.8.1387Fetching rubocop 1.56.4388Installing activerecord 7.0.8389Installing rubocop 1.56.4390Fetching dry-schema 1.13.3391Installing dry-schema 1.13.3392Fetching debug 1.8.0393Installing debug 1.8.0 with native extensions394Fetching annotate 3.2.0395Installing annotate 3.2.0396Fetching database_cleaner-active_record 2.1.0397Installing database_cleaner-active_record 2.1.0398Fetching sinatra-activerecord 2.0.26399Installing sinatra-activerecord 2.0.26400Fetching rubocop-performance 1.19.1401Fetching standard-custom 1.0.2402Installing rubocop-performance 1.19.1403Installing standard-custom 1.0.2404Fetching standard-performance 1.2.0405Installing standard-performance 1.2.0406Fetching standard 1.31.1407Installing standard 1.31.1408Bundle complete! 22 Gemfile dependencies, 78 gems now installed.409Bundled gems are installed into `./vendor/bundle`414/home/travis/.rvm/rubies/ruby-2.7.8/bin/ruby -I/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib:/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/2.7.0/gems/rspec-support-3.12.1/lib /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb415/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/2.7.0/gems/activesupport-7.0.8/lib/active_support/core_ext/time/deprecated_conversions.rb:42: warning: method redefined; discarding old to_s416/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/2.7.0/gems/activesupport-7.0.8/lib/active_support/time_with_zone.rb:210: warning: previous definition of to_s was here418Randomized with seed 43453421Top 10 slowest examples (5.55 seconds, 45.8% of total time):422 Router POST /api/v1/doctors/:doctor_id/appointments with valid params with a single appointment returns the appointment424 ApiKeyService#rotate_api_key updates the organization's api_key426 ApiKeyService#rotate_api_key returns a 64 character string428 Router POST /exchange_key when valid params responds with 200430 Organization validations when email is not unique is expected to be invalid432 Router POST /exchange_key when valid params returns a token434 Authentication#exchange_key when organization found returns JWT token436 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params responds with 200438 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params returns the appointment440 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params updates the appointment443Top 10 slowest example groups:444 ApiKeyService445 0.29627 seconds average (0.88882 seconds / 3 examples) ./spec/services/api_key_service_spec.rb:3446 Router448 Organization450 Authentication452 AvailableSlotService453 0.01473 seconds average (0.05892 seconds / 4 examples) ./spec/services/available_slot_service_spec.rb:3454 CreateAppointmentsService455 0.00517 seconds average (0.02586 seconds / 5 examples) ./spec/services/create_appointments_service_spec.rb:3456 Appointment::Presenter457 0.00446 seconds average (0.01337 seconds / 3 examples) ./spec/models/appointment/presenter_spec.rb:3458 AppointmentsController459 0.00418 seconds average (0.02088 seconds / 5 examples) ./spec/controllers/appointments_controller_spec.rb:3460 DoctorsController461 0.00314 seconds average (0.00629 seconds / 2 examples) ./spec/controllers/doctors_controller_spec.rb:3462 Appointment::OverlappingScope463 0.00226 seconds average (0.00679 seconds / 3 examples) ./spec/models/appointment/overlapping_scope_spec.rb:3465Finished in 12.12 seconds (files took 1.09 seconds to load)46691 examples, 0 failures468Randomized with seed 43453470Coverage report generated for RSpec to /home/travis/build/murtaza-swati/schedule_api-v1/coverage. 786 / 791 LOC (99.37%) covered.471The command "bundle exec rake" exited with 0.cache.2472store build cache473$ bundle clean475uploading PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz476cache uploaded479Done. Your build exited with 0.