2021-04-01 20:37:29

by Alexey Dobriyan

[permalink] [raw]
Subject: [PATCH] Dixup sysname wrt recent cultural developments

It is apparent that emoji outbreak can not be contained.
In that case might as well embrace it.

Change main kernel banner, /proc/version and uname(2) output.

Signed-off-by: Alexey Dobriyan <[email protected]>
---

include/linux/uts.h | 2 +-
init/version.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--- a/include/linux/uts.h
+++ b/include/linux/uts.h
@@ -6,7 +6,7 @@
* Defines for what uname() should return
*/
#ifndef UTS_SYSNAME
-#define UTS_SYSNAME "Linux"
+#define UTS_SYSNAME "????"
#endif

#ifndef UTS_NODENAME
--- a/init/version.c
+++ b/init/version.c
@@ -36,7 +36,7 @@ EXPORT_SYMBOL_GPL(init_uts_ns);

/* FIXED STRINGS! Don't touch! */
const char linux_banner[] =
- "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
+ "???? version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";

const char linux_proc_banner[] =


2021-04-05 20:43:36

by kernel test robot

[permalink] [raw]
Subject: 29c2086e7a: xfstests.xfs.290.fail



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 29c2086e7ae59d3807c1cfe65fcc0a25fd476829 ("[PATCH] Dixup sysname wrt recent cultural developments")
url: https://github.com/0day-ci/linux/commits/Alexey-Dobriyan/Dixup-sysname-wrt-recent-cultural-developments/20210402-043806
base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 5e46d1b78a03d52306f21f77a4e4a144b6d31486

in testcase: xfstests
version: xfstests-x86_64-73c0871-1_20210401
with following parameters:

disk: 4HDD
fs: xfs
test: xfs-group-29
ucode: 0x21

test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git


on test machine: 4 threads Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G 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 <[email protected]>

2021-04-02 10:56:38 export TEST_DIR=/fs/sdb1
2021-04-02 10:56:38 export TEST_DEV=/dev/sdb1
2021-04-02 10:56:38 export FSTYP=xfs
2021-04-02 10:56:38 export SCRATCH_MNT=/fs/scratch
2021-04-02 10:56:38 mkdir /fs/scratch -p
2021-04-02 10:56:38 export SCRATCH_DEV=/dev/sdb4
2021-04-02 10:56:38 export SCRATCH_LOGDEV=/dev/sdb2
2021-04-02 10:56:38 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2021-04-02 10:56:38 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2021-04-02 10:56:38 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group-29
2021-04-02 10:56:38 ./check xfs/290 xfs/291 xfs/292 xfs/293 xfs/294 xfs/295 xfs/296 xfs/297 xfs/298 xfs/299
FSTYP -- xfs (debug)
PLATFORM -- ????/x86_64 lkp-ivb-d05 5.12.0-rc5-00018-g29c2086e7ae5 #1 SMP Fri Apr 2 09:52:08 CST 2021
MKFS_OPTIONS -- -f -bsize=4096 /dev/sdb4
MOUNT_OPTIONS -- /dev/sdb4 /fs/scratch

