[AEP] ndctl test failed (21/24) and latest commits needed

Bug #1801668 reported by quanxian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Bionic by Anthony Wong
Nominated for Cosmic by Anthony Wong
Disco
Fix Released
Undecided
Unassigned

Bug Description

Description:

ndctl testing for AEP:

make --no-print-directory check-TESTS
FAIL: libndctl
FAIL: dsm-fail
PASS: dpa-alloc
PASS: parent-uuid
PASS: multi-pmem
PASS: create.sh
PASS: clear.sh
PASS: pmem-errors.sh
PASS: daxdev-errors.sh
PASS: multi-dax.sh
PASS: btt-check.sh
PASS: label-compat.sh
PASS: blk-exhaust.sh
PASS: sector-mode.sh
PASS: inject-error.sh
PASS: btt-errors.sh
PASS: hugetlb
PASS: btt-pad-compat.sh
PASS: firmware-update.sh
PASS: ack-shutdown-count-set
PASS: rescan-partitions.sh
FAIL: inject-smart.sh
PASS: monitor.sh
PASS: max_available_extent_ns.sh
make[5]: Nothing to be done for `all'.
============================================================================
Testsuite summary for ndctl 62+
============================================================================
# TOTAL: 24
# PASS: 21
# SKIP: 0
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to <email address hidden>
============================================================================
make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

Reproduce Steps:
1. Build and install kernel
when doing ndctl testing, this need kernel ndctl test kernel module support.
a. Download source kernel
For exmaple:
wget https://packages.ubuntu.com/cosmic/linux-source-4.18.0
or git clone git://kernel.ubuntu.com/ubuntu/ubuntu-cosmic.git

b. Configure, build and install kernel
# yes ''|make oldconfig
# Ubuntu set CONFIG_LIBNVDIMM to ‘M’
make menuconfig -> Processor type and features -> Support non-standard NVDIMMs and ADR protected memory set to 'm' (Turn down two pages)

# make –j`nproc`
# make M=tools/testing/nvdimm
# make M=tools/testing/nvdimm modules_install
# make modules_install
# make install

2. download ndctl source package
download from github
https://github.com/pmem/ndctl

3) Build ndctl test package
# apt install –y autogen autoconf libopenr2-bin automake ranlib nvptx-tools libtool asciidoctor libkmod-dev libkmod2 libudev-dev uuid-dev libcjson-dev libjson-c-dev
# rpmbuild –bp ndctl.spec
# cd ./BUILD/ndctl-62
# export LC_ALL=C (for Ubuntu)
# ./autogen.sh
# ./ configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --with-systemd-unit-dir --enable-test
# export KVER=4.20.0
# yum install jq
# make check

Commits related with failed test case:

b4d4702f30e0 tools/testing/nvdimm: improve emulation of smart injection
39611e83a28c tools/testing/nvdimm: Make DSM failure code injection an override
099b07a25fff acpi, nfit: Prefer _DSM over _LSR for namespace label reads
08e6b3c6e3a0 libnvdimm: Introduce locked DIMM capacity support
41cd8b70c37a libnvdimm, btt: add support for blk integrity
5e096ef3b29e6113a7aa6a7dc4871987efa99bcb nfit_test: when clearing poison, also remove badrange entries
89360b87c3efa5d265a3b43dd8fc245c8f4356e3 libnvdimm, badrange: remove a WARN for list_empty
9fb1a1903345fea598f48277576a3589a972b72e nfit_test: add error injection DSMs
aa9ad44a42b4cf4387f8ecddaf8e51707fdcda5a libnvdimm: move poison list functions to a new 'badrange' file

Target Kernel: 4.19
Target Release: 19.04

quanxian (quanxian-wang)
summary: - ndctl test failed (21/25) and latest commits needed
+ [AEP] ndctl test failed (21/25) and latest commits needed
Changed in intel:
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1801668

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux:
status: New → Incomplete
tags: added: disco
quanxian (quanxian-wang)
description: updated
summary: - [AEP] ndctl test failed (21/25) and latest commits needed
+ [AEP] ndctl test failed (21/24) and latest commits needed
Revision history for this message
Seth Forshee (sforshee) wrote :

All commits are included upstream as of 4.19 and are thus in the current disco-release kernel.

Changed in linux (Ubuntu Disco):
status: New → Fix Released
quanxian (quanxian-wang)
Changed in intel:
status: Fix Committed → Fix Released
no longer affects: linux
Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.