Pipeline

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 14

#[0KRunning with gitlab-runner 11.5.

0 (3afdaba6)
#[0;m#[0K on Shared Kubernetes Runner d015da3a
#[0;m#[0KUsing Kubernetes namespace: gitlab
#[0;m#[0KUsing Kubernetes executor with image ruby:2.4.2 ...
#[0;msection_start:1554105022:prepare_script
#[0KWaiting for pod gitlab/runner-d015da3a-project-649-concurrent-0vnfds to be
running, status is Pending
Waiting for pod gitlab/runner-d015da3a-project-649-concurrent-0vnfds to be running,
status is Pending
Waiting for pod gitlab/runner-d015da3a-project-649-concurrent-0vnfds to be running,
status is Pending
Waiting for pod gitlab/runner-d015da3a-project-649-concurrent-0vnfds to be running,
status is Pending
Waiting for pod gitlab/runner-d015da3a-project-649-concurrent-0vnfds to be running,
status is Pending
Waiting for pod gitlab/runner-d015da3a-project-649-concurrent-0vnfds to be running,
status is Pending
Running on runner-d015da3a-project-649-concurrent-0vnfds via gitlab-runner-k8s-
5dc84f8bbb-x29gr...
section_end:1554105040:prepare_script
#[0Ksection_start:1554105040:get_sources
#[0K#[32;1mCloning repository...#[0;m
Cloning into '/bukalapak/debt-collector'...
#[32;1mChecking out ba3e0a58 as LBC-46-48-50-52-54-validation-borrower...#[0;m
#[32;1mSkipping Git submodules setup#[0;m
section_end:1554105041:get_sources
#[0Ksection_start:1554105041:restore_cache
#[0Ksection_end:1554105041:restore_cache
#[0Ksection_start:1554105041:download_artifacts
#[0Ksection_end:1554105041:download_artifacts
#[0Ksection_start:1554105041:build_script
#[0K#[32;1m$ cp env.sample .env#[0;m
#[32;1m$ make dep#[0;m
bundle install
/bin/sh: 1: cd: can't cd to deploy/_output/cron_jobs
The git source `git://github.com/thoughtbot/paperclip.git` uses the `git` protocol,
which transmits data without encryption. Disable this warning with `bundle config
git.allow_insecure true`, or switch to the `https` protocol to keep your data
secure.
Warning: the running version of Bundler (1.16.0) is older than the version that
created the lockfile (1.17.1). We suggest you upgrade to the latest version of
Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.........
Fetching git://github.com/thoughtbot/paperclip.git
Fetching rake 12.3.2

Retrying download gem from https://rubygems.org/ due to error (2/4):


