Message ID | 20211112190650.84234-3-romain.naour@gmail.com |
---|---|
State | Accepted |
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=FJd/9KEM; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=<UNKNOWN>) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 4HrSl034H8z9s0r for <incoming-buildroot@patchwork.ozlabs.org>; Sat, 13 Nov 2021 06:07:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id AF0DB61548; Fri, 12 Nov 2021 19:07:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tyfkXoK71FD1; Fri, 12 Nov 2021 19:07:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 0B14961546; Fri, 12 Nov 2021 19:07:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C780F1BF31F for <buildroot@lists.busybox.net>; Fri, 12 Nov 2021 19:07:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B5CAE40249 for <buildroot@lists.busybox.net>; Fri, 12 Nov 2021 19:07:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KB598Enx4FLp for <buildroot@lists.busybox.net>; Fri, 12 Nov 2021 19:06:57 +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 smtp2.osuosl.org (Postfix) with ESMTPS id A43D0400D0 for <buildroot@buildroot.org>; Fri, 12 Nov 2021 19:06:57 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id v127so8544604wme.5 for <buildroot@buildroot.org>; Fri, 12 Nov 2021 11:06:57 -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=FJd/9KEMrYnefWVacjfuAVqxHw1oNwa+rnsX+frygNy6hPZ4xPJBSMhjzGBYobQPBG gdMEAxJ1VcF9FkyxuxTbLnY4LPwvWQb6ox/8FNB1b7albfbV5X//8b9T+mvGyjwhMcR4 gKlAYTdg+GtDt52i6QKhubj4nqeJxVek2ET7pfKsxBQ19OVg/YLrlppxtNQqV51PKHfy lIpfEImdCSg3VafuGeB82wYya7pfR7upkX44Fbegd8k0QA7+wPY4P70lg5DQAYsqqC3v 2D45SbpurJLedv3/tYzeXRqh039l1gKG2cejP1VS9wDUeBnsS8Wzw55GhLmtqM6LsQDm rsiQ== 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=dBAETTAlldccn12RnfnKS2Z4N6hG3tGMbqjax0bU1PVaAh6sq3XpTtsxkOrr1Yms+X taziSxNyI3D3cpiDk2gHkFTUF+pV+R2jwU0AQJtL4O1OgBqehI/5rxYNrRbriw0Id9vm Xc961B+ImyxBv/9oy7xx7co7a6RceeffsisihnHjqrylF3BRE2fAoiGtEY+uDmevLt+Z Bz6R9L4oaIYY3rWpFdNjmzfNI+gMBeYjnrXLVHcq7+IDJun57v1ROMzWFs7DJFjA4SVy pF7JqPLGNA5Ljy6r9kOrKD5JXsPVvBiYP0Z9HcqhEiJHcrXD1X0irih70JnNidP+4mGY GeRA== X-Gm-Message-State: AOAM531eSGgFVUKIrlRnHBWWU7mbZq8sxjh8j8q8rhnnG4XL0HgWnFsv tLsUmtcjsLtKSe1KErmayhIOHBkcbkk= X-Google-Smtp-Source: ABdhPJwDMj/Ok7P4x2N6rx4NJstHhLfArruDGCKdK/KIos9k6oBN6mejIJIypFjsqbQvp97FzGTN+w== X-Received: by 2002:a05:600c:40b:: with SMTP id q11mr19298265wmb.185.1636744015994; Fri, 12 Nov 2021 11:06:55 -0800 (PST) Received: from atlas.home (arennes-651-1-314-16.w2-12.abo.wanadoo.fr. [2.12.73.16]) by smtp.gmail.com with ESMTPSA id d15sm9462604wri.50.2021.11.12.11.06.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 11:06:55 -0800 (PST) From: Romain Naour <romain.naour@gmail.com> To: buildroot@buildroot.org Date: Fri, 12 Nov 2021 20:06:46 +0100 Message-Id: <20211112190650.84234-3-romain.naour@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211112190650.84234-1-romain.naour@gmail.com> References: <20211112190650.84234-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 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(-)