Broke pipe when running a command in remote machine

211 views
Skip to first unread message

Chenxiong Qi

unread,
Sep 1, 2015, 9:31:13 AM9/1/15
to Vagrant
Hi all,

I'm using Vagrant and vagrant-libvirt to create and provision VM to run my tests. When running following test, this error message is printed. I'm not sure if this is related to Vagrant. So, can you guys help to have a look at what's wrong wit it. Is there any options I have to set to provider in Vagrantfile? Thanks!

Vagrant version: vagrant-1.7.2-9.fc22.noarch


failed: [vagrant] => (item=/opt/myproject/integration-tests/test_debugscheduler.py) => {"changed": true, "item": "/opt/myproject/integration-tests/test_debugscheduler.py", "rc": 1}
stderr: OpenSSH_6.9p1, OpenSSL 1.0.1k-fips 8 Jan 2015
debug1: Reading configuration data /home/cqi/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 13031
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
Shared connection to 192.168.122.100 closed.

Regards,
Chenxiong Qi

Alvaro Miranda Aguilera

unread,
Sep 1, 2015, 4:11:05 PM9/1/15
to vagra...@googlegroups.com
On Wed, Sep 2, 2015 at 1:31 AM, Chenxiong Qi <qcx...@gmail.com> wrote:
> /opt/myproject/integration-tests/test_debugscheduler.py

Can you run this manually?

/opt/myproject/integration-tests/test_debugscheduler.py

What vagrant does is run scripts, and will halt if return code is not 0

what the log says is that script is doing $?=1

Alvaro
Reply all
Reply to author
Forward
0 new messages