From patchwork Sun Aug 11 01:35:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 1145197 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="obI9YB7U"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 465hSC66zfz9sNp for ; Sun, 11 Aug 2019 11:37:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A0D1620473; Sun, 11 Aug 2019 01:37:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id plHX1+YGq78Z; Sun, 11 Aug 2019 01:37:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A5D3F2049F; Sun, 11 Aug 2019 01:37:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 10A091BF3BF for ; Sun, 11 Aug 2019 01:37:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0E260879A5 for ; Sun, 11 Aug 2019 01:37:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q7a-pcsgF2As for ; Sun, 11 Aug 2019 01:37:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by hemlock.osuosl.org (Postfix) with ESMTPS id 761618798B for ; Sun, 11 Aug 2019 01:37:36 +0000 (UTC) Received: by mail-qk1-f171.google.com with SMTP id m2so745296qki.12 for ; Sat, 10 Aug 2019 18:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yzRm8ccDACeZ3nyKHi5+fV8HfhyiY5BwOxau0vPBbjw=; b=obI9YB7Ur47NaEQJaJjSW40tf/lAJzM5YTU2s2qUh234HOvWvlAPJzEpYLzMGOoqzk zgfB9aZncjaYNiy3TlVmFjT6odkNt2mIeEgVvolV/mr3t+YNF41DLQv1z9iUviLwhtJP H479bznefzKN48X2HjWpZPL3RiJa/A2d9o1lJ+1KlXB8wm270a29/sfbcALU/3pizXA1 c8WjPXvcz5+M4FJoSS8uL24bO9npXOcgpl98Il3q4TCTuR1KVRe80bWEZBGPU22CdZG7 PxmHIcCdW9QuxJxTLg5PieJ7upDcRcACyE/SdsVofKPJDbktBC/qn/zY1Io8pbFa80y5 s8IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yzRm8ccDACeZ3nyKHi5+fV8HfhyiY5BwOxau0vPBbjw=; b=I3VwNM9PGet20S3dXLKfuenn4pFW+eVhSm8dJ58s52k6R/9qslEc/V14o6lVzqPRRG Bh1QSpHMf0DseypJXnCHZfb3ee7bRVE8GrJdEU6LOwp3DeiOYpWnG4XmlpyEoe4hxl3q XmPg8HKD0KBT+HQHYW5Vcnr48c1uZR0/pxazxHJ3i7VHDyrkLmZ9RRDIWR021/3olyi3 pajsYHRZrAKqhySgwDk1BG0Q29nUh7TYDZ7jLepqhHraFM9oCkyEA2LH3Im5E7A2Ptln EauGogAyNNm4FPTTgfVhsq1PqBvy0rH6BKW1LEWSEhPDUQmLxH9+BwxIO8Jn8HRxs9cO zMXw== X-Gm-Message-State: APjAAAXSHXpXnmTKStVLAwCkQwMrDIZdW9aNvct5P5fvn6wzjt6olPOo wAseJudDJwKvxlNK7iDnKMOpjGQs X-Google-Smtp-Source: APXvYqyYyHyXTcGawCgHwifwGB+l0tbX44AagP5PEobiQHz+oc2zLl9WEwqEbzqs1u4KjLY0b7aG9Q== X-Received: by 2002:a37:a14e:: with SMTP id k75mr25487768qke.65.1565487455459; Sat, 10 Aug 2019 18:37:35 -0700 (PDT) Received: from ultri5.home ([187.113.211.103]) by smtp.gmail.com with ESMTPSA id m5sm5781332qtc.89.2019.08.10.18.37.33 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 10 Aug 2019 18:37:35 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Sat, 10 Aug 2019 22:35:36 -0300 Message-Id: <20190811013538.26614-2-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190811013538.26614-1-ricardo.martincoski@gmail.com> References: <20190811013538.26614-1-ricardo.martincoski@gmail.com> Subject: [Buildroot] [PATCH 2/4] support/testing: make crossbar to use umsgpack X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Ricardo Martincoski MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since version 19.3.3, python-autobahn assumes that when CPython is used msgpack will be used as well [1]. But it still allows the user to override this behavior by setting an environment variable [2] to use umsgpack. Make the test to explicitly use umsgpack since it is part of the minimal config (python-crossbar selects python-u-msgpack). Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/269139430 [1] https://github.com/crossbario/autobahn-python/commit/ea019b80427c9f6d43938631f8143bf7c993b4e7 [2] https://github.com/crossbario/autobahn-python/commit/fe70ceebe04849470b0c81b26ff6e65e709b0d33 Signed-off-by: Ricardo Martincoski Cc: Thomas Petazzoni Cc: Yegor Yefremov --- https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/270022934 --- support/testing/tests/package/sample_python_crossbar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/testing/tests/package/sample_python_crossbar.py b/support/testing/tests/package/sample_python_crossbar.py index 3695fe92c0..374cccd837 100644 --- a/support/testing/tests/package/sample_python_crossbar.py +++ b/support/testing/tests/package/sample_python_crossbar.py @@ -1,3 +1,5 @@ +import os import crossbar +os.environ["AUTOBAHN_USE_UMSGPACK"] = "1" crossbar.run(["version"])