AMD64
Ruby: 3.2.2
Git
Scroll to End of Log
0.11s0.09s0.00s0.05sTopworker_info1Worker information2hostname: 531063dd-4291-4e9b-96ff-8e312102a9cc@1.worker-premium-n2-4-75bd656d6f-8qzcs.gce-production-23version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e9662314instance: travis-job-f431f8da-a6bd-4e8d-b622-248b66cefcde travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)5startup: 6.148221865ssystem_info7Build system information8Build language: ruby9Build dist: xenial10Build id: 26916732511Job id: 61844900112Runtime 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.25s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.85s0.00s0.00s6.03s0.00s3.05s0.00s2.44sdocker_mtu_and_registry_mirrorsresolvconfgit.checkout1740.00s0.39s$ 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"rvm199Downloading https://get.rvm.io200Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc201Verifying /home/travis/.rvm/archives/rvm-installer.asc202gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB203gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]204gpg: WARNING: This key is not certified with a trusted signature!205gpg: There is no indication that the signature belongs to the owner.206Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB207GPG verified '/home/travis/.rvm/archives/rvm-installer'208Downloading https://github.com/rvm/rvm/archive/master.tar.gz209Upgrading the RVM installation in /home/travis/.rvm/210 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.211 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.212 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.213Upgrade of RVM in /home/travis/.rvm/ is complete.215Thanks for installing RVM 🙏216Please consider donating to our open collective to help us maintain RVM.221RVM reloaded!223curl: (22) The requested URL returned error: 404 Not Found224Required ruby-3.2.2 is not installed - installing.225curl: (22) The requested URL returned error: 404 Not Found226Searching for binary rubies, this might take some time.227Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2228Checking requirements for ubuntu.229Requirements installation successful.230ruby-3.2.2 - #configure231ruby-3.2.2 - #download232 % Total % Received % Xferd Average Speed Time Time Time Current233 Dload Upload Total Spent Left Speed234 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0235100 27.9M 100 27.9M 0 0 50.2M 0 --:--:-- --:--:-- --:--:-- 142M236No checksum for downloaded archive, recording checksum in user configuration.237ruby-3.2.2 - #validate archive238ruby-3.2.2 - #extract239ruby-3.2.2 - #validate binary240ruby-3.2.2 - #setup241ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global242ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................245ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2248Using /home/travis/.rvm/gems/ruby-3.2.2250$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1251Setting up build cache252$ export CASHER_DIR=${TRAVIS_HOME}/.casher255fetching PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-3.2.2--gemfile-Gemfile.tgz256fetching PR.12/cache-linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-3.2.2--gemfile-Gemfile.tgz257fetching PR.12/cache--rvm-3.2.2--gemfile-Gemfile.tgz258fetching main/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-3.2.2--gemfile-Gemfile.tgz259fetching main/cache-linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-3.2.2--gemfile-Gemfile.tgz260fetching main/cache--rvm-3.2.2--gemfile-Gemfile.tgz261could not download cachecache.bundler265creating directory /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundleruby.versions266$ ruby --version267ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]268$ rvm --version269rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]270$ bundle --version271Bundler version 2.4.10272$ gem --version2733.4.10install.bundler276[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 --local deployment 'true'`, and stop using this flag277[DEPRECATED] The `--path` 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 --local path 'vendor/bundle'`, and stop using this flag278Bundler 2.4.10 is running, but your lockfile was generated with 2.1.4. Installing Bundler 2.1.4 and restarting using that version.279Fetching gem metadata from https://rubygems.org/.280Fetching bundler 2.1.4281Installing bundler 2.1.4282Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.283[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 flag284Fetching gem metadata from https://rubygems.org/........285Fetching rake 13.0.6286Installing rake 13.0.6287Fetching concurrent-ruby 1.2.2288Fetching minitest 5.20.0289Installing minitest 5.20.0290Fetching ast 2.4.2291Installing concurrent-ruby 1.2.2292Using base64 0.1.1293Fetching bcrypt 3.1.19294Installing ast 2.4.2295Using bundler 2.1.4296Fetching byebug 11.1.3297Installing bcrypt 3.1.19 with native extensions298Installing byebug 11.1.3 with native extensions299Fetching coderay 1.1.3300Installing coderay 1.1.3301Fetching database_cleaner-core 2.0.1302Installing database_cleaner-core 2.0.1303Fetching stringio 3.0.8304Installing stringio 3.0.8 with native extensions305Using io-console 0.6.0306Fetching diff-lcs 1.5.0307Installing diff-lcs 1.5.0308Fetching docile 1.4.0309Installing docile 1.4.0310Fetching dotenv 2.8.1311Installing dotenv 2.8.1312Fetching zeitwerk 2.6.12313Installing zeitwerk 2.6.12314Fetching dry-inflector 1.0.0315Installing dry-inflector 1.0.0316Fetching dry-initializer 3.1.1317Installing dry-initializer 3.1.1318Using json 2.6.3319Fetching jwt 2.3.0320Installing jwt 2.3.0321Fetching language_server-protocol 3.17.0.3322Installing language_server-protocol 3.17.0.3323Fetching lint_roller 1.1.0324Installing lint_roller 1.1.0325Fetching method_source 1.0.0326Fetching mini_portile2 2.8.4327Installing method_source 1.0.0328Fetching multi_json 1.15.0329Installing mini_portile2 2.8.4330Fetching nio4r 2.5.9331Installing multi_json 1.15.0332Fetching parallel 1.23.0333Installing nio4r 2.5.9 with native extensions334Installing parallel 1.23.0335Fetching racc 1.7.1336Installing racc 1.7.1 with native extensions337Fetching rack 1.6.13338Installing rack 1.6.13339Fetching rainbow 3.1.1340Installing rainbow 3.1.1341Fetching regexp_parser 2.8.1342Installing regexp_parser 2.8.1343Fetching rexml 3.2.6344Installing rexml 3.2.6345Fetching rspec-support 3.12.1346Installing rspec-support 3.12.1347Fetching ruby-progressbar 1.13.0348Installing ruby-progressbar 1.13.0349Fetching unicode-display_width 2.5.0350Installing unicode-display_width 2.5.0351Fetching simplecov-html 0.12.3352Installing simplecov-html 0.12.3353Fetching simplecov_json_formatter 0.1.4354Installing simplecov_json_formatter 0.1.4355Fetching tilt 2.3.0356Installing tilt 2.3.0357Fetching i18n 1.14.1358Installing i18n 1.14.1359Fetching tzinfo 2.0.6360Installing tzinfo 2.0.6361Fetching reline 0.3.9362Installing reline 0.3.9363Fetching dry-core 1.0.0364Installing dry-core 1.0.0365Fetching psych 5.1.0366Installing psych 5.1.0 with native extensions367Fetching pry 0.14.2368Installing pry 0.14.2369Fetching sqlite3 1.6.6 (x86_64-linux)370Installing sqlite3 1.6.6 (x86_64-linux)371Fetching parser 3.2.2.4372Installing parser 3.2.2.4373Fetching rack-protection 1.5.5374Installing rack-protection 1.5.5375Fetching rack-test 2.1.0376Fetching rspec-core 3.12.2377Installing rack-test 2.1.0378Fetching rspec-expectations 3.12.3379Installing rspec-core 3.12.2380Installing rspec-expectations 3.12.3381Fetching rspec-mocks 3.12.6382Fetching simplecov 0.22.0383Installing simplecov 0.22.0384Installing rspec-mocks 3.12.6385Fetching faker 3.2.1386Fetching activesupport 7.0.8387Installing activesupport 7.0.8388Fetching dry-configurable 1.0.1389Installing faker 3.2.1390Installing dry-configurable 1.0.1391Fetching dry-logic 1.5.0392Installing dry-logic 1.5.0393Fetching puma 6.4.0394Fetching pry-byebug 3.10.1395Installing puma 6.4.0 with native extensions396Installing pry-byebug 3.10.1397Fetching rubocop-ast 1.29.0398Installing rubocop-ast 1.29.0399Fetching sinatra 1.4.8400Installing sinatra 1.4.8401Using rdoc 6.5.0402Fetching rspec 3.12.0403Installing rspec 3.12.0404Fetching activemodel 7.0.8405Installing activemodel 7.0.8406Fetching factory_bot 6.3.0407Installing factory_bot 6.3.0408Fetching dry-types 1.7.1409Installing dry-types 1.7.1410Fetching rubocop 1.56.4411Installing rubocop 1.56.4412Fetching sinatra-json 0.1.0413Installing sinatra-json 0.1.0414Fetching irb 1.8.1415Installing irb 1.8.1416Fetching activerecord 7.0.8417Installing activerecord 7.0.8418Fetching dry-schema 1.13.3419Installing dry-schema 1.13.3420Fetching rubocop-performance 1.19.1421Installing rubocop-performance 1.19.1422Fetching standard-custom 1.0.2423Installing standard-custom 1.0.2424Fetching debug 1.8.0425Installing debug 1.8.0 with native extensions426Fetching annotate 3.2.0427Installing annotate 3.2.0428Fetching database_cleaner-active_record 2.1.0429Installing database_cleaner-active_record 2.1.0430Fetching sinatra-activerecord 2.0.26431Installing sinatra-activerecord 2.0.26432Fetching standard-performance 1.2.0433Installing standard-performance 1.2.0434Fetching standard 1.31.1435Installing standard 1.31.1436Bundle complete! 22 Gemfile dependencies, 78 gems now installed.437Bundled gems are installed into `./vendor/bundle`before_script440Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.441Created database 'db/test.sqlite3'443Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.444/home/travis/.rvm/rubies/ruby-3.2.2/bin/ruby -I/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib:/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb445Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.446/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/core_ext/time/deprecated_conversions.rb:42: warning: method redefined; discarding old to_s447/home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/time_with_zone.rb:210: warning: previous definition of to_s was here449Randomized with seed 33016452Top 10 slowest examples (5.28 seconds, 43.8% of total time):453 CreateAppointmentsService.call with single appointment builds and save appointment455 ApiKeyService#rotate_api_key updates the organization's api_key457 ApiKeyService#rotate_api_key returns a 64 character string459 Organization validations when email is not unique is expected to be invalid461 Authentication#exchange_key when organization found returns JWT token463 Router POST /exchange_key when valid params returns a token465 Router POST /exchange_key when valid params responds with 200467 Router DELETE /api/v1/doctors/:doctor_id/appointments/:appointment_id responds with 204469 Router GET /api/v1/doctors/:doctor_id/hours returns the doctor's availability471 Router POST /api/v1/doctors/:doctor_id/appointments with valid params with multiple appointments creates the appointments474Top 10 slowest example groups:475 CreateAppointmentsService476 0.38757 seconds average (1.94 seconds / 5 examples) ./spec/services/create_appointments_service_spec.rb:3477 ApiKeyService478 0.29686 seconds average (0.89058 seconds / 3 examples) ./spec/services/api_key_service_spec.rb:3479 Organization481 Authentication483 Router485 AvailableSlotService486 0.00465 seconds average (0.01859 seconds / 4 examples) ./spec/services/available_slot_service_spec.rb:3487 Appointment::Presenter488 0.00428 seconds average (0.01284 seconds / 3 examples) ./spec/models/appointment/presenter_spec.rb:3489 DoctorsController490 0.00325 seconds average (0.00651 seconds / 2 examples) ./spec/controllers/doctors_controller_spec.rb:3491 AppointmentsController492 0.00236 seconds average (0.01182 seconds / 5 examples) ./spec/controllers/appointments_controller_spec.rb:3493 Appointment::OverlappingScope494 0.00198 seconds average (0.00595 seconds / 3 examples) ./spec/models/appointment/overlapping_scope_spec.rb:3496Finished in 12.06 seconds (files took 1.01 seconds to load)49791 examples, 0 failures499Randomized with seed 33016501Coverage report generated for RSpec to /home/travis/build/murtaza-swati/schedule_api-v1/coverage. 786 / 791 LOC (99.37%) covered.502The command "bundle exec rake" exited with 0.cache.2503store build cache504$ bundle clean505Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.507uploading PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-3.2.2--gemfile-Gemfile.tgz508cache uploaded511Done. Your build exited with 0.