Return-Path: Subject: Uncaught bounce notification From: sitelist-bounces@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3866168583050402745==" Message-ID: Date: Mon, 06 Oct 2014 09:20:08 +0000 List-Id: Linux Test Project General Discussions Errors-To: sitelist-bounces@lists.sourceforge.net To: ltp-list-owner@lists.sourceforge.net --===============3866168583050402745== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit The attached message was received as a bounce, but either the bounce format was not recognized, or no member addresses could be extracted from it. This mailing list has been configured to send all unrecognized bounce messages to the list administrator(s). For more information see: https://lists.sourceforge.net/lists/admin/ltp-list/bounce --===============3866168583050402745== Content-Type: message/rfc822 MIME-Version: 1.0 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) id 1Xb4Sd-00055z-Db for ltp-list-bounces@lists.sourceforge.net; Mon, 06 Oct 2014 09:20:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Subject:To:From:Date:Message-Id; bh=HbqVs16BqWhBRU2ZXKj5ux/XlH4xH4ZM2ZxLd/lpEyM=; b=Cgn4XJa+ayxfVCrbQObrAFJEPTxAWQkgj004FfadZTcNzGPkL2KIvtNojRmu7kwQGhvEbI6AS/AdhrLTpuPMHBEc1sbmmoG48U9qyXEINEZAiYtezH6vLhiG9Z1POmaPUAzycn3biZsCcQB6Pkswmnu/WQ/6CYjnRmKPAK+fqQI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Subject:To:From:Date:Message-Id; bh=HbqVs16BqWhBRU2ZXKj5ux/XlH4xH4ZM2ZxLd/lpEyM=; b=j8c8dtnDhDZI8e0UX8GT4pD98OVDc8bSFW0LwmB/DaXJaRbKG1Hp3XKfIOusqqxlRfwQ5XfqC8iZFK+WT01/nUvhTxCmqv5uepIyVzCnl1HxSRVnW7ThjWNZWkerRdHwfKWcVgOTDChdrRUbBzSFN230R6Re7cHetpVXfN0XFoE=; X-ACL-Warn: Received: from e33.co.us.ibm.com ([32.97.110.151]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1Xb4Sb-000654-UT for ltp-list-bounces@lists.sourceforge.net; Mon, 06 Oct 2014 09:20:07 +0000 Received: from /spool/local by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from <>; Mon, 6 Oct 2014 03:20:00 -0600 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 6 Oct 2014 03:19:59 -0600 Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 130181FF0039 for ; Mon, 6 Oct 2014 03:08:44 -0600 (MDT) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s967FjU13014994 for ; Mon, 6 Oct 2014 09:15:45 +0200 Received: from d03av02.boulder.ibm.com (localhost [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s969JwMN029287 for ; Mon, 6 Oct 2014 03:19:58 -0600 Received: from BLDGATE.BOULDER.IBM.COM (bldgate.boulder.ibm.com [9.17.210.138]) by d03av02.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s969Jwsa029259 for <@vm-av.bld.relay.ibm.com:ltp-list-bounces@lists.sourceforge.net>; Mon, 6 Oct 2014 03:19:58 -0600 Message-Id: <201410060919.s969Jwsa029259@d03av02.boulder.ibm.com> Date: Mon, 06 Oct 2014 03:19:58 MDT From: To: Subject: Undeliverable Mail X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14100609-0928-0000-0000-0000055FB978 X-Spam-Score: 2.1 (++) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.3 URIBL_RHS_DOB Contains an URI of a new domain (Day Old Bread) [URIs: sourceforge.com] 1.0 HK_RANDOM_FROM From username looks random 0.8 DKIM_ADSP_NXDOMAIN No valid author signature and domain not in DNS X-Headers-End: 1Xb4Sb-000654-UT BLDGATE.BOULDER.IBM.COM unable to deliver following mail to recipient(s): BLDGATE.BOULDER.IBM.COM received negative reply: 550 5.1.1 : Recipient address rejected: User unknown in local recipient table ** Text of Mail follows ** Received: by BLDGATE.BOULDER.IBM.COM (IBM VM SMTP Level 620) via spool with SMTP id 4412 ; Mon, 06 Oct 2014 03:19:57 MDT Received: by bldgate.vnet.ibm.com (xagsmtp 2.0.1) via smtp5 with spool id 5305; Mon, 6 Oct 2014 03:19:57 -0600 Received: from b03cxnp07028.gho.boulder.ibm.com [9.17.130.15] by BLDGATE.BOULDER.IBM.COM (IBM VM SMTP Level 630) via TCP with ESMTP ; Mon, 06 Oct 2014 03:19:57 MDT Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s969HpM21442140 for ; Mon, 6 Oct 2014 11:17:51 +0200 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s969JvAZ020629 for ; Mon, 6 Oct 2014 03:19:57 -0600 Received: from e4.ny.us.ibm.com (e4.pok.ibm.com [9.56.232.144]) by d03av04.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s969JtpG020586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 6 Oct 2014 03:19:56 -0600 Received: from /spool/local by e4.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 6 Oct 2014 05:19:55 -0400 Received: from lists.sourceforge.net (216.34.181.88) by e4.ny.us.ibm.com (192.168.2.104) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256/256) Mon, 6 Oct 2014 05:19:53 -0400 Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Xb4Qq-0001eD-2T; Mon, 06 Oct 2014 09:18:16 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Xb4Qo-0001e5-6j for ltp-list@lists.sourceforge.net; Mon, 06 Oct 2014 09:18:14 +0000 X-ACL-Warn: Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1Xb4Qm-0005k5-2b for ltp-list@lists.sourceforge.net; Mon, 06 Oct 2014 09:18:14 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 538C7AAF3; Mon, 6 Oct 2014 09:18:05 +0000 (UTC) Date: Mon, 6 Oct 2014 11:18:01 +0200 From: Cyril Hrubis To: Jan Stancek Message-ID: <20141006091801.GA8551@rei.suse.cz> References: <7e6611cd7abcfc04cb31b87314394481711e4c7a.1412258926.git.jstancek@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7e6611cd7abcfc04cb31b87314394481711e4c7a.1412258926.git.jstancek@redhat.com> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1Xb4Qm-0005k5-2b Cc: ltp-list@lists.sourceforge.net Subject: Re: [LTP] [PATCH/RFC] checkpoints: fix usage in children started via exec X-BeenThere: ltp-list@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net X-ZLA-Header: unknown; 0 X-ZLA-DetailInfo: BA=6.00002559; NDR=6.00000001; ZLA=6.00000002; ZF=6.00000004; ZB=6.00035041; ZH=6.00088195; ZP=6.00071825; ZU=6.00000001; UDB=6.00158611; UTC=2014-10-06 09:19:55 x-cbid: 14100609-5124-0000-0000-000001A6A2C2 X-IBM-ISS-SpamDetectors: Score=0; BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0; ST=0; TS=0; UL=0; ISC= X-IBM-ISS-DetailInfo: BY=3.00003033; HX=3.00000229; KW=3.00000007; PH=3.00000003; SC=3.00000042; SDB=6.00425710; UDB=6.00158611; UTC=2014-10-06 09:19:55 X-TM-AS-MML: disable X-Xagent-Gateway: bldgate.vnet.ibm.com (XAGSMTP5 at BLDGATE) Hi! > creat07 and setpgid03 are currently failing in following way: > CHILD: Failed to open fifo '': No such file or directory at creat07_child.c:31 > creat07 1 TBROK : tst_checkpoint.c:126: Checkpoint timeouted after 5000 msecs at creat07.c:78 > creat07 2 TBROK : tst_checkpoint.c:126: Remaining cases broken > > These testcases start children via exec, so allow them to initialize > checkpoint in way which is using FIFO already created by parent. > > This patch adds "TST_CHECKPOINT_MAKE_NAME", which allows child to > generate same FIFO names as parent did and configure checkpoint > structure to use same FIFO created in parent. > > One possible issue is that if multiple checkpoints are used, > child needs to initialise these in same order as parent created them, > but given we mostly use only fork, this should be rather > exceptional use. > > Signed-off-by: Jan Stancek > --- > include/tst_checkpoint.h | 5 ++++ > lib/tst_checkpoint.c | 23 ++++++++++++------- > testcases/kernel/syscalls/creat/creat07_child.c | 3 ++ > .../kernel/syscalls/setpgid/setpgid03_child.c | 3 ++ > 4 files changed, 25 insertions(+), 9 deletions(-) > > diff --git a/include/tst_checkpoint.h b/include/tst_checkpoint.h > index 4d04c0e..f9c242f 100644 > --- a/include/tst_checkpoint.h > +++ b/include/tst_checkpoint.h > @@ -56,6 +56,11 @@ struct tst_checkpoint { > void tst_checkpoint_init(const char *file, const int lineno, > struct tst_checkpoint *self); > > +#define TST_CHECKPOINT_MAKE_NAME(buf, len) \ > + tst_checkpoint_make_name(__FILE__, __LINE__, buf, len) > +void tst_checkpoint_make_name(const char *file, const int lineno, > + char *buf, int len); IMHO it would be more clear to rename the checkpoint_init() to checkpoint_create() and use checkpoint_init() for initializing the structure only. The renaming should be as easy as doing in-place sed script. Otherwise I think that it would be cleaner to just pass the checkpoint pointer to the function that initializes the checkpoint because the string lenght is static and known at the compile time and passing it to the function explicitly may only introduce errors. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list --===============3866168583050402745==--