Message ID | 20211112110007.787836-3-romain.naour@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@buildroot.org> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=c5zwpUX1; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=<UNKNOWN>) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HrFxQ75KTz9s5P for <incoming-buildroot@patchwork.ozlabs.org>; Fri, 12 Nov 2021 22:00:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6C72682477; Fri, 12 Nov 2021 11:00:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m523t0Vj-axS; Fri, 12 Nov 2021 11:00:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id C1E118246D; Fri, 12 Nov 2021 11:00:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 888FC1BF325 for <buildroot@lists.busybox.net>; Fri, 12 Nov 2021 11:00:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 72A6440596 for <buildroot@lists.busybox.net>; Fri, 12 Nov 2021 11:00:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TiUyEy1eOvAy for <buildroot@lists.busybox.net>; Fri, 12 Nov 2021 11:00:14 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by smtp4.osuosl.org (Postfix) with ESMTPS id 67D7340593 for <buildroot@buildroot.org>; Fri, 12 Nov 2021 11:00:14 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id i8-20020a7bc948000000b0030db7b70b6bso9493418wml.1 for <buildroot@buildroot.org>; Fri, 12 Nov 2021 03:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YZKuoQ4Gk+45+NExJJ6INgkj2afiI/rcL0tE9eVAUT8=; b=c5zwpUX1wP7s/890dz3N05rMioOsrVJiz75D706uj8AfXFV74+JJYoDBypwRFYDItk o/dGS0vEsarqoci+34vhovAOUFiEZxhW/GiaTR5JJCOkqMjf9TY4t2JYbB+v9AzLsaHl h0Y/7fgWD+prY4VJPLHqtGl2FMSzVBDoOnmxY/pXkBGIu/xpvUDi/Uefud0oFxTH3ODq ucStDKj7OoagUleD8mUPBhB/HHxGHXTC4J//gCHt3CFgO8kHg8+tT/WFWno0uTIW9Yz4 a79pfW41DyT4YBskCaOncrtIrgZqL3XbWXQm1PIjHvLenf/J2cigb2n7mZaPdm0A9RvS 18AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YZKuoQ4Gk+45+NExJJ6INgkj2afiI/rcL0tE9eVAUT8=; b=IrbwV/cxZjg5sIUoDEWh+AnVi6D+GvPLjBsC4jiPDVQ69G78cRvkrt3iF9XzbjlJmu YS6+6tPx+I88dQYROFnze6WGf9OMD/5W4MpvMpRFDwqqMQxZFHQc6kXugP41I2GHD+D3 uuIC2dk1LHn++Tdjwz4XBWJDul5YmqWVIdIiYMFLMNWWBbpwKP+2R3m5KGSqbE4JAXnt jFoLA6cjnTYkw0hbb7sLOo6cFyS1HlRxynxj5eoec2hkPcRduR1R0YB/fgAqXScVMT90 JjYPhVu0Y0erVykmbxCyx4PIu2NTgWv9oHvuy5tl48zFTx1hQkE4Vp1Vs2Gq+E6R1FNM atzg== X-Gm-Message-State: AOAM532qohDatn8oHAUGaDrq4SWlLgKgT6zo4kml5FwJHoWFbjysqbXV 0QAfUgtCzpPRiC1uo3Mp+TApfBqwN/M= X-Google-Smtp-Source: ABdhPJxcB4IjUzBiPsGnZjSfrzYiWlFeuiBhUcX3biJNPCjrV6zxj4oqAOxHisGMj579asbFOaI90w== X-Received: by 2002:a05:600c:1c20:: with SMTP id j32mr15642106wms.1.1636714812699; Fri, 12 Nov 2021 03:00:12 -0800 (PST) Received: from atlas.home (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 8sm3748796wmg.24.2021.11.12.03.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 03:00:12 -0800 (PST) From: Romain Naour <romain.naour@gmail.com> To: buildroot@buildroot.org Date: Fri, 12 Nov 2021 12:00:03 +0100 Message-Id: <20211112110007.787836-3-romain.naour@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211112110007.787836-1-romain.naour@gmail.com> References: <20211112110007.787836-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/6] support/testing: test_luvi: switch to armv5 to boot with rng support enabled X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.buildroot.org> List-Unsubscribe: <https://lists.buildroot.org/mailman/options/buildroot>, <mailto:buildroot-request@buildroot.org?subject=unsubscribe> List-Archive: <http://lists.buildroot.org/pipermail/buildroot/> List-Post: <mailto:buildroot@buildroot.org> List-Help: <mailto:buildroot-request@buildroot.org?subject=help> List-Subscribe: <https://lists.buildroot.org/mailman/listinfo/buildroot>, <mailto:buildroot-request@buildroot.org?subject=subscribe> Cc: Romain Naour <romain.naour@gmail.com>, =?utf-8?q?J=C3=B6rg_Krause?= <joerg.krause@embedded.rocks> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" <buildroot-bounces@buildroot.org> |
Series |
rework luvi test in gitlab after luajit version bump.
|
expand
|
diff --git a/support/testing/tests/package/test_luvi.py b/support/testing/tests/package/test_luvi.py index a85a6f4d27..eb15ad31b5 100644 --- a/support/testing/tests/package/test_luvi.py +++ b/support/testing/tests/package/test_luvi.py @@ -17,7 +17,7 @@ class TestLuvi(infra.basetest.BRTest): def login(self): cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", + self.emulator.boot(arch="armv5", kernel="builtin", options=["-initrd", cpio_file]) self.emulator.login()
Since the commit replacing moonjit by luajit [1] luvi doesn't work without rng support enabled. Switch to armv5 to use virtio-rng-pci on the qemu command line [2]. [1] 9450b53c8e06f1b5a75840b82c0f4663a5d75c45 [2] https://git.buildroot.net/buildroot/tree/support/testing/infra/emulator.py?h=2021.08.1 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Jörg Krause <joerg.krause@embedded.rocks> --- luvi still doesn't work since the luv static linking doesn't seems to work anymore. (see https://github.com/luvit/luvi/commit/a9dc8dae2eb69d4a754a0cf5c08622d70f6b7067) # luvi -v [string "return require('init')(...)"]:1: module 'init' not found: no field package.preload['init'] no file './init.lua' no file '/usr/share/luajit-2.1.0-beta3/init.lua' no file '/usr/local/share/lua/5.1/init.lua' no file '/usr/local/share/lua/5.1/init/init.lua' no file '/usr/share/lua/5.1/init.lua' no file '/usr/share/lua/5.1/init/init.lua' no file './init.so' no file '/usr/local/lib/lua/5.1/init.so' no file '/usr/lib/lua/5.1/init.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' [string "return require('init')(...)"]:1: in main chunk luvi now try to load init.lua script: https://github.com/luvit/luvi/blob/v2.12.0/src/main.c#L176 Reverting to moonjit fixes the issue. --- support/testing/tests/package/test_luvi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)