Github user terbolous commented on the pull request:

    https://github.com/apache/cloudstack/pull/1156#issuecomment-162544664
  
    @sanju1010 the error lies in the script due to different outputs. the test 
seems to use macchinina as template, which has the following output for ping:
    # ping -c 1 -t 1 x.y.z.40
    PING x.y.z.40 (x.y.z.40): 56 data bytes
    
    --- x.y.z.40 ping statistics ---
    1 packets transmitted, 0 packets received, 100% packet loss
    
    The cut on line 711 picks field 6, which is 'received' and not 0.
    
    a regular debian derivate has the following output:
    --- x.y.z.40 ping statistics ---
    1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
    
    where your cut would match '+1' and work.
    
    conclusion; either change the template or change the cut


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to