Cloudy
Administrator
Administrator
  • UID63
  • Fans4
  • Follows1
  • Posts58
Reads:10397Replies:3

[Share]How to Test Cloud Server-part 2

Created#
More Posted time:Dec 11, 2015 16:50 PM
How to Test Cloud Server-Part 2

by Mr. Tian Jiu, from AliCloud


view part 1 of this article, pls click: How to Test Cloud Server-Part I

5  5-Minute Course for Perfkit for AliCloud


5.1  Environment Preparation


5.1.1   Preparing an AliCloud Account:https://www.alicloud.com/

5.1.2   Installing Python 2.7 and pip on the Testing Server
a)  Installing Python 2.7 and pip
If you are running on Windows, get the latest version of Python 2.7 here. This should have pip bundled with it. Make sure your PATH environment variable is set so that you can use both python and pip on the command line (you can have the installer do it for you if you select the correct option).
Most Linux distributions and recent Mac OS X version already have Python 2.7 installed. If Python is not installed, you can likely install
it using your distribution's package manager, or see the
Python Download page. If you need to install pip, see these instructions.


b)   Installing python development tools:
   Debian or Ubuntu:
         $ sudo apt-get install -y python-dev
    CentOS:
          $ sudo yum install python-devel


5.1.3   Installing aliyuncli Tools and ECS python sdk
    Install aliyuncli:
          $ sudo pip install aliyuncli
    Install python ecs SDK:
          $ sudo pip install aliyun-python-sdk-ecs
    Check whether the tool is successfully installed:
          $ aliyuncli ecs help
    If there is a usage prompt but no esc help, you need to run:
         $sudo cp -r/usr/local/lib/python2.7/dist-packages/aliyun*/usr/lib/python2.7/dist-packages/

5.1.4   Configuring Aliyuncli Authentication
You can create a new Access Key or use an existing Access Key for authentication of aliyuncli.  The detailed steps are as follows:

>  Sign in with your AliCloud account.
>  Click "AccessKeys" in the upper right corner.
>  If you haven't created any Accesskeys, please click "Create Access Key", copy "Access Key ID" and "Access Key Secret" and store them at a safe place. If you already have AccessKeys, just copy it.
>  Use the Access Key ID and Access Key Secret for configuration:
     $ aliyuncli configure

5.1.5   Downloading PerfkitBenchmarker Source Code
Github address:https://github.com/GoogleCloudPlatform/PerfKitBenchmarker
$ git clone git@github.com:GoogleCloudPlatform/PerfKitBenchmarker.git

5.2  Starting the Testing
> First, you need to know the testing environment. Please visit the official AliCloud Website, and click [Management Console]->[ECS]->[Create Instance]->[Pay As You Go], as shown in the following figure:



To query the region, run the command: aliyuncli ecs DescribeRegions. Jot down your [RegionId].
To query the zone, run the command:aliyuncli ecs DescribeZones --RegionId [RegionId]
Jot down your ZoneId.


>  For example, to test the network by using ping and mesh_network, and test I/O performance of SSD cloud disk by using fio, run the following command:
$ ./pkb.py
--cloud=AliCloud --benchmarks=ping,mesh_network,fio --zone=us-west-1b
--ali_user_name=ubuntu --machine_type=ecs.s2.large --ali_io_optimized=optimized
--ali_system_disk_type=cloud_efficiency --scratch_disk_type=remote_ssd
--ali_use_vpc=True
or:
$ ./pkb.py
--cloud=AliCloud --benchmarks=ping,mesh_network,fio --zone=us-west-1b
--ali_io_optimized=optimized --ali_system_disk_type=cloud_efficiency
--scratch_disk_type=remote_ssd

> To get help, run the following command:
$ ./pkb.py --help

Important Tips:

> ali_user_name (default ubuntu)
     The root account is not recommended as some benchmark tools require additional settings for the root account.
> ali_system_disk_type:
    General cloud disk (default):cloud
    Efficient cloud disk:cloud_efficiency
    SSD cloud disk:cloud_ssd
    Local SSD:ephemeral_ssd
>  scratch_disk_type:
    General cloud disk (default):standard
    SSD cloud disk:remote_ssd
    Efficient cloud disk:piops
    local SSD:  ephemeral_ssd
5.3   FAQs
In case of any problem, you can check ERROR information in the log. The following lists some common problems:

5.3.1   Problems related to aliyuncli
For details, go to Documentation Center aliyuncli.

