lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Jul 2016 09:59:54 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Vegard Nossum <vegard.nossum@...cle.com>
Cc:	0day robot <fengguang.wu@...el.com>,
	"Darrick J. Wong" <darrick.wong@...cle.com>,
	LKML <linux-kernel@...r.kernel.org>, lkp@...org,
	ltp@...ts.linux.it
Subject: [lkp] [ext4]  5405511e1a: ltp.acl_test01.fail]


FYI, we noticed the following commit:

https://github.com/0day-ci/linux Vegard-Nossum/ext4-validate-number-of-clusters-in-group/20160708-041426
commit 5405511e1a984ab644fa9e29a0d3d958b835ab75 ("ext4: validate number of meta clusters in group")

in testcase: ltp
with following parameters: test=admin_tools

on test machine: 8 threads Nehalem with 4G memory

caused below changes:




2016-07-09 05:25:19 ./runltp -f admin_tools
INFO: creating /lkp/benchmarks/ltp/output directory
INFO: creating /lkp/benchmarks/ltp/results directory
Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="https://bugs.debian.org/"
Linux nhm-white2 4.7.0-rc1-00017-g5405511 #1 SMP Fri Jul 8 08:29:48 CST 2016 x86_64 GNU/Linux
 
Gnu C                 
util-linux             linux 2.25.2
mount                  linux 2.25.2 (libmount 2.25.0: selinux, assert, debug)
modutils               18
e2fsprogs              1.42.12
Linux C Library        > libc.2.19
Dynamic linker (ldd)   2.19
Procps                 3.3.10
Net-tools              1.60
iproute2              iproute2-ss140804
Kbd                    69:
Sh-utils               8.23
Modules Loaded         rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole sg sr_mod cdrom sd_mod dcdbas coretemp kvm_intel snd_hda_codec_realtek ata_generic pata_acpi snd_hda_codec_generic i7core_edac kvm irqbypass ata_piix crc32c_intel pcspkr serio_raw snd_hda_codec_hdmi edac_core libata usb_storage snd_hda_intel firewire_ohci snd_hda_codec snd_hda_core snd_hwdep snd_pcm firewire_core snd_timer crc_itu_t snd soundcore shpchp acpi_cpufreq broadcom bcm_phy_lib

free reports:
              total        used        free      shared  buff/cache   available
Mem:        4034828       44812     3044760        8856      945256     3737408
Swap:             0           0           0

/proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5852.07
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 1
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.98
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 2
cpu cores	: 4
apicid		: 4
initial apicid	: 4
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.98
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 4
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 5
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 1
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.96
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 6
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 2
cpu cores	: 4
apicid		: 5
initial apicid	: 5
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
stepping	: 5
microcode	: 0x3
cpu MHz		: 2926.036
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm
bugs		:
bogomips	: 5850.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND:    /lkp/benchmarks/ltp/bin/ltp-pan  -e -S   -a 587     -n 587  -p  -f /tmp/ltp-as2PdCiMwk/alltests -l /lkp/benchmarks/ltp/results/LTP_RUN_ON-2016_07_09-05h_25m_19s.log  -C /lkp/benchmarks/ltp/output/LTP_RUN_ON-2016_07_09-05h_25m_19s.failed -T /lkp/benchmarks/ltp/output/LTP_RUN_ON-2016_07_09-05h_25m_19s.tconf
LOG File: /lkp/benchmarks/ltp/results/LTP_RUN_ON-2016_07_09-05h_25m_19s.log
FAILED COMMAND File: /lkp/benchmarks/ltp/output/LTP_RUN_ON-2016_07_09-05h_25m_19s.failed
TCONF COMMAND File: /lkp/benchmarks/ltp/output/LTP_RUN_ON-2016_07_09-05h_25m_19s.tconf
Running tests.......
<<<test_start>>>
tag=su01 stime=1468013119
cmdline="export TCbin=$LTPROOT/testcases/bin;su01"
contacts=""
analysis=exit
<<<test_output>>>
This script contains bashism that needs to be fixed!
Machine type is: pc-linux

userdel: user 'su_usr1' does not exist
usermod: group 'trusted' does not exist
mkdir: cannot create directory '/home/su_usr1': File exists
userdel: user 'su_usr2' does not exist
usermod: group 'trusted' does not exist
mkdir: cannot create directory '/home/su_usr2': File exists
sh: /lkp/benchmarks/ltp/testcases/bin/su01_s1: /usr/bin/expect: bad interpreter: No such file or directory
userdel: user su_usr1 is currently used by process 750
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=126 corefile=no
cutime=1 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=cron02 stime=1468013121
cmdline="cron02"
contacts=""
analysis=exit
<<<test_output>>>
userdel: user 'c01_user' does not exist
Running as user c01_user...
new job added successfully
sleeping for 130 seconds...
Testjob running
job has been executed :-)
testjob's output:

