From patchwork Fri Sep 18 16:20:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 1367076 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ghaU170U; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BtKQN4yYgz9sRR for ; Sat, 19 Sep 2020 02:43:08 +1000 (AEST) Received: from localhost ([::1]:38126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJJTW-0008FP-GY for incoming@patchwork.ozlabs.org; Fri, 18 Sep 2020 12:43:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJJ89-0005OG-Mi for qemu-devel@nongnu.org; Fri, 18 Sep 2020 12:21:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:27109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJJ83-0005m2-Ot for qemu-devel@nongnu.org; Fri, 18 Sep 2020 12:21:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600446040; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i2TiZHENdC+GX0K3cObev7mdt5+URJTuRvO6etG6pyY=; b=ghaU170Uw6p+2d7e5dxs16eaAv2rBUIUEQzRDZsW8VMRssGTv44ET6+NXKnbYamaVdn1eS Vl/3MjZfcNea92Wrv8UQmQh0hHJ5RmakBRl25Eo4YBfTB/CHBM0g1AQ/beWPnad3tlZQe4 mCkka3J050HJC4goBaVIfXlvwlk2DfE= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-36-gLdt7khWNymnJM5iwNrzfQ-1; Fri, 18 Sep 2020 12:20:36 -0400 X-MC-Unique: gLdt7khWNymnJM5iwNrzfQ-1 Received: by mail-wm1-f70.google.com with SMTP id y18so1625125wma.4 for ; Fri, 18 Sep 2020 09:20:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=i2TiZHENdC+GX0K3cObev7mdt5+URJTuRvO6etG6pyY=; b=n+a2mtOF7cSeRX/CReSvdrCZsasPp2D6NIDW4i327IWmnKQ1cpoa96KqVRQgz9kv2M pit7uc2k2ILTBNwTui6STinDT7tFsTT9ieypGJZbCJuKcrknD4VOPVk7jURNJtp0Es6j U7MXgxzp4eo77yxyokvQz0gSOQXZ3/SSNnacgLtcDfbh32sPkg0ba7aDifyp1I5LktE/ oleFjwUXWg938iIgUdDx2cCCQLfwkolJgvy4qa+iaA74behrMLp8T6MLkg07u4G4EIn+ /qZ3mSBCVWpgOFZDgn+1Y/CuknyRZ9yVOwiaLn4BJ83D1usZtKUF57iX2A3aJLjp5Auz sVkQ== X-Gm-Message-State: AOAM532SsyhL8ea9Op+B9/HBBMtuzTa1leWmeQiFNilZ9ZVUDmxgJRFF k28WcMs47K0VHp4vTK+yC5g7pj5yhCZT1g/FYqH+c4Nbv9gA0XnZe3U00F6qj2oNZSssnfe9orJ FERzeDVpU6KB3Lx0= X-Received: by 2002:adf:f082:: with SMTP id n2mr38107375wro.35.1600446033579; Fri, 18 Sep 2020 09:20:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydDGfWgXaZOGcplo5mq0ekzKO+rpCtFqJJhffC1f+xqP7yF7KGkDUHJ88vT3inQBcAnbWZBg== X-Received: by 2002:adf:f082:: with SMTP id n2mr38107357wro.35.1600446033426; Fri, 18 Sep 2020 09:20:33 -0700 (PDT) Received: from redhat.com (bzq-109-65-116-225.red.bezeqint.net. [109.65.116.225]) by smtp.gmail.com with ESMTPSA id m10sm5575903wmi.9.2020.09.18.09.20.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 09:20:32 -0700 (PDT) Date: Fri, 18 Sep 2020 12:20:31 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v2 12/15] tests/qtest/vhost-user-test: enable the reconnect tests Message-ID: <20200918161836.318893-13-mst@redhat.com> References: <20200918161836.318893-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200918161836.318893-1-mst@redhat.com> X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Received-SPF: pass client-ip=63.128.21.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 00:20:40 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.999, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Dima Stepanov , Paolo Bonzini Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Dima Stepanov For now a QTEST_VHOST_USER_FIXME environment variable is used to separate reconnect tests for the vhost-user-net device. Looks like the reconnect functionality is pretty stable, so this separation is deprecated. Remove it and enable these tests for the default run. Signed-off-by: Dima Stepanov Message-Id: <9fee5b17c7940f9126ba7cc014b09106c98118db.1599813294.git.dimastep@yandex-team.ru> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/qtest/vhost-user-test.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/tests/qtest/vhost-user-test.c b/tests/qtest/vhost-user-test.c index 4b715d385e..4b9631249d 100644 --- a/tests/qtest/vhost-user-test.c +++ b/tests/qtest/vhost-user-test.c @@ -1140,20 +1140,17 @@ static void register_vhost_user_test(void) "virtio-net", test_migrate, &opts); - /* keeps failing on build-system since Aug 15 2017 */ - if (getenv("QTEST_VHOST_USER_FIXME")) { - opts.before = vhost_user_test_setup_reconnect; - qos_add_test("vhost-user/reconnect", "virtio-net", - test_reconnect, &opts); + opts.before = vhost_user_test_setup_reconnect; + qos_add_test("vhost-user/reconnect", "virtio-net", + test_reconnect, &opts); - opts.before = vhost_user_test_setup_connect_fail; - qos_add_test("vhost-user/connect-fail", "virtio-net", - test_vhost_user_started, &opts); + opts.before = vhost_user_test_setup_connect_fail; + qos_add_test("vhost-user/connect-fail", "virtio-net", + test_vhost_user_started, &opts); - opts.before = vhost_user_test_setup_flags_mismatch; - qos_add_test("vhost-user/flags-mismatch", "virtio-net", - test_vhost_user_started, &opts); - } + opts.before = vhost_user_test_setup_flags_mismatch; + qos_add_test("vhost-user/flags-mismatch", "virtio-net", + test_vhost_user_started, &opts); opts.before = vhost_user_test_setup_multiqueue; opts.edge.extra_device_opts = "mq=on";