Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194909/?format=api
{ "id": 2194909, "url": "http://patchwork.ozlabs.org/api/patches/2194909/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20260210082908.228681-1-mcoufal@redhat.com/", "project": { "id": 41, "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api", "name": "GNU C Library", "link_name": "glibc", "list_id": "libc-alpha.sourceware.org", "list_email": "libc-alpha@sourceware.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260210082908.228681-1-mcoufal@redhat.com>", "list_archive_url": null, "date": "2026-02-10T08:28:54", "name": "Makefile: add allow-list for failures", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "30d45e5696269963db732042a47c8cb6c15c7214", "submitter": { "id": 86601, "url": "http://patchwork.ozlabs.org/api/people/86601/?format=api", "name": "Martin Coufal", "email": "mcoufal@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20260210082908.228681-1-mcoufal@redhat.com/mbox/", "series": [ { "id": 491620, "url": "http://patchwork.ozlabs.org/api/series/491620/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=491620", "date": "2026-02-10T08:28:54", "name": "Makefile: add allow-list for failures", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491620/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194909/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194909/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "libc-alpha@sourceware.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "libc-alpha@sourceware.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=NxRP6SUf;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=NxRP6SUf", "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com", "sourceware.org; spf=pass smtp.mailfrom=redhat.com", "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f9F9p6K00z1xvb\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 19:29:46 +1100 (AEDT)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id E96804BA2E12\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 08:29:42 +0000 (GMT)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id 75AC64BA2E12\n for <libc-alpha@sourceware.org>; Tue, 10 Feb 2026 08:29:21 +0000 (GMT)", "from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-638-KQfyBwqHPIurYQp06Lxf8A-1; Tue,\n 10 Feb 2026 03:29:19 -0500", "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 1AC5A18005B6\n for <libc-alpha@sourceware.org>; Tue, 10 Feb 2026 08:29:19 +0000 (UTC)", "from fedora.redhat.com (unknown [10.45.224.161])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 6BBBD1956056; Tue, 10 Feb 2026 08:29:16 +0000 (UTC)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org E96804BA2E12", "OpenDKIM Filter v2.11.0 sourceware.org 75AC64BA2E12" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 75AC64BA2E12", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 75AC64BA2E12", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770712161; cv=none;\n b=qcQ5AaV0ujlutNHLjiGmXe5hQGlCa+usNO+1oB0JHxvwlIqvlPjARkC1XV8a4nSaMttIM2nTxBKQEuvlubpOd1thejYIKJ0z/MuDKXzfCNjA6LNLFHliAIv7uc25p+KlOtb/JDft8kk1mC4URgua6cDKhrr52VSXSuWUg/19cEo=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770712161; c=relaxed/simple;\n bh=lXKeNL0Uk3145h+dtjmtNmw5g4ZDqgddXo2AykJNoEQ=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=GFb17qUJ3NGitPVh0F8Y7f3cqD/K63JwHqcpTV2ySRTm01HNyy2vqmRpwMlBFiP+WpuVX10LrWZxiEcXNAqnRgzUqaR8raFKO3vmn8tCJtudRwEZChTveE5Wkz92zVCAXOh2EMRcrGXO7YPMY6oag4LRtM3a01585Bf3zwJCcN4=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1770712161;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=zi9PPsPL7H1d1CgYkSxdhyq0/6udQAdOjDr4G38gTfs=;\n b=NxRP6SUfq+eGhT21CVw0dzR2bhzi234vS5A2Mq4rePlX5Xdn28GAQWnvu51GpZsH2R6t6l\n vPU51SWP13B/czEbJD/8BBDcNagaSJCcraqcTh37K9oxwHdMQBvyG5RTcoshpFGnpjSbJP\n 4v/8QPdOMxqb+o1W2XH8sBmRaXVU4W0=", "X-MC-Unique": "KQfyBwqHPIurYQp06Lxf8A-1", "X-Mimecast-MFC-AGG-ID": "KQfyBwqHPIurYQp06Lxf8A_1770712159", "From": "Martin Coufal <mcoufal@redhat.com>", "To": "libc-alpha@sourceware.org", "Cc": "Martin Coufal <mcoufal@redhat.com>", "Subject": "[PATCH] Makefile: add allow-list for failures", "Date": "Tue, 10 Feb 2026 09:28:54 +0100", "Message-ID": "<20260210082908.228681-1-mcoufal@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17", "X-Mimecast-Spam-Score": "0", "X-Mimecast-MFC-PROC-ID": "87yNdn2bDB2tGx--hs5gkiin5loBl18TQcoZcgwlYHE_1770712159", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true", "X-BeenThere": "libc-alpha@sourceware.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Libc-alpha mailing list <libc-alpha.sourceware.org>", "List-Unsubscribe": "<https://sourceware.org/mailman/options/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe>", "List-Archive": "<https://sourceware.org/pipermail/libc-alpha/>", "List-Post": "<mailto:libc-alpha@sourceware.org>", "List-Help": "<mailto:libc-alpha-request@sourceware.org?subject=help>", "List-Subscribe": "<https://sourceware.org/mailman/listinfo/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=subscribe>", "Errors-To": "libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org" }, "content": "Enable adding known failures to allowed-failures.txt and ignore failures\nin case they are in the list. In case the allowed-failures.txt does not\nexist, all failures lead to a failed status as before.\n\nWhen the file is present, failures of listed tests are ignored and reported\non stdout. If tests not in the allowed list fail, summarize-tests exits with\nstatus 1 and reports the failing tests.\n\nThe expected format of allowed-failures.txt file is:\n<test_name> # <comment>\n---\n Makefile | 29 ++++++++++++++++++++++++++++-\n 1 file changed, 28 insertions(+), 1 deletion(-)", "diff": "diff --git a/Makefile b/Makefile\nindex f81572c20a..f7a993f15b 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -594,7 +594,34 @@ define summarize-tests\n @grep -E '^[A-Z]+:' $(objpfx)$1 | grep -E -v '^(PASS|XFAIL):' || true\n @echo \"\t\t=== Summary of results$2 ===\"\n @sed -e '/:.*/!d' -e 's/:.*//' < $(objpfx)$1 | sort | uniq -c\n-@! grep -E '^[A-Z]+:' $(objpfx)$1 | grep -E -q -v '^(X?PASS|XFAIL|UNSUPPORTED):'\n+@{ \\\n+\tgrep -E '^[A-Z]+:' $(objpfx)$1 | \\\n+\tgrep -E -v '^(X?PASS|XFAIL|UNSUPPORTED):' | \\\n+\t( \\\n+\t if ! test -f $(..)allowed-failures.txt; then \\\n+\t read -r _; exit $$(( $$? == 0 )); \\\n+\t fi; \\\n+\t status=0; \\\n+\t while IFS= read -r line; do \\\n+\t case \"$$line\" in \\\n+\t FAIL:*) \\\n+\t name=$${line#FAIL: }; \\\n+\t escaped_name=`printf '%s' \"$$name\" | sed 's/[.+]/\\\\&/g'`; \\\n+\t if grep -Eq -- \"^$${escaped_name}[[:space:]]*#\" $(..)allowed-failures.txt; then \\\n+\t echo \"Ignoring allowed FAIL: $${name}\"; \\\n+\t continue; \\\n+\t fi; \\\n+\t echo \"Unallowed FAIL: $${name}\"; \\\n+\t status=1; \\\n+\t ;; \\\n+\t *) \\\n+\t status=1; \\\n+\t ;; \\\n+\t esac; \\\n+\t done; \\\n+\t exit $$status; \\\n+\t); \\\n+ }\n endef\n \n # The intention here is to do ONE install of our build into the\n", "prefixes": [] }