Created
May 10, 2019 21:33
-
-
Save miah/09136da5f3450f229aa364c38c54a2e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\miah\projects\inspec (master -> origin) | |
λ bundle exec rake test:functional | |
Temporarily accepting Chef user license for the duration of testing... | |
C:/Ruby25-x64/bin/ruby.exe -I"lib;test" -I"C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib" "C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb" "test/functional/filter_table_test.rb" "test/functional/gitfetcher_test.rb" "test/functional/inheritance_test.rb" "test/functional/inputs_test.rb" "test/functional/inspec_archive_test.rb" "test/functional/inspec_artifact_test.rb" "test/functional/inspec_check_test.rb" "test/functional/inspec_detect_test.rb" "test/functional/inspec_exec_automate_test.rb" "test/functional/inspec_exec_jsonmin_test.rb" "test/functional/inspec_exec_json_test.rb" "test/functional/inspec_exec_junit_test.rb" "test/functional/inspec_exec_test.rb" "test/functional/inspec_json_profile_test.rb" "test/functional/inspec_report_test.rb" "test/functional/inspec_schema_test.rb" "test/functional/inspec_shell_test.rb" "test/functional/inspec_supermakert_test.rb" "test/functional/inspec_test.rb" "test/functional/inspec_vendor_test.rb" "test/functional/license_test.rb" "test/functional/logging_test.rb" "test/functional/plugins_test.rb" "test/functional/ui_test.rb" "lib/plugins/inspec-artifact/test/functional/inspec_artifact_test.rb" "lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb" "lib/plugins/inspec-habitat/test/functional/inspec_habitat_test.rb" "lib/plugins/inspec-init/test/functional/inspec_init_plugin_test.rb" "lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb" "lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb" | |
NOTE: `gem install minitest-proveit` for even more hellish tests | |
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jsonschema-2.0.2/lib/jsonschema.rb:10: warning: constant ::Fixnum is deprecated | |
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jsonschema-2.0.2/lib/jsonschema.rb:11: warning: constant ::Fixnum is deprecated | |
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jsonschema-2.0.2/lib/jsonschema.rb:18: warning: constant ::Fixnum is deprecated | |
Run options: --seed 15378 | |
# Running: | |
*F**FFFFFFFFF**F***F*F***FF*F***FFF*FF*FFF*F*FF******FF**************F*F*F*F*****F*****FFFF***FF*F****F*********************F*****F*F**F****F******F*****F**********FF************FF*FFFFFF**F**FFFF***F**F**F****F****F*****FFFFFF*FF*F**********F**FFFFFFFF*******FFFF*FF***FF***F********FFFFFFFFFFFFFFFFFFFFFFFFF*****FF**F*****FF** | |
Fabulous run in 2237.133364s, 0.1466 runs/s, 0.5065 assertions/s. | |
1) Failure: | |
Deprecation Facility Behavior::when the deprecation is in a custom resource and the deprecate DSL method is used::when the action is to fail the control::when the resource is called in a control#test_0001_should result in a failed control [C:/Users/miah/projects/inspec/test/functional/logging_test.rb:24]: | |
Expected: 100 | |
Actual: 1 | |
2) Failure: | |
inspec exec automate::when outputting to STDOUT#test_0001_should include tramp data [C:/Users/miah/projects/inspec/test/functional/inspec_exec_automate_test.rb:70]: | |
Expected 1 to not be equal to 1. | |
3) Failure: | |
PluginManagerCliSearch#test_search_for_a_real_gem_with_full_name_no_options [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:155]: | |
Search result should contain the gem name. | |
Expected "" to include "inspec-test-fixture". | |
4) Failure: | |
PluginManagerCliSearch#test_search_for_a_real_gem_with_stub_name_no_options [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:164]: | |
Search result should contain the gem name. | |
Expected "" to include "inspec-test-fixture". | |
5) Failure: | |
PluginManagerCliSearch#test_search_for_a_real_gem_with_stub_name_and_exact_option [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:183]: | |
Search should exit 2 on a miss. | |
Expected: 2 | |
Actual: 0 | |
6) Failure: | |
PluginManagerCliSearch#test_search_omit_excluded_inspec_plugins [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:227]: | |
Search result should contain the test gem. | |
Expected "" to include "inspec-test-fixture". | |
7) Failure: | |
PluginManagerCliSearch#test_search_for_a_gem_with_missing_prefix [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:205]: | |
Search should exit 1 on user error. | |
Expected: 1 | |
Actual: 0 | |
8) Failure: | |
PluginManagerCliSearch#test_search_for_a_gem_that_does_not_exist [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:211]: | |
Search should exit 2 on a miss. | |
Expected: 2 | |
Actual: 0 | |
9) Failure: | |
PluginManagerCliSearch#test_search_for_a_real_gem_with_full_name_no_options_and_train_name [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:218]: | |
Search result should contain the gem name. | |
Expected "" to include "train-test-fixture". | |
10) Failure: | |
PluginManagerCliSearch#test_search_for_a_real_gem_with_full_name_and_exact_option [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:174]: | |
Search result should contain the gem name. | |
Expected "" to include "inspec-test-fixture". | |
11) Failure: | |
PluginManagerCliSearch#test_search_for_a_real_gem_with_full_name_and_all_option [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:193]: | |
Search result should contain the gem name. | |
Expected "" to include "inspec-test-fixture". | |
12) Failure: | |
Deprecation Facility Behavior::when the deprecation is in a custom resource and the deprecate DSL method is used::when the action is exit and no code is specified#test_0001_should result in an exit with a special code [C:/Users/miah/projects/inspec/test/functional/logging_test.rb:66]: | |
Expected: 3 | |
Actual: 1 | |
13) Failure: | |
inspec exec::with a profile that contains skipped resources#test_0001_exits with an error [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:222]: | |
Expected: 100 | |
Actual: 1 | |
14) Failure: | |
inspec exec::with a profile containing exceptions in the controls#test_0001_completes the run with failed controls but no exception [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:459]: | |
Expected: 100 | |
Actual: 1 | |
15) Failure: | |
inspec exec#test_0001_can execute a profile with the mini json formatter and validate its schema [C:/Users/miah/projects/inspec/test/functional/inspec_exec_jsonmin_test.rb:13]: | |
Expected: 101 | |
Actual: 1 | |
16) Failure: | |
inspec exec#test_0002_can execute a simple file with the mini json formatter and validate its schema [C:/Users/miah/projects/inspec/test/functional/inspec_exec_jsonmin_test.rb:23]: | |
Expected: 0 | |
Actual: 1 | |
17) Failure: | |
ComplianceCli#test_help_output [C:/Users/miah/projects/inspec/lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb:10]: | |
Expected "" to include "inspec compliance exec PROFILE". | |
18) Failure: | |
ComplianceCli#test_error_upload_without_args [C:/Users/miah/projects/inspec/lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb:33]: | |
Expected: 0 | |
Actual: 1 | |
19) Failure: | |
ComplianceCli#test_error_upload_with_fake_path [C:/Users/miah/projects/inspec/lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb:40]: | |
Expected "" to include "You need to login first with `inspec compliance login`". | |
20) Failure: | |
ComplianceCli#test_profile_list_without_auth [C:/Users/miah/projects/inspec/lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb:28]: | |
Expected "" to include "You need to login first with `inspec compliance login`". | |
21) Failure: | |
ComplianceCli#test_error_login_with_invalid_url [C:/Users/miah/projects/inspec/lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb:21]: | |
Expected: 0 | |
Actual: 1 | |
22) Failure: | |
inspec shell tests::cmd#test_0011_runs anonymous tests that succeed [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,14 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tCONSTANT, expecting ')' (SyntaxError) | |
+describe file(\" \"C:/Users/miah/projects/inspec/... | |
+ ^ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
23) Failure: | |
inspec shell tests::cmd#test_0013_runs anonymous tests that fail [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,17 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tIDENTIFIER, expecting ')' (SyntaxError) | |
+describe file(\" \"foo/bar/baz) do it { should exis... | |
+ ^~~ | |
+(eval):1: syntax error, unexpected ')', expecting end-of-input | |
+describe file(\" \"foo/bar/baz) do it { should exist } end | |
+ ^ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
24) Failure: | |
inspec shell tests::cmd#test_0015_runs controls with tests [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,14 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tIDENTIFIER, expecting end-of-input (SyntaxError) | |
+control \" \"test do describe file(C:/Users/mi... | |
+ ^~~~ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
25) Failure: | |
inspec shell tests::cmd#test_0010_runs anonymous tests that succeed (json output) [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,14 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tCONSTANT, expecting ')' (SyntaxError) | |
+describe file(\" \"C:/Users/miah/projects/inspec/... | |
+ ^ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
26) Failure: | |
inspec shell tests::cmd#test_0016_runs controls with multiple tests (json output) [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,14 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tIDENTIFIER, expecting end-of-input (SyntaxError) | |
+control \" \"test do describe file(C:/Users/mi... | |
+ ^~~~ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
27) Failure: | |
inspec shell tests::cmd#test_0014_runs controls with tests (json output) [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,14 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tIDENTIFIER, expecting end-of-input (SyntaxError) | |
+control \" \"test do describe file(C:/Users/mi... | |
+ ^~~~ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
28) Failure: | |
inspec shell tests::cmd#test_0017_runs controls with multiple tests [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,14 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tIDENTIFIER, expecting end-of-input (SyntaxError) | |
+control \" \"test do describe file(C:/Users/mi... | |
+ ^~~~ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
29) Failure: | |
inspec shell tests::cmd#test_0012_runs anonymous tests that fail (json output) [C:/Users/miah/projects/inspec/test/functional/inspec_shell_test.rb:12]: | |
--- expected | |
+++ actual | |
@@ -1 +1,17 @@ | |
-"" | |
+"C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `instance_eval': (eval):1: syntax error, unexpected tIDENTIFIER, expecting ')' (SyntaxError) | |
+describe file(\" \"foo/bar/baz) do it { should exis... | |
+ ^~~ | |
+(eval):1: syntax error, unexpected ')', expecting end-of-input | |
+describe file(\" \"foo/bar/baz) do it { should exist } end | |
+ ^ | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:160:in `load_with_context' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/profile_context.rb:146:in `load_control_file' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/runner.rb:234:in `eval_with_virtual_profile' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:375:in `run_command' | |
+\tfrom C:/Users/miah/projects/inspec/lib/inspec/cli.rb:325:in `shell_func' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' | |
+\tfrom C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start' | |
+\tfrom C:/Users/miah/projects/inspec/inspec-bin/bin/inspec:14:in `<main>' | |
+" | |
30) Failure: | |
train plugin support::when a train plugin is installed#test_0003_can run inspec shell and read a file [C:/Users/miah/projects/inspec/test/functional/plugins_test.rb:265]: | |
Expected: 0 | |
Actual: 1 | |
31) Failure: | |
train plugin support::when a train plugin is installed#test_0004_can run inspec shell and run a command [C:/Users/miah/projects/inspec/test/functional/plugins_test.rb:272]: | |
Expected: 0 | |
Actual: 1 | |
32) Failure: | |
PluginManagerCliHelp#test_inspec_plugin_help_includes_plugin [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:61]: | |
Expected "" to include "inspec plugin list". | |
33) Failure: | |
PluginManagerCliHelp#test_inspec_help_includes_plugin [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:55]: | |
Expected "" to include "inspec plugin". | |
34) Failure: | |
inspec exec::with sensitive resources#test_0001_hides sensitive output [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:428]: | |
Expected: 100 | |
Actual: 1 | |
35) Failure: | |
PluginManagerCliList#test_list_when_gem_and_path_plugins_installed [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:101]: | |
exist status must be 0. | |
Expected: 0 | |
Actual: 1 | |
36) Failure: | |
PluginManagerCliList#test_list_when_a_train_plugin_is_installed [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:123]: | |
exist status must be 0. | |
Expected: 0 | |
Actual: 1 | |
37) Failure: | |
PluginManagerCliList#test_list_all_when_no_user_plugins_installed [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:84]: | |
exist status must be 0. | |
Expected: 0 | |
Actual: 1 | |
38) Failure: | |
PluginManagerCliList#test_list_when_no_user_plugins_installed [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:78]: | |
exist status must be 0. | |
Expected: 0 | |
Actual: 1 | |
39) Failure: | |
InitPluginCli#test_generating_inspec_plugin_with_custom_options [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_plugin_test.rb:127]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">At line:1 char:99_x000D__x000A_</S><S S=\"Error\">+ ... cd C:/Users/miah/AppData/Local/Temp/d20190510-5784-19r9261 && C:/User ..._x000D__x000A_</S><S S=\"Error\">+ ~~_x000D__x000A_</S><S S=\"Error\">The token '&&' is not a valid statement separator in this version._x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : InvalidEndOfLine_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
40) Failure: | |
InitPluginCli#test_generating_inspec_plugin_with_default_options [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_plugin_test.rb:24]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">At line:1 char:99_x000D__x000A_</S><S S=\"Error\">+ ... cd C:/Users/miah/AppData/Local/Temp/d20190510-5784-16acgdu && C:/User ..._x000D__x000A_</S><S S=\"Error\">+ ~~_x000D__x000A_</S><S S=\"Error\">The token '&&' is not a valid statement separator in this version._x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : InvalidEndOfLine_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
41) Failure: | |
InitPluginCli#test_generating_inspec_plugin_correct_prefix_required [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_plugin_test.rb:11]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">At line:1 char:99_x000D__x000A_</S><S S=\"Error\">+ ... cd C:/Users/miah/AppData/Local/Temp/d20190510-5784-16r8s1r && C:/User ..._x000D__x000A_</S><S S=\"Error\">+ ~~_x000D__x000A_</S><S S=\"Error\">The token '&&' is not a valid statement separator in this version._x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : InvalidEndOfLine_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
42) Failure: | |
filtertable functional tests::2943 inspec exec for filter table profile, method mode for `where#test_0002_negative tests should fail but not abort [C:/Users/miah/projects/inspec/test/functional/filter_table_test.rb:41]: | |
Expected: 100 | |
Actual: 1 | |
43) Failure: | |
inspec exec::with a profile that is not supported on this OS/platform#test_0001_exits with skip message [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:178]: | |
Expected: 101 | |
Actual: 1 | |
44) Failure: | |
cli command plugins#test_0001_is able to respond to a plugin-based cli subcommand [C:/Users/miah/projects/inspec/test/functional/plugins_test.rb:64]: | |
Expected: 42 | |
Actual: 1 | |
45) Failure: | |
inspec exec::given a profile with controls and anonymous describe blocks#test_0001_prints the control results, then the anonymous describe block results [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:257]: | |
Expected "\nProfile: tests from C:/Users/miah/projects/inspec/test/unit/mock/profiles/old-examples/profile/controls/example.rb (tests from C:.Users.miah.projects.inspec.test.unit.mock.profiles.old-examples.profile.controls.example.rb)\nVersion: (not specified)\nTarget: local://\n\n\e[38;5;9m × tmp-1.0: Create /tmp directory\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\nProfile Summary: 0 successful controls, \e[38;5;9m1 control failure\e[0m, 0 controls skipped\nTest Summary: 0 successful, \e[38;5;9m2 failures\e[0m, 0 skipped\n" to include "\nVersion: (not specified)\nTarget: local://\n\n\e[38;5;41m ✔ tmp-1.0: Create /tmp directory\e[0m\n\e[38;5;41m ✔ File /tmp should be directory\e[0m\n\n File /tmp\n\e[38;5;41m ✔ should be directory\e[0m\n\nProfile Summary: \e[38;5;41m1 successful control\e[0m, 0 control failures, 0 controls skipped\nTest Summary: \e[38;5;41m2 successful\e[0m, 0 failures, 0 skipped\n". | |
46) Failure: | |
profiles with git-based dependencies#test_0001_executes a profile with a git based dependency [C:/Users/miah/projects/inspec/test/functional/gitfetcher_test.rb:46]: | |
Expected: 0 | |
Actual: 1 | |
47) Failure: | |
ProfileCli#test_setup_subcommand [C:/Users/miah/projects/inspec/lib/plugins/inspec-habitat/test/functional/inspec_habitat_test.rb:36]: | |
--- expected | |
+++ actual | |
@@ -1 +1 @@ | |
-[] | |
+["C:/Users/miah/AppData/Local/Temp/d20190510-5784-a360v9/habitat-profile/habitat/config", "C:/Users/miah/AppData/Local/Temp/d20190510-5784-a360v9/habitat-profile/habitat/config/inspec_exec_config.json", "C:/Users/miah/AppData/Local/Temp/d20190510-5784-a360v9/habitat-profile/habitat/default.toml", "C:/Users/miah/AppData/Local/Temp/d20190510-5784-a360v9/habitat-profile/habitat/hooks", "C:/Users/miah/AppData/Local/Temp/d20190510-5784-a360v9/habitat-profile/habitat/hooks/run", "C:/Users/miah/AppData/Local/Temp/d20190510-5784-a360v9/habitat-profile/habitat/plan.sh"] | |
48) Failure: | |
inspec exec::with a profile containing control overrides#test_0001_completes the run with parent control overrides [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:477]: | |
Expected: 100 | |
Actual: 1 | |
49) Failure: | |
inspec exec with json formatter::execute a profile with json formatting#test_0007_has the right result for tmp-1.0 [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:168]: | |
Expected: "passed" | |
Actual: "failed" | |
50) Failure: | |
inspec exec with junit formatter#test_0002_can execute the profile with the junit formatter [C:/Users/miah/projects/inspec/test/functional/inspec_exec_junit_test.rb:20]: | |
Expected: 101 | |
Actual: 1 | |
51) Failure: | |
inspec exec with junit formatter#test_0001_can execute a simple file with the junit formatter [C:/Users/miah/projects/inspec/test/functional/inspec_exec_junit_test.rb:12]: | |
Expected: 0 | |
Actual: 1 | |
52) Failure: | |
InitCli#test_generating_inspec_profile_azure [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:80]: | |
Expected: 0 | |
Actual: 1 | |
53) Failure: | |
InitCli#test_generating_inspec_profile_gcp [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:56]: | |
Expected: 0 | |
Actual: 1 | |
54) Failure: | |
InitCli#test_generating_inspec_profile [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:12]: | |
Expected: 0 | |
Actual: 1 | |
55) Failure: | |
InitCli#test_generating_inspec_profile_os [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:92]: | |
Expected: 0 | |
Actual: 1 | |
56) Failure: | |
InitCli#test_profile_with_slash_name [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:45]: | |
Expected: 0 | |
Actual: 1 | |
57) Failure: | |
InitCli#test_generating_inspec_profile_aws [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:68]: | |
Expected: 0 | |
Actual: 1 | |
58) Failure: | |
InitCli#test_generating_inspec_profile_with_explicit_platform [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:24]: | |
Expected: 0 | |
Actual: 1 | |
59) Failure: | |
InitCli#test_generating_inspec_profile_with_bad_platform [C:/Users/miah/projects/inspec/lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb:36]: | |
Expected "" to include "Unable to generate profile". | |
60) Failure: | |
inspec exec#test_0007_can execute the profile with a target_id passthrough [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:79]: | |
Expected: 101 | |
Actual: 1 | |
61) Failure: | |
inspec exec#test_0015_can execute a simple file with the default formatter [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:148]: | |
Expected: 0 | |
Actual: 1 | |
62) Failure: | |
inspec exec#test_0001_can execute the profile [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:13]: | |
Expected: 101 | |
Actual: 1 | |
63) Failure: | |
inspec exec#test_0012_executes only specified controls when selecting failing controls by literal names [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:128]: | |
Expected: 100 | |
Actual: 1 | |
64) Failure: | |
inspec exec#test_0016_does not vendor profiles when using the a local path dependecy [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:158]: | |
Expected: 100 | |
Actual: 1 | |
65) Failure: | |
inspec exec#test_0014_executes only specified controls when selecting failing controls by regex [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:140]: | |
Expected: 100 | |
Actual: 1 | |
66) Failure: | |
inspec exec#test_0010_executes a specs-only profile [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:109]: | |
Expected: 100 | |
Actual: 1 | |
67) Failure: | |
inspec exec#test_0003_can execute the profile and write to directory [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:50]: | |
Expected: 101 | |
Actual: 1 | |
68) Failure: | |
plugin loader#test_0001_handles an unloadable plugin correctly [C:/Users/miah/projects/inspec/test/functional/plugins_test.rb:13]: | |
Expected: 2 | |
Actual: 1 | |
69) Failure: | |
inspec supermakert#test_0003_supermarket exec [C:/Users/miah/projects/inspec/test/functional/inspec_supermakert_test.rb:26]: | |
Expected 1 to not be equal to 1. | |
70) Failure: | |
PluginManagerCliUpdate#test_refuse_update_when_already_current [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:618]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-93orwf : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-93orwf' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-93orwf:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
71) Failure: | |
PluginManagerCliUpdate#test_fail_update_from_nonexistant_gem [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:631]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-yc6lhg : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-yc6lhg' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-yc6lhg:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
72) Failure: | |
PluginManagerCliUpdate#test_when_a_plugin_can_be_updated [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:595]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-5yaura : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-5yaura' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-5yaura:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
73) Failure: | |
PluginManagerCliUpdate#test_fail_update_path [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:643]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-tjr54f : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-tjr54f' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-tjr54f:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
74) Failure: | |
inspec exec::with a profile that contains skipped controls#test_0001_exits with an error [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:190]: | |
Expected: 101 | |
Actual: 1 | |
75) Failure: | |
inspec exec::given an inherited profile#test_0001_should print the profile information and then the test results [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:315]: | |
Expected "\nProfile: InSpec example simple inheritance (simple inheritance)\nVersion: 1.0.0\nTarget: local://\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\nProfile: InSpec Profile (failures)\nVersion: 0.1.0\nTarget: local://\n\n\e[38;5;9m × tmp-1.0: Create /tmp directory (1 failed)\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;41m ✔ File /tmp should not be directory\e[0m\n\e[38;5;9m × cmp-1.0: Using the cmp matcher for numbers (2 failed)\e[0m\n\e[38;5;9m × 7 should cmp >= 9\n \n expected it to be >= 9\n got: 7\n \n (compared using `cmp` matcher)\n\e[0m\n\e[38;5;9m × 7 should not cmp == /^\\d$/\n \n expected it not to be == /^\\d$/\n got: 7\n \n (compared using `cmp` matcher)\n\e[0m\n\e[38;5;41m ✔ 7 should cmp == \"7\"\e[0m\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m × undefined method `should_nota' for #<RSpec::ExampleGroups::FileTmp_3:0x000000000848aa00>\n Did you mean? should_not\e[0m\n File /tmp\n\e[38;5;41m ✔ should not be directory\e[0m\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m | |
× mode should cmp == \"01147\"\n wrong number of arguments (given 1, expected 0)\e[0m\n\nProfile Summary: 0 successful controls, \e[38;5;9m2 control failures\e[0m, 0 controls skipped\nTest Summary: \e[38;5;41m3 successful\e[0m, \e[38;5;9m8 failures\e[0m, 0 skipped\n" to include "\e[38;5;9m × tmp-1.0: Create /tmp directory (1 failed)\e[0m\n\e[38;5;41m ✔ File /tmp should be directory\e[0m\n\e[38;5;9m × File /tmp should not be directory\n". | |
76) Failure: | |
PluginManagerCliUninstall#test_when_a_path_plugin_can_be_uninstalled [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:691]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-oeymim : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-oeymim' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-oeymim:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
77) Failure: | |
PluginManagerCliUninstall#test_when_a_gem_plugin_can_be_uninstalled [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:669]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-eel6ag : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-eel6ag' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-eel6ag:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
78) Failure: | |
PluginManagerCliUninstall#test_fail_uninstall_from_plugin_that_is_not_installed [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:708]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1ucgdyt : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1ucgdyt' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1ucgdyt:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
79) Failure: | |
inspec exec::execute a profile with mini json formatting#test_0005_has a status [C:/Users/miah/projects/inspec/test/functional/inspec_exec_jsonmin_test.rb:63]: | |
Expected: "passed" | |
Actual: "failed" | |
80) Failure: | |
inspec exec with json formatter#test_0004_can execute a profile and validate the json schema with target_id [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:43]: | |
Expected: 101 | |
Actual: 1 | |
81) Failure: | |
inspec exec with json formatter#test_0008_flags profile with correct status when not supported [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:91]: | |
Expected: 101 | |
Actual: 1 | |
82) Failure: | |
inspec exec with json formatter#test_0007_flags loaded profiles with correct status [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:78]: | |
Expected: 0 | |
Actual: 1 | |
83) Failure: | |
inspec exec with json formatter#test_0001_can execute a simple file and validate the json schema [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:13]: | |
Expected: 0 | |
Actual: 1 | |
84) Failure: | |
inspec exec with json formatter#test_0005_does not report skipped dependent profiles [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:55]: | |
Expected: 0 | |
Actual: 1 | |
85) Failure: | |
inspec exec with json formatter#test_0003_can execute a simple file while using end of options after reporter cli option [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:33]: | |
Expected: 0 | |
Actual: 1 | |
86) Failure: | |
inspec exec with json formatter#test_0006_flags skipped profiles with correct status [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:64]: | |
Expected: 0 | |
Actual: 1 | |
87) Failure: | |
inspec exec with json formatter#test_0002_can execute a profile and validate the json schema [C:/Users/miah/projects/inspec/test/functional/inspec_exec_json_test.rb:23]: | |
Expected: 101 | |
Actual: 1 | |
88) Failure: | |
ArtifactCli#test_generating_archive_keys [C:/Users/miah/projects/inspec/lib/plugins/inspec-artifact/test/functional/inspec_artifact_test.rb:13]: | |
Expected: 0 | |
Actual: 1 | |
89) Failure: | |
The license acceptance mechanism::when the license has not been accepted::when no mechanism is used to accept the license and we are non-interactive#test_0001_should exit ASAP with code 172 [C:/Users/miah/projects/inspec/test/functional/license_test.rb:45]: | |
Expected: 172 | |
Actual: 1 | |
90) Failure: | |
ArtifactCli#test_verify_and_install_signed_profile [C:/Users/miah/projects/inspec/lib/plugins/inspec-artifact/test/functional/inspec_artifact_test.rb:33]: | |
Expected: 0 | |
Actual: 1 | |
91) Failure: | |
InSpec UI behavior::exit codes::skipped exit#test_0001_has correct output [C:/Users/miah/projects/inspec/test/functional/ui_test.rb:151]: | |
Expected: 101 | |
Actual: 1 | |
92) Failure: | |
inspec exec::when using profiles on the supermarket#test_0002_can run supermarket profiles from inspec.yml [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:359]: | |
Expected "[2019-05-10T14:23:49-07:00] WARN: URL target https://github.com/nathenharvey/tmp_compliance_profile/ transformed to https://github.com/nathenharvey/tmp_compliance_profile/archive/master.tar.gz. Consider using the git fetcher\n\nProfile: InSpec example simple inheritance (supermarket-dep)\nVersion: 1.0.0\nTarget: local://\n\n No tests executed.\n\nProfile: /tmp Compliance Profile (tmp_compliance_profile)\nVersion: 0.1.1\nTarget: local://\n\n\e[38;5;9m × tmp-1.0: A /tmp directory must exist\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m × tmp-1.1: /tmp directory is owned by the root user\e[0m\n\e[38;5;9m × File /tmp should be owned by \"root\"\n expected `File /tmp.owned_by?(\"root\")` to return true, got false\e[0m\n\n\nProfile Summary: 0 successful controls, \e[38;5;9m2 control failures\e[0m, 0 controls skipped\nTest Summary: 0 successful, \e[38;5;9m2 failures\e[0m, 0 skipped\n" to include "Profile Summary: \e[38;5;41m1 successful control\e[0m, \e[38;5;9m1 control failure\e[0m, 0 controls skipped\n". | |
93) Failure: | |
inspec exec::when using profiles on the supermarket#test_0001_can run supermarket profiles directly from the command line [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:350]: | |
Expected "[2019-05-10T14:24:03-07:00] WARN: URL target https://github.com/nathenharvey/tmp_compliance_profile/ transformed to https://github.com/nathenharvey/tmp_compliance_profile/archive/master.tar.gz. Consider using the git fetcher\n\nProfile: /tmp Compliance Profile (tmp_compliance_profile)\nVersion: 0.1.1\nTarget: local://\n\n\e[38;5;9m × tmp-1.0: A /tmp directory must exist\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m × tmp-1.1: /tmp directory is owned by the root user\e[0m\n\e[38;5;9m × File /tmp should be owned by \"root\"\n expected `File /tmp.owned_by?(\"root\")` to return true, got false\e[0m\n\n\nProfile Summary: 0 successful controls, \e[38;5;9m2 control failures\e[0m, 0 controls skipped\nTest Summary: 0 successful, \e[38;5;9m2 failures\e[0m, 0 skipped\n" to include "Profile Summary: \e[38;5;41m1 successful control\e[0m, \e[38;5;9m1 control failure\e[0m, 0 controls skipped\n". | |
94) Failure: | |
InSpec UI behavior::exit codes::failed exit#test_0001_has correct output [C:/Users/miah/projects/inspec/test/functional/ui_test.rb:160]: | |
Expected: 100 | |
Actual: 1 | |
95) Failure: | |
inspec exec::when passing in two profiles given an inherited profile that has more that one test per control block#test_0001_should print all the results [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:306]: | |
Expected "\nProfile: InSpec Profile (profile_d)\nVersion: 0.1.0\nTarget: local://\n\n\e[38;5;9m × profiled-1: Create /tmp directory (profile d)\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\n\nProfile: InSpec example simple inheritance (simple inheritance)\nVersion: 1.0.0\nTarget: local://\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\nProfile: InSpec Profile (failures)\nVersion: 0.1.0\nTarget: local://\n\n\e[38;5;9m × tmp-1.0: Create /tmp directory (1 failed)\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;41m ✔ File /tmp should not be directory\e[0m\n\e[38;5;9m × cmp-1.0: Using the cmp matcher for numbers (2 failed)\e[0m\n\e[38;5;9m × 7 should cmp >= 9\n \n expected it to be >= 9\n got: 7\n \n (compared using `cmp` matcher)\n\e[0m\n\e[38;5;9m × 7 should not cmp == /^\\d$/\n \n expected it not to be == /^\\d$/\n got: 7\n \n (compared using `cmp` matcher)\n\e[0m\n\e[38;5;41m ✔ 7 should cmp == \"7\"\e[0m\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m × undefined method `should_nota' for #<RSpec::ExampleGroups::FileTmp_4:0x000000000970ee88>\n Did you mean? should_not\e[0m\n File /tmp\n\e[38;5;41m ✔ should not be directory\e[0m\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m × mode should cmp == \"01147\"\n wrong number of arguments (given 1, expected 0)\e[0m\n\nProfile Summary: 0 successful controls, \e[38;5;9m3 control failures\e[0m, 0 controls skipped\nTest Summary: \e[38;5;41m3 successful\e[0m, \e[38;5;9m9 failures\e[0m, 0 skipped\n" to include "× should not be directory\n expected `File /tmp.directory?` to return false, got true\e[0m". | |
96) Failure: | |
inspec exec with junit formatter::execute a profile with junit formatting::the test suite#test_0003_has the failures attribute with 0 total tests [C:/Users/miah/projects/inspec/test/functional/inspec_exec_junit_test.rb:45]: | |
Expected: "0" | |
Actual: "2" | |
97) Failure: | |
PluginManagerCliInstall#test_fail_install_from_path_when_the_dir_structure_is_wrong [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:383]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-nb2s8j : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-nb2s8j' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-nb2s8j:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
98) Failure: | |
PluginManagerCliInstall#test_fail_install_from_nonexistant_path [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:320]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-w3orjy : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-w3orjy' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-w3orjy:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
99) Failure: | |
PluginManagerCliInstall#test_error_install_with_debug_enabled [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:575]: | |
Expected "" to include "DEBUG". | |
100) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_refers_to_a_versioned_gem_install [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-19vzpd5 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-19vzpd5' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-19vzpd5:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
101) Failure: | |
PluginManagerCliInstall#test_fail_install_from_nonexistant_remote_rubygem [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:442]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-hohwoq : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-hohwoq' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-hohwoq:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
102) Failure: | |
PluginManagerCliInstall#test_refuse_install_when_already_installed_can_update [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:515]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-vzjayc : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-vzjayc' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-vzjayc:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
103) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_refers_to_the_src_root_of_a_plugin [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-e6req7 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-e6req7' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-e6req7:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
104) Failure: | |
PluginManagerCliInstall#test_install_from_gemfile [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:397]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1x10jez : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1x10jez' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1x10jez:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
105) Failure: | |
PluginManagerCliInstall#test_fail_install_from_path_when_it_is_not_a_plugin [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:347]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-3jki37 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-3jki37' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-3jki37:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
106) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_is_perfect [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-7bz7cq : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-7bz7cq' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-7bz7cq:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
107) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_refers_to_a_train_plugin [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-doc1l9 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-doc1l9' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-doc1l9:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
108) Failure: | |
PluginManagerCliInstall#test_refuse_install_when_plugin_on_exclusion_list [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:557]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1jg76cp : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1jg76cp' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1jg76cp:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
109) Failure: | |
PluginManagerCliInstall#test_refuse_install_when_missing_prefix [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:482]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1q6s2h4 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1q6s2h4' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1q6s2h4:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
110) Failure: | |
PluginManagerCliInstall#test_install_from_rubygems_with_pinned_version [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:450]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-110hs4c : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-110hs4c' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-110hs4c:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
111) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_refers_to_a_relative_path [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-xo3qjh : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-xo3qjh' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-xo3qjh:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
112) Failure: | |
PluginManagerCliInstall#test_fail_install_from_nonexistant_rubygem_version [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:468]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-pgvqfo : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-pgvqfo' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-pgvqfo:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
113) Failure: | |
PluginManagerCliInstall#test_fail_install_from_path_with_wrong_name [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:333]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-vgv1cn : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-vgv1cn' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-vgv1cn:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
114) Failure: | |
PluginManagerCliInstall#test_install_from_rubygems_latest [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:424]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1cjbt1y : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1cjbt1y' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1cjbt1y:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
115) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_refers_to_the_entry_point_with_no_extension [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1p2bhc2 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1p2bhc2' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1p2bhc2:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
116) Failure: | |
PluginManagerCliInstall#test_fail_install_from_path_when_it_is_already_installed [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:369]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-xng62n : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-xng62n' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-xng62n:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
117) Failure: | |
PluginManagerCliInstall#test_refuse_install_when_already_installed_same_version [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:498]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-5t4614 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-5t4614' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...510-5784-5t4614:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
118) Failure: | |
PluginManagerCliInstall#test_install_from_rubygems_latest_with_train_plugin [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:530]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1nkkju3 : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1nkkju3' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1nkkju3:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
119) Failure: | |
PluginManagerCliInstall#test_install_from_path_when_path_refers_to_a_versioned_gem_install_missing_extension [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:294]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-nk3bx : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-nk3bx' is not recognized as the name of a cmdlet, function, script file, or operable _x000D__x000A_</S><S S=\"Error\">program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...0510-5784-nk3bx:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
120) Failure: | |
inspec exec::given an inherited profile that has more that one test per control block#test_0001_should print all the results [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:285]: | |
Expected "\nProfile: InSpec example simple inheritance (simple inheritance)\nVersion: 1.0.0\nTarget: local://\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\nProfile: InSpec Profile (failures)\nVersion: 0.1.0\nTarget: local://\n\n\e[38;5;9m × tmp-1.0: Create /tmp directory (1 failed)\e[0m\n\e[38;5;9m × File /tmp should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;41m ✔ File /tmp should not be directory\e[0m\n\e[38;5;9m × cmp-1.0: Using the cmp matcher for numbers (2 failed)\e[0m\n\e[38;5;9m × 7 should cmp >= 9\n \n expected it to be >= 9\n got: 7\n \n (compared using `cmp` matcher)\n\e[0m\n\e[38;5;9m × 7 should not cmp == /^\\d$/\n \n expected it not to be == /^\\d$/\n got: 7\n \n (compared using `cmp` matcher)\n\e[0m\n\e[38;5;41m ✔ 7 should cmp == \"7\"\e[0m\n\n File /tmp\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m × undefined method `should_nota' for #<RSpec::ExampleGroups::FileTmp_3:0x000000000b1d9858>\n Did you mean? should_not\e[0m\n File /tmp\n\e[38;5;41m ✔ should not be directory\e[0m\n\e[38;5;9m × should be directory\n expected `File /tmp.directory?` to return true, got false\e[0m\n\e[38;5;9m | |
× mode should cmp == \"01147\"\n wrong number of arguments (given 1, expected 0)\e[0m\n\nProfile Summary: 0 successful controls, \e[38;5;9m2 control failures\e[0m, 0 controls skipped\nTest Summary: \e[38;5;41m3 successful\e[0m, \e[38;5;9m8 failures\e[0m, 0 skipped\n" to include "× should not be directory\n". | |
121) Failure: | |
PluginManagerCliInstall#test_fail_install_from_nonexistant_gemfile [C:/Users/miah/projects/inspec/lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb:416]: | |
Expected "#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1qzec8i : The term 'INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190510-5784-1qzec8i' is not recognized as the name of a cmdlet, function, script file, or _x000D__x000A_</S><S S=\"Error\">operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again._x000D__x000A_</S><S S=\"Error\">At line:1 char:40_x000D__x000A_</S><S S=\"Error\">+ ... lyContinue';INSPEC_CONFIG_DIR=C:/Users/miah/AppData/Local/Temp/d20190 ..._x000D__x000A_</S><S S=\"Error\">+ | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : ObjectNotFound: (INSPEC_CONFIG_D...10-5784-1qzec8i:String) [], CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>" to be empty. | |
122) Failure: | |
filtertable functional tests::2370 lazy_load for filter table#test_0002_negative tests should fail but not abort [C:/Users/miah/projects/inspec/test/functional/filter_table_test.rb:41]: | |
Expected: 100 | |
Actual: 1 | |
123) Failure: | |
InSpec UI behavior::exit codes::plugin exit#test_0001_has correct output [C:/Users/miah/projects/inspec/test/functional/ui_test.rb:142]: | |
Expected: 2 | |
Actual: 1 | |
124) Failure: | |
example inheritance profile#test_0007_can execute a profile inheritance [C:/Users/miah/projects/inspec/test/functional/inheritance_test.rb:72]: | |
Expected: 101 | |
Actual: 1 | |
125) Failure: | |
inspec exec::with a 2-level dependency tree#test_0001_correctly runs tests from the whole tree [C:/Users/miah/projects/inspec/test/functional/inspec_exec_test.rb:341]: | |
Expected: 0 | |
Actual: 1 | |
126) Failure: | |
Deprecation Facility Behavior::when the deprecation is in a custom resource and the deprecate DSL method is used::when the action is exit and a specific code is specified#test_0001_should result in an exit with a special code [C:/Users/miah/projects/inspec/test/functional/logging_test.rb:92]: | |
Expected: 8 | |
Actual: 1 | |
328 runs, 1133 assertions, 126 failures, 0 errors, 0 skips | |
Coverage report generated for Functional Tests to C:/Users/miah/projects/inspec/coverage. 6267 / 14190 LOC (44.16%) covered. | |
[Coveralls] Outside the CI environment, not sending data. | |
rake aborted! | |
Command failed with status (1): [ruby -I"lib;test" -I"C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib" "C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb" "test/functional/filter_table_test.rb" "test/functional/gitfetcher_test.rb" "test/functional/inheritance_test.rb" "test/functional/inputs_test.rb" "test/functional/inspec_archive_test.rb" "test/functional/inspec_artifact_test.rb" "test/functional/inspec_check_test.rb" "test/functional/inspec_detect_test.rb" "test/functional/inspec_exec_automate_test.rb" "test/functional/inspec_exec_jsonmin_test.rb" "test/functional/inspec_exec_json_test.rb" "test/functional/inspec_exec_junit_test.rb" "test/functional/inspec_exec_test.rb" "test/functional/inspec_json_profile_test.rb" "test/functional/inspec_report_test.rb" "test/functional/inspec_schema_test.rb" "test/functional/inspec_shell_test.rb" "test/functional/inspec_supermakert_test.rb" "test/functional/inspec_test.rb" "test/functional/inspec_vendor_test.rb" "test/functional/license_test.rb" "test/functional/logging_test.rb" "test/functional/plugins_test.rb" "test/functional/ui_test.rb" "lib/plugins/inspec-artifact/test/functional/inspec_artifact_test.rb" "lib/plugins/inspec-compliance/test/functional/inspec_compliance_test.rb" "lib/plugins/inspec-habitat/test/functional/inspec_habitat_test.rb" "lib/plugins/inspec-init/test/functional/inspec_init_plugin_test.rb" "lib/plugins/inspec-init/test/functional/inspec_init_profile_test.rb" "lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb" ] | |
Tasks: TOP => test:functional | |
(See full trace by running task with --trace) | |
Removing temporary Chef user license acceptance file that was placed for test duration. | |
C:\Users\miah\projects\inspec (master -> origin) | |
λ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment