Test and Deploy to gh-pages
AMD64
Ruby: 2.7.5
Git
Raw log
Scroll to End of Log
0.12s0.09s0.00s0.06s
worker_info
1Worker information
2hostname: 21083a79-651d-43b2-bdfa-bae5450b4bdb@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-8614d7e7-85f0-4315-ad99-b896614d9cb3 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 5.955541069s
60.15s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 269167325
11Job id: 618449002
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.52s11.14s0.05s0.00s0.04s0.00s0.04s0.01s0.01s0.01s0.01s0.00s0.47sOK
1730.00s0.02s0.00s0.01s0.28s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.89s0.00s0.00s6.03s0.00s3.17s0.00s2.55s
docker_mtu_and_registry_mirrors
resolvconf
git.checkout
1740.00s0.43s$ 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
19812.01s$ rvm use 2.7.5 --install --binary --fuzzy
199curl: (22) The requested URL returned error: 404 Not Found
200Required ruby-2.7.5 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.5.tar.bz2
204Checking requirements for ubuntu.
205Requirements installation successful.
206ruby-2.7.5 - #configure
207ruby-2.7.5 - #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 34.6M 0 --:--:-- --:--:-- --:--:-- 34.5M
211No checksum for downloaded archive, recording checksum in user configuration.
212ruby-2.7.5 - #validate archive
213ruby-2.7.5 - #extract
214ruby-2.7.5 - #validate binary
215ruby-2.7.5 - #setup
216ruby-2.7.5 - #gemset created /home/travis/.rvm/gems/ruby-2.7.5@global
217ruby-2.7.5 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
218ruby-2.7.5 - #generating global wrappers........
219ruby-2.7.5 - #uninstalling gem rubygems-bundler-1.4.5.
220ruby-2.7.5 - #gemset created /home/travis/.rvm/gems/ruby-2.7.5
221ruby-2.7.5 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
222ruby-2.7.5 - #generating default wrappers........
223Using /home/travis/.rvm/gems/ruby-2.7.5
225$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
226Setting up build cache
227$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2280.13s$ Installing caching utilities
2290.00s1.74sattempting to download cache archive
230fetching PR.12/cache--linux-xenial-b3d48fdb5e32f8b9208e2bb0e3e528d49ad89d1decd758aa0652385d33612bbe--rvm-2.7.5--gemfile-Gemfile.tgz
231found cache
cache.bundler
2340.00s1.69sadding /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle to cache
235creating directory /home/travis/build/murtaza-swati/schedule_api-v1/vendor/bundle
ruby.versions
236$ ruby --version
237ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
238$ rvm --version
239rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
240$ bundle --version
241Bundler version 2.1.4
242$ gem --version
2433.1.6
install.bundler
2450.36s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
246[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
247Using rake 13.0.6
248Using concurrent-ruby 1.2.2
249Using i18n 1.14.1
250Using minitest 5.20.0
251Using tzinfo 2.0.6
252Using activesupport 7.0.8
253Using activemodel 7.0.8
254Using activerecord 7.0.8
255Using annotate 3.2.0
256Using ast 2.4.2
257Using base64 0.1.1
258Using bcrypt 3.1.19
259Using bundler 2.1.4
260Using byebug 11.1.3
261Using coderay 1.1.3
262Using database_cleaner-core 2.0.1
263Using database_cleaner-active_record 2.1.0
264Using stringio 3.0.8
265Using psych 5.1.0
266Using rdoc 6.5.0
267Using io-console 0.6.0
268Using reline 0.3.9
269Using irb 1.8.1
270Using debug 1.8.0
271Using diff-lcs 1.5.0
272Using docile 1.4.0
273Using dotenv 2.8.1
274Using zeitwerk 2.6.12
275Using dry-core 1.0.0
276Using dry-configurable 1.0.1
277Using dry-inflector 1.0.0
278Using dry-initializer 3.1.1
279Using dry-logic 1.5.0
280Using dry-types 1.7.1
281Using dry-schema 1.13.3
282Using factory_bot 6.3.0
283Using faker 3.2.1
284Using json 2.6.3
285Using jwt 2.3.0
286Using language_server-protocol 3.17.0.3
287Using lint_roller 1.1.0
288Using method_source 1.0.0
289Using mini_portile2 2.8.4
290Using multi_json 1.15.0
291Using nio4r 2.5.9
292Using parallel 1.23.0
293Using racc 1.7.1
294Using parser 3.2.2.4
295Using pry 0.14.2
296Using pry-byebug 3.10.1
297Using puma 6.4.0
298Using rack 1.6.13
299Using rack-protection 1.5.5
300Using rack-test 2.1.0
301Using rainbow 3.1.1
302Using regexp_parser 2.8.1
303Using rexml 3.2.6
304Using rspec-support 3.12.1
305Using rspec-core 3.12.2
306Using rspec-expectations 3.12.3
307Using rspec-mocks 3.12.6
308Using rspec 3.12.0
309Using rubocop-ast 1.29.0
310Using ruby-progressbar 1.13.0
311Using unicode-display_width 2.5.0
312Using rubocop 1.56.4
313Using rubocop-performance 1.19.1
314Using simplecov-html 0.12.3
315Using simplecov_json_formatter 0.1.4
316Using simplecov 0.22.0
317Using tilt 2.3.0
318Using sinatra 1.4.8
319Using sinatra-activerecord 2.0.26
320Using sinatra-json 0.1.0
321Using sqlite3 1.6.6 (x86_64-linux)
322Using standard-custom 1.0.2
323Using standard-performance 1.2.0
324Using standard 1.31.1
325Bundle complete! 22 Gemfile dependencies, 78 gems now installed.
326Bundled gems are installed into `./vendor/bundle`
before_script
3281.43s$ bundle exec rake db:setup
329Created database 'db/test.sqlite3'
33014.68s$ bundle exec rake
331/home/travis/.rvm/rubies/ruby-2.7.5/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
332/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
333/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
335Randomized with seed 17205
336...........................................................................................
338Top 10 slowest examples (5.26 seconds, 43.6% of total time):
339 Doctor::Presenter#availability returns the doctor's availability
340 1.9 seconds ./spec/models/doctor/presenter_spec.rb:10
341 Authentication#exchange_key when organization found returns JWT token
342 0.453 seconds ./spec/services/authentication_spec.rb:26
343 ApiKeyService#rotate_api_key updates the organization's api_key
344 0.44499 seconds ./spec/services/api_key_service_spec.rb:18
345 Router POST /exchange_key when valid params returns a token
346 0.44138 seconds ./spec/config/router_spec.rb:48
347 ApiKeyService#rotate_api_key returns a 64 character string
348 0.44135 seconds ./spec/services/api_key_service_spec.rb:14
349 Organization validations when email is not unique is expected to be invalid
350 0.44096 seconds ./spec/models/organization_spec.rb:32
351 Router POST /exchange_key when valid params responds with 200
352 0.44064 seconds ./spec/config/router_spec.rb:44
353 Router GET /api/v1/doctors/:doctor_id/hours returns the doctor's availability
354 0.23658 seconds ./spec/config/router_spec.rb:77
355 Router DELETE /api/v1/doctors/:doctor_id/appointments/:appointment_id deletes the appointment
356 0.23059 seconds ./spec/config/router_spec.rb:248
357 Router PUT /api/v1/doctors/:doctor_id/appointments/:appointment_id with valid params updates the appointment
358 0.22976 seconds ./spec/config/router_spec.rb:207
360Top 10 slowest example groups:
361 Doctor::Presenter
362 1.9 seconds average (1.9 seconds / 1 example) ./spec/models/doctor/presenter_spec.rb:3
363 ApiKeyService
364 0.29578 seconds average (0.88734 seconds / 3 examples) ./spec/services/api_key_service_spec.rb:3
365 Organization
366 0.27619 seconds average (1.1 seconds / 4 examples) ./spec/models/organization_spec.rb:15
367 Authentication
368 0.22472 seconds average (1.12 seconds / 5 examples) ./spec/services/authentication_spec.rb:3
369 Router
370 0.21992 seconds average (6.82 seconds / 31 examples) ./spec/config/router_spec.rb:4
371 AvailableSlotService
372 0.01399 seconds average (0.05597 seconds / 4 examples) ./spec/services/available_slot_service_spec.rb:3
373 CreateAppointmentsService
374 0.00506 seconds average (0.02532 seconds / 5 examples) ./spec/services/create_appointments_service_spec.rb:3
375 Appointment::Presenter
376 0.00479 seconds average (0.01438 seconds / 3 examples) ./spec/models/appointment/presenter_spec.rb:3
377 DoctorsController
378 0.00317 seconds average (0.00634 seconds / 2 examples) ./spec/controllers/doctors_controller_spec.rb:3
379 Appointment::OverlappingScope
380 0.00298 seconds average (0.00894 seconds / 3 examples) ./spec/models/appointment/overlapping_scope_spec.rb:3
382Finished in 12.06 seconds (files took 1.08 seconds to load)
38391 examples, 0 failures
385Randomized with seed 17205
387Coverage report generated for RSpec to /home/travis/build/murtaza-swati/schedule_api-v1/coverage. 786 / 791 LOC (99.37%) covered.
388The command "bundle exec rake" exited with 0.
cache.2
389store build cache
390$ bundle clean
3910.00s1.20snothing changed
393Skipping a deployment with the pages provider because the current build is a pull request.
395Done. Your build exited with 0.
Top