Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CF757200C47 for ; Thu, 30 Mar 2017 09:39:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE1C9160B9E; Thu, 30 Mar 2017 07:39:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 29F31160B78 for ; Thu, 30 Mar 2017 09:39:45 +0200 (CEST) Received: (qmail 7183 invoked by uid 500); 30 Mar 2017 07:39:44 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 7166 invoked by uid 500); 30 Mar 2017 07:39:44 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 7163 invoked by uid 99); 30 Mar 2017 07:39:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2017 07:39:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A1DAEC0E36 for ; Thu, 30 Mar 2017 07:39:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6njxpnK1mnSZ for ; Thu, 30 Mar 2017 07:39:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8A94B5FC4D for ; Thu, 30 Mar 2017 07:39:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 26D4AE0534 for ; Thu, 30 Mar 2017 07:39:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A4C302416C for ; Thu, 30 Mar 2017 07:39:41 +0000 (UTC) Date: Thu, 30 Mar 2017 07:39:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9854) Fix test_primary_storage test failure due to live migration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Mar 2017 07:39:46 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9854?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15948574#comment-15948574 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9854: -------------------------------------------- Github user blueorangutan commented on the issue: https://github.com/apache/cloudstack/pull/2021 =20 Packaging result: =E2=9C=94centos6 =E2=9C=94centos7 =E2=9C=94debian. JI= D-604 > Fix test_primary_storage test failure due to live migration > ----------------------------------------------------------- > > Key: CLOUDSTACK-9854 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-985= 4 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Test > Reporter: Nicolas Vazquez > Assignee: Nicolas Vazquez > > Fix for test_primary_storage integration tests on simulator. > When finding storage pool migration options for volume on running vm, API= returns None as hypervisor doesn't support live migration. > {noformat} > 2017-03-28 06:07:55,958 - DEBUG - =3D=3D=3D=3D=3D=3D=3D=3DSending GET Cmd= : findStoragePoolsForMigration=3D=3D=3D=3D=3D=3D=3D > 2017-03-28 06:07:55,977 - DEBUG - Response : None > 2017-03-28 06:07:55,983 - CRITICAL - EXCEPTION: test_03_migration_options= _storage_tags: ['Traceback (most recent call last):\n', ' File "/opt/pytho= n/2.7.12/lib/python2.7/unittest/case.py", line 329, in run\n testMethod(= )\n', ' File "/home/travis/.local/lib/python2.7/site-packages/marvin/lib/d= ecoratorGenerators.py", line 30, in test_wrapper\n return test(self, *ar= gs, **kwargs)\n', ' File "/home/travis/build/apache/cloudstack/test/integr= ation/smoke/test_primary_storage.py", line 547, in test_03_migration_option= s_storage_tags\n pools_suitable =3D filter(lambda p : p.suitableformigra= tion, pools_response)\n', "TypeError: 'NoneType' object is not iterable\n"] > {noformat} > So we simply stop vm before sending findStoragePoolsForMigration command -- This message was sent by Atlassian JIRA (v6.3.15#6346)