cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Stoyanov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-10148) test_vpn_service.py errors using ike-scan
Date Mon, 20 Nov 2017 13:08:00 GMT
Boris Stoyanov created CLOUDSTACK-10148:
-------------------------------------------

             Summary: test_vpn_service.py errors using ike-scan
                 Key: CLOUDSTACK-10148
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10148
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: Boris Stoyanov


Looks like there has been changes to the ike-scan command and/or python, we're running our
tests on CentOS 7 and I couldn't managed to setup this package, probably was dropped.

{code}==== Marvin Init Started ====

=== Marvin Parse Config Successful ===

=== Marvin Setting TestData Successful===

==== Log Folder Path: /Users/bstoyanov//MarvinLogs//Nov_20_2017_15_03_27_65ZLOE. All logs
will be available here ====

=== Marvin Init Logging Successful===

==== Marvin Init Successful ====Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_bundle/pydev_monkey.py",
line 99, in patch_args
    args = remove_quotes_from_args(args)
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_bundle/pydev_monkey.py",
line 73, in remove_quotes_from_args
    if len(x) > 1 and x.startswith('"') and x.endswith('"'):
AttributeError: PublicIPAddress instance has no attribute '__len__'
Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_bundle/pydev_monkey.py",
line 99, in patch_args
    args = remove_quotes_from_args(args)
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_bundle/pydev_monkey.py",
line 73, in remove_quotes_from_args
    if len(x) > 1 and x.startswith('"') and x.endswith('"'):
AttributeError: PublicIPAddress instance has no attribute '__len__'
=== TestName: test_01_VPN_service | Status : EXCEPTION ===

Error
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py",
line 329, in run
    testMethod()
  File "/Users/bstoyanov/Documents/sb2/cloudstack/test/integration/component/test_vpn_service.py",
line 207, in test_01_VPN_service
    stdout = subprocess.check_output(cmd)
  File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 567, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 711, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 1343, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings{code}

Meanwhile was able to set it up on my local MacBook, and the scan didn't return any successful
handshakes:

{code}bstoyanov:cloudstack bstoyanov$ sudo ike-scan 10.1.35.64 -s 4534
Starting ike-scan 1.9 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)

Ending ike-scan 1.9: 1 hosts scanned in 2.448 seconds (0.41 hosts/sec).  0 returned handshake;
0 returned notify{code}

This whole test needs revision.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message