From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id F42283858D1E for ; Thu, 28 Mar 2024 13:13:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F42283858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F42283858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::436 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711631618; cv=none; b=qRumGciLBDrQprgS9zzrLSTqagisVCz0oD6d/XJAIWyIb/z5iE5n7woXyZV4Tb94VYQc2WB7WmFu0U1q6bHdmcZKu1e0+8xqIZI5q98KogqVFSAO8hs888MEQ3b2aU4ETosRDex5y5GVnnfoS/zEZlSTSAPiX+lc0yNtPsy54Vg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711631618; c=relaxed/simple; bh=QNV+olHsk/IXZyewFPX4w+NOtD3CmCj6caHoIpFAKgo=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Vc1gs97OPd87JxDQfXlK2sa8Nld3oxp1KSe3R9HEt1M33cZJ4zCRCXO8xIbYOJQVsKyesFSCW6bDH76zpcohMGTb/eQvXlI2FEZrGLYtjzGe4FYskOQkkgdIA/3d9cYLvbMSlD3lJ3+QhEVvJLZa7g5Ps3qZ/ScOoOqulrkJbVo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6e74aa08d15so845244b3a.1 for ; Thu, 28 Mar 2024 06:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711631615; x=1712236415; darn=sourceware.org; h=content-transfer-encoding:in-reply-to:organization:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=jW7F756eAhyY1PP1boy8NrBM3+Np60ovgPT4ALWTCsc=; b=OTd2X2xJQ6nUk8JIerG5AYAORCBm7hTTrhcdXRZmRTtIcTCKg3Co4wJknxavxD85C5 I4Tix0yY7qzYqQnSlPjwy4Tjs+DXYgxJMuM2ZMcZOfsDyXOaMhheksELcmhE12+f6+kj a411tAOoCeNIN03EsgpG2in3MzOKVoCQBNUfI6S//lfCyJav9CUH4cBHbechnA9CxhTI uVEfcrx0arAx9E9rtffXF49yz5h1zvG0nC+KqFJCdxKMc1+yg1jbHexSDVTHS3Ae/wqg Svn0M8ad2X18uRXDmuPvo11y9IqEq4j42ANUOjh94ufzTZlYP7KQSVw8MMw7Eg2Oj1tZ D7qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711631615; x=1712236415; h=content-transfer-encoding:in-reply-to:organization:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jW7F756eAhyY1PP1boy8NrBM3+Np60ovgPT4ALWTCsc=; b=jBNde6sBQAp5zaBRYg3150iDvOc8LoVf1FLfxFMoAXl1EmU6EQLoBYAelk0V6wKWQ0 lwjKiAm+mDu+xKN2uhnSGFDexAoXbTnw37isOhQh8RzUqtzOKTABRPcaXmJ2QnuvCie1 ozA3q/WH1YWQl8CkYxL0YlzGXLygG8hQZ+stpo1c7G5f3VEY712xXWIeiCBZURPRepb8 wtH2aVokj1KE1Xjbzs/5+cgUnaBze7v5hEitWqST/B1pOVEAjztlY5LDPxN2nT81uQSS xZMd9PY3ixDVFaghAXdaK/xj547KbHB9YoRWkXdOFLMCXHa9WfeHwwJQGTQQCdxuBrpa gtKQ== X-Forwarded-Encrypted: i=1; AJvYcCVPxVZ3jYqCIiKVYQObpI3YYjY/XbjUsXyZi5Hag5ThECH9Xwa3K6+W8Ow8nn5RRQx52KtOsAUE7W2nV+AXkF1hqVQ62LyA8HU= X-Gm-Message-State: AOJu0Yx4Nz3PqwY4KfQruSEM2Mh7dw+igQ3d8fTGECxO6w4d+/OpHjNN XP45oIrF/moJ67QX8oY99Ln0nafByToWfjmDPKx4IDlonlMV5IXUcxI/opgE73+zw+sASZYstoY t X-Google-Smtp-Source: AGHT+IGSh7Rc/t5uyOrx2hBomCpRSBanMVYL58ms+nhsL8P+HhQf7NdzLvuceI6/90DA118ftJ2rPA== X-Received: by 2002:a05:6a20:af1f:b0:1a3:aa9d:6718 with SMTP id dr31-20020a056a20af1f00b001a3aa9d6718mr2718727pzb.43.1711631614969; Thu, 28 Mar 2024 06:13:34 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c3:b18e:f80b:dc91:dea1:d972? ([2804:1b3:a7c3:b18e:f80b:dc91:dea1:d972]) by smtp.gmail.com with ESMTPSA id o20-20020a63e354000000b005dc36279d6dsm1259772pgj.73.2024.03.28.06.13.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 06:13:34 -0700 (PDT) Message-ID: <0dfad626-8bd1-4426-bc37-4eada1c3fef5@linaro.org> Date: Thu, 28 Mar 2024 10:13:31 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: How to skip/disable individual test cases in glibc testsuite To: Yash Shinde , libc-help@sourceware.org Cc: harish.sadineni@windriver.com References: <43e45a42-62c3-4d4b-9ff7-3a01c099f56f@windriver.com> <8cf9bc35-b2ad-4eec-8a34-25bf3c7d54d4@linaro.org> <4b5576a0-a1c6-4d14-9a46-49c3e8acdd4e@windriver.com> Content-Language: en-US From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <4b5576a0-a1c6-4d14-9a46-49c3e8acdd4e@windriver.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 27/03/24 12:35, Yash Shinde wrote: > > On 27-03-2024 19:36, Adhemerval Zanella Netto wrote: >> There is no straightforwards way to exclude the tests without changing >> the sysdeps/unix/sysv/linux/Makefile. Do you know why qemu-user is >> stuck? All tests should have a watchdog one to trigger a kill for >> the timeout case, it would be useful to know why this is not working >> on this particular environment. >> >> PS: for some reason your email went to my spam box, not sure why. > > Thanks for looking into it. > What changes should be done in "sysdeps/unix/sysv/linux/Makefile " to skip a test case? You either remove or comment it out from 'tests' and/or 'tests-time64' rule. > > I checked for why qemu-user is stucked and it was found that the test case "sysdeps/unix/sysv/linux/tst-scm_rights-time64.c" has some "recvmsg/sendmsg"  subprocess to the parent process. > I guess this processes do not terminate correctly and thus there are stale qemu processes. > > How do I check if the watchdog works correctly and triggers a kill for timeout case(int this particular case)? > Mostly of testsuite (some old tests does not follow this unfortunately) fork before actually executing the test, the parent process will be responsible to watchdog the result and thus killing the process if the default timeout expires.