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 2440 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: 1 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: 2 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` bundle exec rubocop .rubocop.yml: Capybara/FeatureMethods has the wrong namespace - should be RSpec/Capybara The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file. Please also note that can also opt-in to new cops by default by adding this to your config: AllCops: NewCops: enable  Gemspec/DateAssignment: # (new in 1.10)  Enabled: true Layout/SpaceBeforeBrackets: # (new in 1.7)  Enabled: true Lint/AmbiguousAssignment: # (new in 1.7)  Enabled: true Lint/DeprecatedConstants: # (new in 1.8)  Enabled: true Lint/DuplicateBranch: # (new in 1.3)  Enabled: true Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)  Enabled: true Lint/EmptyBlock: # (new in 1.1)  Enabled: true Lint/EmptyClass: # (new in 1.3)  Enabled: true Lint/LambdaWithoutLiteralBlock: # (new in 1.8)  Enabled: true Lint/NoReturnInBeginEndBlocks: # (new in 1.2)  Enabled: true Lint/NumberedParameterAssignment: # (new in 1.9)  Enabled: true Lint/OrAssignmentToConstant: # (new in 1.9)  Enabled: true Lint/RedundantDirGlobSort: # (new in 1.8)  Enabled: true Lint/SymbolConversion: # (new in 1.9)  Enabled: true Lint/ToEnumArguments: # (new in 1.1)  Enabled: true Lint/TripleQuotes: # (new in 1.9)  Enabled: true Lint/UnexpectedBlockArity: # (new in 1.5)  Enabled: true Lint/UnmodifiedReduceAccumulator: # (new in 1.1)  Enabled: true Style/ArgumentsForwarding: # (new in 1.1)  Enabled: true Style/CollectionCompact: # (new in 1.2)  Enabled: true Style/DocumentDynamicEvalDefinition: # (new in 1.1)  Enabled: true Style/EndlessMethod: # (new in 1.8)  Enabled: true Style/HashConversion: # (new in 1.10)  Enabled: true Style/HashExcept: # (new in 1.7)  Enabled: true Style/IfWithBooleanLiteralBranches: # (new in 1.9)  Enabled: true Style/NegatedIfElseCondition: # (new in 1.2)  Enabled: true Style/NilLambda: # (new in 1.3)  Enabled: true Style/RedundantArgument: # (new in 1.4)  Enabled: true Style/StringChars: # (new in 1.12)  Enabled: true Style/SwapValues: # (new in 1.1)  Enabled: true For more information: https://docs.rubocop.org/rubocop/versioning.html Inspecting 13 files ............. 13 files inspected, no offenses detected bundle exec brakeman Loading scanner... Processing application in /home/semaphore/semaphore-demo-ruby-rails Processing gems... [Notice] Detected Rails 6 application Processing configuration... [Notice] Escaping HTML by default Parsing files... Detecting file types... Processing initializers... 0/4 files processed 1/4 files processed 2/4 files processed 3/4 files processed Processing libs... 0/13 files processed 1/13 files processed 2/13 files processed 3/13 files processed 4/13 files processed 5/13 files processed 6/13 files processed 7/13 files processed 8/13 files processed 9/13 files processed 10/13 files processed 11/13 files processed 12/13 files processed Processing routes... Processing templates... 0/3 templates processed 1/3 templates processed 2/3 templates processed Processing data flow in templates... 0/3 templates processed 1/3 templates processed 2/3 templates processed Processing models... 0/2 files processed 1/2 files processed Processing controllers... 0/2 files processed 1/2 files processed Processing data flow in controllers... 0/2 controllers processed 1/2 controllers processed Indexing call sites... Running checks in parallel... - CheckBasicAuth - CheckBasicAuthTimingAttack - CheckCrossSiteScripting - CheckContentTag - CheckCookieSerialization - CheckCreateWith - CheckCSRFTokenForgeryCVE - CheckDefaultRoutes - CheckDeserialize - CheckDetailedExceptions - CheckDigestDoS - CheckDynamicFinders - CheckEscapeFunction - CheckEvaluation - CheckExecute - CheckFileAccess - CheckFileDisclosure - CheckFilterSkipping - CheckForgerySetting - CheckHeaderDoS - CheckI18nXSS - CheckJRubyXML - CheckJSONEncoding - CheckJSONEntityEscape - CheckJSONParsing - CheckLinkTo - CheckLinkToHref - CheckMailTo - CheckMassAssignment - CheckMimeTypeDoS - CheckModelAttrAccessible - CheckModelAttributes - CheckModelSerialize - CheckNestedAttributes - CheckNestedAttributesBypass - CheckNumberToCurrency - CheckPageCachingCVE - CheckPermitAttributes - CheckQuoteTableName - CheckRedirect - CheckRegexDoS - CheckRender - CheckRenderDoS - CheckRenderInline - CheckResponseSplitting - CheckRouteDoS - CheckSafeBufferManipulation - CheckSanitizeMethods - CheckSelectTag - CheckSelectVulnerability - CheckSend - CheckSendFile - CheckSessionManipulation - CheckSessionSettings - CheckSimpleFormat - CheckSingleQuotes - CheckSkipBeforeFilter - CheckSprocketsPathTraversal - CheckSQL - CheckSQLCVEs - CheckSSLVerify - CheckStripTags - CheckSymbolDoSCVE - CheckTemplateInjection - CheckTranslateBug - CheckUnsafeReflection - CheckUnsafeReflectionMethods - CheckValidationRegex - CheckVerbConfusion - CheckWithoutProtection - CheckXMLDoS - CheckYAMLParsing Checks finished, collecting results... Generating report... == Brakeman Report ==  Application Path: /home/semaphore/semaphore-demo-ruby-rails Rails Version: 6.0.3.6 Brakeman Version: 5.0.0 Scan Date: 2021-04-26 21:58:13 +0000 Duration: 0.851112027 seconds Checks Run: BasicAuth, BasicAuthTimingAttack, CSRFTokenForgeryCVE, ContentTag, CookieSerialization, CreateWith, CrossSiteScripting, DefaultRoutes, Deserialize, DetailedExceptions, DigestDoS, DynamicFinders, EscapeFunction, Evaluation, Execute, FileAccess, FileDisclosure, FilterSkipping, ForgerySetting, HeaderDoS, I18nXSS, JRubyXML, JSONEncoding, JSONEntityEscape, JSONParsing, LinkTo, LinkToHref, MailTo, MassAssignment, MimeTypeDoS, ModelAttrAccessible, ModelAttributes, ModelSerialize, NestedAttributes, NestedAttributesBypass, NumberToCurrency, PageCachingCVE, PermitAttributes, QuoteTableName, Redirect, RegexDoS, Render, RenderDoS, RenderInline, ResponseSplitting, RouteDoS, SQL, SQLCVEs, SSLVerify, SafeBufferManipulation, SanitizeMethods, SelectTag, SelectVulnerability, Send, SendFile, SessionManipulation, SessionSettings, SimpleFormat, SingleQuotes, SkipBeforeFilter, SprocketsPathTraversal, StripTags, SymbolDoSCVE, TemplateInjection, TranslateBug, UnsafeReflection, UnsafeReflectionMethods, ValidationRegex, VerbConfusion, WithoutProtection, XMLDoS, YAMLParsing == Overview ==  Controllers: 2 Models: 2 Templates: 3 Errors: 0 Security Warnings: 0 == Warning Types ==  No warnings found export SEMAPHORE_JOB_RESULT=passed