Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 153ADC7618D for ; Mon, 20 Mar 2023 08:10:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230119AbjCTIKg (ORCPT ); Mon, 20 Mar 2023 04:10:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbjCTIKc (ORCPT ); Mon, 20 Mar 2023 04:10:32 -0400 Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F5C216ACC for ; Mon, 20 Mar 2023 01:10:25 -0700 (PDT) Received: by mail-vs1-xe29.google.com with SMTP id e19so9718813vsu.4 for ; Mon, 20 Mar 2023 01:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679299824; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XyruMyeoD+hrWXP8aDdbCTVKCXuiXs+daA9a2pDM12k=; b=ynVAXvIGlNpjGEyh/kYClKuTqQkEgSZ7zHbBrLpI5ZkIL4ORHXlZJ3796YVEzCXM+g xDsDx5pbHCaW3oN2YULIE00GbTeZMcO9294GxPxRiydvYbAwp23bzz+y0LpdGuxKXbhY b8YEj9mvGS8qhVFk46FQ1mkpkWsTZsXCSYkDHiAiBVdUx+6uP+bXVALGtgSRuWE8QhFU X8KIR337W/H+9FX57g2JpCakwic8on7BhmnY24l60LgopVr9rgR+meJ/lQc7TVrBQUzH s3biSp3b4YgNeb/T6TG0K7tJBI6Y/OLiS72ygEF5BOOcyS/U9urQxMAaKgq8i0ZJgtdV Ij/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679299824; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XyruMyeoD+hrWXP8aDdbCTVKCXuiXs+daA9a2pDM12k=; b=ydFTJuDlR7mFrE+UI4ZZ37GmtReSKeSKveYrCSnRqYYzcJDhBOAY6JtX7oJAqsUPD9 bTmZKIg8oiHcPmzj7F0HH90ugn/196R1E0MBOOUbTaW8nkrJL8XWQ0QWtji8ekP0OUwO Lxk43HQ4zmS1+AT5FWQuYzH3ApVv+plFCExZ5zlhmkeyuCwYDSiODvmIni5p0c0fkmGA BApPyqFSGbkarhQJNlvvzuUoX6wshV8n+31X/qOFp2JTOtfQi1OzswV60VYxM02hr7D1 Jun35VQep7UhaQbTDDvxgAeU0raUpWi0P9yLth33TVp2eUds2KzMFPdfuCgQlDvmGT4D cpVg== X-Gm-Message-State: AO0yUKVNIaa/juOt9FwGsooG/4riomOTVe6cdb0ZVwsA0LIL6MvrY3mF 6X83tiKbFp3eZ2vY+ziDplGOi9b5lBbp0cHoOvCjCQ== X-Google-Smtp-Source: AK7set8eaj+BB0+NPpCjh6wmE7Sdv1oJ2Y69yRfbA/3vCmoCvkwdIZBtg50RWciS9RvhwDbSwZGM3gsqSgFSmaahUKE= X-Received: by 2002:a67:c19d:0:b0:425:f1d7:79f7 with SMTP id h29-20020a67c19d000000b00425f1d779f7mr3493910vsj.1.1679299823993; Mon, 20 Mar 2023 01:10:23 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 20 Mar 2023 13:40:13 +0530 Message-ID: Subject: selftests: arm64: list of test failures To: Linux ARM , open list , lkft-triage@lists.linaro.org, "open list:KERNEL SELFTEST FRAMEWORK" Cc: Mark Brown , Catalin Marinas , Will Deacon , Arnd Bergmann , Anders Roxell Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org selftests: arm64 below list of test cases fails on Linux next and Linux mainline builds with clang-16 and gcc-12 kernel booted on recently configured tuxrun qemu-arm64 (v7.2) enabled with MTE=on. Am I missing anything on test configs / environment ? List of selftests: arm64 test failures, - not ok 38 selftests: arm64: check_buffer_fill # exit=1 - not ok 39 selftests: arm64: check_child_memory # exit=1 - not ok 41 selftests: arm64: check_ksm_options # exit=1 - not ok 42 selftests: arm64: check_mmap_options # exit=1 - not ok 44 selftests: arm64: check_tags_inclusion # exit=1 Reported-by: Linux Kernel Functional Testing Test log: -------- [ 0.000000] Linux version 6.3.0-rc3-next-20230320 (tuxmake@tuxmake) (Debian clang version 16.0.0 (++20230314094206+fce3e75e01ba-1~exp1~20230314094258.55), Debian LLD 16.0.0) #1 SMP PREEMPT @1679285968 .. [ 0.000000] CPU features: detected: Memory Tagging Extension .. # selftests: arm64: check_buffer_fill # 1..20 # not ok 1 Check buffer correctness by byte with sync err mode and mmap memory # not ok 2 Check buffer correctness by byte with async err mode and mmap memory # not ok 3 Check buffer correctness by byte with sync err mode and mmap/mprotect memory # not ok 4 Check buffer correctness by byte with async err mode and mmap/mprotect memory # not ok 5 Check buffer write underflow by byte with sync mode and mmap memory # not ok 6 Check buffer write underflow by byte with async mode and mmap memory # ok 7 Check buffer write underflow by byte with tag check fault ignore and mmap memory # ok 8 Check buffer write underflow by byte with sync mode and mmap memory # ok 9 Check buffer write underflow by byte with async mode and mmap memory # ok 10 Check buffer write underflow by byte with tag check fault ignore and mmap memory # not ok 11 Check buffer write overflow by byte with sync mode and mmap memory # not ok 12 Check buffer write overflow by byte with async mode and mmap memory # ok 13 Check buffer write overflow by byte with tag fault ignore mode and mmap memory # not ok 14 Check buffer write correctness by block with sync mode and mmap memory # not ok 15 Check buffer write correctness by block with async mode and mmap memory # ok 16 Check buffer write correctness by block with tag fault ignore and mmap memory # ok 17 Check initial tags with private mapping, sync error mode and mmap memory # ok 18 Check initial tags with private mapping, sync error mode and mmap/mprotect memory # ok 19 Check initial tags with shared mapping, sync error mode and mmap memory # ok 20 Check initial tags with shared mapping, sync error mode and mmap/mprotect memory # # Totals: pass:10 fail:10 xfail:0 xpass:0 skip:0 error:0 not ok 38 selftests: arm64: check_buffer_fill # exit=1 # selftests: arm64: check_child_memory # 1..12 # not ok 1 Check child anonymous memory with private mapping, precise mode and mmap memory # not ok 2 Check child anonymous memory with shared mapping, precise mode and mmap memory # not ok 3 Check child anonymous memory with private mapping, imprecise mode and mmap memory # not ok 4 Check child anonymous memory with shared mapping, imprecise mode and mmap memory # not ok 5 Check child anonymous memory with private mapping, precise mode and mmap/mprotect memory # not ok 6 Check child anonymous memory with shared mapping, precise mode and mmap/mprotect memory # not ok 7 Check child file memory with private mapping, precise mode and mmap memory # not ok 8 Check child file memory with shared mapping, precise mode and mmap memory # not ok 9 Check child file memory with private mapping, imprecise mode and mmap memory # not ok 10 Check child file memory with shared mapping, imprecise mode and mmap memory # not ok 11 Check child file memory with private mapping, precise mode and mmap/mprotect memory # not ok 12 Check child file memory with shared mapping, precise mode and mmap/mprotect memory # # Totals: pass:0 fail:12 xfail:0 xpass:0 skip:0 error:0 not ok 39 selftests: arm64: check_child_memory # exit=1 # selftests: arm64: check_ksm_options # 1..4 # # Invalid MTE synchronous exception caught! not ok 41 selftests: arm64: check_ksm_options # exit=1 # selftests: arm64: check_mmap_options # 1..22 # ok 1 Check anonymous memory with private mapping, sync error mode, mmap memory and tag check off # ok 2 Check file memory with private mapping, sync error mode, mmap/mprotect memory and tag check off # ok 3 Check anonymous memory with private mapping, no error mode, mmap memory and tag check off # ok 4 Check file memory with private mapping, no error mode, mmap/mprotect memory and tag check off # not ok 5 Check anonymous memory with private mapping, sync error mode, mmap memory and tag check on # not ok 6 Check anonymous memory with private mapping, sync error mode, mmap/mprotect memory and tag check on # not ok 7 Check anonymous memory with shared mapping, sync error mode, mmap memory and tag check on # not ok 8 Check anonymous memory with shared mapping, sync error mode, mmap/mprotect memory and tag check on # not ok 9 Check anonymous memory with private mapping, async error mode, mmap memory and tag check on # not ok 10 Check anonymous memory with private mapping, async error mode, mmap/mprotect memory and tag check on # not ok 11 Check anonymous memory with shared mapping, async error mode, mmap memory and tag check on # not ok 12 Check anonymous memory with shared mapping, async error mode, mmap/mprotect memory and tag check on # not ok 13 Check file memory with private mapping, sync error mode, mmap memory and tag check on # not ok 14 Check file memory with private mapping, sync error mode, mmap/mprotect memory and tag check on # not ok 15 Check file memory with shared mapping, sync error mode, mmap memory and tag check on # not ok 16 Check file memory with shared mapping, sync error mode, mmap/mprotect memory and tag check on # not ok 17 Check file memory with private mapping, async error mode, mmap memory and tag check on # not ok 18 Check file memory with private mapping, async error mode, mmap/mprotect memory and tag check on # not ok 19 Check file memory with shared mapping, async error mode, mmap memory and tag check on # not ok 20 Check file memory with shared mapping, async error mode, mmap/mprotect memory and tag check on # not ok 21 Check clear PROT_MTE flags with private mapping, sync error mode and mmap memory # not ok 22 Check clear PROT_MTE flags with private mapping and sync error mode and mmap/mprotect memory # # Totals: pass:4 fail:18 xfail:0 xpass:0 skip:0 error:0 not ok 42 selftests: arm64: check_mmap_options # exit=1 # selftests: arm64: check_tags_inclusion # 1..4 # # Unexpected fault recorded for 0xb00ffff97724000-0xb00ffff97724050 in mode 1 # not ok 1 Check an included tag value with sync mode # # Unexpected fault recorded for 0xc00ffff97724000-0xc00ffff97724050 in mode 1 # not ok 2 Check different included tags value with sync mode # ok 3 Check none included tags value with sync mode # # Unexpected fault recorded for 0xc00ffff97724000-0xc00ffff97724050 in mode 1 # not ok 4 Check all included tags value with sync mode # # Totals: pass:1 fail:3 xfail:0 xpass:0 skip:0 error:0 not ok 44 selftests: arm64: check_tags_inclusion # exit=1 steps to reproduce: ------- # To install tuxrun on your system globally: # sudo pip3 install -U tuxrun==0.38.1 # # See https://tuxrun.org/ for complete documentation. tuxrun \ --runtime podman \ --device qemu-arm64 \ --boot-args rw \ --kernel https://storage.tuxsuite.com/public/linaro/lkft/builds/2NGM7Z86D9eB4UfDbhPFzJ0q6qa/Image.gz \ --modules https://storage.tuxsuite.com/public/linaro/lkft/builds/2NGM7Z86D9eB4UfDbhPFzJ0q6qa/modules.tar.xz \ --rootfs https://storage.tuxboot.com/debian/bookworm/arm64/rootfs.ext4.xz \ --parameters SKIPFILE=skipfile-lkft.yaml \ --parameters KSELFTEST=https://storage.tuxsuite.com/public/linaro/lkft/builds/2NGM7Z86D9eB4UfDbhPFzJ0q6qa/kselftest.tar.xz \ --image docker.io/lavasoftware/lava-dispatcher:2023.01.0020.gc1598238f \ --tests kselftest-arm64 \ --timeouts boot=30 kselftest-arm64=60 Boot command: ...... /usr/bin/qemu-system-aarch64 \ -cpu max,pauth-impdef=on \ -machine virt,gic-version=3,mte=on \ -nographic \ -nic none \ -m 4G \ -monitor none \ -no-reboot \ -smp 2 \ -kernel Image \ -append \"console=ttyAMA0,115200 rootwait root=/dev/vda debug verbose console_msg_format=syslog rw earlycon\" \ -drive file=/debian_bookworm_arm64_rootfs.ext4,if=none,format=raw,id=hd0 \ -device virtio-blk-device,drive=hd0 Test log links, Linux next: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230320/testrun/15730813/suite/kselftest-arm64/test/arm64_check_buffer_fill/log https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230320/testrun/15730813/suite/kselftest-arm64/test/arm64_check_buffer_fill/details/ https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230320/testrun/15731016/suite/kselftest-arm64/test/arm64_check_buffer_fill/details/ https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230320/testrun/15731016/suite/kselftest-arm64/test/arm64_check_buffer_fill/log mainline: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.3-rc3/testrun/15724690/suite/kselftest-arm64/test/arm64_check_buffer_fill/details/ https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.3-rc3/testrun/15724690/suite/kselftest-arm64/test/arm64_check_buffer_fill/log -- Linaro LKFT https://lkft.linaro.org