{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/PerfKitBenchmarker/issues/120","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/PerfKitBenchmarker/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/PerfKitBenchmarker/issues/120/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/PerfKitBenchmarker/issues/120/events","html_url":"https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/120","id":57766482,"number":120,"title":"Error during benchmark iperf","user":{"login":"ksasi","id":7089391,"avatar_url":"https://avatars.githubusercontent.com/u/7089391?v=3","gravatar_id":"","url":"https://api.github.com/users/ksasi","html_url":"https://github.com/ksasi","followers_url":"https://api.github.com/users/ksasi/followers","following_url":"https://api.github.com/users/ksasi/following{/other_user}","gists_url":"https://api.github.com/users/ksasi/gists{/gist_id}","starred_url":"https://api.github.com/users/ksasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksasi/subscriptions","organizations_url":"https://api.github.com/users/ksasi/orgs","repos_url":"https://api.github.com/users/ksasi/repos","events_url":"https://api.github.com/users/ksasi/events{/privacy}","received_events_url":"https://api.github.com/users/ksasi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T05:29:05Z","updated_at":"2015-02-16T10:14:52Z","closed_at":null,"body":"Receiving the following error while running PerfKitBenchmarker iperf.Please advise on the resolution\r\n\r\nubuntu@ip-172-30-0-134:~/GPerfKitB/PerfKitBenchmarker$ clear\r\nubuntu@ip-172-30-0-134:~/GPerfKitB/PerfKitBenchmarker$ ./pkb.py --cloud=AWS --benchmarks=iperf --machine_type=t1.micro\r\n2015-02-16 05:11:09,800 INFO     Verbose logging to: /tmp/perfkitbenchmarker/run_569a6928/pkb.log\r\n2015-02-16 05:11:09,910 INFO     Preparing benchmark iperf\r\n2015-02-16 05:11:09,911 INFO     Running: aws ec2 create-vpc --region=us-east-1 --cidr-block=10.0.0.0/16\r\n2015-02-16 05:11:10,426 ERROR    Error during benchmark iperf\r\nTraceback (most recent call last):\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line 228, in RunBenchmark\r\n    benchmark_specification.Prepare()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\", line 185, in Prepare\r\n    vm_util.RunThreaded(self.PrepareNetwork, prepare_args)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 249, in RunThreaded\r\n    '\\n'.join([stacktrace for stacktrace in exceptions]))\r\nThreadException: The following exceptions occurred during threaded execution: Traceback (most recent call last):\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 236, in RunThreaded\r\n    thread.join(1000)  # Set timeout so that join is interruptable.\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 179, in join\r\n    raise errors.VmUtil.ThreadException(self.exception)\r\nThreadException: Exception occured in thread 139723530974976:\r\nTraceback (most recent call last):\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 166, in run\r\n    self.RunWithExceptions()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 173, in RunWithExceptions\r\n    super(ThreadWithExceptions, self).run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\", line 202, in PrepareNetwork\r\n    network.Create()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\", line 339, in Create\r\n    self.vpc.Create()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\", line 113, in Create\r\n    self._CreateResource()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 306, in WrappedFunction\r\n    return f(*args, **kwargs)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\", line 87, in _CreateResource\r\n    self._Create()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\", line 104, in _Create\r\n    response = json.loads(stdout)\r\n  File \"/usr/lib/python2.7/json/__init__.py\", line 338, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"/usr/lib/python2.7/json/decoder.py\", line 366, in decode\r\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n  File \"/usr/lib/python2.7/json/decoder.py\", line 384, in raw_decode\r\n    raise ValueError(\"No JSON object could be decoded\")\r\nValueError: No JSON object could be decoded\r\n\r\n\r\n2015-02-16 05:11:10,428 INFO     Running: aws ec2 --region=us-east-1 delete-key-pair --key-name=perfkit-key-569a6928\r\nTraceback (most recent call last):\r\n  File \"./pkb.py\", line 21, in <module>\r\n    sys.exit(Main())\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line 358, in Main\r\n    return RunBenchmarks()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line 324, in RunBenchmarks\r\n    RunBenchmark(benchmark, collector)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line 228, in RunBenchmark\r\n    benchmark_specification.Prepare()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\", line 185, in Prepare\r\n    vm_util.RunThreaded(self.PrepareNetwork, prepare_args)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 249, in RunThreaded\r\n    '\\n'.join([stacktrace for stacktrace in exceptions]))\r\nperfkitbenchmarker.errors.ThreadException: The following exceptions occurred during threaded execution: Traceback (most recent call last):\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 236, in RunThreaded\r\n    thread.join(1000)  # Set timeout so that join is interruptable.\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 179, in join\r\n    raise errors.VmUtil.ThreadException(self.exception)\r\nThreadException: Exception occured in thread 139723530974976:\r\nTraceback (most recent call last):\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 166, in run\r\n    self.RunWithExceptions()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 173, in RunWithExceptions\r\n    super(ThreadWithExceptions, self).run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\", line 202, in PrepareNetwork\r\n    network.Create()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\", line 339, in Create\r\n    self.vpc.Create()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\", line 113, in Create\r\n    self._CreateResource()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\", line 306, in WrappedFunction\r\n    return f(*args, **kwargs)\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\", line 87, in _CreateResource\r\n    self._Create()\r\n  File \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\", line 104, in _Create\r\n    response = json.loads(stdout)\r\n  File \"/usr/lib/python2.7/json/__init__.py\", line 338, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"/usr/lib/python2.7/json/decoder.py\", line 366, in decode\r\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n  File \"/usr/lib/python2.7/json/decoder.py\", line 384, in raw_decode\r\n    raise ValueError(\"No JSON object could be decoded\")\r\nValueError: No JSON object could be decoded\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/PerfKitBenchmarker/issues/comments/74485913","html_url":"https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/120#issuecomment-74485913","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/PerfKitBenchmarker/issues/120","id":74485913,"user":{"login":"voellm","id":5758832,"avatar_url":"https://avatars.githubusercontent.com/u/5758832?v=3","gravatar_id":"","url":"https://api.github.com/users/voellm","html_url":"https://github.com/voellm","followers_url":"https://api.github.com/users/voellm/followers","following_url":"https://api.github.com/users/voellm/following{/other_user}","gists_url":"https://api.github.com/users/voellm/gists{/gist_id}","starred_url":"https://api.github.com/users/voellm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voellm/subscriptions","organizations_url":"https://api.github.com/users/voellm/orgs","repos_url":"https://api.github.com/users/voellm/repos","events_url":"https://api.github.com/users/voellm/events{/privacy}","received_events_url":"https://api.github.com/users/voellm/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T10:14:52Z","updated_at":"2015-02-16T10:14:52Z","body":"One of the things that PKB does is to print each command it is running.  In\nthis case it looks like an aws command is failing.\n\nWhat do you get when you run this by its self?  Its the first failing\ncommand I see in the log.\n\naws ec2 create-vpc --region=us-east-1 --cidr-block=10.0.0.0/16\n\nAlso what version of the aws command line tool are you running?\nOn Feb 16, 2015 12:29 AM, \"Sasikanth\" <notifications@github.com> wrote:\n\n> Receiving the following error while running PerfKitBenchmarker\n> iperf.Please advise on the resolution\n>\n> ubuntu@ip-172-30-0-134:~/GPerfKitB/PerfKitBenchmarker$ clear\n> ubuntu@ip-172-30-0-134:~/GPerfKitB/PerfKitBenchmarker$ ./pkb.py\n> --cloud=AWS --benchmarks=iperf --machine_type=t1.micro\n> 2015-02-16 05:11:09,800 INFO Verbose logging to:\n> /tmp/perfkitbenchmarker/run_569a6928/pkb.log\n> 2015-02-16 05:11:09,910 INFO Preparing benchmark iperf\n> 2015-02-16 05:11:09,911 INFO Running: aws ec2 create-vpc\n> --region=us-east-1 --cidr-block=10.0.0.0/16\n> 2015-02-16 05:11:10,426 ERROR Error during benchmark iperf\n> Traceback (most recent call last):\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line\n> 228, in RunBenchmark\n> benchmark_specification.Prepare()\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\",\n> line 185, in Prepare\n> vm_util.RunThreaded(self.PrepareNetwork, prepare_args)\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 249, in RunThreaded\n> '\\n'.join([stacktrace for stacktrace in exceptions]))\n> ThreadException: The following exceptions occurred during threaded\n> execution: Traceback (most recent call last):\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 236, in RunThreaded\n> thread.join(1000) # Set timeout so that join is interruptable.\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 179, in join\n> raise errors.VmUtil.ThreadException(self.exception)\n> ThreadException: Exception occured in thread 139723530974976:\n> Traceback (most recent call last):\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 166, in run\n> self.RunWithExceptions()\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 173, in RunWithExceptions\n> super(ThreadWithExceptions, self).run()\n> File \"/usr/lib/python2.7/threading.py\", line 763, in run\n> self.\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n> *target(self.__args, *self.__kwargs) File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\",\n> line 202, in PrepareNetwork network.Create() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\",\n> line 339, in Create self.vpc.Create() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\",\n> line 113, in Create self._CreateResource() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 306, in WrappedFunction return f(args, *kwargs) File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\",\n> line 87, in _CreateResource self._Create() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\",\n> line 104, in _Create response = json.loads(stdout) File\n> \"/usr/lib/python2.7/json/__init*.py\", line 338, in loads\n> return _default_decoder.decode(s)\n> File \"/usr/lib/python2.7/json/decoder.py\", line 366, in decode\n> obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n> File \"/usr/lib/python2.7/json/decoder.py\", line 384, in raw_decode\n> raise ValueError(\"No JSON object could be decoded\")\n> ValueError: No JSON object could be decoded\n>\n> 2015-02-16 05:11:10,428 INFO Running: aws ec2 --region=us-east-1\n> delete-key-pair --key-name=perfkit-key-569a6928\n> Traceback (most recent call last):\n> File \"./pkb.py\", line 21, in\n> sys.exit(Main())\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line\n> 358, in Main\n> return RunBenchmarks()\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line\n> 324, in RunBenchmarks\n> RunBenchmark(benchmark, collector)\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/pkb.py\", line\n> 228, in RunBenchmark\n> benchmark_specification.Prepare()\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\",\n> line 185, in Prepare\n> vm_util.RunThreaded(self.PrepareNetwork, prepare_args)\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 249, in RunThreaded\n> '\\n'.join([stacktrace for stacktrace in exceptions]))\n> perfkitbenchmarker.errors.ThreadException: The following exceptions\n> occurred during threaded execution: Traceback (most recent call last):\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 236, in RunThreaded\n> thread.join(1000) # Set timeout so that join is interruptable.\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 179, in join\n> raise errors.VmUtil.ThreadException(self.exception)\n> ThreadException: Exception occured in thread 139723530974976:\n> Traceback (most recent call last):\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 166, in run\n> self.RunWithExceptions()\n> File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 173, in RunWithExceptions\n> super(ThreadWithExceptions, self).run()\n> File \"/usr/lib/python2.7/threading.py\", line 763, in run\n> self.\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n>\n> *target(self.__args, *self.__kwargs) File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/benchmark_spec.py\",\n> line 202, in PrepareNetwork network.Create() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\",\n> line 339, in Create self.vpc.Create() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\",\n> line 113, in Create self._CreateResource() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/vm_util.py\",\n> line 306, in WrappedFunction return f(args, *kwargs) File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/resource.py\",\n> line 87, in _CreateResource self._Create() File\n> \"/home/ubuntu/GPerfKitB/PerfKitBenchmarker/perfkitbenchmarker/aws/aws_network.py\",\n> line 104, in _Create response = json.loads(stdout) File\n> \"/usr/lib/python2.7/json/__init*.py\", line 338, in loads\n> return _default_decoder.decode(s)\n> File \"/usr/lib/python2.7/json/decoder.py\", line 366, in decode\n> obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n> File \"/usr/lib/python2.7/json/decoder.py\", line 384, in raw_decode\n> raise ValueError(\"No JSON object could be decoded\")\n> ValueError: No JSON object could be decoded\n>\n> --\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/120>.\n>\n"}}