l2tp.sh from net in ubuntu_kernel_selftests failed with test not executable

Bug #1880631 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin
linux-oem-5.6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Issue found on 5.6.0-1011.11-oem

# selftests: net: l2tp.sh
# Warning: file l2tp.sh is not executable, correct this.
not ok 32 selftests: net: l2tp.sh

Po-Hsu Lin (cypressyew)
tags: added: 5.6 focal oem sru-20200518
tags: added: ubuntu-kernel-selftests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It looks like it has the executable permission on the source tree:
phlin@tangerine:~/ubuntu-oem-5.6-focal/tools/testing/selftests/net$ ls -l l2tp.sh
-rwxrwxr-x 1 phlin phlin 9909 May 20 04:56 l2tp.sh

But somehow the source code from deb-src does not:
ubuntu@rizzo:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux$ head debian/changelog
linux-oem-5.6 (5.6.0-1011.11) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1011.11 -proposed tracker (LP: #1880094)

  * Fix Pericom USB controller OHCI/EHCI PME# defect (LP: #1879321)
    - serial: 8250_pci: Move Pericom IDs to pci_ids.h
    - PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect

  * Focal update: v5.6.14 upstream stable release (LP: #1879724)
    - KVM: nVMX: Consolidate nested MTF checks to helper function
ubuntu@rizzo:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux$ ls -l tools/testing/selftests/net/l2tp.sh
-rw-r--r-- 1 root root 9909 Mar 29 22:25 tools/testing/selftests/net/l2tp.sh

The deb-src package was downloaded with:
apt-get source --download-only linux-modules-5.6.0-1011-oem

Po-Hsu Lin (cypressyew)
tags: added: kqa-blocker
Po-Hsu Lin (cypressyew)
tags: added: sru-20200629
Po-Hsu Lin (cypressyew)
tags: added: sru-20201109
Po-Hsu Lin (cypressyew)
tags: added: sru-20210222
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With further investigation, this was disabled in the test case:
    #
    # this test breaks 5.0+ (and maybe earlier), disable it for now
    # 5/12/2019, LP#1854968
    #
    print("Disabling l2tp.sh")
    fn = 'linux/tools/testing/selftests/net/l2tp.sh'
    if os.path.exists(fn):
        cmd = 'chmod -x ' + fn
        utils.system(cmd)

With bug 1854968 fixed, we can see if this test can be added back.

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Po-Hsu Lin (cypressyew)
Changed in linux-oem-5.6 (Ubuntu):
status: New → Invalid
Po-Hsu Lin (cypressyew)
summary: - l2tp.sh from net in ubuntu_kernel_selftests failed on F-OEM-5.6
+ l2tp.sh from net in ubuntu_kernel_selftests failed with test not
+ executable on F-OEM-5.6
Po-Hsu Lin (cypressyew)
summary: l2tp.sh from net in ubuntu_kernel_selftests failed with test not
- executable on F-OEM-5.6
+ executable
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
tags: added: oem-5.6 sru-20210412
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.