From patchwork Fri Dec 4 06:38:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107264 Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2323.1796366310661563041 for ; Thu, 03 Dec 2026 22:38:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=D5MB+ExA; spf=pass (domain: gmail.com, ip: 74.125.82.179, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-3282db206d3so1285613eec.0 for ; Thu, 03 Dec 2026 22:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796366310; x=1796971110; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AK2lSy61MQDCm/7a0cljuuLV0U9dtS2475HhcaegYgk=; b=D5MB+ExAPCQsNdlKPJbXs7t11GsJt2jBVEgAqdbvxKhkDZ8THnLHBtkLbXumKb6mTS RlKTCORRefL49HJ2+i7G8OQ3X9ME77fKncNZurR3/BmDOsIlWpCC7cGvYAAg7p3gH0+r CmPEyIip//fBE6F/olUTajUtgRPT30ipLtqoxN125DpIGmURgvTn1ztc3/sKmmbTQr2t /K3U/I90COZHy6tUMRz47+GDqa3OvWuj1z5NdEwM4znYqotVFqTMUlDZiBgJW/sOTIwC 0v1z+0554n7EN2nPgrupSC5EYyfZ64IpsP9r/x8GEZDde5l5Gh7LK/n1RMWqzVfP6KaL d14g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796366310; x=1796971110; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state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PoW2enBTVariSlZ O3GliYY41s52wnkCNQm4Lh35d3xci+3kY5CG+V/WTXbxDemoqIfY0GWMUMzjKS0w5DxHAl717Vx ZqvQ10XPEb0tx3elbfEZROAY/rdmldx6VoKN0VLfFFunwyaYR0Jq9stFKBulEsV+B6d0cDx1TtT yo+obxTZa4H8uCSXMXMgr1tl8AvVT1z1JjelEr0ZUXJRTOglEKvvQeoSnYFVg3/66Izpo6mWUMT wjR2s7vaKEe20ZjkY+EV4PmGNluZC9vvjECxuFyRnC+2Z/HvkW168ywva4/iQmGe+MT/MZyh0BV g++u0Ft4T1XXiYXXKyToU8QvERTHCc6htvPgycH/H04tiaGffkOn5n0TWn02wKqxOVT0qMcBxbU geVw X-Received: by 2002:a05:7301:9c07:b0:387:3d9a:d2d4 with SMTP id 5a478bee46e88-3875212ff89mr1111687eec.19.1796366309835; Thu, 03 Dec 2026 22:38:29 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521e5c89sm6841805eec.18.2026.12.03.22.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 22:38:29 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 1/2] python3-betamax: Leave out the live GitHub gzip test in ptest Date: Thu, 3 Dec 2026 22:38:26 -0800 Message-ID: <20261204063827.2452990-2-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204063827.2452990-1-khem.raj@oss.qualcomm.com> References: <20261204063827.2452990-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 06:38:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134008 tests/regression/test_gzip_compression.py deletes its cassette in tearDown, so every run sends a real request to https://api.github.com/repos/github3py/fork_this/issues/1 and asserts that the reply is gzip encoded. GitHub's error replies (404, and the unauthenticated limit of 60 requests per hour per IP) carry no Content-Encoding, so the test fails with assert r.headers.get('Content-Encoding') == 'gzip' AssertionError: assert None == 'gzip' whenever the API does not return the issue. It failed in 4 of the last 12 Yoe CI runs on qemux86-64. Leave it out like test_hooks.py, which records live httpbin.org requests. Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-betamax/run-ptest | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-betamax/run-ptest b/meta-python/recipes-devtools/python/python3-betamax/run-ptest index 0acad79f97..9bf5e1ce42 100644 --- a/meta-python/recipes-devtools/python/python3-betamax/run-ptest +++ b/meta-python/recipes-devtools/python/python3-betamax/run-ptest @@ -10,5 +10,7 @@ fi # tests/integration/test_hooks.py records live https://httpbin.org requests # (no cassettes are shipped for it) and fails whenever the service resets -# the connection, so leave it out. -pytest --automake --ignore=tests/integration/test_hooks.py +# the connection, so leave it out. test_gzip_compression.py likewise records +# api.github.com on every run. +pytest --automake --ignore=tests/integration/test_hooks.py \ + --ignore=tests/regression/test_gzip_compression.py