5.3.2   Failed to apply for an instance
Cause 1: Incorrect parameter setting:
The console will display the help information
 
Cause 2: Instances are insufficient, purchase in the region is limited, or the inventory is not open to api.
STDOUT: {
    "Code":
"OperationDenied",
    "Message": "The specified
region is in resource control, please try later.",
    "HostId":
"ecs-cn-hangzhou.aliyuncs.com",
    "RequestId":
"0D939452-B233-40E9-A0C2-6BBC80C0A967"
}
 
Cause 3: The instance cannot be created:
STDOUT: {
    "Code":
"OperationDenied",
    "Message": "The resource is
out of usage.",
    "HostId": "ecs-cn-hangzhou.aliyuncs.com",
    "RequestId":
"7A64ABE9-4CC8-4185-A4C2-A13D800D1052"
}

5.3.3   Failed to apply for a VPC
Cause 1: Insufficient vpc quota
STDOUT: {
    "Code":
"QuotaExceeded.Vpc",
    "Message": "VPC quota
exceeded.",
    "HostId":
"ecs-cn-hangzhou.aliyuncs.com",
    "RequestId":
"3C9C1D5C-342C-49E6-8323-A4A6B4DF3981"
}
 
Please ensure that there is at least one available VPC quota.
 
Cause 2: VPCs are not supported in the zone.
ERROR   Got exception running Create: 'VpcId'
Set --ali_use_vpc=False

5.3.4   Insufficient account balance
Please chec your account balance
[Cloudy edited the post at Dec 15, 2015 14:28 PM]

Gil
Gil
Intern
Intern
  • UID359
  • Fans0
  • Follows0
  • Posts2
1st Reply#
Posted time:Apr 29, 2016 2:54 AM
I was trying to run the benchmark test you suggested using the following command:
./pkb.py
--cloud=AliCloud --benchmarks=ping,mesh_network,fio --zone=us-west-1b
--ali_io_optimized=optimized --ali_system_disk_type=cloud_efficiency
--scratch_disk_type=remote_ssd

But I got this exception:
iyuncli ecs CreateVSwitch --VSwitchName perfkit-7fc37be9-5465fc991592 --ZoneId us-west-1b --CidrBlock 10.0.0.0/24 --VpcId vpc-u1xintxwo
2016-04-28 11:52:26,301 7fc37be9 Thread-1 mesh_network(1/3) ERROR    Got exception running Create: 'VSwitchId'

Gil
Gil
Intern
Intern
  • UID359
  • Fans0
  • Follows0
  • Posts2
2nd Reply#
Posted time:May 1, 2016 0:07 AM
No worries.  I managed to tweak a few things and it ran perfectly now.

PatrickC
Intern
Intern
  • UID3016
  • Fans0
  • Follows0
  • Posts2
3rd Reply#
Posted time:Jul 14, 2017 10:50 AM
Hi Folks,


I am the beginner of alicloud and I face the runtime issue in pertkit, it says keep "waiting", could you please advise? thanks.




Example of run the
perfkit on alicloud

http://googlecloudplatform.github.io/PerfKitBenchmarker/getting-started



[root@iZj6c2vrk5d0vpqw2y3i9vZ
perfbm]# ./pkb.py --Cloud=AliCloud --machine_type=                                    ecs.n1.tiny
--benchmarks=iperf

ERROR    Unknown command line flag 'Cloud'. Did you
mean: cloud, cloudsuite_data                                  
_serving_rec_count, cloudsuite_data_serving_op_count, cloudsuite_web_search_serv                                  
er_heap_size, cloudsuite_in_memory_analytics_ratings_file,
cloudsuite_data_cachi                                  
ng_memcached_flags, cloudsuite_web_search_scale,
cloudsuite_web_serving_load_sca          
                        le,
cloudsuite_web_search_steady_state, cloudsuite_web_search_ramp_up,
cloudsuit                                  
e_in_memory_analytics_dataset, cloudsuite_data_caching_rps,
cloudsuite_web_servi                                    ng_pm_max_children,
cloudsuite_web_search_ramp_down, cloud_storage_bucket, cloud                                  
suite_graph_analytics_worker_mem?

INFO     For usage instructions, use
--helpmatch={module_name}

INFO     For example, ./pkb.py --helpmatch=benchmarks.fio
[root@iZj6c2vrk5d0vpqw2y3i9vZ
perfbm]# ./pkb.py --cloud=AliCloud --machine_type=                                    ecs.n1.tiny
--benchmarks=iperf

2017-07-14
09:44:05,812 eddf8515 MainThread INFO    
Verbose logging to: /tmp/pe                                  
rfkitbenchmarker/runs/eddf8515/pkb.log

2017-07-14
09:44:05,812 eddf8515 MainThread INFO    
PerfKitBenchmarker version:                                     unknown

2017-07-14
09:44:05,813 eddf8515 MainThread INFO    
Flag values:

--machine_type=ecs.n1.tiny
--cloud=AliCloud
--benchmarks=iperf
2017-07-14
09:44:06,119 eddf8515 MainThread WARNING
The key "flags" was not in                                     the default config, but was in
user overrides. This may indicate a typo.

2017-07-14
09:44:06,279 eddf8515 MainThread iperf(1/1) INFO     Provisioning res                                    ources for
benchmark iperf

2017-07-14
09:44:06,283 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli                                     ecs
CreateVpc --VpcName perfkit-eddf8515-050855693f6c --RegionId us-west-1 --Ci                                    drBlock
10.0.0.0/16

2017-07-14
09:44:07,036 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli                                     ecs
DescribeVpcs --RegionId us-west-1 --VpcId vpc-rj9scatsipcmdhkpj3vl1

2017-07-14
09:44:07,537 eddf8515 Thread-2 iperf(1/1) INFO     Waits until the st                                    atus of VPC is in
status_list: ['Available']

2017-07-14
09:44:07,538 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli                                     ecs
DescribeVpcs --RegionId us-west-1 --VpcId vpc-rj9scatsipcmdhkpj3vl1

2017-07-14
09:44:10,723 eddf8515 Thread-2 iperf(1/1) INFO     Waits until the status of VPC is in
status_list: ['Av ailable']

2017-07-14
09:44:10,724 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli ecs DescribeVpcs
--RegionId us-wes t-1 --VpcId vpc-rj9scatsipcmdhkpj3vl1

2017-07-14
09:44:11,215 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli ecs CreateVSwitch
--VSwitchName pe rfkit-eddf8515-050855693f6c --ZoneId us-west-1a --CidrBlock
10.0.0.0/24 --VpcId vpc-rj9scatsipcmdhkpj3vl1

2017-07-14
09:44:11,841 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli ecs DescribeVSwitches
--RegionId us-west-1 --VpcId vpc-rj9scatsipcmdhkpj3vl1 --ZoneId us-west-1a

2017-07-14
09:44:12,330 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli ecs CreateSecurityGroup
--SecurityGroupName perfkit-eddf8515-050855693f6c --RegionId us-west-1 --VpcId
vpc-rj9scatsipcmdhkpj3vl1

2017-07-14
09:44:13,112 eddf8515 Thread-2 iperf(1/1) INFO     Running: aliyuncli ecs
DescribeSecurityGroupAttribute --RegionId us-west-1 --SecurityGroupId
sg-rj91rhzhed2c1q2ds5vt

2017-07-14
09:44:13,586 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs CreateInstance
--InstanceName perfkit-eddf8515 --RegionId us-west-1 --ZoneId us-west-1a
--ImageId ubuntu1404_64_20G_aliaegis_20150325.vhd --InstanceType ecs.n1.tiny
--SecurityGroupId sg-rj91rhzhed2c1q2ds5vt --Password xYsVvPdigy9201346578
--VpcId vpc-rj9scatsipcmdhkpj3vl1 --VSwitchId vsw-rj9q6cdh2psirx9qtr74w

2017-07-14
09:44:13,591 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs CreateInstance
--InstanceName perfkit-eddf8515 --RegionId us-west-1 --ZoneId us-west-1a
--ImageId ubuntu1404_64_20G_aliaegis_20150325.vhd --InstanceType ecs.n1.tiny
--SecurityGroupId sg-rj91rhzhed2c1q2ds5vt --Password ajVdeLRKOt5937648102 --VpcId
vpc-rj9scatsipcmdhkpj3vl1 --VSwitchId vsw-rj9q6cdh2psirx9qtr74w

2017-07-14
09:44:19,321 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs AllocateEipAddress
--RegionId us-west-1 --InternetChargeType PayByTraffic

2017-07-14
09:44:19,792 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs AllocateEipAddress
--RegionId us-west-1 --InternetChargeType PayByTraffic

2017-07-14
09:44:21,586 eddf8515 Thread-12 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Stopped', 'Running']

2017-07-14
09:44:21,587 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:21,733 eddf8515 Thread-11 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Stopped', 'Running']

