New commits:
commit 17eacccc951fa32f74a5de48a3584c355b09a586
Author: Andrew Cagney <[email protected]>
Date:   Mon Sep 20 14:37:21 2021 -0400

    testing: fix race in ikev2-child-rekey-02
    
    Replace sleep with:
    
      # rekey to Child #5 #6 #7
      ../../guestbin/wait-for.sh --match '#5: established Child SA' -- cat 
/tmp/pluto.log
      ../../guestbin/wait-for.sh --match '#6: established Child SA' -- cat 
/tmp/pluto.log
      ../../guestbin/wait-for.sh --match '#7: established Child SA' -- cat 
/tmp/pluto.log
    
    (at this point the new Child SA has established but the old Child SA lurks)
    
      ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
      ../../guestbin/ping-once.sh --up -I 192.0.100.254 192.0.200.254
      ../../guestbin/ping-once.sh --up -I 192.0.101.254 192.0.201.254
      # wait for old, so that they are not in traffic status
    
    (i.e, give the old Child SA time to die)
    
      ../../guestbin/wait-for.sh --match '#2: ESP traffic information:' -- cat 
/tmp/pluto.log
      ../../guestbin/wait-for.sh --match '#3: ESP traffic information:' -- cat 
/tmp/pluto.log
      ../../guestbin/wait-for.sh --match '#4: ESP traffic information:' -- cat 
/tmp/pluto.log
      # expect Child #5 #6 #7
      ipsec whack --trafficstatus

_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to