Skip to contentSkip to conversation

kernel-selftest: Enable more tests

PATCH Superseded Ryan Eatmon 2 participants 5 messages Oct 11, 2024 – Nov 6, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-selftest: Enable more tests

Our testing flow is looking to incorporate the kernel-selftests as a test. Enable a large number of selected cases.

This patch requires a set of corrseponding patches on meta-openembeded in upstream:

[master] https://lists.openembedded.org/g/openembedded-devel/message/112802
[scarthgap] https://lists.openembedded.org/g/openembedded-devel/message/112803

---
 .../kernel-selftest/kernel-selftest.bbappend  | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend
meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend new file +45 -0
new file mode 100644
index 00000000..68b4b668
@@ -0,0 +1,45 @@
+TEST_LIST += "\
+    arm64 \
+    breakpoints \
+    capabilities \
+    cgroup \
+    clone3 \
+    core \
+    cpu-hotplug \
+    cpufreq \
+    efivarfs \
+    exec \
+    filesystems \
+    filesystems/binderfs \
+    filesystems/epoll \
+    firmware \
+    fpu \
+    ftrace \
+    futex \
+    gpio \
+    intel_pstate \
+    ipc \
+    kcmp \
+    kvm \
+    livepatch \
+    membarrier \
+    memfd \
+    mqueue \
+    mincore \
+    net \
+    net/mptcp \
+    openat2 \
+    ptrace \
+    resq \
+    rtc \
+    seccomp \
+    sigaltstack \
+    size \
+    tc-testing \
+    timers \
+    tmpfs \
+    tpm2 \
+    user_events \
+    vDSO \
+    watchdog \
+"
Signature · 1 line
2.17.1
#1 lore raw

Hi Ryan,

Quoted 11 lines · Ryan Eatmon via lists.yoctoproject.org

Our testing flow is looking to incorporate the kernel-selftests as a test. Enable a large number of selected cases. This patch requires a set of corrseponding patches on meta-openembeded in upstream: [master] https: //urldefense. com/v3/__https: //lists. openembedded. org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Report Suspicious
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uFdqXRfP9k0bCiZFPJNj_MlZpVwu06fq9NvXRpfEf2O5Vx8jNtMvuUY5nddhxJbS3K0P_MbX07TzwgpxLR4$>

ZjQcmQRYFpfptBannerEnd
Our testing flow is looking to incorporate the kernel-selftests as a test. Enable a large number of selected cases.

Quoted 5 lines

This patch requires a set of corrseponding patches on meta-openembeded in upstream:

[master]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ [scarthgap]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112803__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9DCycNl7g$

On a side note, by any chance does using TARGETS provided by the kernel-selftest Makefile resolves the yocto build issue observed with testptp & kernel 6.12-rc1?

Quoted 72 lines
---
  .../kernel-selftest/kernel-selftest.bbappend  | 45 +++++++++++++++++++
  1 file changed, 45 insertions(+)

create mode 100644 meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend new file +45 -0
new file mode 100644
index 00000000..68b4b668
@@ -0,0 +1,45 @@
+TEST_LIST += "\
+    arm64 \
+    breakpoints \
+    capabilities \
+    cgroup \
+    clone3 \
+    core \
+    cpu-hotplug \
+    cpufreq \
+    efivarfs \
+    exec \
+    filesystems \
+    filesystems/binderfs \
+    filesystems/epoll \
+    firmware \
+    fpu \
+    ftrace \
+    futex \
+    gpio \
+    intel_pstate \
+    ipc \
+    kcmp \
+    kvm \
+    livepatch \
+    membarrier \
+    memfd \
+    mqueue \
+    mincore \
+    net \
+    net/mptcp \
+    openat2 \
+    ptrace \
+    resq \
+    rtc \
+    seccomp \
+    sigaltstack \
+    size \
+    tc-testing \
+    timers \
+    tmpfs \
+    tpm2 \
+    user_events \
+    vDSO \
+    watchdog \
+"
Signature · 11 lines
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15567):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15567__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9D9Xq8OYA$
Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/108954456/7030289__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9C3ArvQgw$
Group Owner: [email protected]
Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CQCK5gXQ$  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 15 lines · Chirag Shilwant

Hi Ryan,

Quoted 13 lines · Ryan Eatmon via lists.yoctoproject.org

