From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8D627C3DA78 for ; Tue, 17 Jan 2023 10:54:42 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHjbc-0006jz-Qi; Tue, 17 Jan 2023 05:54:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHjbY-0006jk-9Q for qemu-devel@nongnu.org; Tue, 17 Jan 2023 05:54:12 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHjbW-0003c2-LX for qemu-devel@nongnu.org; Tue, 17 Jan 2023 05:54:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673952849; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rzregTqRJIORfQfsR4ftut/aHPgfoQZpQpXLO+BwYnw=; b=bvph1tdJKJaWGJOT9VzKefEKbP+CjqCsFjYThcvlwE8ybOwO7bD6PHnPHtP7fFOUPyDXtf Hx7MFfUmqTvOinfwUyzNENniKHTMRqeoDAkvGy+JvO8AmDsxi1M475Qaxk4DwC0oLiyukt Z729r+avEDzJo97IhruVYNiWgmoV+Jw= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-3-se1IPkuZOu6Wh1qdPDB1xA-1; Tue, 17 Jan 2023 05:54:08 -0500 X-MC-Unique: se1IPkuZOu6Wh1qdPDB1xA-1 Received: by mail-qv1-f71.google.com with SMTP id lv8-20020a056214578800b0053477624294so5941745qvb.22 for ; Tue, 17 Jan 2023 02:54:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rzregTqRJIORfQfsR4ftut/aHPgfoQZpQpXLO+BwYnw=; b=Cp1TSCC+9WQNvmzAdZNaAB/vIdJgAwh9I4ydaDnhcuoSieXbPxFNRMclCkvrNUwwpB got4SKldU5eRcbXQBrWJuD2x2dD6SDSM5eRYHs9+YrAglh5z7QJjsdootXDPsbBU4mG3 CaSicPNXz75hrLzzIw2fQOpYp/6Wf4aoEDGoF87J9I/M7PWNMgFrEnjiohoPCkzOJkF2 SwoeX3gZ9Ur3GgGr1qpusMKZtbXNL8+KTSfoxHitSKx9pVweMjLasFfFRLRMdAoS7smx ISQ6E9+qXP893JJII/oz5iT6Zk8lAenDYzs5i8FlXHdXhVTnOHHIXUWfwfTExSVsj7h9 42mg== X-Gm-Message-State: AFqh2krSBIlVtpI4/9YgUNoJrHad9LtH2SN8qkLqW94bBgCbq/JP3WCy x4tw3Ac15m6pptMxAyt7R+P22sC3c8n+Q20CdvSgfuOm/8KhCIu3esuYJ44IKtjq8KYeRn7kdAG G/6MLPpK6CYQGaUU= X-Received: by 2002:ac8:488e:0:b0:3ab:b00b:8a17 with SMTP id i14-20020ac8488e000000b003abb00b8a17mr2792922qtq.58.1673952847716; Tue, 17 Jan 2023 02:54:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXul6LufUReZ7eW1njEm5yCxRK/zbrZiQsiScl4GhAyZHbqKalUA56LT2fgzUYY1F4v83Rzonw== X-Received: by 2002:ac8:488e:0:b0:3ab:b00b:8a17 with SMTP id i14-20020ac8488e000000b003abb00b8a17mr2792911qtq.58.1673952847464; Tue, 17 Jan 2023 02:54:07 -0800 (PST) Received: from [192.168.100.30] ([82.142.8.70]) by smtp.gmail.com with ESMTPSA id i4-20020a05620a404400b00704a2a40cf2sm20160787qko.38.2023.01.17.02.54.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 02:54:06 -0800 (PST) Message-ID: <2bfffb52-a462-869c-af58-6a808a56f10f@redhat.com> Date: Tue, 17 Jan 2023 11:53:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v5] tests/qtest: netdev: test stream and dgram backends Content-Language: en-US To: Thomas Huth , qemu-devel@nongnu.org Cc: =?UTF-8?Q?Daniel_P_=2e_Berrang=c3=a9?= , Paolo Bonzini , Jason Wang , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , "Michael S . Tsirkin" References: <20230105093751.416666-1-lvivier@redhat.com> <3d55b710-4601-4f8b-5289-72997ea09e5a@redhat.com> <0b29c231-da85-5302-31bc-b2e420c2b394@redhat.com> <5a13b5c9-f8d4-6b4f-b55b-4b8a0ac54867@redhat.com> From: Laurent Vivier In-Reply-To: <5a13b5c9-f8d4-6b4f-b55b-4b8a0ac54867@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=lvivier@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.097, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 1/17/23 11:00, Thomas Huth wrote: > On 16/01/2023 09.40, Thomas Huth wrote: >> On 16/01/2023 09.29, Laurent Vivier wrote: >>> ping >>> >>> On 1/5/23 10:37, Laurent Vivier wrote: >>>> Signed-off-by: Laurent Vivier >>>> Acked-by: Michael S. Tsirkin >>>> --- >>>> >>>> Notes: >>>>      v5: >>>>        - disable test_stream_fd and  test_dgram_fd on windows as socketpair() >>>>          is not defined. >>>>        - enable test_stream_unix_abstract only on linux as "abstract" >>>>          unix socket parameter is only defined on linux. >>>>      v4: >>>>        - rework EXPECT_STATE() >>>>        - use g_dir_make_tmp() >>>>      v3: >>>>      - Add "-M none" to avoid error: >>>>        "No machine specified, and there is no default" >>>>      v2: >>>>      - Fix ipv6 free port allocation >>>>      - Check for IPv4, IPv6, AF_UNIX >>>>      - Use g_mkdtemp() rather than g_file_open_tmp() >>>>      - Use socketpair() in test_stream_fd() >>>>      v1: compared to v14 of "qapi: net: add unix socket type support to netdev backend": >>>>      - use IP addresses 127.0.0.1 and ::1 rather than localhost >>>> >>>>   tests/qtest/meson.build     |   2 + >>>>   tests/qtest/netdev-socket.c | 444 ++++++++++++++++++++++++++++++++++++ >>>>   2 files changed, 446 insertions(+) >>>>   create mode 100644 tests/qtest/netdev-socket.c >> >> Acked-by: Thomas Huth >> >> I'll queue it for my next pull request (unless someone else wants to take this first) > > Sorry, but I have to unqueue it again. I'm still seeing failures > in the Windows Cirrus-CI: I'm sorry too :( > >  https://cirrus-ci.com/task/5867407370092544 > > For example: > > 218/556 qemu:qtest+qtest-aarch64 / qtest-aarch64/netdev-socket > ERROR           0.02s   exit status 3 > ------------------------------------- 8< ------------------------------------- > stderr: > socket_check_protocol_support() failed > > (C:/Users/ContainerAdministrator/AppData/Local/Temp/cirrus-ci-build/build/tests/qtest/netdev-socket.exe:3300): GLib-CRITICAL **: 09:08:00.984: g_utf8_to_utf16: assertion 'str != NULL' failed > > (test program exited with status code 3) > > No clue where this comes from, though, I don't see a call > to g_utf8_to_utf16() in your code? Could you give the command line to reproduce the problem? Thanks, Laurent >  Thomas >