Exporting environment variables Exporting TERM Exporting PAGER Exporting DISPLAY Exporting CI Exporting SEMAPHORE Exporting SEMAPHORE_PROJECT_NAME Exporting SEMAPHORE_PROJECT_ID Exporting SEMAPHORE_JOB_NAME Exporting SEMAPHORE_JOB_ID Exporting SEMAPHORE_AGENT_MACHINE_TYPE Exporting SEMAPHORE_AGENT_MACHINE_OS_IMAGE Exporting SEMAPHORE_AGENT_MACHINE_ENVIRONMENT_TYPE Exporting SEMAPHORE_ORGANIZATION_URL Exporting SEMAPHORE_ARTIFACT_TOKEN Exporting SSH_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_PRIVATE_KEY_PATH Exporting SEMAPHORE_CACHE_USERNAME Exporting SEMAPHORE_CACHE_URL Exporting SEMAPHORE_GIT_URL Exporting SEMAPHORE_GIT_DIR Exporting SEMAPHORE_GIT_SHA Exporting SEMAPHORE_GIT_REPO_SLUG Exporting SEMAPHORE_GIT_REF Exporting SEMAPHORE_GIT_COMMIT_RANGE Exporting SEMAPHORE_GIT_REF_TYPE Exporting SEMAPHORE_GIT_BRANCH Exporting SEMAPHORE_WORKFLOW_ID Exporting SEMAPHORE_WORKFLOW_NUMBER Exporting SEMAPHORE_WORKFLOW_RERUN Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_HOOK Exporting SEMAPHORE_WORKFLOW_HOOK_SOURCE Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE Exporting SEMAPHORE_WORKFLOW_TRIGGERED_BY_API Exporting SEMAPHORE_PIPELINE_ARTEFACT_ID Exporting SEMAPHORE_PIPELINE_ID Exporting SEMAPHORE_PIPELINE_RERUN Exporting SEMAPHORE_PIPELINE_PROMOTION Exporting SEMAPHORE_PIPELINE_PROMOTED_BY Exporting SEMAPHORE_PIPELINE_0_ARTEFACT_ID Injecting Files Injecting /home/semaphore/.ssh/semaphore_cache_key with file mode 0600 Injecting .ssh/id_rsa with file mode 0600 Setting up the Semaphore toolbox Running: dowloadPath=$(curl -s -L --retry 5 http://packages.semaphoreci.com/toolbox/linux) && echo $dowloadPath && curl -s -L --retry 5 --connect-timeout 3 $dowloadPath -o /tmp/toolbox.tar && tar -xvf /tmp/toolbox.tar && mv toolbox ~/.toolbox && bash ~/.toolbox/install-toolbox && source ~/.toolbox/toolbox && echo 'source ~/.toolbox/toolbox' >> ~/.bash_profile && if [ -f /etc/init.d/xvfb ]; then /etc/init.d/xvfb start; fi https://github.com/semaphoreci/toolbox/releases/download/v1.6.0/linux.tar toolbox/ toolbox/when toolbox/sem-dockerize toolbox/libchecksum toolbox/README.md toolbox/ssh-session-cli toolbox/test-results toolbox/retry toolbox/spc toolbox/sem-service toolbox/system-metrics-collector toolbox/artifact toolbox/sem-install toolbox/install-package toolbox/sem-version toolbox/sem-service-check-params toolbox/cache toolbox/toolbox toolbox/install-toolbox toolbox/libcheckout retry installed ssh-session-cli installed cache installed sem-service installed sem-dockerize installed sem-service-check-params installed install-package installed Installing the artifacts CLI artifacts installed Installing the test results CLI test-results installed Installing the SPC CLI spc installed Installing the when CLI when installed Starting to collect System Metrics in /tmp/system-metrics Starting virtual X frame buffer: Xvfb. Starting an ssh-agent Running: eval `ssh-agent` && echo 'eval $(ssh-agent) >/dev/null' >> ~/.bash_profile && echo 'yes' > /tmp/sempahore-user-commands-have-started Agent pid 2414 Connecting to cache Running: ssh-keyscan -p 29920 -H 195.201.55.114 >> /home/semaphore/.ssh/known_hosts && ssh-add /home/semaphore/.ssh/semaphore_cache_key # 195.201.55.114:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 195.201.55.114:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 # 195.201.55.114:29920 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 Identity added: /home/semaphore/.ssh/semaphore_cache_key (/home/semaphore/.ssh/semaphore_cache_key) checkout Performing shallow clone with depth: 50 HEAD is now at b6ce0d8 make rubocop ignore node_modules cache restore ==> Detecting project structure and fetching cache. * Detected Gemfile.lock. * Fetching 'vendor/bundle' directory with cache keys 'gems-master-0fdcee1052a650a79d02012196e8e6e6,gems-master-,gems-master-'. HIT: gems-master-0fdcee1052a650a79d02012196e8e6e6, using key gems-master-0fdcee1052a650a79d02012196e8e6e6 Cache download time: 2 seconds Restored: vendor/bundle/ * Detected yarn.lock. * Fetching 'semaphore/.cache/yarn' directory with cache keys 'yarn-cache-master-00dee6e007e3b205541721a6eaec4247,yarn-cache-master-,yarn-cache-master-'. HIT: yarn-cache-master-00dee6e007e3b205541721a6eaec4247, using key yarn-cache-master-00dee6e007e3b205541721a6eaec4247 Cache download time: 2 seconds Restored: /home/semaphore/.cache/yarn/ * Fetching 'node_modules' directory with cache keys 'node-modules-master-00dee6e007e3b205541721a6eaec4247,node-modules-master-,node-modules-master-'. HIT: node-modules-master-00dee6e007e3b205541721a6eaec4247, using key node-modules-master-00dee6e007e3b205541721a6eaec4247 Cache download time: 1 seconds Restored: node_modules/ sem-version ruby 2.7.3 [21:58 26/04/2021]: Changing 'ruby' to version 2.7.3 [21:58 26/04/2021]: Switch successful. bundle config --global jobs 4 Your application has set jobs to "4". This will override the global value you are currently setting bundle config set deployment 'true' bundle config set path 'vendor/bundle' You are replacing the current global value of set, which is currently "deployment true" bundle install Warning: the running version of Bundler (2.0.1) is older than the version that created the lockfile (2.1.4). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. Using rake 13.0.3 Using concurrent-ruby 1.1.8 Using i18n 1.8.10 Using minitest 5.14.4 Using thread_safe 0.3.6 Using tzinfo 1.2.9 Using zeitwerk 2.4.2 Using activesupport 6.0.3.6 Using builder 3.2.4 Using erubi 1.10.0 Using mini_portile2 2.5.0 Using racc 1.5.2 Using nokogiri 1.11.3 (x86_64-linux) Using rails-dom-testing 2.0.3 Using crass 1.0.6 Using loofah 2.9.1 Using rails-html-sanitizer 1.3.0 Using actionview 6.0.3.6 Using rack 2.2.3 Using rack-test 1.1.0 Using actionpack 6.0.3.6 Using nio4r 2.5.7 Using websocket-extensions 0.1.5 Using websocket-driver 0.7.3 Using actioncable 6.0.3.6 Using globalid 0.4.2 Using activejob 6.0.3.6 Using activemodel 6.0.3.6 Using activerecord 6.0.3.6 Using marcel 1.0.1 Using activestorage 6.0.3.6 Using mini_mime 1.1.0 Using mail 2.7.1 Using actionmailbox 6.0.3.6 Using actionmailer 6.0.3.6 Using actiontext 6.0.3.6 Using public_suffix 4.0.6 Using addressable 2.7.0 Using ast 2.4.2 Using bindex 0.8.1 Using brakeman 5.0.0 Using bundler 2.0.1 Using byebug 11.1.3 Using regexp_parser 2.1.1 Using xpath 3.2.0 Using capybara 3.35.3 Using coffee-script-source 1.12.2 Using execjs 2.7.0 Using coffee-script 2.4.1 Using method_source 1.0.0 Using thor 1.1.0 Using railties 6.0.3.6 Using coffee-rails 4.2.2 Using colorize 0.8.1 Using diff-lcs 1.4.4 Using ffi 1.15.0 Using jbuilder 2.11.2 Using rb-fsevent 0.10.4 Using rb-inotify 0.10.1 Using ruby_dep 1.5.0 Using listen 3.1.5 Using mysql2 0.5.3 Using next_rails 1.0.4 Using parallel 1.20.1 Using parser 3.0.1.0 Using pg 1.2.3 Using puma 3.12.6 Using rack-proxy 0.6.5 Using sprockets 3.7.2 Using sprockets-rails 3.2.2 Using rails 6.0.3.6 Using rainbow 3.0.0 Using rexml 3.2.5 Using rspec-support 3.10.2 Using rspec-core 3.10.1 Using rspec-expectations 3.10.1 Using rspec-mocks 3.10.2 Using rspec-rails 5.0.1 Using rubocop-ast 1.4.1 Using ruby-progressbar 1.11.0 Using unicode-display_width 2.0.0 Using rubocop 1.13.0 Using rubocop-rails 2.9.1 Using rubocop-rspec 2.2.0 Using sass-listen 4.0.0 Using sass 3.7.4 Using tilt 2.0.10 Using sass-rails 5.1.0 Using semantic_range 3.0.0 Using spring 2.1.1 Using spring-watcher-listen 2.0.1 Using turbolinks-source 5.2.0 Using turbolinks 5.2.1 Using uglifier 4.2.0 Using web-console 4.1.0 Using webpacker 5.2.1 Bundle complete! 23 Gemfile dependencies, 96 gems now installed. Bundled gems are installed into `./vendor/bundle` sem-service start postgres Starting postgres...done. PostgreSQL 9.6 is running at 0.0.0.0:5432 To access it use username 'postgres' and blank password. bundle exec rake db:setup Created database 'demo-rails5_development' Created database 'demo-rails5_test' bundle exec rspec spec/controllers DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must now accept two parameters, the view object and the source for the view object. Change: >> Coffee::Rails::TemplateHandler.call(template) To: >> Coffee::Rails::TemplateHandler.call(template, source) (called from at /home/semaphore/semaphore-demo-ruby-rails/config/environment.rb:5) HomeController GET index  renders the plain template Finished in 0.02213 seconds (files took 2.88 seconds to load) 1 example, 0 failures export SEMAPHORE_JOB_RESULT=passed