2017-07-14
09:44:21,733 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:44:22,931 eddf8515 Thread-12 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Stopped', 'Running']

2017-07-14
09:44:22,932 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:23,041 eddf8515 Thread-11 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Stopped', 'Running']

2017-07-14
09:44:23,042 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:44:24,185 eddf8515 Thread-12 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Stopped', 'Running']

2017-07-14
09:44:24,186 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:24,605 eddf8515 Thread-11 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Stopped', 'Running']

2017-07-14
09:44:24,606 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:44:24,710 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs AssociateEipAddress
--RegionId us-west-1 --AllocationId eip-rj95zdng78k172ewyo0u5 --InstanceId
i-rj924c5ufaooo8xqs92k --InstanceType EcsInstance

2017-07-14
09:44:25,238 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs AssociateEipAddress
--RegionId us-west-1 --AllocationId eip-rj9so9oilhilokzkgdxv3 --InstanceId
i-rj920vl8jnpguhlgovll --InstanceType EcsInstance

2017-07-14
09:44:25,492 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs StartInstance
--RegionId us-west-1 --InstanceId i-rj924c5ufaooo8xqs92k

2017-07-14
09:44:25,899 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs StartInstance
--RegionId us-west-1 --InstanceId i-rj920vl8jnpguhlgovll

2017-07-14
09:44:26,236 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:26,555 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:44:26,800 eddf8515 Thread-12 iperf(1/1) INFO     Getting instance i-rj924c5ufaooo8xqs92k
public IP. This will fail until a public IP is available, but will be retried.

2017-07-14
09:44:26,800 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:27,129 eddf8515 Thread-11 iperf(1/1) INFO     Getting instance i-rj920vl8jnpguhlgovll
public IP. This will fail until a public IP is available, but will be retried.

2017-07-14
09:44:27,129 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:44:27,366 eddf8515 Thread-12 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Running']

2017-07-14
09:44:27,366 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:27,691 eddf8515 Thread-11 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Running']

2017-07-14
09:44:27,691 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:44:28,701 eddf8515 Thread-12 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Running']

2017-07-14
09:44:28,701 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj924c5ufaooo8xqs92k"]

2017-07-14
09:44:28,858 eddf8515 Thread-11 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Running']

......
2017-07-14
09:45:15,386 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs
AuthorizeSecurityGroup --IpProtocol tcp --PortRange 22/22 --SourceCidrIp
0.0.0.0/0 --RegionId us-west-1 --SecurityGroupId sg-rj91rhzhed2c1q2ds5vt
--NicType intranet

2017-07-14
09:45:15,752 eddf8515 Thread-11 iperf(1/1) INFO     Waits until the instance's stastus is one
of statuses: ['Running']

2017-07-14
09:45:15,753 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs DescribeInstances
--RegionId us-west-1 --InstanceIds ["i-rj920vl8jnpguhlgovll"]

2017-07-14
09:45:16,453 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs
AuthorizeSecurityGroup --IpProtocol udp --PortRange 22/22 --SourceCidrIp
0.0.0.0/0 --RegionId us-west-1 --SecurityGroupId sg-rj91rhzhed2c1q2ds5vt
--NicType intranet

2017-07-14
09:45:48,769 eddf8515 Thread-106 INFO    
Connected (version 2.0, client OpenSSH_6.6.1p1)

2017-07-14
09:45:48,795 eddf8515 Thread-107 INFO    
Connected (version 2.0, client OpenSSH_6.6.1p1)

2017-07-14
09:45:49,645 eddf8515 Thread-106 INFO    
Authentication (password) successful!

2017-07-14
09:45:49,730 eddf8515 Thread-107 INFO    
Authentication (password) successful!

2017-07-14
09:45:50,086 eddf8515 Thread-11 iperf(1/1) INFO     Running: aliyuncli ecs AddTags --RegionId
us-west-1 --ResourceId i-rj920vl8jnpguhlgovll --ResourceType instance --Tag1Key
owner --Tag1Value root --Tag2Key perfkitbenchmarker-run --Tag2Value eddf8515

2017-07-14
09:45:50,266 eddf8515 Thread-12 iperf(1/1) INFO     Running: aliyuncli ecs AddTags --RegionId
us-west-1 --ResourceId i-rj924c5ufaooo8xqs92k --ResourceType instance --Tag1Key
owner --Tag1Value root --Tag2Key perfkitbenchmarker-run --Tag2Value eddf8515

