mirror of
https://github.com/inspec/inspec
synced 2024-12-11 22:02:47 +00:00
d94d56c4b9
Occasionally when the `isolated` tests run in CI, this error is seen: ``` inspec-reporter-html2::when run on a basic profile#test_0002_should produce valid HTML: Errno::ENOENT: No such file or directory @ apply2files - /tmp/temp20200625-1802-2izu7e.html /usr/local/lib/ruby/2.6.0/fileutils.rb:1437:in `unlink' /usr/local/lib/ruby/2.6.0/fileutils.rb:1437:in `block in remove_file' /usr/local/lib/ruby/2.6.0/fileutils.rb:1442:in `platform_support' /usr/local/lib/ruby/2.6.0/fileutils.rb:1436:in `remove_file' /usr/local/lib/ruby/2.6.0/fileutils.rb:775:in `remove_file' /usr/local/lib/ruby/2.6.0/fileutils.rb:562:in `block in rm' /usr/local/lib/ruby/2.6.0/fileutils.rb:561:in `each' /usr/local/lib/ruby/2.6.0/fileutils.rb:561:in `rm' lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb:9:in `teardown' ``` It should be OK to ignore the failure to delete the test file - the issue doesn't reproduce on laptops, and CI uses clean VMs each time. Signed-off-by: James Stocks <jstocks@chef.io> |
||
---|---|---|
.. | ||
inspec-artifact | ||
inspec-compliance | ||
inspec-habitat | ||
inspec-init | ||
inspec-plugin-manager-cli | ||
inspec-reporter-html2 | ||
inspec-reporter-json-min | ||
shared | ||
README.md | ||
things-for-train-integration.rb |
Core Plugins of InSpec
This area contains the plugins that ship with InSpec. They are automatically detected by the plugin loader.
inspec-* directories
Each subdirectory here that begins with inspec-
is intended to be a self-contained plugin project,
with code, docs, and tests.
shared directory
This directory contains material that is reusable for core plugins, such as a test helper tuned to assisting core plugin testing.