removed crontab
userdel: user c01_user is currently used by process 788
<<<execution_status>>>
initiation_status="ok"
duration=131 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=cron_deny01 stime=1468013252
cmdline="cron_deny01"
contacts=""
analysis=exit
<<<test_output>>>
This script contains bashism that needs to be fixed!
No passwd entry for user 'cd_user1'
No passwd entry for user 'cd_user2'
userdel: user 'cd_user1' does not exist
userdel: user 'cd_user2' does not exist
This script contains bashism that needs to be fixed!
TEST: /var/spool/cron/deny should allow only allow those who are not in the file to
run cron jobs.
(1) TEST THAT PERSON NOT IN /var/spool/cron/deny IS ABLE TO RUN JOB.
sleeping for 130 seconds....
Cron allowed user to execute test job, TEST PASSED
This script contains bashism that needs to be fixed!
(2) TEST THAT PERSON IN /var/spool/cron/deny IS NOT ABLE TO RUN JOB.
sleeping for 130 seconds....
Cron did not allow user to execute job , TEST PASSED
userdel: user cd_user2 is currently used by process 1003
<<<execution_status>>>
initiation_status="ok"
duration=261 termination_type=exited termination_id=0 corefile=no
cutime=3 cstime=6
<<<test_end>>>
<<<test_start>>>
tag=cron_allow01 stime=1468013513
cmdline="cron_allow01"
contacts=""
analysis=exit
<<<test_output>>>
This script contains bashism that needs to be fixed!
No passwd entry for user 'ca_user1'
No passwd entry for user 'ca_user2'
userdel: user 'ca_user1' does not exist
userdel: user 'ca_user2' does not exist
This script contains bashism that needs to be fixed!
TEST: /var/spool/cron/allow should only allow those in the file to
run cron jobs.
(1) TEST THAT PERSON IN /var/spool/cron/allow IS ABLE TO RUN JOB.
backup crontab....
no crontab for ca_user1
sleeping for 130 seconds....
Cron allowed user to execute test job, TEST PASSED
restore old crontab...
This script contains bashism that needs to be fixed!
(2) TEST THAT PERSON NOT IN /var/spool/cron/allow IS NOT ABLE TO RUN JOB.
backup crontab....
no crontab for ca_user2
sleeping for 130 seconds....
Cron allowed user to execute test job, TEST FAILED
restore old crontab...
userdel: user ca_user2 is currently used by process 1183
<<<execution_status>>>
initiation_status="ok"
duration=262 termination_type=exited termination_id=1 corefile=no
cutime=3 cstime=6
<<<test_end>>>
<<<test_start>>>
tag=cron_dirs_checks01 stime=1468013775
cmdline="cron_dirs_checks01"
contacts=""
analysis=exit
<<<test_output>>>
Checking /etc/cron.d
PASS: /etc/cron.d
Checking /etc/cron.daily
PASS: /etc/cron.daily
Checking /etc/cron.hourly
PASS: /etc/cron.hourly
Checking /etc/cron.monthly
PASS: /etc/cron.monthly
Checking /etc/cron.weekly
PASS: /etc/cron.weekly
Checking /var/spool/cron
PASS: /var/spool/cron
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=at_deny01 stime=1468013775
cmdline="at_deny01"
contacts=""
analysis=exit
<<<test_output>>>
mkdir: cannot create directory '/lkp/lkp/src/tmp': Permission denied
/lkp/lkp/src/setup/env: line 8: /lkp/lkp/src/tmp/env.yaml: No such file or directory
/usr/lib/ruby/2.1.0/psych.rb:464:in `initialize': No such file or directory @ rb_sysopen - /lkp/lkp/src/tmp/env.yaml (Errno::ENOENT)
	from /usr/lib/ruby/2.1.0/psych.rb:464:in `open'
	from /usr/lib/ruby/2.1.0/psych.rb:464:in `load_file'
	from /lkp/lkp/src/bin/yaml-to-shell-vars:68:in `block in <main>'
	from /lkp/lkp/src/bin/yaml-to-shell-vars:67:in `each'
	from /lkp/lkp/src/bin/yaml-to-shell-vars:67:in `<main>'
TEST: /etc/at.deny should deny only those who are not in the file to run jobs.
(1) TEST THAT PERSON NOT IN /etc/at.deny IS ABLE TO RUN JOB.
warning: commands will be executed using /bin/sh
job 1 at Sat Jul  9 05:37:00 2016
 Sleeping for 75 seconds....
at_deny01    1  TFAIL  :  ltpapicmd.c:200: At denyed user to execute test job
<<<execution_status>>>
initiation_status="ok"
duration=75 termination_type=exited termination_id=1 corefile=no
cutime=7 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=at_allow01 stime=1468013850
cmdline="at_allow01"
contacts=""
analysis=exit
<<<test_output>>>
useradd: user 'test_user_1' already exists
Could not add test user test_user_1 to system.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=acl_test01 stime=1468013850
cmdline="export TCbin=$LTPROOT/testcases/bin;acl_test01"
contacts=""
analysis=exit
<<<test_output>>>
10240+0 records in
10240+0 records out
10485760 bytes (10 MB) copied, 0.010304 s, 1.0 GB/s
mke2fs 1.42.12 (29-Aug-2014)
Discarding device blocks:  1024/10240...........           ...........done                            
Creating filesystem with 10240 1k blocks and 2560 inodes
Filesystem UUID: 5920d218-d01a-407b-a919-b7bef05a54f7
Superblock backups stored on blocks: 
	8193

Allocating group tables: 0/2...   ...done                            
Writing inode tables: 0/2...   ...done                            
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: 0/2...   ...done

mount: wrong fs type, bad option, bad superblock on /dev/loop1,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
acltest01 1 TCONF : [ mount ] Make sure that ACL (Access Control List)
acltest01 1 TCONF : \t and Extended Attribute are built into the kernel\n
acltest01 1 TCONF : \t Can not mount ext3 file system with acl and user_xattr options\n
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=32 corefile=no
cutime=1 cstime=4
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20160510-18-g790d70e

       ###############################################################

            Done executing testcases.
            LTP Version:  20160510-18-g790d70e
       ###############################################################





To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.7.0-rc1-00017-g5405511" of type "text/plain" (150857 bytes)

View attachment "job.yaml" of type "text/plain" (2824 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (16276 bytes)

View attachment "reproduce" of type "text/plain" (45 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