You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload inspec compliance upload is not working on Windows 10
InSpec and Platform Version
1.21.0
Replication Case
Upload an inspec profile via inspec compliance upload .\Documents\my-test.tar.gz
Stacktrace
PS C:\Users\Administrator> inspec compliance upload .\Documents\my-test.tar.gz
I, [2017-04-26T02:20:55.110984 #660] INFO -- : Checking profile in .\Documents\my-test.tar.gz
I, [2017-04-26T02:20:55.110984 #660] INFO -- : Metadata OK.
C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/file_provider.rb:111:in `initialize': inval
id distance too far back (Zlib::DataError)
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/file_provider.rb:111:in `open'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/file_provider.rb:111:in `initi
alize'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/file_provider.rb:14:in `new'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/file_provider.rb:14:in `for_pa
th'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:52:in `for_path'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:69:in `for_fetcher'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/dependencies/requirement.rb:10
7:in `profile'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/dependencies/dependency_set.rb
:65:in `block in each'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/dependencies/dependency_set.rb
:64:in `each'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/dependencies/dependency_set.rb
:64:in `each'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:162:in `load_librar
ies'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:425:in `load_checks
_params'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:419:in `load_params
'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:134:in `params'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:299:in `controls_co
unt'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/inspec/profile.rb:270:in `check'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/lib/bundles/inspec-compliance/cli.rb:183:
in `upload'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_comma
nd'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor.rb:235:in `block in subcommand'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_comma
nd'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from C:/opscode/inspec/embedded/lib/ruby/gems/2.3.0/gems/inspec-1.21.0/bin/inspec:12:in `<top (required)>'
from C:/opscode/inspec/bin/inspec:60:in `load'
from C:/opscode/inspec/bin/inspec:60:in `<main>'
PS C:\Users\Administrator>
The text was updated successfully, but these errors were encountered:
What’s happening? Why was this issue closed?
This issue was closed due to some much needed review of legacy issues or issues that were spawned in older versions of InSpec, i.e. < v3.
Why do I care?
You would care about this if this was an issue that you are still seeing and/or feel needs to be addressed in the current version of InSpec.
What do I need to do?
If this issue is no longer important, no further action is necessary. However, if you think this is something that should be addressed, please reopen the issue and continue the discussion, making sure to provide stack trace or repro data that is relevant to the current version.
Description
Upload
inspec compliance upload
is not working on Windows 10InSpec and Platform Version
1.21.0
Replication Case
Upload an inspec profile via
inspec compliance upload .\Documents\my-test.tar.gz
Stacktrace
The text was updated successfully, but these errors were encountered: