Assertion failed, expected values to be equal (at ArcanistLinterTestCase.php:180): Some linters failed:
- CommandException: Command failed with error #1!
COMMAND
puppet-lint '--error-level=all' '--log-format=%{linenumber}|%{column}|%{kind}|%{check}|%{message}' /tmp/2kxtvvm3x3ggo08s/ensure_not_symlink_target.lint-test
STDOUT
(empty)
STDERR
/usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint.rb:119:in `%': key{linenumber} not found (KeyError)
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint.rb:119:in `format_message'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint.rb:166:in `block in report'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint.rb:156:in `each'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint.rb:156:in `report'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint.rb:215:in `print_problems'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint/bin.rb:67:in `block in run'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint/bin.rb:62:in `each'
from /usr/share/rubygems-integration/all/gems/puppet-lint-2.4.2/lib/puppet-lint/bin.rb:62:in `run'
from /usr/share/rubygems-integration/al... (147 more byte(s)) ...
#0 /home/rgodden/repos/arcanist/src/lint/linter/__tests__/ArcanistLinterTestCase.php(138): ArcanistLintEngine->run()
#1 /home/rgodden/repos/arcanist/src/lint/linter/__tests__/ArcanistLinterTestCase.php(39): ArcanistLinterTestCase->lintFile('...', Object(ArcanistPuppetLintLinter))
#2 /home/rgodden/repos/arcanist/src/lint/linter/__tests__/ArcanistPuppetLintLinterTestCase.php(7): ArcanistLinterTestCase->executeTestsInDirectory('...')
#3 /home/rgodden/repos/arcanist/src/unit/engine/phutil/PhutilTestCase.php(634): ArcanistPuppetLintLinterTestCase->testLinter()
#4 /home/rgodden/repos/arcanist/src/unit/engine/PhutilUnitTestEngine.php(69): PhutilTestCase->run()
#5 /home/rgodden/repos/arcanist/src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php(148): PhutilUnitTestEngine->run()
#6 /home/rgodden/repos/arcanist/src/workflow/ArcanistUnitWorkflow.php(170): ArcanistConfigurationDrivenUnitTestEngine->run()
#7 /home/rgodden/repos/arcanist/src/workflow/ArcanistDiffWorkflow.php(1231): ArcanistUnitWorkflow->run()
#8 /home/rgodden/repos/arcanist/src/workflow/ArcanistDiffWorkflow.php(1133): ArcanistDiffWorkflow->runUnit()
#9 /home/rgodden/repos/arcanist/src/workflow/ArcanistDiffWorkflow.php(363): ArcanistDiffWorkflow->runLintUnit()
#10 /home/rgodden/repos/arcanist/scripts/arcanist.php(427): ArcanistDiffWorkflow->run()
#11 {main}
Expected: false
Actual: true
TEST RESULT
TEST RESULT
- Run At
- Apr 19 2023, 11:58