Our testing flow is looking to incorporate the kernel-selftests as a test. Enable a large number of selected cases. This patch requires a set of corrseponding patches on meta-openembeded in upstream: [master] https: //urldefense. com/v3/__https: //lists. openembedded.  org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Report Suspicious
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uFdqXRfP9k0bCiZFPJNj_MlZpVwu06fq9NvXRpfEf2O5Vx8jNtMvuUY5nddhxJbS3K0P_MbX07TzwgpxLR4$>
ZjQcmQRYFpfptBannerEnd
Our testing flow is looking to incorporate the kernel-selftests as a
test.  Enable a large number of selected cases.

This patch requires a set of corrseponding patches on meta-openembeded in upstream:

Quoted 7 lines
Quoted 2 lines

[master]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ [scarthgap]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112803__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9DCycNl7g$

On a side note, by any chance does using TARGETS provided by the kernel-selftest Makefile resolves the yocto build issue observed with testptp & kernel 6.12-rc1?

It might. I'll look into it.

Quoted 73 lines
Quoted 73 lines

---
  .../kernel-selftest/kernel-selftest.bbappend  | 45 +++++++++++++++++++

  1 file changed, 45 insertions(+)

  create mode 100644 meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

(quoted diff) +0 -0
new file mode 100644
index 00000000..68b4b668

b/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend new file +45 -0
@@ -0,0 +1,45 @@
+TEST_LIST += "\
+    arm64 \
+    breakpoints \
+    capabilities \
+    cgroup \
+    clone3 \
+    core \
+    cpu-hotplug \
+    cpufreq \
+    efivarfs \
+    exec \
+    filesystems \
+    filesystems/binderfs \
+    filesystems/epoll \
+    firmware \
+    fpu \
+    ftrace \
+    futex \
+    gpio \
+    intel_pstate \
+    ipc \
+    kcmp \
+    kvm \
+    livepatch \
+    membarrier \
+    memfd \
+    mqueue \
+    mincore \
+    net \
+    net/mptcp \
+    openat2 \
+    ptrace \
+    resq \
+    rtc \
+    seccomp \
+    sigaltstack \
+    size \
+    tc-testing \
+    timers \
+    tmpfs \
+    tpm2 \
+    user_events \
+    vDSO \
+    watchdog \
+"
Signature · 11 lines
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15567):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15567__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9D9Xq8OYA$
Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/108954456/7030289__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9C3ArvQgw$
Group Owner: [email protected]
Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CQCK5gXQ$  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#3 lore raw

Hi Ryan,

Quoted 26 lines · Ryan Eatmon
Quoted 23 lines · Chirag Shilwant

Hi Ryan,

Quoted 18 lines · Ryan Eatmon via lists.yoctoproject.org

Our testing flow is looking to incorporate the kernel-selftests as a test. Enable a large number of selected cases. This patch requires a set of corrseponding patches on meta-openembeded in upstream: [master] https: //urldefense. com/v3/__https: //lists. openembedded.  org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Report Suspicious
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uFdqXRfP9k0bCiZFPJNj_MlZpVwu06fq9NvXRpfEf2O5Vx8jNtMvuUY5nddhxJbS3K0P_MbX07TzwgpxLR4$>

ZjQcmQRYFpfptBannerEnd
Our testing flow is looking to incorporate the kernel-selftests as a test.  Enable a large number of selected cases.

This patch requires a set of corrseponding patches on meta-openembeded in upstream:

[master]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$

[scarthgap]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112803__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9DCycNl7g$

Quoted 4 lines
Quoted 2 lines

On a side note, by any chance does using TARGETS provided by the kernel-selftest Makefile resolves the yocto build issue observed with testptp & kernel 6.12-rc1?

It might.  I'll look into it.

Did you get a chance to look into this?

Quoted 80 lines
Quoted 79 lines
Quoted 79 lines

---
  .../kernel-selftest/kernel-selftest.bbappend  | 45
+++++++++++++++++++

  1 file changed, 45 insertions(+)

  create mode 100644 meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend +0 -0