2017-07-14
09:45:50,579 eddf8515 Thread-11 iperf(1/1) INFO     VM: 47.88.49.199

2017-07-14
09:45:50,579 eddf8515 Thread-11 iperf(1/1) INFO     Waiting for boot completion.

2017-07-14
09:45:50,598 eddf8515 MainThread iperf(1/1) ERROR    Exception occurred while calling
PrepareVm(47.88.49.199):

Traceback
(most recent call last):

 File
"/perfbm/perfkitbenchmarker/background_tasks.py", line 235, in Run

   self.return_value = self.target(*self.args,
**self.kwargs)

 File
"/perfbm/perfkitbenchmarker/benchmark_spec.py", line 427, in
PrepareVm

   vm.AllowRemoteAccessPorts()
 File
"/perfbm/perfkitbenchmarker/virtual_machine.py", line 298, in
AllowRemoteAccessPorts

   self.AllowPort(port)
 File
"/perfbm/perfkitbenchmarker/virtual_machine.py", line 293, in
AllowPort

   self.firewall.AllowPort(self, start_port,
end_port)

TypeError:
AllowPort() takes exactly 3 arguments (4 given)


2017-07-14
09:45:50,702 eddf8515 Thread-12 iperf(1/1) INFO     VM: 47.88.58.172

2017-07-14
09:45:50,702 eddf8515 Thread-12 iperf(1/1) INFO     Waiting for boot completion.

2017-07-14
09:45:50,712 eddf8515 MainThread iperf(1/1) ERROR    Exception occurred while calling
PrepareVm(47.88.58.172):

Traceback
(most recent call last):

 File
"/perfbm/perfkitbenchmarker/background_tasks.py", line 235, in Run

   self.return_value = self.target(*self.args,
**self.kwargs)

 File
"/perfbm/perfkitbenchmarker/benchmark_spec.py", line 427, in PrepareVm

   vm.AllowRemoteAccessPorts()
 File
"/perfbm/perfkitbenchmarker/virtual_machine.py", line 298, in
AllowRemoteAccessPorts

   self.AllowPort(port)
 File
"/perfbm/perfkitbenchmarker/virtual_machine.py", line 293, in
AllowPort

   self.firewall.AllowPort(self, start_port,
end_port)

TypeError:
AllowPort() takes exactly 3 arguments (4 given)


2017-07-14
09:45:50,717 eddf8515 MainThread iperf(1/1) ERROR    Error during benchmark iperf

Traceback
(most recent call last):

 File "/perfbm/perfkitbenchmarker/pkb.py",
line 548, in RunBenchmark

   DoProvisionPhase(spec, detailed_timer)
 File
"/perfbm/perfkitbenchmarker/pkb.py", line 427, in DoProvisionPhase

   spec.Provision()
 File
"/perfbm/perfkitbenchmarker/benchmark_spec.py", line 329, in
Provision

   vm_util.RunThreaded(self.PrepareVm,
self.vms)

 File
"/perfbm/perfkitbenchmarker/background_tasks.py", line 621, in
RunThreaded

   max_concurrency=max_concurrent_threads)
 File
"/perfbm/perfkitbenchmarker/background_tasks.py", line 565, in
RunParallelThreads

   errors.VmUtil.ThreadException)
 File
"/perfbm/perfkitbenchmarker/background_tasks.py", line 540, in
_RunParallelTasks

   '{0}{1}'.format(os.linesep,
os.linesep.join(error_strings)))

ThreadException:
The following exceptions occurred during parallel execution:

Exception
occurred while calling PrepareVm(47.88.49.199):

Traceback
(most recent call last):

 File
"/perfbm/perfkitbenchmarker/background_tasks.py", line 235, in Run

   self.return_value = self.target(*self.args,
**self.kwargs)

 File "/perfbm/perfkitbenchmarker/benchmark_spec.py",
line 427, in PrepareVm

   vm.AllowRemoteAccessPorts()
 File
"/perfbm/perfkitbenchmarker/virtual_machine.py", line 298, in
AllowRemoteAccessPorts

   self.AllowPort(port)
 File "/perfbm/perfkitbenchmarker/virtual_machine.py",
line 293, in AllowPort

   self.firewall.AllowPort(self, start_port,
end_port)

TypeError:
AllowPort() takes exactly 3 arguments (4 given)


20
STDERR:
2017-07-14
09:46:59,554 eddf8515 MainThread iperf(1/1) ERROR    Got exception running IssueRetryableCommand:
Command returned a non-zero exit code.
Guest