Installed two test environments with proposed pinned so that only what I
want from proposed comes from there.

Then I was installing dependencies and the test as d/t/control and the
test script would run it. Therefore the difference between good/bad
environment is just:

$ sudo apt install libcap-dev/focal-proposed libcap2/focal-proposed
libcap2-bin/focal-proposed


The test rebuilds chrony and it does so with the new libcap2, so the issue 
might be on that side and not on clknetsim which doesn't even link to libcap2. 
I build it the same (after having the new libcap2 installed) and ran the test 
manually.

$ export 
CLKNETSIM_PATH="/home/ubuntu/clknetsim-156b8e4f63fd8174104e3dd05bda19166b5ab0ac/"
$ ./run -i 1 -m 0 001-defaults

Good case:
$ ./run -i 1 -m 0 001-defaults 
001-defaults   Testing default test settings:
  network with 1*1 servers and 1 clients:
    non-default settings:
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking source selection:
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 2.06e+02 2.06e+02 6.41e+01 6.41e+01               OK
      node 2: 2.06e+02 2.06e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 7.06e-05 1.61e-06 3.36e-05 1.89e-07           OK
PASS


SUMMARY:
  TOTAL  1
  PASSED 1
  FAILED 0    () ()
  SKIPPED 0   ()


Bad-Case:
$ ./run -i 1 -m 0 001-defaults
001-defaults   Testing default test settings:
  network with 1*1 servers and 1 clients:
    non-default settings:
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863590

Title:
  Chrony test hangs with libpcap2 1:2.31-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1863590/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to