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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1BE4C433EF for ; Tue, 29 Mar 2022 10:27:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CDFA48D0002; Tue, 29 Mar 2022 06:27:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C67F28D0001; Tue, 29 Mar 2022 06:27:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AE1ED8D0002; Tue, 29 Mar 2022 06:27:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id 999718D0001 for ; Tue, 29 Mar 2022 06:27:02 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 6478A120E61 for ; Tue, 29 Mar 2022 10:27:02 +0000 (UTC) X-FDA: 79297045884.08.389E82D Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf21.hostedemail.com (Postfix) with ESMTP id 0E04B1C0004 for ; Tue, 29 Mar 2022 10:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648549619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z3VdtsV7Mt0HPHZ2S0nq3Ho3kOS/p9vrNcK6WqWifvc=; b=IKSCFhcVeNNUjJXtgwHxb9wBit3Ro5k0UjkQFeJn/475QFgvFhKkFCEogtxq+w0hgOuQEU j0juMuAwXoXpLyKIS4r9wuxKQO6UkFGFBDtU1tYzsYd/JK0/37wsGcfTW6W5rRq0p45oWI axg8tEXLwj4lfanBmTJJKDj9288vbbA= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-505-AwRr6T4TN4yaMmP_dHnZcg-1; Tue, 29 Mar 2022 06:26:56 -0400 X-MC-Unique: AwRr6T4TN4yaMmP_dHnZcg-1 Received: by mail-lj1-f198.google.com with SMTP id 133-20020a2e098b000000b00249b89dadfbso4981861ljj.9 for ; Tue, 29 Mar 2022 03:26:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Z3VdtsV7Mt0HPHZ2S0nq3Ho3kOS/p9vrNcK6WqWifvc=; b=UTbaX2+NjAw1H0LsG8HMiJkNckrbN/ra6JTXCt6QyZlTrXPLX0Qu4TPBu5Gmb+8uC4 NFoi0oCCHtiYGZUF3XlPZ2YRk9tlcLrO1TolzL1fQQ+JBfBOctWmiBNe6cNxdczU3Nni 7wY0qhVcUm0z0x/hUNdYvvJ991P+Q5sLCiCVQKWx9psHdwWoomlvJhAvVHSDWzqV5Imd ZXQvEHoZjpg5i1xPbV0n/ozvdV5SMVAyyMNhOpo7xMVXA+40HG+auTe3PxJv+Or0lp++ Yr8sni34Bf0jStnFB+ab/4Kah0P3S9f3FBopzKyhIqgDr+hFPBGxwBRc2QCP82u8lbk6 3+3A== X-Gm-Message-State: AOAM532m8dbJfcQ6Z7TShA+wvX15qv4e555TIqY9SpifwkYId/xhU8ll aRGGRndeeC8fpr90d+lIEAgCk9cY4xhwUOkznYsx57vTecMLgD5fIau/bNpauanMqOt5t3XBUTG yLwP2vwUgIhzNzzseOTRrOt3uzhc= X-Received: by 2002:a05:6512:3d8f:b0:44a:2c65:8323 with SMTP id k15-20020a0565123d8f00b0044a2c658323mr2087417lfv.52.1648549614428; Tue, 29 Mar 2022 03:26:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1sVP3a3GKLVknaZbCgRPHgMmBx1vaBwHT/RpPgJKTOtXXlYxC14ENXweDZzGDz6dIshQw/oGN2NHbJngOKrU= X-Received: by 2002:a05:6512:3d8f:b0:44a:2c65:8323 with SMTP id k15-20020a0565123d8f00b0044a2c658323mr2087385lfv.52.1648549614069; Tue, 29 Mar 2022 03:26:54 -0700 (PDT) MIME-Version: 1.0 References: <20220311032233.GD18612@xsang-OptiPlex-9020> In-Reply-To: <20220311032233.GD18612@xsang-OptiPlex-9020> From: Bruno Goncalves Date: Tue, 29 Mar 2022 12:26:43 +0200 Message-ID: Subject: Re: [fs] 37da949345: xfstests.generic.374.fail To: kernel test robot Cc: Josef Bacik , David Sterba , "Darrick J. Wong" , Nikolay Borisov , LKML , Linux Memory Management List , lkp@lists.01.org, lkp@intel.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Stat-Signature: 8cq8zaag39c5bd9whygce3b1y53ea9qs X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 0E04B1C0004 Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=IKSCFhcV; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf21.hostedemail.com: domain of bgoncalv@redhat.com has no SPF policy when checking 170.10.129.124) smtp.mailfrom=bgoncalv@redhat.com X-Rspam-User: X-HE-Tag: 1648549619-440013 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Mar 11, 2022 at 4:23 AM kernel test robot w= rote: > > > > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 37da9493451c35886a11bfe45d62adc27d9c46b3 ("fs: allow cross-vfsmou= nt reflink/dedupe") > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master > > in testcase: xfstests > version: xfstests-x86_64-1de1db8-1_20220217 > with following parameters: > > disk: 4HDD > fs: btrfs > test: generic-group-18 > ucode: 0xec > > test-description: xfstests is a regression test suite for xfs and other f= iles ystems. > test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git > > > on test machine: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz with= 16G memory > > caused below changes (please refer to attached dmesg/kmsg for entire log/= backtrace): > > > > > If you fix the issue, kindly add following tag > Reported-by: kernel test robot > > 2022-03-10 14:43:23 export TEST_DIR=3D/fs/sda1 > 2022-03-10 14:43:23 export TEST_DEV=3D/dev/sda1 > 2022-03-10 14:43:23 export FSTYP=3Dbtrfs > 2022-03-10 14:43:23 export SCRATCH_MNT=3D/fs/scratch > 2022-03-10 14:43:23 mkdir /fs/scratch -p > 2022-03-10 14:43:23 export SCRATCH_DEV_POOL=3D"/dev/sda2 /dev/sda3 /dev/s= da4" > 2022-03-10 14:43:23 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/g= eneric-group-18 > 2022-03-10 14:43:23 ./check generic/360 generic/361 generic/362 generic/3= 63 generic/364 generic/365 generic/366 generic/367 generic/368 generic/369 = generic/370 generic/371 generic/372 generic/373 generic/374 generic/375 gen= eric/376 generic/377 generic/378 generic/379 > FSTYP -- btrfs > PLATFORM -- Linux/x86_64 lkp-skl-d06 5.17.0-rc7-00085-g37da9493451c = #1 SMP Thu Mar 10 21:42:40 CST 2022 > MKFS_OPTIONS -- /dev/sda2 > MOUNT_OPTIONS -- /dev/sda2 /fs/scratch > > generic/360 1s > generic/361 12s > generic/362 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/363 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/364 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/365 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/366 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/367 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/368 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/369 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/370 [not run] this test requires richacl support on $SCRATCH_= DEV > generic/371 68s > generic/372 [not run] Explicit SHARED flag reporting not support by f= ilesystem type: btrfs > generic/373 - output mismatch (see /lkp/benchmarks/xfstests/results//= generic/373.out.bad) > --- tests/generic/373.out 2022-02-17 11:55:00.000000000 +0000 > +++ /lkp/benchmarks/xfstests/results//generic/373.out.bad 2022-03-1= 0 14:44:54.201679653 +0000 > @@ -3,7 +3,6 @@ > Mount otherdir > Create file > Reflink one file to another > -cp: failed to clone 'OTHER_DIR/test-373/otherfiles' from 'SCRATCH_MN= T/test-373/file': Invalid cross-device link > Check output > 2d61aa54b58c2e94403fb092c3dbc027 SCRATCH_MNT/test-373/file > Unmount otherdir > ... > (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/373.out /lkp/ben= chmarks/xfstests/results//generic/373.out.bad' to see the entire diff) > generic/374 - output mismatch (see /lkp/benchmarks/xfstests/results//= generic/374.out.bad) > --- tests/generic/374.out 2022-02-17 11:55:00.000000000 +0000 > +++ /lkp/benchmarks/xfstests/results//generic/374.out.bad 2022-03-1= 0 14:44:55.890679630 +0000 > @@ -3,7 +3,8 @@ > Mount otherdir > Create file > Dedupe one file to another > -XFS_IOC_FILE_EXTENT_SAME: Invalid cross-device link > +deduped 65536/65536 bytes at offset 0 > +64 KiB, 1 ops; 0.0018 sec (33.967 MiB/sec and 543.4783 ops/sec) > Check output > ... > (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/374.out /lkp/ben= chmarks/xfstests/results//generic/374.out.bad' to see the entire diff) > generic/375 1s > generic/376 2s > generic/377 1s > generic/378 1s > generic/379 [not run] disk quotas not supported by this filesystem ty= pe: btrfs > Ran: generic/360 generic/361 generic/362 generic/363 generic/364 generic/= 365 generic/366 generic/367 generic/368 generic/369 generic/370 generic/371= generic/372 generic/373 generic/374 generic/375 generic/376 generic/377 ge= neric/378 generic/379 > Not run: generic/362 generic/363 generic/364 generic/365 generic/366 gene= ric/367 generic/368 generic/369 generic/370 generic/372 generic/379 > Failures: generic/373 generic/374 > Failed 2 of 20 tests > > We are also able to reproduce this on mainline kernel with gcc12, the problem seems to have been introduced by [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm= it/?id=3D5191290407668028179f2544a11ae9b57f0bcf07 Bruno > > > To reproduce: > > git clone https://github.com/intel/lkp-tests.git > cd lkp-tests > sudo bin/lkp install job.yaml # job file is attached in= this email > bin/lkp split-job --compatible job.yaml # generate the yaml file = for lkp run > sudo bin/lkp run generated-yaml-file > > # if come across any failure that blocks the test, > # please remove ~/.lkp and /lkp dir to run from a clean state. > > > > --- > 0-DAY CI Kernel Test Service > https://lists.01.org/hyperkitty/list/lkp@lists.01.org > > Thanks, > Oliver Sang >