xfs/290 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/290.out.bad)
--- tests/xfs/290.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/290.out.bad 2021-04-02 10:56:41.393898493 +0000
@@ -1,4 +1,5 @@
QA output created by 290
+common/config: line 49: _fatal: command not found
zero 0, 1
wrote 4096/4096 bytes at offset 0
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/290.out /lkp/benchmarks/xfstests/results//xfs/290.out.bad' to see the entire diff)
xfs/291 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/291.out.bad)
--- tests/xfs/291.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/291.out.bad 2021-04-02 10:57:20.240900226 +0000
@@ -1 +1,2 @@
QA output created by 291
+common/config: line 49: _fatal: command not found
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/291.out /lkp/benchmarks/xfstests/results//xfs/291.out.bad' to see the entire diff)
xfs/292 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/292.out.bad)
--- tests/xfs/292.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/292.out.bad 2021-04-02 10:57:23.119900355 +0000
@@ -1,4 +1,5 @@
QA output created by 292
+common/config: line 49: _fatal: command not found
mkfs.xfs without geometry
ddev=FILENAME
agcount=4
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/292.out /lkp/benchmarks/xfstests/results//xfs/292.out.bad' to see the entire diff)
xfs/293 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/293.out.bad)
--- tests/xfs/293.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/293.out.bad 2021-04-02 10:57:23.641900378 +0000
@@ -1,2 +1,3 @@
QA output created by 293
+common/config: line 49: _fatal: command not found
Silence is golden
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/293.out /lkp/benchmarks/xfstests/results//xfs/293.out.bad' to see the entire diff)
xfs/294 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/294.out.bad)
--- tests/xfs/294.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/294.out.bad 2021-04-02 10:57:46.774901410 +0000
@@ -1,2 +1,3 @@
QA output created by 294
+common/config: line 49: _fatal: command not found
23accd029fad51ec02e4ec1f24799878 -
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/294.out /lkp/benchmarks/xfstests/results//xfs/294.out.bad' to see the entire diff)
xfs/295 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/295.out.bad)
--- tests/xfs/295.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/295.out.bad 2021-04-02 10:57:55.851901815 +0000
@@ -1 +1,2 @@
QA output created by 295
+common/config: line 49: _fatal: command not found
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/295.out /lkp/benchmarks/xfstests/results//xfs/295.out.bad' to see the entire diff)
xfs/296 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/296.out.bad)
--- tests/xfs/296.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/296.out.bad 2021-04-02 10:58:09.120902407 +0000
@@ -1,4 +1,5 @@
QA output created by 296
+common/config: line 49: _fatal: command not found
Checking for xattr on source file
# file: DUMP_DIR/testfile
user.name
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/296.out /lkp/benchmarks/xfstests/results//xfs/296.out.bad' to see the entire diff)
xfs/297 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/297.out.bad)
--- tests/xfs/297.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/297.out.bad 2021-04-02 11:01:48.754912207 +0000
@@ -1,3 +1,4 @@
QA output created by 297
+common/config: line 49: _fatal: command not found
Start freeze/unfreeze randomly
Test done
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/297.out /lkp/benchmarks/xfstests/results//xfs/297.out.bad' to see the entire diff)
xfs/298 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/298.out.bad)
--- tests/xfs/298.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/298.out.bad 2021-04-02 11:01:57.861912614 +0000
@@ -1,4 +1,5 @@
QA output created by 298
+common/config: line 49: _fatal: command not found
Testing symlink size 32
core.nextents = 0
Testing symlink size 64
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/298.out /lkp/benchmarks/xfstests/results//xfs/298.out.bad' to see the entire diff)
xfs/299 - output mismatch (see /lkp/benchmarks/xfstests/results//xfs/299.out.bad)
--- tests/xfs/299.out 2021-04-01 03:07:08.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/299.out.bad 2021-04-02 11:02:08.620913094 +0000
@@ -1,4 +1,5 @@
QA output created by 299
+common/config: line 49: _fatal: command not found
meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
data = bsize=XXX blocks=XXX, imaxpct=PCT
= sunit=XXX swidth=XXX, unwritten=X
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/299.out /lkp/benchmarks/xfstests/results//xfs/299.out.bad' to see the entire diff)
Ran: xfs/290 xfs/291 xfs/292 xfs/293 xfs/294 xfs/295 xfs/296 xfs/297 xfs/298 xfs/299
Failures: xfs/290 xfs/291 xfs/292 xfs/293 xfs/294 xfs/295 xfs/296 xfs/297 xfs/298 xfs/299
Failed 10 of 10 tests




To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml
bin/lkp run compatible-job.yaml



---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (8.01 kB)
config-5.12.0-rc5-00018-g29c2086e7ae5 (175.56 kB)
job-script (5.86 kB)
dmesg.xz (6.41 kB)
xfstests (6.53 kB)
job.yaml (4.81 kB)
reproduce (953.00 B)
Download all attachments