new file mode 100644
index 00000000..68b4b668
--- /dev/null
+++
b/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend +45 -0
@@ -0,0 +1,45 @@
+TEST_LIST += "\
+    arm64 \
+    breakpoints \
+    capabilities \
+    cgroup \
+    clone3 \
+    core \
+    cpu-hotplug \
+    cpufreq \
+    efivarfs \
+    exec \
+    filesystems \
+    filesystems/binderfs \
+    filesystems/epoll \
+    firmware \
+    fpu \
+    ftrace \
+    futex \
+    gpio \
+    intel_pstate \
+    ipc \
+    kcmp \
+    kvm \
+    livepatch \
+    membarrier \
+    memfd \
+    mqueue \
+    mincore \
+    net \
+    net/mptcp \
+    openat2 \
+    ptrace \
+    resq \
+    rtc \
+    seccomp \
+    sigaltstack \
+    size \
+    tc-testing \
+    timers \
+    tmpfs \
+    tpm2 \
+    user_events \
+    vDSO \
+    watchdog \
+"
Signature · 11 lines
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15567):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15567__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9D9Xq8OYA$
Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/108954456/7030289__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9C3ArvQgw$
Group Owner: [email protected]
Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CQCK5gXQ$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
#4 lore raw
Quoted 28 lines · Chirag Shilwant

Hi Ryan,

Quoted 26 lines · Ryan Eatmon
Quoted 22 lines · Chirag Shilwant

Hi Ryan,

Quoted 10 lines · Ryan Eatmon via lists.yoctoproject.org

Our testing flow is looking to incorporate the kernel-selftests as a test. Enable a large number of selected cases. This patch requires a set of corrseponding patches on meta-openembeded in upstream: [master] https: //urldefense. com/v3/__https: //lists. openembedded.  org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Report Suspicious
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uFdqXRfP9k0bCiZFPJNj_MlZpVwu06fq9NvXRpfEf2O5Vx8jNtMvuUY5nddhxJbS3K0P_MbX07TzwgpxLR4$>
ZjQcmQRYFpfptBannerEnd
Our testing flow is looking to incorporate the kernel-selftests as a
test.  Enable a large number of selected cases.

Quoted 5 lines

This patch requires a set of corrseponding patches on meta-openembeded in upstream:

[master]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112802__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CkRYUwtA$ [scarthgap]https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/112803__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9DCycNl7g$

On a side note, by any chance does using TARGETS provided by the kernel-selftest Makefile resolves the yocto build issue observed with testptp & kernel 6.12-rc1?

Quoted 6 lines
Quoted 1 line

It might.  I'll look into it.

Did you get a chance to look into this?

I have not. Feel free to test it out yourself now that all of the needed changes are in place.

Quoted 80 lines
Quoted 80 lines
Quoted 79 lines
Quoted 79 lines

---
  .../kernel-selftest/kernel-selftest.bbappend  | 45
+++++++++++++++++++

  1 file changed, 45 insertions(+)

  create mode 100644 meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

(quoted diff) +0 -0
new file mode 100644
index 00000000..68b4b668

b/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend

meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend new file +45 -0
@@ -0,0 +1,45 @@
+TEST_LIST += "\
+    arm64 \
+    breakpoints \
+    capabilities \
+    cgroup \
+    clone3 \
+    core \
+    cpu-hotplug \
+    cpufreq \
+    efivarfs \
+    exec \
+    filesystems \
+    filesystems/binderfs \
+    filesystems/epoll \
+    firmware \
+    fpu \
+    ftrace \
+    futex \
+    gpio \
+    intel_pstate \
+    ipc \
+    kcmp \
+    kvm \
+    livepatch \
+    membarrier \
+    memfd \
+    mqueue \
+    mincore \
+    net \
+    net/mptcp \
+    openat2 \
+    ptrace \
+    resq \
+    rtc \
+    seccomp \
+    sigaltstack \
+    size \
+    tc-testing \
+    timers \
+    tmpfs \
+    tpm2 \
+    user_events \
+    vDSO \
+    watchdog \
+"
Signature · 11 lines
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15567):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15567__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9D9Xq8OYA$
Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/108954456/7030289__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9C3ArvQgw$
Group Owner: [email protected]
Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!SR7zVae3hhFFVplhWtl3dPzwmzA-fwFMlpz3lr7FA611OmO3Or3jYueFIp9jIXP6duIBnKARWIdkuwjcSQ3a3gF3Y9CQCK5gXQ$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS