AMD64
Ruby: 2.7.8
Git
Raw log
Scroll to End of Log
0.12s0.09s0.00s0.06s
worker_info
1Worker information
2hostname: 920099de-ff4a-4e7c-ae3c-c3d78e28956c@1.worker-premium-n2-4-75bd656d6f-8qzcs.gce-production-2
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-e7552b08-1529-4612-8ab0-cb9a4e17acd3 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 6.54130052s
60.16s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 269167325
11Job id: 618449000
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: f3de9fb7
14Build image provisioning date and time
15Thu May 18 10:07:51 UTC 2023
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 16.04.7 LTS
19Release: 16.04
20Codename: xenial
21Systemd Version
22systemd 229
23Cookbooks Version
24d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff
25git version
26git version 2.40.1
27bash version
28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
31docker version
32Client: Docker Engine - Community
33 Version: 20.10.7
34 API version: 1.41
35 Go version: go1.13.15
36 Git commit: f0df350
37 Built: Wed Jun 2 11:56:47 2021
38 OS/Arch: linux/amd64
39 Context: default
40 Experimental: true
42Server: Docker Engine - Community
43 Engine:
44 Version: 20.10.7
45 API version: 1.41 (minimum version 1.12)
46 Go version: go1.13.15
47 Git commit: b0f5bc3
48 Built: Wed Jun 2 11:54:58 2021
49 OS/Arch: linux/amd64
50 Experimental: false
51 containerd:
52 Version: 1.4.6
53 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
54 runc:
55 Version: 1.0.0-rc95
56 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
57 docker-init:
58 Version: 0.19.0
59 GitCommit: de40ad0
60clang version
61clang version 7.0.0 (tags/RELEASE_700/final)
62jq version
63jq-1.6
64bats version
65Bats 0.4.0
66shellcheck version
670.7.2
68shfmt version
69v3.2.1
70ccache version
713.2.4
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.1.3 linux-x64 node-v16.19.0
76imagemagick version
77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org
78md5deep version
794.4
80mercurial version
81version 5.9.3
82mysql version
83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper
84openssl version
85OpenSSL 1.0.2g 1 Mar 2016
86packer version
871.7.5
88postgresql client version
89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)
90ragel version
91Ragel State Machine Compiler version 6.8 Feb 2013
92sudo version
931.8.16
94gzip version
95gzip 1.6
96zip version
97Zip 3.0
98vim version
99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)
100iptables version
101iptables v1.6.0
102curl version
103curl 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.3
104wget version
105GNU Wget 1.17.1 built on linux-gnu.
106rsync version
107rsync version 3.1.1 protocol version 31
108gimme version
109v1.5.4
110nvm version
1110.39.3
112perlbrew version
113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
114phpenv version
115rbenv 1.2.0
116rvm version
117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
118default ruby version
119ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
120default python version
121Python 3.7.13
122CouchDB version
123couchdb 1.6.1
124ElasticSearch version
1257.16.3
126Installed Firefox version
127firefox 63.0.1
128MongoDB version
129MongoDB 4.4.21
130PhantomJS version
1312.1.1
132Pre-installed PostgreSQL versions
1339.4.26
1349.5.25
1359.6.22
136Redis version
137redis-server 6.0.6
138Pre-installed Go versions
1391.18.4
140ant version
141Apache Ant(TM) version 1.9.6 compiled on July 20 2018
142mvn version
143Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
144gradle version
145Gradle 7.5.1!
146lein version
147Leiningen 2.10.0 on Java 11.0.15.1 OpenJDK 64-Bit Server VM
148Pre-installed Node.js versions
149v10.24.1
150v12.22.12
151v14.21.3
152v16.15
153v16.16.0
154v16.20.0
155v18.16.0
156v4.9.1
157v6.17.1
158v8.17.0
159phpenv versions
160 system
161 7.4
162* 7.4.30 (set by /home/travis/.phpenv/version)
163 hhvm-stable
164 hhvm
165composer --version
166Composer version 2.3.7 2022-06-06 16:43:28
167Pre-installed Ruby versions
168ruby-2.7.6
169ruby-3.0.4
170ruby-3.1.2
1720.01s0.01s0.55s11.22s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.47sOK
1730.00s0.02s0.00s0.01s0.28s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.89s0.00s0.00s6.03s0.00s3.20s0.00s2.45s
docker_mtu_and_registry_mirrors
resolvconf
git.checkout
1740.01s0.44s$ git clone --depth=50 https://github.com/murtaza-swati/schedule_api-v1.git murtaza-swati/schedule_api-v1
175Cloning 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 0
180Receiving objects: 100% (470/470), 65.28 KiB | 4.08 MiB/s, done.
181Resolving deltas: 100% (248/248), done.
182$ cd murtaza-swati/schedule_api-v1
1830.31s$ git fetch origin +refs/pull/12/merge: --depth=50
184remote: 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 0
188Unpacking objects: 100% (4/4), 1.77 KiB | 1.77 MiB/s, done.
189From https://github.com/murtaza-swati/schedule_api-v1
190 * branch refs/pull/12/merge -> FETCH_HEAD
191$ git checkout -qf FETCH_HEAD
1930.01s
194Setting environment variables from .travis.yml
195$ export SECRET_KEY=0b1edf7e6c104a79c2986bebeb07b68d6fe617d3484c4eddc7ae7623e71cad496364709e3b4e2338d1c5ad95f83a6c75c3d8c9fb8cffbe0b5b169d7cdda8be29
196$ export ARTIFACTS_PATHS="./coverage"
rvm
19810.91s$ rvm use 2.7.8 --install --binary --fuzzy
199curl: (22) The requested URL returned error: 404 Not Found
200Required ruby-2.7.8 is not installed - installing.
201curl: (22) The requested URL returned error: 404 Not Found
202Searching 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.bz2
204Checking requirements for ubuntu.
205Requirements installation successful.
206ruby-2.7.8 - #configure
207ruby-2.7.8 - #download
208 % Total % Received % Xferd Average Speed Time Time Time Current
209 Dload Upload Total Spent Left Speed
210100 11.1M 100 11.1M 0 0 40.0M 0 --:--:-- --:--:-- --:--:-- 40.0M
211No checksum for downloaded archive, recording checksum in user configuration.
212ruby-2.7.8 - #validate archive
213ruby-2.7.8 - #extract
214ruby-2.7.8 - #validate binary
215ruby-2.7.8 - #setup
216ruby-2.7.8 - #gemset created /home/travis/.rvm/gems/ruby-2.7.8@global
217ruby-2.7.8 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
218ruby-2.7.8 - #generating global wrappers........
219ruby-2.7.8 - #uninstalling gem rubygems-bundler-1.4.5.
220ruby-2.7.8 - #gemset created /home/travis/.rvm/gems/ruby-2.7.8
221ruby-2.7.8 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
222ruby-2.7.8 - #generating default wrappers........
223Using /home/travis/.rvm/gems/ruby-2.7.8
225$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
226Setting up build cache
227$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2280.11s$ Installing caching utilities
2290.00s2.00sattempting to download cache archive
230fetching PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz
231fetching PR.12/cache-linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz
232fetching PR.12/cache--rvm-2.7.8--gemfile-Gemfile.tgz
233fetching main/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz
234fetching main/cache-linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz
235fetching main/cache--rvm-2.7.8--gemfile-Gemfile.tgz
236could not download cache
cache.bundler
2390.00s1.03sadding /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle to cache
240creating directory /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle
ruby.versions
241$ ruby --version
242ruby 2.7.8p225 (2023-03-30 revision 1f4d455848) [x86_64-linux]
243$ rvm --version
244rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
245$ bundle --version
246Bundler version 2.1.4
247$ gem --version
2483.1.6
install.bundler
25016.13s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
251[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 flag
252Fetching gem metadata from https://rubygems.org/........
253Fetching rake 13.0.6
254Installing rake 13.0.6
255Fetching concurrent-ruby 1.2.2
256Fetching minitest 5.20.0
257Installing minitest 5.20.0
258Fetching ast 2.4.2
259Installing concurrent-ruby 1.2.2
260Installing ast 2.4.2
261Fetching base64 0.1.1
262Fetching bcrypt 3.1.19
263Installing base64 0.1.1
264Using bundler 2.1.4
265Fetching byebug 11.1.3
266Installing bcrypt 3.1.19 with native extensions
267Installing byebug 11.1.3 with native extensions
268Fetching coderay 1.1.3
269Installing coderay 1.1.3
270Fetching database_cleaner-core 2.0.1
271Installing database_cleaner-core 2.0.1
272Fetching stringio 3.0.8
273Installing stringio 3.0.8 with native extensions
274Fetching io-console 0.6.0
275Installing io-console 0.6.0 with native extensions
276Fetching diff-lcs 1.5.0
277Installing diff-lcs 1.5.0
278Fetching docile 1.4.0
279Installing docile 1.4.0
280Fetching dotenv 2.8.1
281Installing dotenv 2.8.1
282Fetching zeitwerk 2.6.12
283Installing zeitwerk 2.6.12
284Fetching dry-inflector 1.0.0
285Installing dry-inflector 1.0.0
286Fetching dry-initializer 3.1.1
287Installing dry-initializer 3.1.1
288Fetching json 2.6.3
289Installing json 2.6.3 with native extensions
290Fetching jwt 2.3.0
291Installing jwt 2.3.0
292Fetching language_server-protocol 3.17.0.3
293Installing language_server-protocol 3.17.0.3
294Fetching lint_roller 1.1.0
295Installing lint_roller 1.1.0
296Fetching method_source 1.0.0
297Installing method_source 1.0.0
298Fetching mini_portile2 2.8.4
299Installing mini_portile2 2.8.4
300Fetching multi_json 1.15.0
301Installing multi_json 1.15.0
302Fetching nio4r 2.5.9
303Installing nio4r 2.5.9 with native extensions
304Fetching parallel 1.23.0
305Installing parallel 1.23.0
306Fetching racc 1.7.1
307Fetching rack 1.6.13
308Installing racc 1.7.1 with native extensions
309Installing rack 1.6.13
310Fetching rainbow 3.1.1
311Installing rainbow 3.1.1
312Fetching regexp_parser 2.8.1
313Installing regexp_parser 2.8.1
314Fetching rexml 3.2.6
315Installing rexml 3.2.6
316Fetching rspec-support 3.12.1
317Installing rspec-support 3.12.1
318Fetching ruby-progressbar 1.13.0
319Fetching unicode-display_width 2.5.0
320Installing unicode-display_width 2.5.0
321Installing ruby-progressbar 1.13.0
322Fetching simplecov-html 0.12.3
323Fetching simplecov_json_formatter 0.1.4
324Installing simplecov_json_formatter 0.1.4
325Fetching tilt 2.3.0
326Installing simplecov-html 0.12.3
327Installing tilt 2.3.0
328Fetching i18n 1.14.1
329Fetching tzinfo 2.0.6
330Installing i18n 1.14.1
331Installing tzinfo 2.0.6
332Fetching psych 5.1.0
333Fetching dry-core 1.0.0
334Installing psych 5.1.0 with native extensions
335Installing dry-core 1.0.0
336Fetching reline 0.3.9
337Installing reline 0.3.9
338Fetching pry 0.14.2
339Installing pry 0.14.2
340Fetching sqlite3 1.6.6 (x86_64-linux)
341Installing sqlite3 1.6.6 (x86_64-linux)
342Fetching puma 6.4.0
343Installing puma 6.4.0 with native extensions
344Fetching rack-protection 1.5.5
345Installing rack-protection 1.5.5
346Fetching rack-test 2.1.0
347Installing rack-test 2.1.0
348Fetching rspec-core 3.12.2
349Installing rspec-core 3.12.2
350Fetching rspec-expectations 3.12.3
351Installing rspec-expectations 3.12.3
352Fetching rspec-mocks 3.12.6
353Installing rspec-mocks 3.12.6
354Fetching parser 3.2.2.4
355Installing parser 3.2.2.4
356Fetching simplecov 0.22.0
357Installing simplecov 0.22.0
358Fetching faker 3.2.1
359Installing faker 3.2.1
360Fetching activesupport 7.0.8
361Installing activesupport 7.0.8
362Fetching dry-configurable 1.0.1
363Installing dry-configurable 1.0.1
364Fetching dry-logic 1.5.0
365Installing dry-logic 1.5.0
366Fetching pry-byebug 3.10.1
367Installing pry-byebug 3.10.1
368Fetching rdoc 6.5.0
369Fetching sinatra 1.4.8
370Installing rdoc 6.5.0
371Fetching rspec 3.12.0
372Installing sinatra 1.4.8
373Installing rspec 3.12.0
374Fetching rubocop-ast 1.29.0
375Fetching activemodel 7.0.8
376Installing rubocop-ast 1.29.0
377Installing activemodel 7.0.8
378Fetching factory_bot 6.3.0
379Fetching dry-types 1.7.1
380Installing factory_bot 6.3.0
381Installing dry-types 1.7.1
382Fetching irb 1.8.1
383Fetching sinatra-json 0.1.0
384Installing sinatra-json 0.1.0
385Fetching activerecord 7.0.8
386Installing irb 1.8.1
387Fetching rubocop 1.56.4
388Installing activerecord 7.0.8
389Installing rubocop 1.56.4
390Fetching dry-schema 1.13.3
391Installing dry-schema 1.13.3
392Fetching debug 1.8.0
393Installing debug 1.8.0 with native extensions
394Fetching annotate 3.2.0
395Installing annotate 3.2.0
396Fetching database_cleaner-active_record 2.1.0
397Installing database_cleaner-active_record 2.1.0
398Fetching sinatra-activerecord 2.0.26
399Installing sinatra-activerecord 2.0.26
400Fetching rubocop-performance 1.19.1
401Fetching standard-custom 1.0.2
402Installing rubocop-performance 1.19.1
403Installing standard-custom 1.0.2
404Fetching standard-performance 1.2.0
405Installing standard-performance 1.2.0
406Fetching standard 1.31.1
407Installing standard 1.31.1
408Bundle complete! 22 Gemfile dependencies, 78 gems now installed.
409Bundled gems are installed into `./vendor/bundle`
before_script
4111.43s$ bundle exec rake db:setup
412Created database 'db/test.sqlite3'
41314.74s$ bundle exec rake
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.rb
415/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_s
416/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 here
418Randomized with seed 43453
419...........................................................................................
421Top 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 appointment
423 2.21 seconds ./spec/config/router_spec.rb:165
424 ApiKeyService#rotate_api_key updates the organization's api_key
425 0.44505 seconds ./spec/services/api_key_service_spec.rb:18
426 ApiKeyService#rotate_api_key returns a 64 character string
427 0.44283 seconds ./spec/services/api_key_service_spec.rb:14
428 Router POST /exchange_key when valid params responds with 200
429 0.44278 seconds ./spec/config/router_spec.rb:44
430 Organization validations when email is not unique is expected to be invalid
431 0.44197 seconds ./spec/models/organization_spec.rb:32
432 Router POST /exchange_key when valid params returns a token
433 0.44134 seconds ./spec/config/router_spec.rb:48
434 Authentication#exchange_key when organization found returns JWT token
435 0.44067 seconds ./spec/services/authentication_spec.rb:26
436 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params responds with 200
437 0.23023 seconds ./spec/config/router_spec.rb:203
438 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params returns the appointment
439 0.22973 seconds ./spec/config/router_spec.rb:211
440 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params updates the appointment
441 0.22961 seconds ./spec/config/router_spec.rb:207
443Top 10 slowest example groups:
444 ApiKeyService
445 0.29627 seconds average (0.88882 seconds / 3 examples) ./spec/services/api_key_service_spec.rb:3
446 Router
447 0.28327 seconds average (8.78 seconds / 31 examples) ./spec/config/router_spec.rb:4
448 Organization
449 0.27629 seconds average (1.11 seconds / 4 examples) ./spec/models/organization_spec.rb:15
450 Authentication
451 0.22191 seconds average (1.11 seconds / 5 examples) ./spec/services/authentication_spec.rb:3
452 AvailableSlotService
453 0.01473 seconds average (0.05892 seconds / 4 examples) ./spec/services/available_slot_service_spec.rb:3
454 CreateAppointmentsService
455 0.00517 seconds average (0.02586 seconds / 5 examples) ./spec/services/create_appointments_service_spec.rb:3
456 Appointment::Presenter
457 0.00446 seconds average (0.01337 seconds / 3 examples) ./spec/models/appointment/presenter_spec.rb:3
458 AppointmentsController
459 0.00418 seconds average (0.02088 seconds / 5 examples) ./spec/controllers/appointments_controller_spec.rb:3
460 DoctorsController
461 0.00314 seconds average (0.00629 seconds / 2 examples) ./spec/controllers/doctors_controller_spec.rb:3
462 Appointment::OverlappingScope
463 0.00226 seconds average (0.00679 seconds / 3 examples) ./spec/models/appointment/overlapping_scope_spec.rb:3
465Finished in 12.12 seconds (files took 1.09 seconds to load)
46691 examples, 0 failures
468Randomized with seed 43453
470Coverage 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.2
472store build cache
473$ bundle clean
4740.00s3.09schanges detected, packing new archive
475uploading PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.8--gemfile-Gemfile.tgz
476cache uploaded
479Done. Your build exited with 0.
Top