From owner-freebsd-testing@freebsd.org Sun Nov 1 04:11:58 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02402A21110 for ; Sun, 1 Nov 2015 04:11:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E161C1818 for ; Sun, 1 Nov 2015 04:11:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA14BvMS068261 for ; Sun, 1 Nov 2015 04:11:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 04:11:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ache@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 04:11:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #2 from Andrey A. Chernov --- r289863 may affect position only when write happens, but all test09, test11 and test14 never write anything. I don't have ATF compiled and attempt to write plain C program which does the same as most failing cases from test09,11,14 and it not fails on -current. Moreover, something is fishing here, I can't even find fmemopen2_test.c file in my -current for lib/libc/stdio/fmemopen2_test:test_data_length mentioned. Is your ATF copy not damaged/modified somehow? BTW, I already meet ATF-specific bugs before, so prefer plain C test cases. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 04:33:02 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2236A21576 for ; Sun, 1 Nov 2015 04:33:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F666141E for ; Sun, 1 Nov 2015 04:33:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA14X23k001125 for ; Sun, 1 Nov 2015 04:33:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 04:33:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ache@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 04:33:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #3 from Andrey A. Chernov --- (In reply to Andrey A. Chernov from comment #2) Forget about fmemopen2_test.c, just found (another dir). Theoretically it is the only case when fwrite() happens so r289863 may affect it. I'll write plain C test a bit later and report. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 05:02:43 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 950BFA2F409 for ; Sun, 1 Nov 2015 05:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 816221058 for ; Sun, 1 Nov 2015 05:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA152emB076109 for ; Sun, 1 Nov 2015 05:02:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 05:02:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ache@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 05:02:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #4 from Andrey A. Chernov --- (In reply to Andrey A. Chernov from comment #2) The last case: failed: /usr/src/lib/libc/tests/stdio/fmemopen2_test.c:203: pos == 0 not met not failed in -current when written in plain C: fp = fmemopen(buf, sizeof(buf), "a+"); fwrite(str2, 1, sizeof(str2), fp); fseek(fp, 0, SEEK_SET); printf("pos %d\n", ftell(fp) == 0); So I think all of this is ATF-specific bugs, probably with wrong type cast in their macros, and I don't want to debug ATF. If you think otherwise, please post plain C test which fails after r289863. IMHO, ATF is evil and can't be used to prove anything, only to extract from there and convert to plain C. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 05:14:31 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EC28A24ACA for ; Sun, 1 Nov 2015 05:14:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF60E1D57 for ; Sun, 1 Nov 2015 05:14:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA15EUQ0091722 for ; Sun, 1 Nov 2015 05:14:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 05:14:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 05:14:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #5 from NGie Cooper --- Created attachment 162664 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162664&action=edit Source file (stripped of "ATF-ness") -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 05:17:00 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DDBEA237F0 for ; Sun, 1 Nov 2015 05:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF3C214A9 for ; Sun, 1 Nov 2015 05:16:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA15Gx9l093881 for ; Sun, 1 Nov 2015 05:16:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 05:17:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 05:17:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #6 from NGie Cooper --- Don't blame ATF. I run into the same issues on amd64 once I install new system headers and a new libc, not before then. I've added a source file and I can point you to a core if you need one, but compiling fmemopen2_test.c like the following should work as well: cc -O0 -g -Wall -o fmemopen2_test fmemopen2_test.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 05:19:47 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D434A24BFB for ; Sun, 1 Nov 2015 05:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 144321BEC for ; Sun, 1 Nov 2015 05:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA15JkGZ095991 for ; Sun, 1 Nov 2015 05:19:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 05:19:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 05:19:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #7 from NGie Cooper --- $ gdb710 ~/fmemopen2_test fmemopen2_test.core GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD] Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd11.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/ngie/fmemopen2_test...done. [New process 100105] Core was generated by `fmemopen2_test'. Program terminated with signal SIGABRT, Aborted. #0 0x00000008008dd2ca in thr_kill () from /lib/libc.so.7 (gdb) bt #0 0x00000008008dd2ca in thr_kill () from /lib/libc.so.7 #1 0x00000008008dd29b in raise () from /lib/libc.so.7 #2 0x00000008008dd209 in abort () from /lib/libc.so.7 #3 0x00000008009293d1 in __assert () from /lib/libc.so.7 #4 0x0000000000400d79 in main () at /home/ngie/fmemopen2_test.c:94 (gdb) list 94 89 rc = fseek(fp, 0, SEEK_SET); 90 ATF_REQUIRE(rc == 0); 91 92 /* Make sure we're at the beginning. */ 93 pos = ftell(fp); 94 ATF_REQUIRE(pos == 0); 95 96 /* Read the whole buffer. */ 97 nofr = fread(str3, 1, sizeof(buf), fp); 98 ATF_REQUIRE(nofr == sizeof(str3)); (gdb) frame 4 (gdb) p *fp $1 = {_p = 0x800bb60b7 "", _r = 0, _w = 0, _flags = 282, _file = -1, _bf = {_base = 0x800bb60b7 "", _size = 1}, _lbfsize = 0, _cookie = 0x800e15000, _close = 0x80086dd50, _read = 0x80086dc10, _seek = 0x80086dce0, _write = 0x80086dc60, _ub = {_base = 0x0, _size = 0}, _up = 0x0, _ur = 0, _ubuf = "\000\000", _nbuf = "", _lb = {_base = 0x0, _size = 0}, _blksize = 0, _offset = 0, _fl_mutex = 0x0, _fl_owner = 0x0, _fl_count = 0, _orientation = -1, _mbstate = {__mbstate8 = '\000' , _mbstateL = 0}, _flags2 = 0} (gdb) p pos $2 = 44 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 05:20:19 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33C22A2523E for ; Sun, 1 Nov 2015 05:20:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1950C1EFB for ; Sun, 1 Nov 2015 05:20:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA15KINm096574 for ; Sun, 1 Nov 2015 05:20:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 05:20:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 05:20:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #8 from NGie Cooper --- So yeah... you broke rewinding with fseek somehow. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 06:15:54 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 717DCA23371 for ; Sun, 1 Nov 2015 06:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DEBE1377 for ; Sun, 1 Nov 2015 06:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA16FsDQ055627 for ; Sun, 1 Nov 2015 06:15:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 06:15:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 06:15:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #9 from commit-hook@freebsd.org --- A commit references this bug: Author: ache Date: Sun Nov 1 06:15:14 UTC 2015 New revision: 290230 URL: https://svnweb.freebsd.org/changeset/base/290230 Log: Don't seek to the end if write buffer is empty (in append modes). PR: 204156 MFC after: 1 week Changes: head/lib/libc/stdio/ftell.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 06:47:57 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6394A23760 for ; Sun, 1 Nov 2015 06:47:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92861159C for ; Sun, 1 Nov 2015 06:47:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA16lvWL009291 for ; Sun, 1 Nov 2015 06:47:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 06:47:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 06:47:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: ache Date: Sun Nov 1 06:47:06 UTC 2015 New revision: 290231 URL: https://svnweb.freebsd.org/changeset/base/290231 Log: Addition to prev. commit. In some edge cases fp->_p can be changed in _sseek(), recalculate. PR: 204156 MFC after: 1 week Changes: head/lib/libc/stdio/ftell.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 07:48:32 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25039A23F45 for ; Sun, 1 Nov 2015 07:48:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 115261840 for ; Sun, 1 Nov 2015 07:48:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA17mVrB020472 for ; Sun, 1 Nov 2015 07:48:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 07:48:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ache@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 07:48:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #11 from Andrey A. Chernov --- (In reply to NGie Cooper from comment #5) Thanx for stripped fmemopen2_test.c, I found the bug. It is not ATF nor recent fmemopen() change, it is 1 year old ftell() bug with all append mode files (after attempt to integrate Apple patch). Should be fixed in just committed r290230-r290231. Other tests using append mode and ftell() should be fixed too, tell me if not. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Sun Nov 1 07:55:22 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CF10A23070 for ; Sun, 1 Nov 2015 07:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58AF81ABD for ; Sun, 1 Nov 2015 07:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA17tM2G031602 for ; Sun, 1 Nov 2015 07:55:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 07:55:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ache@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 07:55:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 NGie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-testing@freebsd.org |ache@FreeBSD.org Status|New |In Progress --- Comment #12 from NGie Cooper --- LGTM now -- thank you for the quick fix: # (cd /usr/tests/lib/libc/stdio; sudo kyua test) ... 51/51 passed (0 failed) # Please close the bug unless you plan on MFCing the r289863. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Mon Nov 2 10:23:25 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10607A23F35 for ; Mon, 2 Nov 2015 10:23:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F08AF1BEF for ; Mon, 2 Nov 2015 10:23:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA2ANOAv032149 for ; Mon, 2 Nov 2015 10:23:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 190765] [patch] Added posix_fallocate support and tests to tools/regression/pjdfstest Date: Mon, 02 Nov 2015 10:23:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 10:23:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190765 NGie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-testing@freebsd.org CC| |ngie@FreeBSD.org, | |pjd@FreeBSD.org Component|misc |tests -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-testing@freebsd.org Mon Nov 2 14:56:23 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B186AA02C4C for ; Mon, 2 Nov 2015 14:56:23 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from valentine.liquidneon.com (valentine.liquidneon.com [216.87.78.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "valentine.liquidneon.com", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 91FEF1374; Mon, 2 Nov 2015 14:56:23 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: by valentine.liquidneon.com (Postfix, from userid 1018) id 50F0B24D98; Mon, 2 Nov 2015 14:51:02 +0000 (UTC) Date: Mon, 2 Nov 2015 14:51:02 +0000 From: Brad Davis To: Craig Rodrigues Cc: "jenkins-admin@freebsd.org" , "freebsd-testing@freebsd.org" Subject: Re: Broken kyua package causing test failures Message-ID: <20151102145102.GA44301@corpmail.liquidneon.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 14:56:23 -0000 On Fri, Oct 30, 2015 at 03:47:47PM -0700, Craig Rodrigues wrote: > Hi, > > Due to this change in the ports tree: > http://svnweb.freebsd.org/ports?view=revision&revision=399992 > > if you try to "pkg install kyua", you will get: > > [1/1] Installing kyua-0.11,2... > Creating user 'tests' with uid '977'. > useradd: not found > pkg: PRE-INSTALL script failed > > > This was fixed with: > http://svnweb.freebsd.org/ports?view=revision&revision=400469 > > > Until the main package repository is rebuilt with this fix, installing > kyua from packages will result in test failures because of a missing > "tests" user. Sorry about this! It is a bit humorous that our testing tool exposed this bug! > According to the ports team, this should be fixed in a few days once the > packages are rebuilt. It looks like the build is done now. Regards, Brad Davis From owner-freebsd-testing@freebsd.org Sat Nov 7 08:28:29 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0852FA287F2; Sat, 7 Nov 2015 08:28:29 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x22e.google.com (mail-yk0-x22e.google.com [IPv6:2607:f8b0:4002:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE8731826; Sat, 7 Nov 2015 08:28:28 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykdv3 with SMTP id v3so118295082ykd.0; Sat, 07 Nov 2015 00:28:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=X9wTEEOy2SMhr3KxGggx6bmIHPqJhcR/gPiqPrwNqpk=; b=itoQgYK9npl6A0hUKLoN6mvcRYPjh7HQeCnmGMHKv4aXTASsjNZwjHGHNjXkscXinQ HtbCMVmwp6No9IvlHAi/zUv411oN920WNvOIJ8BQr4CXxcbQKYifiFFe6rYAifaTSfCS GN/0vAAApE4/MNYW914vPYQzNAKNfwo1PjAyxXx0TkMFrb2X+e+EmhyxqX5JNxbkjuP7 tbvv02ivtmHfE4+Eg0LQdK9bSdSi+pcFpnm8B8OkI7W92LRhoiwrA/uIpDqta551lz0l oQExyyAv/7LcCjPpgKghYUE1VAA67C8NcK0wLrzfBeDc8pCusXS3P2W3la8TEtrCXXTP JQTQ== MIME-Version: 1.0 X-Received: by 10.13.250.69 with SMTP id k66mr14193880ywf.107.1446884908052; Sat, 07 Nov 2015 00:28:28 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.37.95.9 with HTTP; Sat, 7 Nov 2015 00:28:28 -0800 (PST) Date: Sat, 7 Nov 2015 00:28:28 -0800 X-Google-Sender-Auth: Ck9t4bMLSbWjpcRHz-4V2J3ft6Y Message-ID: Subject: Call for Help: need script for patching ports tree, building with poudriere From: Craig Rodrigues To: "freebsd-testing@freebsd.org" , ports Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 08:28:29 -0000 Hi, I've been working on some advanced scripting with Eitan Adler. We are interested in experimenting with integrating Jenkins + Phabricator using: https://wiki.jenkins-ci.org/display/JENKINS/Phabricator+Plugin For starters, we want to see what we can accomplish with ports. Can someone provide a script that does the following: (1) Takes a patch file (2) Applies the patch file to a checked out ports tree (3) If patching fails, quit and report an error (4) If patch succeeds, do a simple guess to figure out which ports were affected (5) Create a file build.ports.txt which lists these ports, and can be used as input to poudriere, by invoking: poudriere bulk -f build.ports.txt (6) In addition, run portlint, port test, and any other appropriate scripts to test that the patched ports following the porting style guidelines. For example, if the patch in this review was submitted: https://reviews.freebsd.org/D3791 then a build.ports.txt file with this content would be created: databases/py-Pyrseas databases/py-pylibmc databases/py-redis deskutils/py-bugwarrior deskutils/py-taskw devel/py-Jinja2 devel/py-TGScheduler devel/py-apscheduler devel/py-asn1 devel/py-asyncio devel/py-biplist devel/py-check-manifest devel/py-circuits devel/py-dateutil devel/py-doit devel/py-fabric devel/py-filemagic devel/py-foolscap devel/py-freezegun devel/py-future devel/py-lazy devel/py-logan devel/py-mock devel/py-nose devel/py-phabricator devel/py-pip devel/py-protobuf devel/py-pyflakes devel/py-pygit2 devel/py-pygithub devel/py-pytest-cache devel/py-pytest devel/py-python-bugzilla devel/py-sanetime devel/py-scripttest devel/py-semantic_version devel/py-setuptools devel/py-simplejson devel/py-tox devel/py-twiggy devel/py-tzlocal devel/py-virtualenv finance/py-stripe ftp/py-pyftpdlib math/py-graphillion math/py-pycosat net/py-beanstalkc net/py-eventlet net/py-netaddr net/py-oauth2 net/py-pynsq net/py-pyzmq net/py-twitter-tools net/turses science/py-h5py security/py-cryptography security/py-ecdsa security/py-libnacl security/py-oauthlib security/py-openssl security/py-pycrypto security/py-pysha3 sysutils/py-nagiosplugin sysutils/py-supervisor textproc/py-diff-match-patch textproc/py-mistune textproc/py-transifex-client textproc/py-wtforms www/geeknote www/py-aiohttp www/py-bleach www/py-cactus www/py-django-contrib-comments www/py-django-mezzanine www/py-feedgenerator www/py-flask-wtf www/py-flexget www/py-gandi.cli www/py-grequests www/py-gunicorn www/py-pelican www/py-praw www/py-pyjwt www/py-rackspace-monitoring www/py-requests-oauthlib www/py-requests www/py-slimit www/py-slumber and poudriere would be invoked to build those ports. Does such a script exist? If not, would someone by interested in working on such a script, and providing it via GitHub at https://github.com/freebsd/freebsd-ci/ ? Thanks. -- Craig From owner-freebsd-testing@freebsd.org Sat Nov 7 15:06:36 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1021AA281E6 for ; Sat, 7 Nov 2015 15:06:36 +0000 (UTC) (envelope-from root@synserver.de) Received: from smtp-out-188.synserver.de (smtp-out-210.synserver.de [212.40.185.210]) by mx1.freebsd.org (Postfix) with ESMTP id 77B221388 for ; Sat, 7 Nov 2015 15:06:34 +0000 (UTC) (envelope-from root@synserver.de) Received: (qmail 16038 invoked by uid 0); 7 Nov 2015 14:50:30 -0000 X-SynServer-TrustedSrc: 1 X-SynServer-RemoteASN: 8972 X-SynServer-AuthIP: 217.119.49.42 X-Originating-IP: 217.119.49.42 X-SynServer-PPID: 15999 Received: from red-w3-132.synserver.de (HELO red-w3-132) [217.119.49.42] by 217.119.54.85 with SMTP; 7 Nov 2015 14:50:30 -0000 Subject: You have received fax, document 00000641431 To: freebsd-testing@freebsd.org Date: Sat, 7 Nov 2015 15:50:39 +0100 From: "Interfax" Reply-To: "Interfax" Message-ID: <6795eb7719c078885618509d50f7a0fa@hartmann-net.de> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 15:06:36 -0000 New incoming fax document. Scanned fax document is attached to this email. Scan duration: 26 seconds Scanned: Fri, 6 Nov 2015 18:39:28 +0300 From: Dale Ball Filesize: 256 Kb Fax name: task-00000641431.doc Quality: 500 DPI Pages number: 12 Thanks for choosing Interfax! From owner-freebsd-testing@freebsd.org Sat Nov 7 17:56:56 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 270E9A289BC; Sat, 7 Nov 2015 17:56:56 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E384B1D6C; Sat, 7 Nov 2015 17:56:55 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from [192.168.1.55] (x5f764e50.dyn.telefonica.de [95.118.78.80]) by toco-domains.de (Postfix) with ESMTPA id 30C301B228DF; Sat, 7 Nov 2015 18:56:48 +0100 (CET) Subject: Re: Call for Help: need script for patching ports tree, building with poudriere To: Craig Rodrigues , "freebsd-testing@freebsd.org" , ports References: From: =?UTF-8?Q?Torsten_Z=c3=bchlsdorff?= Message-ID: <563E34C6.9010500@toco-domains.de> Date: Sat, 7 Nov 2015 18:28:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 17:56:56 -0000 Hello Craig, > I've been working on some advanced scripting with Eitan Adler. > We are interested in experimenting with integrating Jenkins + Phabricator > using: https://wiki.jenkins-ci.org/display/JENKINS/Phabricator+Plugin > For starters, we want to see what we can accomplish with ports. > > Can someone provide a script that does the following: > > (1) Takes a patch file > (2) Applies the patch file to a checked out ports tree > (3) If patching fails, quit and report an error > (4) If patch succeeds, do a simple guess to figure out which ports were > affected > (5) Create a file build.ports.txt which lists these ports, and can be used > as input > to poudriere, by invoking: > > poudriere bulk -f build.ports.txt > > (6) In addition, run portlint, port test, and any other appropriate > scripts to > test that the patched ports following the porting style guidelines. > > For example, if the patch in this review was submitted: > https://reviews.freebsd.org/D3791 > then a build.ports.txt file with this content would be created: > > > [List of ports] > > and poudriere would be invoked to build those ports. > > Does such a script exist? I wrote myself a similar script, but it is very basic (and PHP). It: - assumes that patches are generated against /usr/ports (which makes applying much easier) - apply the patches - get the ports affected by the diff with svn diff - runs portlint - runs poudriere for many versions... - reset every change made to the portstree There are many glitches and it is not this fast, but it safe much time while i wrote port updates. I get a very simple report if everything is fine and then i submit my PR. But of course any other workflow is possible. I aimed to support multiple poudriere server to speed up the process. But i have way more ideas than time... ;) > If not, would someone by interested in working on such a script, and > providing it > via GitHub at https://github.com/freebsd/freebsd-ci/ ? I will help you, but currently (which means till the end of the year) i am very short on time. Are there any requirements to the script in language, performance, etc. ? Greetings, Torsten From owner-freebsd-testing@freebsd.org Sat Nov 7 21:13:15 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF5DFA29442; Sat, 7 Nov 2015 21:13:15 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x234.google.com (mail-yk0-x234.google.com [IPv6:2607:f8b0:4002:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FFDA1186; Sat, 7 Nov 2015 21:13:15 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykek133 with SMTP id k133so218338670yke.2; Sat, 07 Nov 2015 13:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Vxb0I29AH7sZrrLBR54HY+a6uV0o8JkLCcR9gjc6X48=; b=IHi5KSNI0Qbs2dR02zNmCKAxjEjHxQP/G5Ed6TPy15weQMEI0HucZnn6yZIJYTiKbC TflXAtFu1lK1UKandwsu4dYafbXglWRJNMW/E/6REXk02WNOXHaeLTgo99OyHjUkTOMU xj5e563g2gwgu3OCsnMuJK7UAyRMATDA20N9pQYwvP/6EvX7RNHcUsotSxBJYERBoPfz i+JeZhXJmhciScJR4ljgdJ1yesGkW8sxE2jZa2ZcVFGGU5XoAuyTAniycDpmlRpbQN7k 1Kv5IfQ2Y/Qwja+gWuHVN65dFJ5HRKEezgNRWQKSolvDB6Hf9IBpLaLXLuDVfktkw1K4 DRbg== MIME-Version: 1.0 X-Received: by 10.13.232.193 with SMTP id r184mr16196185ywe.283.1446930794628; Sat, 07 Nov 2015 13:13:14 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.37.95.9 with HTTP; Sat, 7 Nov 2015 13:13:14 -0800 (PST) In-Reply-To: <563E34C6.9010500@toco-domains.de> References: <563E34C6.9010500@toco-domains.de> Date: Sat, 7 Nov 2015 13:13:14 -0800 X-Google-Sender-Auth: IhfsfmYaydqlXg46YLahkLi4LBU Message-ID: Subject: Re: Call for Help: need script for patching ports tree, building with poudriere From: Craig Rodrigues To: =?UTF-8?Q?Torsten_Z=C3=BChlsdorff?= Cc: "freebsd-testing@freebsd.org" , ports Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 21:13:16 -0000 On Sat, Nov 7, 2015 at 9:28 AM, Torsten Z=C3=BChlsdorff < mailinglists@toco-domains.de> wrote: > > > It: > - assumes that patches are generated against /usr/ports (which makes > applying much easier) > - apply the patches > - get the ports affected by the diff with svn diff > - runs portlint > - runs poudriere for many versions... > - reset every change made to the portstree > > That flow of steps is very close to what I need. The scripts in http://github.com/freebsd/freebsd-ci are mostly shell or Python, but I'm flexible, as long as the scripts run under FreeBSD. I think you mentioned one problem about starting something, and then running out of time to finish working on it. This problem is very common. :( Hopefully if we have multiple people working on something and collaborating, we can get something going that many people can maintain and enhance in future. I would say go ahead and provide your script via GitHub pull request, unless you want to clean it up a little before providing it. Thanks. -- Craig From owner-freebsd-testing@freebsd.org Sat Nov 7 22:06:57 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D09BA29C26; Sat, 7 Nov 2015 22:06:57 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 481741720; Sat, 7 Nov 2015 22:06:57 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykek133 with SMTP id k133so218960589yke.2; Sat, 07 Nov 2015 14:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=Gslb9V/O8gipn/37YMcg2gxzKI5Mc9HqMkBa2OnL/ag=; b=l8S//zcdnL0ISDPKi1nl5PCKDy8R5259KBhiKdkdILA2f2mUU6i7JK1VC4Rd+J5pQs mGIy8E8IkNn+UqFBJdCRX4262kzDebbrQPOmT6FCV/oaj+aBOyrtFm0vvX1jVKDncZol li/Hxw6yaEpzNNfaw6xSwOheIBYXSYdH37BS+PIig12F6zKRaKAem5XsLLupyMM/Q/fo BhcGLyqWLz7cyRDThn2mUO/3eooZ2d0SQTiFDfmXfQ3wY9ngDoSzizt1+aYYzkUkDekF WjEP2Ck7K8+yMte/UPhjFD1V6yXVRtVgUc2fp0lAL7NPAY4c1OTDN2s4jBmnGJqgBqqn 7+9Q== MIME-Version: 1.0 X-Received: by 10.129.0.8 with SMTP id 8mr5970927ywa.81.1446934016302; Sat, 07 Nov 2015 14:06:56 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.37.95.9 with HTTP; Sat, 7 Nov 2015 14:06:56 -0800 (PST) Date: Sat, 7 Nov 2015 14:06:56 -0800 X-Google-Sender-Auth: lEecxCBAgzAe3Z7hy2Bh8mXmNY8 Message-ID: Subject: Call for Help: Java coders needed for phabricator-plugin From: Craig Rodrigues To: "freebsd-testing@freebsd.org" , "freebsd-java@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 22:06:57 -0000 Hi, I've been working on some advanced scripting with Eitan Adler. We are interested in experimenting with integrating Jenkins + Phabricator using: https://wiki.jenkins-ci.org/display/JENKINS/Phabricator+Plugin We have gotten some basic things to work where we can submit a patch in Phabricator Differential and have that trigger a build action, with the results of this action being reported in the Phabricator code review itself. However, we need some help fixing a few things in the plugin itself. I reported the issues in the Jenkins bug tracker here: http://bit.ly/1NXc51e The main issues we want to fix are: (1) plugin assumes checked out source code is at the root of the workspace instead of in a subirectory (2) plugin has hardcoded logic unconditionally executing git commands If we can use the Jenkins SCM API as much as possible inside the plugin instead of raw git commands, or we can conditionalize those commands only if the workspace is git, that would be good. Eitan hacked the plugin for our use just to get an initial thing working, but those hacks are not upstreamable. The phabricator-plugin is used in production at Uber ( http://uber.com ), but the maintainer is very nice, and is willing to accept patches to the plugin as long as it does not break his workflow at Uber. In order to work on this, we need someone who knows Java, Maven, and can work on stuff and upstream the patches via GitHub. -- Craig