Re: [chrony-dev] Failure of certain simulation tests

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Hi,

Le 2024-04-16 08:08, Miroslav Lichvar a écrit :
> On Tue, Apr 16, 2024 at 12:25:53AM +0200, Vincent Blut wrote:
> > I have yet to set up an armhf based environment to properly debug those failures,
> > but the most likely cause seems to be the ongoing migration of our
> > 32-bits architectures to 64-bits time_t. If so, do you have an idea
> > about where the problem lies?
> 
> > ¹ https://ci.debian.net/packages/c/chrony/unstable/armhf/45199616/#S6
> 
> The log shows that clknetsim is not built with the -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 flags. It needs to use the same
> time_t as the chronyd binaries.

So after building clknetsim with these flags, the same tests are still
failing (well I guess so because I stopped the execution after 008-ntpera
has failed since the execution time is so slow on my armhf vm.)

Something new though, the 002-largenetwork test now fails too.
make: Entering directory '/tmp/autopkgtest-lxc.twwwe2ae/downtmp/autopkgtest_tmp'
cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o client.o client.c
In file included from sysheaders.h:16,
                 from protocol.h:21,
                 from client.c:68:
client.c: In function ‘clock_settime’:
client.c:970:16: warning: ‘nonnull’ argument ‘tp’ compared to NULL [-Wnonnull-compare]
  970 |         assert(tp && which_clock == CLOCK_REALTIME);
      |                ^~
client.c: In function ‘poll’:
client.c:1295:27: warning: ‘*<unknown>.fd’ may be used uninitialized [-Wmaybe-uninitialized]
 1295 |                 if (fds[i].fd < 0)
      |                     ~~~~~~^~~
client.c:1284:25: note: accessing argument 1 of a function declared with attribute ‘access (write_only, 1, 2)’
 1284 | int poll(struct pollfd *fds, nfds_t nfds, int timeout) {
      |          ~~~~~~~~~~~~~~~^~~
cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -shared -o clknetsim.so client.o  -ldl -lm
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o clock.o clock.cc
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o generator.o generator.cc
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o network.o network.cc
In file included from /usr/include/c++/13/map:62,
                 from generator.h:23,
                 from clock.h:23,
                 from node.h:22,
                 from network.h:26,
                 from network.cc:19:
/usr/include/c++/13/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, double>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’:
/usr/include/c++/13/bits/stl_tree.h:2458:7: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
 2458 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/map:63:
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:409:30:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:410:30:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:411:28:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:412:32:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:413:30:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:414:32:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:420:36:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = double; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]’,
    inlined from ‘void Network::send(Packet*)’ at network.cc:421:37:
/usr/include/c++/13/bits/stl_map.h:532:44: note: parameter passing for argument of type ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, double>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, double> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> > >::const_iterator’ changed in GCC 7.1
  532 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  533 |                                         std::forward_as_tuple(std::move(__k)),
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534 |                                         std::tuple<>());
      |                                         ~~~~~~~~~~~~~~~
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o node.o node.cc
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o server.o server.cc
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -DGETTIMEOFDAY_VOID  -c -o stats.o stats.cc
g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -O2 -Wall -g -fPIC -o clknetsim clock.o generator.o network.o node.o server.o stats.o
make: Leaving directory '/tmp/autopkgtest-lxc.twwwe2ae/downtmp/autopkgtest_tmp'
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.73e+02 2.73e+02 6.41e+01 6.41e+01               OK
      node 2: 2.73e+02 2.73e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 2.98e-04 7.13e-07 1.26e-04 9.37e-08           OK
PASS

002-largenetwork   Testing large network:
  network with 4*3 servers and 5 clients:
    non-default settings:
      client_start=2000
      clients=5
      max_sync_time=2300
      min_sync_time=2100
      server_strata=3
      servers=4
      time_rms_limit=5e-4
    starting node 1:                                            OK
    starting node 2:                                            OK
    starting node 3:                                            OK
    starting node 4:                                            OK
    starting node 5:                                            OK
    starting node 6:                                            OK
    starting node 7:                                            OK
    starting node 8:                                            OK
    starting node 9:                                            OK
    starting node 10:                                           OK
    starting node 11:                                           OK
    starting node 12:                                           OK
    starting node 13:                                           OK
    starting node 14:                                           OK
    starting node 15:                                           OK
    starting node 16:                                           OK
    starting node 17:                                           OK
    running simulation:clknetsim failed
                                        ERROR
