mlichvar / clknetsim Goto Github PK
View Code? Open in Web Editor NEWClock and network simulator (mirror of https://gitlab.com/chrony/clknetsim)
License: GNU General Public License v2.0
Clock and network simulator (mirror of https://gitlab.com/chrony/clknetsim)
License: GNU General Public License v2.0
In gnutls for Alt Linux stat() is called from constructor. So, need to add init_symbols() to stat(), as in open() .
Prior to this commit, all tests executed by "make check" worked. After this, I see the following on x86_64:
105-ntpauth (14/31)
Testing NTP authentication:
network with 1_1 servers and 1 clients:
non-default settings:
client_conf=keyfile tmp/keys
client_server_options=key 1
server_conf=keyfile tmp/keys
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: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
node 2: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
checking clock sync time, max/rms time/freq error:
node 2: 132 1.37e-04 1.32e-06 6.89e-05 1.18e-07 OK
network with 1_1 servers and 1 clients:
non-default settings:
client_conf=keyfile tmp/keys
client_server_options=key 2
server_conf=keyfile tmp/keys
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: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
node 2: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
checking clock sync time, max/rms time/freq error:
node 2: 132 1.37e-04 1.32e-06 6.89e-05 1.18e-07 OK
network with 1_1 servers and 1 clients:
non-default settings:
client_conf=keyfile tmp/keys
client_server_options=key 3
server_conf=keyfile tmp/keys
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: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
node 2: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
checking clock sync time, max/rms time/freq error:
node 2: 132 1.37e-04 1.32e-06 6.89e-05 1.18e-07 OK
network with 1_1 servers and 1 clients:
non-default settings:
client_conf=keyfile tmp/keys
client_server_options=key 4
server_conf=keyfile tmp/keys
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: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
node 2: 3.34e+02 3.34e+02 6.42e+01 6.42e+01 OK
checking clock sync time, max/rms time/freq error:
node 2: 132 1.37e-04 1.32e-06 6.89e-05 1.18e-07 OK
network with 1_1 servers and 1 clients:
non-default settings:
client_conf=keyfile tmp/keys
client_server_options=key 4
starting node 1: OK
starting node 2: OK
running simulation: OK
checking chronyd exit:
node 1: OK
node 2: OK
checking clock sync time, max/rms time/freq error:
node 2: 10001 1.10e+00 1.00e-04 6.73e-01 1.00e-04 BAD
checking mean/min incoming/outgoing packet interval:
node 1: 4.31e+02 4.31e+02 6.41e+01 6.41e+01 OK
node 2: 4.31e+02 4.31e+02 6.41e+01 6.41e+01 OK
network with 1_1 servers and 1 clients:
non-default settings:
client_server_options=key 4
server_conf=keyfile tmp/keys
starting node 1: OK
starting node 2: OK
running simulation: OK
checking chronyd exit:
node 1: OK
node 2: OK
checking clock sync time, max/rms time/freq error:
node 2: 10001 1.10e+00 1.00e-04 6.73e-01 1.00e-04 BAD
checking mean/min incoming/outgoing packet interval:
node 1: inf inf inf inf OK
node 2: inf inf inf inf OK
network with 1_1 servers and 2 clients:
non-default settings:
base_delay=1e-4 (_ -1 (equal 0.1 from 3) (equal 0.1 to 1))
client_conf=keyfile tmp/keys
client_lpeer_options=key 1
client_rpeer_options=key 1
client_server_options=key 4
clients=2
max_sync_time=300
peers=2
server_conf=keyfile tmp/keys
starting node 1: OK
starting node 2: OK
starting node 3: OK
running simulation: OK
checking chronyd exit:
node 1: OK
node 2: OK
node 3: OK
checking clock sync time, max/rms time/freq error:
node 2: 132 1.09e-04 1.63e-06 5.70e-05 1.93e-07 OK
node 3: 325 1.32e-01 8.33e-02 6.39e-03 1.20e-03 BAD
FAIL
The results on x86, ppc64le, s390, and s390x are similar.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.