Protocol error kitchen


#1

Hello All, I have the follow issue when i try to execute my kitchen tests:

When i run "kitchen converge" command, returns the message:

   /tmp/install.sh: line 139: /tmp/omnibus/cache/chef-14.7.17-1.el7.x86_64.rpm: Erro de protocolo
   grep: /tmp/install.sh.2027/stderr: Arquivo ou diretório não encontrado
   trying perl...
   /tmp/install.sh: line 169: /tmp/omnibus/cache/chef-14.7.17-1.el7.x86_64.rpm: Erro de protocolo
   grep: /tmp/install.sh.2027/stderr: Arquivo ou diretório não encontrado
   trying python...
   /tmp/install.sh: line 190: /tmp/omnibus/cache/chef-14.7.17-1.el7.x86_64.rpm: Erro de protocolo
   grep: /tmp/install.sh.2027/stderr: Arquivo ou diretório não encontrado
   Unable to retrieve a valid package!

Seems like that user isn't execute https://omnitruck.chef.io/install.sh script.
But, when access this machine and execute this script manually, all things running fine. The same thing, when i run chef.deb or chef.rpm package. I tried with Centos and Ubuntu operations systems.

This is the message of the output command:

   \nDEBUG OUTPUT FOLLOWS:\n\nSTDERR from wget:\n\n/tmp/omnibus/cache/chef-14.7.17-1.el7.x86_64.rpm: Erro de protocolo\n

Thank you!


#2

We don't really have enough context to really advise a solution but if you provide the .kitchen.yml and a gist to a complete log of the failure we might be able to tell you more. Alternatively, join us in the #test-kitchen channel on the Chef Community Slack.