FAIL

003-largefreqoffset   Testing large frequency offset:
  network with 1*1 servers and 1 clients:
    non-default settings:
      freq_offset=-5e-2
      max_sync_time=1000
      time_offset=6.5
    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.66e+02 2.66e+02 6.41e+01 6.41e+01               OK
      node 2: 2.66e+02 2.66e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 143 2.70e-04 5.56e-07 1.44e-04 1.25e-07           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      freq_offset=-5e-3
      max_sync_time=1000
      time_offset=0.65
    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.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
      node 2: 2.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 2.72e-04 2.30e-07 1.42e-04 8.26e-08           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      freq_offset=5e-3
      max_sync_time=1000
      time_offset=-0.65
    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.73e+02 2.73e+02 6.40e+01 6.40e+01               OK
      node 2: 2.73e+02 2.73e+02 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 130 2.15e-04 1.33e-07 1.12e-04 5.08e-08           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      freq_offset=5e-2
      max_sync_time=1000
      time_offset=-6.5
    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.51e+02 2.51e+02 6.13e+01 6.13e+01               OK
      node 2: 2.51e+02 2.51e+02 6.13e+01 6.13e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 128 2.79e-04 4.81e-07 1.38e-04 1.06e-07           OK
PASS

004-largetimeoffset   Testing large time offset:
  network with 1*1 servers and 1 clients:
    non-default settings:
      max_sync_time=1400
      min_sync_time=1300
      time_offset=-1e2
    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.71e+02 2.71e+02 5.92e+01 5.92e+01               OK
      node 2: 2.71e+02 2.71e+02 5.92e+01 5.92e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 1330 2.48e-04 1.57e-07 1.38e-04 6.10e-08          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      max_sync_time=1400
      min_sync_time=1300
      time_offset=1e2
    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.71e+02 2.71e+02 6.43e+01 6.43e+01               OK
      node 2: 2.71e+02 2.71e+02 6.43e+01 6.43e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 1330 2.58e-04 3.14e-07 1.42e-04 7.31e-08          OK
PASS

005-externalstep   Testing external time step:
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_step=(* -1e2 (equal 0.1 (sum 1.0) 150))
      max_sync_time=1550
      min_sync_time=1500
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 2.54e+02 2.54e+02 5.92e+01 5.92e+01               OK
      node 2: 2.54e+02 2.54e+02 5.92e+01 5.92e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 1523 2.08e-04 2.68e-07 1.16e-04 7.34e-08          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_step=(* 1e2 (equal 0.1 (sum 1.0) 150))
      max_sync_time=1550
      min_sync_time=1500
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 2.53e+02 2.53e+02 6.42e+01 6.42e+01               OK
      node 2: 2.53e+02 2.53e+02 6.42e+01 6.42e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 1523 2.37e-04 8.50e-07 1.14e-04 1.40e-07          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_conf=makestep 1 -1
      client_step=(* -1e8 (equal 0.1 (sum 1.0) 5000))
      max_sync_time=6200
      min_sync_time=5120
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 1.62e+02 1.62e+02 6.40e+01 6.40e+01               OK
      node 2: 1.62e+02 1.62e+02 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 5626 4.04e-05 1.93e-07 2.25e-05 5.53e-08          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_conf=makestep 1 -1
      client_step=(* -1e5 (equal 0.1 (sum 1.0) 5000))
      max_sync_time=6200
      min_sync_time=5120
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 1.62e+02 1.62e+02 6.40e+01 6.40e+01               OK
      node 2: 1.62e+02 1.62e+02 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 5626 4.05e-05 1.93e-07 2.25e-05 5.53e-08          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_conf=makestep 1 -1
      client_step=(* 1e5 (equal 0.1 (sum 1.0) 5000))
      max_sync_time=6200
      min_sync_time=5120
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 1.61e+02 1.61e+02 6.40e+01 6.40e+01               OK
      node 2: 1.61e+02 1.61e+02 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 5561 3.98e-05 2.88e-07 1.65e-05 6.26e-08          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_conf=makestep 1 -1
      client_step=(* 1e8 (equal 0.1 (sum 1.0) 5000))
      max_sync_time=6200
      min_sync_time=5120
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 1.61e+02 1.61e+02 6.40e+01 6.40e+01               OK
      node 2: 1.61e+02 1.61e+02 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 5561 3.98e-05 2.88e-07 1.65e-05 6.26e-08          OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_conf=makestep 1 -1
      client_step=(* -1e4 (equal 0.1 (% (sum 1.0) 500) 0))
      time_max_limit=2e4
      time_rms_limit=8e3
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 6.46e+01 6.46e+01 6.40e+01 6.40e+01               OK
      node 2: 6.46e+01 6.46e+01 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 1.00e+04 4.18e-06 5.62e+03 3.88e-07           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      client_conf=makestep 1 -1
      client_step=(* 1e4 (equal 0.1 (% (sum 1.0) 500) 0))
      time_max_limit=2e4
      time_rms_limit=8e3
    starting node 1:                                            OK
    starting node 2:                                            OK
    running simulation:                                         OK
    checking chronyd exit:
      node 1:                                                   OK
      node 2:                                                   OK
    checking mean/min incoming/outgoing packet interval:
      node 1: 6.46e+01 6.46e+01 6.40e+01 6.40e+01               OK
      node 2: 6.46e+01 6.46e+01 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 1.00e+04 4.18e-06 5.62e+03 3.87e-07           OK
PASS

006-largejitter   Testing large jitter:
  network with 1*1 servers and 1 clients:
    non-default settings:
      freq_max_limit=2e-1
      freq_rms_limit=5e-3
      jitter=1e-1
      time_max_limit=5e-1
      time_offset=1e0
      time_rms_limit=1e-1
    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.40e+02 2.40e+02 6.42e+01 6.42e+01               OK
      node 2: 2.40e+02 2.40e+02 6.42e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 136 2.80e-02 1.04e-03 7.28e-03 7.01e-05           OK
PASS

007-largewander   Testing large wander:
  network with 1*1 servers and 1 clients:
    non-default settings:
      freq_max_limit=5e-3
      freq_rms_limit=1e-4
      time_max_limit=5e-3
      time_rms_limit=1e-3
      wander=1e-7
    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: 6.47e+01 6.47e+01 6.40e+01 6.40e+01               OK
      node 2: 6.47e+01 6.47e+01 6.40e+01 6.40e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 3.37e-04 1.34e-05 1.11e-04 1.96e-06           OK
PASS

008-ntpera   Testing NTP eras:
  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.73e+02 2.73e+02 6.41e+01 6.41e+01               OK
      node 2: 2.73e+02 2.73e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 2.98e-04 7.13e-07 1.26e-04 9.37e-08           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      time_offset=-1e-1
    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.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
      node 2: 2.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 2.20e-04 2.10e-06 1.06e-04 1.88e-07           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      time_offset=-1e-1
    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.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
      node 2: 2.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 2.20e-04 2.10e-06 1.06e-04 1.88e-07           OK
  network with 1*1 servers and 1 clients:
    non-default settings:
      time_offset=-1e-1
    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.68e+02 2.68e+02 6.01e+01 6.01e+01               OK
      node 2: 2.68e+02 2.68e+02 6.01e+01 6.01e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 10001 7.47e+02 8.33e-02 4.13e+02 7.98e-02         BAD
  network with 1*1 servers and 1 clients:
    non-default settings:
      time_offset=-1e-1
    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.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
      node 2: 2.68e+02 2.68e+02 6.41e+01 6.41e+01               OK
    checking clock sync time, max/rms time/freq error:
      node 2: 131 2.20e-04 2.10e-06 1.06e-04 1.88e-07           OK
FAIL

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/