From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAF7FC433E1 for ; Mon, 27 Jul 2020 21:29:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97AC220809 for ; Mon, 27 Jul 2020 21:29:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F2PfHOk3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726410AbgG0V3a (ORCPT ); Mon, 27 Jul 2020 17:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgG0V33 (ORCPT ); Mon, 27 Jul 2020 17:29:29 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C305CC0619D2 for ; Mon, 27 Jul 2020 14:29:29 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id o22so10360707pjw.2 for ; Mon, 27 Jul 2020 14:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5Dff01qDEzYUZSwTQN0UlukOdsjfAdYMLKRwTiRnLfE=; b=F2PfHOk3i81XGbMwyfnrAK3zT4wm2DI1ZObsHr5Bgo4hnK7LXNOa5J6ekBBFJUztW3 k2DwMR4Gi8JuiSOf22EpQwTqiNnnVlEwkL8bhOIi1dRwpteCw/t5trwL+UC96d4Vxm6j 7eKiG4ik250N4LaPpmqVznQPZZ55y2/dVWK2rcYXZGfPcm6zm6Q5EQPHaEGm5bTTy/9x 6QDwtWoCPrVb/+WZBmOWMu811dNpz4XdhG1joPzH/432NQDWs2hms48s3Ym/3CDuB+fG MitfRutOeCcPgXBnpZOacWaAOCQUEkmg5FKK3nxQcfi0QccLGSFNrF0n8M12vo8eQ9IP rxJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5Dff01qDEzYUZSwTQN0UlukOdsjfAdYMLKRwTiRnLfE=; b=JlbENDFIQB3gYl/7wAqbXIx7XGTbZ2aFVBl27BPUiEqmXgw5vrEvvEb4ZeDJmjhtla Qj4sRcpt0WN9sjZnHh1LUrDHc+SFKl6VTnV6c+9jocqBzPjM8CojehTjNYWIIks3FvJJ pkuRSfQLZySh8LAh/wi/ZCpoW70F6owdKqTDHg3FuMgkYVOj93FwOe4cey1Wdqg9qKh2 bBdwZgTg7PEiEBUAdscChiZAvUq0pIG6otC9yWz7I+qxGhEinqsDI5zbNW9YiUPM1B79 j7sL0jA1IGJwgAB79ONrKYIcJSfcX0H9a4xNnyj1FBeLQJQjY9ATU2BWIqnxR68HrAXO v/kw== X-Gm-Message-State: AOAM532Q8nVqHjs78qXgyEF4YWytMqCELw8M8BBsctnKJ9o4M4nf0Nvu IY7W9hNb+t6BrDo0dFW3SvuBSzH6Ex24atdKlpgGZYRpwt0= X-Google-Smtp-Source: ABdhPJwABsvL++WC69nH+pz/KcjSYeHWHJ1OYasPRSG+MTz1Iwp1u2HACpLc59l6eoPEidE1dZOVrog2phspyb+Q1S8= X-Received: by 2002:a17:90a:362e:: with SMTP id s43mr1140553pjb.217.1595885368949; Mon, 27 Jul 2020 14:29:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Brendan Higgins Date: Mon, 27 Jul 2020 14:29:17 -0700 Message-ID: Subject: Re: kunit compile failed on um To: Cixi Geng Cc: "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , "linux-kernel@vger.kernel.org" , Orson Zhai , zhang.lyra@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 3:01 AM Cixi Geng wrote: > > Hi Brendan: > When I run kunit test in um , it failed on kernel 5.8-rc* while > succeeded in v5.7 with same configuration. is this a bug? > > Here is my operation: > gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) > > the kunitconfig: > Cixi.Geng:~/git-projects/torvals-linux$ cat .kunitconfig > CONFIG_KUNIT=y > CONFIG_KUNIT_TEST=y > CONFIG_KUNIT_EXAMPLE_TEST=y > > command: > Cixi.Geng:~/git-projects/torvals-linux$ ./tools/testing/kunit/kunit.py run > > the Error log: > [17:51:14] Configuring KUnit Kernel ... > [17:51:14] Building KUnit Kernel ... > ERROR:root:b"make[1]: > \xe8\xbf\x9b\xe5\x85\xa5\xe7\x9b\xae\xe5\xbd\x95\xe2\x80\x9c/home/cixi.geng1/git-projects/torvals-linux/.kunit\xe2\x80\x9d\n/home/cixi.geng1/git-projects/torvals-linux/Makefile:551: > recipe for target 'outputmakefile' failed\nmake[1]: > \xe7\xa6\xbb\xe5\xbc\x80\xe7\x9b\xae\xe5\xbd\x95\xe2\x80\x9c/home/cixi.geng1/git-projects/torvals-linux/.kunit\xe2\x80\x9d\nMakefile:185: > recipe for target '__sub-make' failed\n" So we have a fix out for the cryptic error messages: https://patchwork.kernel.org/patch/11652711/ But I believe it has not been picked up yet. In the meantime, you should get more information by running ls .kunit make ARCH=um O=.kunit Let us know if you have any additional questions.