Patch "selftests: bonding: Increase timeout to 1200s" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests: bonding: Increase timeout to 1200s

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-bonding-increase-timeout-to-1200s.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 36694814a356ab1babaef9c760f7939542ef77e3
Author: Benjamin Poirier <bpoirier@xxxxxxxxxx>
Date:   Wed Jan 17 19:12:32 2024 -0500

    selftests: bonding: Increase timeout to 1200s
    
    [ Upstream commit b01f15a7571b7aa222458bc9bf26ab59bd84e384 ]
    
    When tests are run by runner.sh, bond_options.sh gets killed before
    it can complete:
    
    make -C tools/testing/selftests run_tests TARGETS="drivers/net/bonding"
            [...]
            # timeout set to 120
            # selftests: drivers/net/bonding: bond_options.sh
            # TEST: prio (active-backup miimon primary_reselect 0)                [ OK ]
            # TEST: prio (active-backup miimon primary_reselect 1)                [ OK ]
            # TEST: prio (active-backup miimon primary_reselect 2)                [ OK ]
            # TEST: prio (active-backup arp_ip_target primary_reselect 0)         [ OK ]
            # TEST: prio (active-backup arp_ip_target primary_reselect 1)         [ OK ]
            # TEST: prio (active-backup arp_ip_target primary_reselect 2)         [ OK ]
            #
            not ok 7 selftests: drivers/net/bonding: bond_options.sh # TIMEOUT 120 seconds
    
    This test includes many sleep statements, at least some of which are
    related to timers in the operation of the bonding driver itself. Increase
    the test timeout to allow the test to complete.
    
    I ran the test in slightly different VMs (including one without HW
    virtualization support) and got runtimes of 13m39.760s, 13m31.238s, and
    13m2.956s. Use a ~1.5x "safety factor" and set the timeout to 1200s.
    
    Fixes: 42a8d4aaea84 ("selftests: bonding: add bonding prio option test")
    Reported-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Closes: https://lore.kernel.org/netdev/20240116104402.1203850a@xxxxxxxxxx/#t
    Suggested-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Benjamin Poirier <bpoirier@xxxxxxxxxx>
    Reviewed-by: Hangbin Liu <liuhangbin@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20240118001233.304759-1-bpoirier@xxxxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/drivers/net/bonding/settings b/tools/testing/selftests/drivers/net/bonding/settings
index 6091b45d226b..79b65bdf05db 100644
--- a/tools/testing/selftests/drivers/net/bonding/settings
+++ b/tools/testing/selftests/drivers/net/bonding/settings
@@ -1 +1 @@
-timeout=120
+timeout=1200




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux