Trove-Gate appears to sit idle after the last output from the test run. See the 
following samples:

Excerpt from https://rdjenkins.dyndns.org/job/Trove-Gate/3792/console

12:59:47     202.03     proboscis.case.MethodTest 
(test_instance_returns_to_active_after_resize)
13:47:06 **************************************

Excerpt from https://rdjenkins.dyndns.org/job/Trove-Gate/3790/console

12:25:13     237.68     proboscis.case.MethodTest 
(test_instance_returns_to_active_after_resize)
13:10:54 **************************************

Notice the timestamps of the lines. The first line in each sample is the last 
line of output from the int tests. The second line in each sample is the 
boot-hpcloud-vm plugin. In the absence of the timeout setting in the 
boot-hpcloud-vm plugin, I don't think these jobs would ever end. But the 
boot-hpcloud-vm plugin does have a timeout. I was able to reproduce what I 
think is the same problem with the following code:

cat << EOF > $temp_file
...beginning of script omitted...
./redstack int-tests
EOF
scp $temp_file stack@$ip:/home/stack
ssh stack@$ip /bin/bash -e /home/stack/$(basename $temp_file)

All of the tests pass but the job sits there spinning forever. However, if I 
add "-t -t" to the last line like so:

ssh -t -t stack@$ip /bin/bash -e /home/stack/$(basename $temp_file)

The job completes. Note: Adding "-t -t" makes the int tests process think I 
have a color terminal so I also added the following line before kicking off the 
tests:

export TERM=xterm-mono

Questions:

  *   I don't understand tty very well. Can someone help me understand why this 
works (if in fact this is the cause)? Possibly related question: Why does the 
README.md<https://github.com/openstack/trove-integration/blob/8bd8227fa406ccdc24a4a9d18b9a0e840f118444/README.md>
 say, "chmod 660 /dev/pts/1"?
  *   If this is the fix, then some edits may be needed 
here<https://github.com/mrhoades/boot-hpcloud-vm/blob/a7f6dcc1a414c7d736c19b4e55cfeb63b2a32d0d/models/novafizz.rb#L286>
 using 
this<http://net-ssh.github.io/net-ssh/classes/Net/SSH/Connection/Channel.html#method-i-request_pty>.
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to