Gem::RemoteFetcher::UnknownHostError no such name (https://rubygems.org/gems/rake-
12.3.2.gem)Installing rake 12.3.2
Fetching concurrent-ruby 1.1.4
Installing concurrent-ruby 1.1.4
Fetching i18n 1.5.3
Installing i18n 1.5.3
Fetching minitest 5.11.3
Installing minitest 5.11.3
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching activesupport 5.2.2
Installing activesupport 5.2.2
Fetching builder 3.2.3
Installing builder 3.2.3
Fetching erubi 1.8.0
Installing erubi 1.8.0
Fetching mini_portile2 2.4.0
Installing mini_portile2 2.4.0
Fetching nokogiri 1.10.1
Installing nokogiri 1.10.1 with native extensions
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching crass 1.0.4
Installing crass 1.0.4
Fetching loofah 2.2.3
Installing loofah 2.2.3
Fetching rails-html-sanitizer 1.0.4
Installing rails-html-sanitizer 1.0.4
Fetching actionview 5.2.2
Installing actionview 5.2.2
Fetching rack 2.0.6
Installing rack 2.0.6
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Fetching actionpack 5.2.2
Installing actionpack 5.2.2
Fetching activemodel 5.2.2
Installing activemodel 5.2.2
Fetching case_transform 0.2
Installing case_transform 0.2
Fetching jsonapi-renderer 0.2.0
Installing jsonapi-renderer 0.2.0
Fetching active_model_serializers 0.10.8
Installing active_model_serializers 0.10.8
Fetching arel 9.0.0
Installing arel 9.0.0
Fetching activerecord 5.2.2
Installing activerecord 5.2.2
Fetching public_suffix 3.0.3
Installing public_suffix 3.0.3
Fetching addressable 2.6.0
Installing addressable 2.6.0
Fetching amq-protocol 2.3.0
Installing amq-protocol 2.3.0
Fetching ast 2.4.0
Installing ast 2.4.0
Fetching awesome_print 1.8.0
Installing awesome_print 1.8.0
Fetching backports 3.11.4
Installing backports 3.11.4
Fetching bcrypt 3.1.12
Installing bcrypt 3.1.12 with native extensions
Using bundler 1.16.0
Fetching bunny 2.13.0
Installing bunny 2.13.0
Fetching byebug 10.0.2
Installing byebug 10.0.2 with native extensions
Fetching climate_control 0.2.0
Installing climate_control 0.2.0
Fetching json 2.1.0
Installing json 2.1.0 with native extensions
Fetching docile 1.3.1
Installing docile 1.3.1
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Fetching url 0.3.2
Installing url 0.3.2
Fetching codecov 0.1.14
Installing codecov 0.1.14
Fetching coderay 1.1.2
Installing coderay 1.1.2
Fetching tins 1.20.2
Installing tins 1.20.2
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.19.4
Installing thor 0.19.4
Fetching coveralls 0.8.22
Installing coveralls 0.8.22
Fetching safe_yaml 1.0.4
Installing safe_yaml 1.0.4
Fetching crack 0.4.3
Installing crack 0.4.3
Fetching daemons 1.3.1
Installing daemons 1.3.1
Fetching diff-lcs 1.3
Installing diff-lcs 1.3
Fetching unf_ext 0.0.7.5
Installing unf_ext 0.0.7.5 with native extensions
Fetching unf 0.1.4
Installing unf 0.1.4
Fetching domain_name 0.5.20180417
Installing domain_name 0.5.20180417
Fetching dotenv 2.6.0
Installing dotenv 2.6.0
Fetching eventmachine 1.2.7
Installing eventmachine 1.2.7 with native extensions
Fetching excon 0.62.0
Installing excon 0.62.0
Fetching factory_bot 4.8.2
Installing factory_bot 4.8.2
Fetching multipart-post 2.0.0
Installing multipart-post 2.0.0
Fetching faraday 0.15.4
Installing faraday 0.15.4
Fetching stoplight 2.1.3
Installing stoplight 2.1.3
Fetching faraday_middleware-circuit_breaker 0.3.0
Installing faraday_middleware-circuit_breaker 0.3.0
Fetching formatador 0.2.5
Installing formatador 0.2.5
Fetching mime-types-data 3.2018.0812
Installing mime-types-data 3.2018.0812
Fetching mime-types 3.2.2
Installing mime-types 3.2.2
Fetching fog-core 2.1.2
Installing fog-core 2.1.2
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Fetching fog-json 1.2.0
Installing fog-json 1.2.0
Fetching fog-xml 0.1.3
Installing fog-xml 0.1.3
Fetching ipaddress 0.8.3
Installing ipaddress 0.8.3
Fetching fog-aws 3.3.0
Installing fog-aws 3.3.0
Fetching foreman 0.85.0
Installing foreman 0.85.0
Fetching hashdiff 0.3.8
Installing hashdiff 0.3.8
Fetching honeybadger 3.3.1
Installing honeybadger 3.3.1
Fetching http-cookie 1.0.3
Installing http-cookie 1.0.3
Fetching jaro_winkler 1.5.2
Installing jaro_winkler 1.5.2 with native extensions
Fetching jwt 2.1.0
Installing jwt 2.1.0
Fetching lhm 2.2.0
Installing lhm 2.2.0
Fetching logstash-event 1.2.02
Installing logstash-event 1.2.02
Fetching logstash-logger 0.26.1
Installing logstash-logger 0.26.1
Fetching systemu 2.6.5
Installing systemu 2.6.5
Fetching macaddr 1.7.1
Installing macaddr 1.7.1
Fetching method_source 0.9.2
Installing method_source 0.9.2
Fetching mimemagic 0.3.3
Installing mimemagic 0.3.3
Fetching parallel 1.13.0
Installing parallel 1.13.0
Fetching parser 2.6.0.0
Installing parser 2.6.0.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching rainbow 3.0.0
Installing rainbow 3.0.0
Fetching ruby-progressbar 1.10.0
Installing ruby-progressbar 1.10.0
Fetching unicode-display_width 1.4.1
Installing unicode-display_width 1.4.1
Fetching rubocop 0.63.1
Installing rubocop 0.63.1
Fetching mry 0.59.0.0
Installing mry 0.59.0.0
Fetching mustermann 1.0.3
Installing mustermann 1.0.3
Fetching mysql2 0.5.2
Installing mysql2 0.5.2 with native extensions
Fetching netrc 0.11.0
Installing netrc 0.11.0
Fetching terrapin 0.6.0
Installing terrapin 0.6.0
Using paperclip 6.1.0 from git://github.com/thoughtbot/paperclip.git (at
master@17050e4)
Fetching phonelib 0.6.29
Installing phonelib 0.6.29
Fetching quantile 0.2.1
Installing quantile 0.2.1
Fetching prometheus-client 0.8.0
Installing prometheus-client 0.8.0
Fetching protor 0.1.2
Installing protor 0.1.2
Fetching pry 0.12.2
Installing pry 0.12.2
Fetching pry-byebug 3.6.0
Installing pry-byebug 3.6.0
Fetching puma 3.12.0
Installing puma 3.12.0 with native extensions
Fetching rack-protection 2.0.5
Installing rack-protection 2.0.5
Fetching racksh 1.0.0
Installing racksh 1.0.0
Fetching redis 4.1.0
Installing redis 4.1.0
Fetching require_all 2.0.0
Installing require_all 2.0.0
Fetching resilient 0.5.0
Installing resilient 0.5.0
Fetching rest-client 2.0.2
Installing rest-client 2.0.2
Fetching rubyzip 1.2.2
Installing rubyzip 1.2.2
Fetching roo 2.8.1
Installing roo 2.8.1
Fetching rspec-support 3.8.0
Installing rspec-support 3.8.0
Fetching rspec-core 3.8.0
Installing rspec-core 3.8.0
Fetching rspec-expectations 3.8.2
Installing rspec-expectations 3.8.2
Fetching rspec-mocks 3.8.0
Installing rspec-mocks 3.8.0
Fetching rspec 3.8.0
Installing rspec 3.8.0
Fetching sequel 5.16.0
Installing sequel 5.16.0
Fetching sigdump 0.2.4
Installing sigdump 0.2.4
Fetching serverengine 2.0.7
Installing serverengine 2.0.7
Fetching tilt 2.0.9
Installing tilt 2.0.9
Fetching sinatra 2.0.5
Installing sinatra 2.0.5
Fetching sinatra-activerecord 2.0.13
Installing sinatra-activerecord 2.0.13
Fetching sinatra-contrib 2.0.5
Installing sinatra-contrib 2.0.5
Fetching sinatra-cross_origin 0.4.0
Installing sinatra-cross_origin 0.4.0
Fetching sinatra-reloader 1.0
Installing sinatra-reloader 1.0
Fetching sneakers 2.11.0
Installing sneakers 2.11.0
Fetching state_machines 0.5.0
Installing state_machines 0.5.0
Fetching state_machines-activemodel 0.5.1
Installing state_machines-activemodel 0.5.1
Fetching state_machines-activerecord 0.5.2
Installing state_machines-activerecord 0.5.2
Fetching thin 1.7.2
Installing thin 1.7.2 with native extensions
Fetching uuid 2.3.9
Installing uuid 2.3.9
Fetching webmock 3.5.1
Installing webmock 3.5.1
Bundle complete! 46 Gemfile dependencies, 133 gems now installed.
Bundled gems are installed into `/usr/local/bundle`
Post-install message from i18n:

HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.


But that may break your application.

Please check your Rails app for 'config.i18n.fallbacks = true'.


If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

For more info see:


https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

Post-install message from paperclip:


##################################################
# NOTE FOR UPGRADING FROM 4.3.0 OR EARLIER #
##################################################

Paperclip is now compatible with aws-sdk-s3.

If you are using S3 storage, aws-sdk-s3 requires you to make a few small
changes:

* You must set the `s3_region`


* If you are explicitly setting permissions anywhere, such as in an initializer,
note that the format of the permissions changed from using an underscore to
using a hyphen. For example, `:public_read` needs to be changed to
`public-read`.

For a walkthrough of upgrading from 4 to *5* (not 6) and aws-sdk >= 2.0 you can
watch
http://rubythursday.com/episodes/ruby-snack-27-upgrade-paperclip-and-aws-sdk-in-
prep-for-rails-5
#[32;1m$ RACK_ENV=$RACK_ENV bundle exec rake db:migrate#[0;m
WARNING: If you plan to load any of ActiveSupport's core extensions to Hash, be
sure to do so *before* loading Sinatra::Application or Sinatra::Base. If not,
you may disregard this warning.

Set SINATRA_ACTIVESUPPORT_WARNING=false in the environment to hide this warning.


** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it!
version=3.3.1 framework=sinatra level=1 pid=11502
** [Honeybadger] Development mode is enabled. Data will not be reported until you
deploy your app. level=2 pid=11502
== 20180406132423 CreateDevices: migrating ====================================
-- adapter_name()
-> 0.0000s
-- create_table(:devices, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.4296s
== 20180406132423 CreateDevices: migrated (0.4298s) ===========================

== 20180531143910 CreateAkulakuInvestors: migrating ===========================


-- adapter_name()
-> 0.0000s
-- create_table(:akulaku_investors, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.5196s
-- add_attachment(:akulaku_investors, :identity)
-> 4.0308s
-- add_attachment(:akulaku_investors, :self_portrait)
-> 3.4466s
== 20180531143910 CreateAkulakuInvestors: migrated (7.9973s) ==================

== 20180813045631 ChangeUtfAkulakuInvestorsAndDevices: migrating ==============


-- execute("ALTER TABLE akulaku_investors CONVERT TO CHARACTER SET utf8mb4 COLLATE
utf8mb4_bin")
-> 1.0675s
-- execute("ALTER TABLE devices CONVERT TO CHARACTER SET utf8mb4 COLLATE
utf8mb4_bin")
-> 1.2263s
== 20180813045631 ChangeUtfAkulakuInvestorsAndDevices: migrated (2.2940s) =====

== 20180821094459 AddCreditAndBalanceAndIndexesToAkulakuInvestors: migrating ==


I, [2019-04-01T07:53:25.661801 #11502] INFO -- : Starting LHM run on
table=lhmn_akulaku_investors
I, [2019-04-01T07:53:25.664975 #11502] INFO -- : Starting run of
class=Lhm::Migrator
I, [2019-04-01T07:53:34.243804 #11502] INFO -- : Starting run of
class=Lhm::Entangler
I, [2019-04-01T07:53:34.709682 #11502] INFO -- : Starting run of
class=Lhm::Chunker
I, [2019-04-01T07:53:34.709771 #11502] INFO -- : Starting run of
class=Lhm::AtomicSwitcher
== 20180821094459 AddCreditAndBalanceAndIndexesToAkulakuInvestors: migrated
(9.8508s)

== 20180830123010 CreateBcaOneklikCards: migrating ============================


-- create_table(:bca_oneklik_cards, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.6399s
== 20180830123010 CreateBcaOneklikCards: migrated (0.6400s) ===================

== 20180831070953 CreateBcaOneklikTransactions: migrating =====================


-- create_table(:bca_oneklik_transactions, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.6340s
== 20180831070953 CreateBcaOneklikTransactions: migrated (0.6342s) ============

== 20180926104456 AddCredentialToBcaOneklikCard: migrating ====================


-- change_table(:bca_oneklik_cards)
-> 6.3956s
== 20180926104456 AddCredentialToBcaOneklikCard: migrated (6.3957s) ===========
== 20181106075446 AddAkulakuInvestorIdIndexToDevices: migrating ===============
I, [2019-04-01T07:53:43.569872 #11502] INFO -- : Starting LHM run on
table=lhmn_devices
I, [2019-04-01T07:53:43.572999 #11502] INFO -- : Starting run of
class=Lhm::Migrator
I, [2019-04-01T07:53:44.801899 #11502] INFO -- : Starting run of
class=Lhm::Entangler
I, [2019-04-01T07:53:45.167346 #11502] INFO -- : Starting run of
class=Lhm::Chunker
I, [2019-04-01T07:53:45.167419 #11502] INFO -- : Starting run of
class=Lhm::AtomicSwitcher
== 20181106075446 AddAkulakuInvestorIdIndexToDevices: migrated (2.4069s) ======

== 20181123053909 CreateCashFundingInvestors: migrating =======================


-- create_table(:cash_funding_investors, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.4808s
-- add_attachment(:cash_funding_investors, :ktp)
-> 3.6490s
-- add_attachment(:cash_funding_investors, :photo_person)
-> 3.8969s
== 20181123053909 CreateCashFundingInvestors: migrated (8.0269s) ==============

== 20181123085610 CreateCashFundingInvestorAddresses: migrating ===============


-- create_table(:cash_funding_investor_addresses, {:options=>"DEFAULT
CHARSET=utf8"})
-> 0.6355s
== 20181123085610 CreateCashFundingInvestorAddresses: migrated (0.6357s) ======

== 20181123093722 CreateCashFundingInvestorRelativeContacts: migrating ========


-- create_table(:cash_funding_investor_relative_contacts, {:options=>"DEFAULT
CHARSET=utf8"})
-> 0.4313s
== 20181123093722 CreateCashFundingInvestorRelativeContacts: migrated (0.4314s)

== 20181125083838 CreateCashFundingCreditApplications: migrating ==============


-- create_table(:cash_funding_credit_applications, {:options=>"DEFAULT
CHARSET=utf8"})
-> 0.4324s
== 20181125083838 CreateCashFundingCreditApplications: migrated (0.4325s) =====

== 20181203093758 CreateActionLogs: migrating =================================


-- create_table(:action_logs, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.5523s
== 20181203093758 CreateActionLogs: migrated (0.5524s) ========================

== 20190121101508 CreateCashFundingApplicationAttributes: migrating ===========


-- create_table(:cash_funding_application_attributes, {:options=>"DEFAULT
CHARSET=utf8"})
-> 0.5173s
== 20190121101508 CreateCashFundingApplicationAttributes: migrated (0.5174s) ==

== 20190226155959 CreateCashFundingTransactionLogs: migrating =================


-- create_table(:cash_funding_transaction_logs, {:options=>"DEFAULT CHARSET=utf8"})
-> 0.5474s
== 20190226155959 CreateCashFundingTransactionLogs: migrated (0.5474s) ========

== 20190306062420 CreateCashFundingInstallments: migrating ====================


-- create_table(:cash_funding_installments, {:options=>"DEFAULT CHARSET=utf8"})
-> 2.6979s
== 20190306062420 CreateCashFundingInstallments: migrated (2.6980s) ===========

#[32;1m$ make test#[0;m


rake test
/bin/sh: 1: cd: can't cd to deploy/_output/cron_jobs
WARNING: If you plan to load any of ActiveSupport's core extensions to Hash, be
sure to do so *before* loading Sinatra::Application or Sinatra::Base. If not,
you may disregard this warning.

Set SINATRA_ACTIVESUPPORT_WARNING=false in the environment to hide this warning.


** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it!
version=3.3.1 framework=sinatra level=1 pid=11513
** [Honeybadger] Development mode is enabled. Data will not be reported until you
deploy your app. level=2 pid=11513
/usr/local/bin/ruby -I/usr/local/bundle/gems/rspec-core-
3.8.0/lib:/usr/local/bundle/gems/rspec-support-3.8.0/lib
/usr/local/bundle/gems/rspec-core-3.8.0/exe/rspec --pattern spec/\*\*\
{,/\*/\*\*\}/\*_spec.rb --require ./spec/spec_helper
** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it!
version=3.3.1 framework=sinatra level=1 pid=11519
** [Honeybadger] Development mode is enabled. Data will not be reported until you
deploy your app. level=2 pid=11519

An error occurred while loading ./spec/spec_helper.rb.


Failure/Error:
DebtCollector.redis.del("cash_funding_general_application_attributes")

Redis::CannotConnectError:
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:353:in `rescue in
establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:337:in
`establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:104:in `block in connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:299:in `with_reconnect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:103:in `connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:372:in `ensure_connected'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:224:in `block in process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:312:in `logging'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:223:in `process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:123:in `call'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:531:in `block in del'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `block in synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:530:in `del'
# ./lib/debt_collector/models/cash_funding/application_attribute.rb:42:in `sync'
# ./script/cash_funding/generate_application_attributes.rb:30:in `block in <top
(required)>'
# ./script/cash_funding/generate_application_attributes.rb:29:in `each'
# ./script/cash_funding/generate_application_attributes.rb:29:in `<top (required)>'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `__require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:98:in `block in
require_all'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `each'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `require_all'
# ./spec/spec_helper.rb:5:in `<top (required)>'
# ------------------
# --- Caused by: ---
# IO::EINPROGRESSWaitWritable:
# Operation now in progress - connect(2) would block
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/connection/ruby.rb:180:in
`connect_addrinfo'

An error occurred while loading ./spec/spec_helper.


Failure/Error:
DebtCollector.redis.del("cash_funding_general_application_attributes")

Redis::CannotConnectError:
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:353:in `rescue in
establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:337:in
`establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:104:in `block in connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:299:in `with_reconnect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:103:in `connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:372:in `ensure_connected'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:224:in `block in process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:312:in `logging'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:223:in `process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:123:in `call'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:531:in `block in del'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `block in synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:530:in `del'
# ./lib/debt_collector/models/cash_funding/application_attribute.rb:42:in `sync'
# ./script/cash_funding/generate_application_attributes.rb:30:in `block in <top
(required)>'
# ./script/cash_funding/generate_application_attributes.rb:29:in `each'
# ./script/cash_funding/generate_application_attributes.rb:29:in `<top (required)>'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `__require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:98:in `block in
require_all'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `each'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `require_all'
# ./spec/spec_helper.rb:5:in `<top (required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# ------------------
# --- Caused by: ---
# IO::EINPROGRESSWaitWritable:
# Operation now in progress - connect(2) would block
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/connection/ruby.rb:180:in
`connect_addrinfo'

An error occurred while loading


./spec/controller/cash_funding/exclusive/investors_controller_spec.rb.
Failure/Error:
DebtCollector.redis.del("cash_funding_general_application_attributes")
Redis::CannotConnectError:
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:353:in `rescue in
establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:337:in
`establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:104:in `block in connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:299:in `with_reconnect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:103:in `connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:372:in `ensure_connected'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:224:in `block in process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:312:in `logging'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:223:in `process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:123:in `call'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:531:in `block in del'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `block in synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:530:in `del'
# ./lib/debt_collector/models/cash_funding/application_attribute.rb:42:in `sync'
# ./script/cash_funding/generate_application_attributes.rb:30:in `block in <top
(required)>'
# ./script/cash_funding/generate_application_attributes.rb:29:in `each'
# ./script/cash_funding/generate_application_attributes.rb:29:in `<top (required)>'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `__require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:98:in `block in
require_all'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `each'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `require_all'
# ./spec/spec_helper.rb:5:in `<top (required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# ./spec/controller/cash_funding/exclusive/investors_controller_spec.rb:1:in `<top
(required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `load'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `load'
# ------------------
# --- Caused by: ---
# IO::EINPROGRESSWaitWritable:
# Operation now in progress - connect(2) would block
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/connection/ruby.rb:180:in
`connect_addrinfo'

An error occurred while loading


./spec/controller/cash_funding/investors_controller_spec.rb.
Failure/Error:
DebtCollector.redis.del("cash_funding_general_application_attributes")
Redis::CannotConnectError:
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:353:in `rescue in
establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:337:in
`establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:104:in `block in connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:299:in `with_reconnect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:103:in `connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:372:in `ensure_connected'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:224:in `block in process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:312:in `logging'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:223:in `process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:123:in `call'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:531:in `block in del'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `block in synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:530:in `del'
# ./lib/debt_collector/models/cash_funding/application_attribute.rb:42:in `sync'
# ./script/cash_funding/generate_application_attributes.rb:30:in `block in <top
(required)>'
# ./script/cash_funding/generate_application_attributes.rb:29:in `each'
# ./script/cash_funding/generate_application_attributes.rb:29:in `<top (required)>'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `__require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:98:in `block in
require_all'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `each'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `require_all'
# ./spec/spec_helper.rb:5:in `<top (required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# ./spec/controller/cash_funding/investors_controller_spec.rb:1:in `<top
(required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `load'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `load'
# ------------------
# --- Caused by: ---
# IO::EINPROGRESSWaitWritable:
# Operation now in progress - connect(2) would block
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/connection/ruby.rb:180:in
`connect_addrinfo'

An error occurred while loading


./spec/services/notification_service/send_push_notification_spec.rb.
Failure/Error:
DebtCollector.redis.del("cash_funding_general_application_attributes")

Redis::CannotConnectError:
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:353:in `rescue in
establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:337:in
`establish_connection'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:104:in `block in connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:299:in `with_reconnect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:103:in `connect'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:372:in `ensure_connected'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:224:in `block in process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:312:in `logging'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:223:in `process'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/client.rb:123:in `call'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:531:in `block in del'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `block in synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:50:in `synchronize'
# /usr/local/bundle/gems/redis-4.1.0/lib/redis.rb:530:in `del'
# ./lib/debt_collector/models/cash_funding/application_attribute.rb:42:in `sync'
# ./script/cash_funding/generate_application_attributes.rb:30:in `block in <top
(required)>'
# ./script/cash_funding/generate_application_attributes.rb:29:in `each'
# ./script/cash_funding/generate_application_attributes.rb:29:in `<top (required)>'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:208:in `__require'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:98:in `block in
require_all'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `each'
# /usr/local/bundle/gems/require_all-2.0.0/lib/require_all.rb:96:in `require_all'
# ./spec/spec_helper.rb:5:in `<top (required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:291:in `require'
# ./spec/services/notification_service/send_push_notification_spec.rb:1:in `<top
(required)>'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `load'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
# /usr/local/bundle/gems/activesupport-
5.2.2/lib/active_support/dependencies.rb:285:in `load'
# ------------------
# --- Caused by: ---
# IO::EINPROGRESSWaitWritable:
# Operation now in progress - connect(2) would block
# /usr/local/bundle/gems/redis-4.1.0/lib/redis/connection/ruby.rb:180:in
`connect_addrinfo'
No examples found.
Finished in 0.00033 seconds (files took 33.86 seconds to load)
0 examples, 0 failures, 5 errors occurred outside of examples

Coverage report generated for RSpec to /bukalapak/debt-collector/coverage. 20 / 21


LOC (95.24%) covered.
#[36m[Coveralls] Submitting to https://opencov.bukalapak.io/api/v1#[0m
Coverage is at 95.24%.
Coverage report sent to Coveralls.
/usr/local/bin/ruby -I/usr/local/bundle/gems/rspec-core-
3.8.0/lib:/usr/local/bundle/gems/rspec-support-3.8.0/lib
/usr/local/bundle/gems/rspec-core-3.8.0/exe/rspec --pattern spec/\*\*\
{,/\*/\*\*\}/\*_spec.rb --require ./spec/spec_helper failed
Makefile:18: recipe for target 'test' failed
make: *** [test] Error 1
section_end:1554105278:build_script
#[0Ksection_start:1554105278:after_script
#[0Ksection_end:1554105278:after_script
#[0Ksection_start:1554105278:upload_artifacts_on_failure
#[0Ksection_end:1554105278:upload_artifacts_on_failure
#[0K#[31;1mERROR: Job failed: command terminated with exit code 1
#[0;m

You might also like