Page MenuHomePhabricator

ArcanistPuppetLintLinterTestCase::Unknown Unit Message ("")
Failed

Referenced Files
None

TEST RESULT

Run At
Sep 3 2018, 5:24 AM
Details
Assertion failed, expected values to be equal (at ArcanistLinterTestCase.php:168): Some linters failed: - CommandException: Command failed with error #1! COMMAND 'puppet-lint' '--error-level=all' '--log-format=%{linenumber}|%{column}|%{kind}|%{check}|%{message}' '/tmp/6pj2dq53sokco8wc/slash_comments.lint-test' STDOUT (empty) STDERR /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:119:in `%': key{linenumber} not found (KeyError) from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:119:in `format_message' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:166:in `block in report' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:156:in `each' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:156:in `report' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint.rb:215:in `print_problems' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint/bin.rb:67:in `block in run' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint/bin.rb:62:in `each' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/lib/puppet-lint/bin.rb:62:in `run' from /home/josh/.rvm/gems/ruby-2.5.1/gems/puppet-lint-2.3.6/bin/puppet-lint... (317 more bytes) ... #0 /home/josh/workspace/personal/arcanist/src/lint/linter/__tests__/ArcanistLinterTestCase.php(127): ArcanistLintEngine->run() #1 /home/josh/workspace/personal/arcanist/src/lint/linter/__tests__/ArcanistLinterTestCase.php(39): ArcanistLinterTestCase->lintFile('/home/josh/work...', Object(ArcanistPuppetLintLinter)) #2 /home/josh/workspace/personal/arcanist/src/lint/linter/__tests__/ArcanistPuppetLintLinterTestCase.php(7): ArcanistLinterTestCase->executeTestsInDirectory('/home/josh/work...') #3 /home/josh/workspace/personal/arcanist/src/unit/engine/phutil/PhutilTestCase.php(492): ArcanistPuppetLintLinterTestCase->testLinter() #4 /home/josh/workspace/personal/arcanist/src/unit/engine/PhutilUnitTestEngine.php(69): PhutilTestCase->run() #5 /home/josh/workspace/personal/arcanist/src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php(148): PhutilUnitTestEngine->run() #6 /home/josh/workspace/personal/arcanist/src/workflow/ArcanistUnitWorkflow.php(170): ArcanistConfigurationDrivenUnitTestEngine->run() #7 /home/josh/workspace/personal/arcanist/src/workflow/ArcanistDiffWorkflow.php(1324): ArcanistUnitWorkflow->run() #8 /home/josh/workspace/personal/arcanist/src/workflow/ArcanistDiffWorkflow.php(1212): ArcanistDiffWorkflow->runUnit() #9 /home/josh/workspace/personal/arcanist/src/workflow/ArcanistDiffWorkflow.php(483): ArcanistDiffWorkflow->runLintUnit() #10 /home/josh/workspace/personal/arcanist/scripts/arcanist.php(394): ArcanistDiffWorkflow->run() #11 {main} Expected: false Actual: true