Refactor DiffusionSimulation tracing #4622
Merged
IOG Hydra / ci/hydra-build:x86_64-linux.required
succeeded
Sep 5, 2023 in 0s
Build succeeded
1 steps
Details
Failed Steps
Step 3
Derivation
/nix/store/4wj2xz8hvp9vldfsbj4wvdk22gkzq9jj-ouroboros-network-framework-test-sim-tests-0.9.0.0-check.drv
Log
unpacking sources
unpacking source archive /nix/store/kmhhligrsv0j49g4vz260w7l0q90b35m-source-root-ouroboros-network-framework-test-sim-tests-root
source root is source-root-ouroboros-network-framework-test-sim-tests-root
patching sources
building
ouroboros-network-framework:sim-tests
Ouroboros.Network.ConnectionManager
overwritten: OK
+++ OK, passed 100 tests.
timeoutExpired: OK
+++ OK, passed 100 tests.
Ouroboros.Network
ConnectionManager
valid transitions: OK (0.40s)
+++ OK, passed 100 tests:
40% Number of transitions: 0
32% Number of transitions: 1 - 9
21% Number of transitions: 10 - 19
4% Number of transitions: 30 - 39
2% Number of transitions: 20 - 29
1% Number of transitions: 40 - 49
40% Number of connections: 0
28% Number of connections: 1
13% Number of connections: 2
10% Number of connections: 3
4% Number of connections: 4
2% Number of connections: 5
2% Number of connections: 6
1% Number of connections: 7
Activity Type (129 in total):
54.3% IdleConn
45.7% ActiveConn
ConnectionEvents (1600 in total):
22.88% StartServer
21.31% StartClient
11.31% ShutdownClientServer
10.44% InboundMiniprotocols
10.19% InboundConnection
7.12% OutboundConnection
7.12% OutboundMiniprotocols
6.31% CloseInboundConnection
3.31% CloseOutboundConnection
Effective DataFLow (129 in total):
93.8% EffectiveDataFlow Unidirectional
6.2% EffectiveDataFlow Duplex
Negotiated DataFlow (129 in total):
41.1% NegotiatedDataFlow Duplex
30.2% NegotiatedDataFlow Unidirectional
28.7% NotNegotiated
Pruning (100 in total):
100% 0
Termination (129 in total):
58.1% Just ErroredTermination
41.9% Just CleanTermination
Transitions (675 in total):
19.1% TerminatedSt → UnknownConnectionSt
10.2% UnknownConnectionSt → ReservedOutboundSt
8.9% UnknownConnectionSt → UnnegotiatedSt Inbound
8.0% TerminatingSt → TerminatedSt
6.7% ReservedOutboundSt → UnnegotiatedSt Outbound
4.1% InboundIdleSt Duplex → TerminatingSt
4.1% UnnegotiatedSt Inbound → InboundIdleSt Unidirectional
4.1% UnnegotiatedSt Outbound → OutboundDupSt Ticking
3.7% InboundIdleSt Unidirectional → TerminatingSt
3.7% UnnegotiatedSt Inbound → InboundIdleSt Duplex
3.6% ReservedOutboundSt → TerminatedSt
3.1% InboundIdleSt Duplex → InboundSt Duplex
2.2% InboundSt Duplex → InboundIdleSt Duplex
1.8% OutboundDupSt Ticking → OutboundDupSt Expired
1.6% InboundIdleSt Unidirectional → InboundSt Unidirectional
1.6% OutboundDupSt Expired → TerminatedSt
1.6% UnnegotiatedSt Outbound → OutboundUniSt
1.5% OutboundDupSt Ticking → InboundIdleSt Duplex
1.2% InboundSt Unidirectional → InboundIdleSt Unidirectional
1.2% OutboundUniSt → TerminatedSt
1.0% OutboundDupSt Ticking → DuplexSt
1.0% UnnegotiatedSt Inbound → TerminatedSt
0.9% UnnegotiatedSt Outbound → TerminatedSt
0.7% DuplexSt → OutboundDupSt Ticking
0.6% DuplexSt → TerminatedSt
0.6% InboundSt Duplex → TerminatedSt
0.6% OutboundDupSt Ticking → TerminatedSt
0.4% InboundSt Duplex → DuplexSt
0.4% InboundSt Unidirectional → TerminatedSt
0.4% OutboundUniSt → OutboundIdleSt Unidirectional
0.3% OutboundIdleSt Unidirectional → TerminatedSt
0.1% DuplexSt → InboundSt Duplex
0.1% InboundIdleSt Duplex → TerminatedSt
0.1% OutboundDupSt Expired → OutboundIdleSt Duplex
0.1% OutboundIdleSt Duplex → TerminatedSt
0.1% OutboundIdleSt Unidirectional → TerminatingSt
valid transitions (racy): IGNORED
valid transition order: OK (0.56s)
+++ OK, passed 100 tests.
ConnectionEvents (1753 in total):
20.48% StartClient
20.25% StartServer
11.69% InboundConnection
10.72% ShutdownClientServer
10.50% InboundMiniprotocols
7.64% OutboundConnection
7.47% CloseInboundConnection
7.19% OutboundMiniprotocols
4.05% CloseOutboundConnection
valid transition order (racy): IGNORED
transitions coverage: OK (0.49s)
+++ OK, passed 100 tests.
valid transitions (561 in total):
12.8% TerminatedSt → UnknownConnectionSt
11.2% UnknownConnectionSt → ReservedOutboundSt
7.5% ReservedOutboundSt → UnnegotiatedSt Outbound
7.0% UnknownConnectionSt → UnnegotiatedSt Inbound
5.9% TerminatingSt → TerminatedSt
5.7% UnnegotiatedSt Inbound → InboundIdleSt Unidirectional
5.3% UnnegotiatedSt Outbound → OutboundDupSt Ticking
5.0% ReservedOutboundSt → TerminatedSt
4.1% InboundIdleSt Unidirectional → TerminatingSt
3.4% UnnegotiatedSt Inbound → InboundIdleSt Duplex
3.2% OutboundDupSt Ticking → OutboundDupSt Expired
3.0% OutboundDupSt Expired → TerminatedSt
2.7% InboundIdleSt Duplex → TerminatingSt
2.7% InboundIdleSt Unidirectional → InboundSt Unidirectional
2.3% OutboundDupSt Ticking → InboundIdleSt Duplex
2.1% InboundIdleSt Duplex → InboundSt Duplex
1.8% InboundSt Unidirectional → TerminatedSt
1.6% OutboundDupSt Ticking → TerminatedSt
1.4% InboundIdleSt Duplex → OutboundDupSt Ticking
1.4% InboundSt Unidirectional → InboundIdleSt Unidirectional
1.4% UnnegotiatedSt Outbound → OutboundUniSt
1.2% InboundSt Duplex → TerminatedSt
1.2% UnnegotiatedSt Outbound → TerminatedSt
1.1% OutboundUniSt → TerminatedSt
0.9% InboundSt Duplex → InboundIdleSt Duplex
0.7% InboundIdleSt Unidirectional → TerminatedSt
0.5% OutboundUniSt → OutboundIdleSt Unidirectional
0.4% DuplexSt → OutboundDupSt Ticking
0.4% OutboundDupSt Expired → OutboundIdleSt Duplex
0.4% OutboundDupSt Ticking → DuplexSt
0.4% OutboundIdleSt Duplex → TerminatingSt
0.4% OutboundIdleSt Unidirectional → TerminatingSt
0.4% UnnegotiatedSt Inbound → TerminatedSt
0.2% InboundIdleSt Duplex → TerminatedSt
0.2% InboundSt Duplex → DuplexSt
0.2% OutboundIdleSt Unidirectional → TerminatedSt
Table 'valid transitions' had only 0.0% DuplexSt → InboundSt Duplex, but expected 0.0%
Table 'valid transitions' had only 0.0% ReservedOutboundSt → UnnegotiatedSt Inbound, but expected 0.0%
Table 'valid transitions' had only 0.0% UnnegotiatedSt Inbound → UnnegotiatedSt Outbound, but expected 0.0%
Table 'valid transitions' had only 0.0% UnnegotiatedSt Outbound → UnnegotiatedSt Inbound, but expected 0.0%
no invalid traces: OK (0.55s)
+++ OK, passed 100 tests.
ConnectionEvents (1614 in total):
21.38% StartClient
18.90% StartServer
11.52% InboundMiniprotocols
11.15% ShutdownClientServer
10.90% InboundConnection
8.24% OutboundMiniprotocols
7.13% OutboundConnection
6.75% CloseInboundConnection
4.03% CloseOutboundConnection
counters: OK (1.42s)
+++ OK, passed 100 tests.
ConnectionEvents (1748 in total):
20.65% StartServer
20.19% StartClient
11.96% ShutdownClientServer
11.04% InboundConnection
10.98% InboundMiniprotocols
8.07% OutboundConnection
7.38% OutboundMiniprotocols
5.72% CloseInboundConnection
4.00% CloseOutboundConnection
pruning: OK (3.48s)
+++ OK, passed 100 tests:
36% Prunings
26% Number of transitions: 1 - 9
16% Number of transitions: 10 - 19
14% Number of transitions: 20 - 29
11% Number of transitions: 30 - 39
7% Number of transitions: 40 - 49
4% Number of transitions: 100 - 109
4% Number of transitions: 70 - 79
4% Number of transitions: 80 - 89
3% Number of transitions: 50 - 59
2% Number of transitions: 150 - 159
2% Number of transitions: 160 - 169
2% Number of transitions: 90 - 99
1% Number of transitions: 0
1% Number of transitions: 110 - 119
1% Number of transitions: 130 - 139
1% Number of transitions: 170 - 179
1% Number of transitions: 180 - 189
21% Number of connections: 1
15% Number of connections: 2
15% Number of connections: 4
10% Number of connections: 3
5% Number of connections: 5
4% Number of connections: 6
3% Number of connections: 10
3% Number of connections: 11
3% Number of connections: 12
3% Number of connections: 15
3% Number of connections: 7
2% Number of connections: 16
2% Number of connections: 26
2% Number of connections: 8
2% Number of connections: 9
1% Number of connections: 0
1% Number of connections: 13
1% Number of connections: 20
1% Number of connections: 21
1% Number of connections: 24
1% Number of connections: 25
1% Number of connections: 27
Activity Type (603 in total):
80.3% ActiveConn
19.7% IdleConn
ConnectionEvents (3032 in total):
29.32% InboundMiniprotocols
18.34% OutboundConnection
17.48% InboundConnection
16.16% StartServer
11.05% CloseOutboundConnection
3.10% CloseInboundConnection
2.57% OutboundMiniprotocols
1.06% StartClient
0.92% ShutdownClientServer
Effective DataFLow (603 in total):
69.5% EffectiveDataFlow Unidirectional
30.5% EffectiveDataFlow Duplex
Negotiated DataFlow (603 in total):
85.6% NegotiatedDataFlow Duplex
13.3% NotNegotiated
1.2% NegotiatedDataFlow Unidirectional
Pruning (100 in total):
64% 0
10% 1
6% 4
3% 9
2% 10
2% 16
2% 2
2% 49
2% 6
1% 12
1% 20
1% 25
1% 30
1% 36
1% 56
1% 70
Termination (603 in total):
59.4% Just ErroredTermination
40.5% Just CleanTermination
0.2% Nothing
Transitions (4057 in total):
14.86% TerminatedSt → UnknownConnectionSt
9.47% UnknownConnectionSt → ReservedOutboundSt
7.94% ReservedOutboundSt → UnnegotiatedSt Outbound
7.52% UnnegotiatedSt Outbound → OutboundDupSt Ticking
6.01% TerminatingSt → TerminatedSt
5.89% OutboundDupSt Ticking → DuplexSt
5.55% InboundIdleSt Duplex → TerminatingSt
5.37% UnknownConnectionSt → UnnegotiatedSt Inbound
5.35% InboundSt Duplex → InboundIdleSt Duplex
5.25% OutboundDupSt Ticking → OutboundDupSt Expired
5.23% UnnegotiatedSt Inbound → InboundIdleSt Duplex
5.08% InboundIdleSt Duplex → InboundSt Duplex
4.73% DuplexSt → OutboundDupSt Ticking
4.21% OutboundDupSt Expired → TerminatedSt
1.73% OutboundDupSt Ticking → InboundIdleSt Duplex
1.53% ReservedOutboundSt → TerminatedSt
1.33% InboundIdleSt Duplex → OutboundDupSt Ticking
0.59% OutboundDupSt Expired → DuplexSt
0.44% OutboundDupSt Expired → OutboundIdleSt Duplex
0.42% UnnegotiatedSt Outbound → TerminatedSt
0.37% OutboundIdleSt Duplex → TerminatingSt
0.25% DuplexSt → InboundSt Duplex
0.17% InboundIdleSt Duplex → TerminatedSt
0.17% UnnegotiatedSt Inbound → InboundIdleSt Unidirectional
0.12% InboundIdleSt Unidirectional → TerminatingSt
0.12% OutboundDupSt Ticking → TerminatedSt
0.07% OutboundIdleSt Duplex → InboundSt Duplex
0.05% InboundIdleSt Unidirectional → InboundSt Unidirectional
0.05% InboundIdleSt Unidirectional → TerminatedSt
0.05% InboundSt Unidirectional → InboundIdleSt Unidirectional
0.02% InboundSt Duplex → DuplexSt
0.02% InboundSt Duplex → TerminatedSt
0.02% TerminatingSt → UnnegotiatedSt Inbound
InboundGovernor
valid transitions: OK (0.43s)
+++ OK, passed 100 tests.
ConnectionEvents (1799 in total):
20.29% StartServer
20.12% StartClient
11.23% ShutdownClientServer
9.95% InboundConnection
9.78% InboundMiniprotocols
9.28% OutboundMiniprotocols
8.62% OutboundConnection
6.17% CloseInboundConnection
4.56% CloseOutboundConnection
valid transition order: OK (0.39s)
+++ OK, passed 100 tests.
ConnectionEvents (1677 in total):
22.18% StartClient
19.38% StartServer
11.27% ShutdownClientServer
10.97% InboundConnection
9.54% InboundMiniprotocols
9.12% OutboundMiniprotocols
7.33% OutboundConnection
6.86% CloseInboundConnection
3.34% CloseOutboundConnection
transitions coverage: OK (0.62s)
+++ OK, passed 100 tests.
valid transitions (242 in total):
17.8% Nothing → Just RemoteIdleSt
14.9% Just RemoteIdleSt → Nothing
13.2% Just RemoteIdleSt → Just RemoteWarmSt
13.2% Just RemoteWarmSt → Just RemoteHotSt
9.5% Just RemoteColdSt → Nothing
9.5% Just RemoteIdleSt → Just RemoteColdSt
8.7% Just RemoteHotSt → Nothing
6.6% Just RemoteHotSt → Just RemoteWarmSt
6.6% Just RemoteWarmSt → Just RemoteIdleSt
Table 'valid transitions' had only 0.0% Just RemoteWarmSt → Nothing, but expected 0.0%
Table 'valid transitions' had only 0.0% Nothing → Nothing, but expected 0.0%
no invalid traces: OK (0.64s)
+++ OK, passed 100 tests.
ConnectionEvents (1535 in total):
21.63% StartServer
20.78% StartClient
10.75% InboundConnection
10.36% ShutdownClientServer
9.84% InboundMiniprotocols
9.25% OutboundMiniprotocols
8.73% OutboundConnection
5.41% CloseInboundConnection
3.26% CloseOutboundConnection
no unsupported state: OK (0.47s)
+++ OK, passed 100 tests.
ConnectionEvents (1585 in total):
22.02% StartServer
21.77% StartClient
10.98% ShutdownClientServer
10.16% InboundConnection
10.16% InboundMiniprotocols
7.89% OutboundMiniprotocols
7.57% OutboundConnection
5.99% CloseInboundConnection
3.47% CloseOutboundConnection
pruning: OK (3.97s)
+++ OK, passed 100 tests.
ConnectionEvents (3198 in total):
27.77% InboundMiniprotocols
18.95% OutboundConnection
17.60% InboundConnection
16.07% StartServer
11.85% CloseOutboundConnection
3.53% CloseInboundConnection
2.38% OutboundMiniprotocols
0.94% StartClient
0.91% ShutdownClientServer
counters: OK (0.98s)
+++ OK, passed 100 tests.
ConnectionEvents (1589 in total):
23.60% StartClient
20.96% StartServer
11.20% InboundConnection
10.32% ShutdownClientServer
9.69% InboundMiniprotocols
8.24% OutboundConnection
6.86% OutboundMiniprotocols
5.79% CloseInboundConnection
3.34% CloseOutboundConnection
timeouts enforced: OK (0.74s)
+++ OK, passed 100 tests.
Server2
unidirectional Sim: OK (0.22s)
+++ OK, passed 100 tests.
bidirectional Sim: OK (0.29s)
+++ OK, passed 100 tests.
never above hardlimit: OK (3.69s)
+++ OK, passed 100 tests.
ConnectionEvents (3110 in total):
28.55% InboundMiniprotocols
18.78% OutboundConnection
17.91% InboundConnection
16.40% StartServer
11.77% CloseOutboundConnection
3.12% CloseInboundConnection
2.15% OutboundMiniprotocols
0.71% StartClient
0.61% ShutdownClientServer
accept errors
ConnectionAborted: OK
+++ OK, passed 1 test.
ResourceExhausted: OK
+++ OK, passed 1 test.
connection terminated when negotiating: OK
+++ OK, passed 100 tests:
100% Number of transitions: 10 - 19
100% Number of connections: 2
Activity Type (200 in total):
100.0% ActiveConn
ConnectionEvents (1500 in total):
40.00% OutboundConnection
40.00% StartServer
20.00% OutboundMiniprotocols
Effective DataFLow (200 in total):
100.0% EffectiveDataFlow Unidirectional
Negotiated DataFlow (200 in total):
100.0% NegotiatedDataFlow Unidirectional
Pruning (100 in total):
100% 0
Termination (200 in total):
100.0% Just ErroredTermination
Transitions (1000 in total):
20.0% OutboundUniSt → TerminatedSt
20.0% ReservedOutboundSt → UnnegotiatedSt Outbound
20.0% TerminatedSt → UnknownConnectionSt
20.0% UnknownConnectionSt → ReservedOutboundSt
20.0% UnnegotiatedSt Outbound → OutboundUniSt
generators
MultiNodeScript: OK
+++ OK, passed 100 tests:
41% Number of events: 1 - 9
33% Number of events: 10 - 19
11% Number of events: 20 - 29
8% Number of events: 30 - 39
4% Number of events: 40 - 49
2% Number of events: 50 - 59
1% Number of events: 60 - 69
37% Number of servers: 2 - 3
21% Number of servers: 4 - 5
18% Number of servers: 1 - 1
11% Number of servers: 0
8% Number of servers: 6 - 7
4% Number of servers: 8 - 9
1% Number of servers: 10 - 11
29% Number of clients: 2 - 3
21% Number of clients: 4 - 5
18% Number of clients: 1 - 1
12% Number of clients: 0
11% Number of clients: 6 - 7
4% Number of clients: 10 - 11
3% Number of clients: 8 - 9
1% Number of clients: 12 - 13
1% Number of clients: 14 - 15
47% Active connections: 1 - 4
32% Active connections: 0
17% Active connections: 5 - 9
2% Active connections: 10 - 14
2% Active connections: 15 - 19
51% Closed connections: 1 - 4
40% Closed connections: 0
9% Closed connections: 5 - 9
36% Number of shutdown connections: 0
26% Number of shutdown connections: 2 - 3
23% Number of shutdown connections: 1 - 1
10% Number of shutdown connections: 4 - 5
3% Number of shutdown connections: 6 - 7
2% Number of shutdown connections: 8 - 9
Ouroboros.Network.RateLimiting
HardLimit: OK
+++ OK, passed 100 tests:
34% 0
22% 1 - 5
17% 5 - 10
15% 10 - 20
6% 20 - 30
3% 40 - 50
1% 30 - 40
1% 70 - 80
1% 80 - 90
SoftLimit: OK
+++ OK, passed 100 tests:
32% 1 - 5
24% 0
14% 10 - 20
10% 5 - 10
8% 20 - 30
6% 30 - 40
3% 40 - 50
2% 70 - 80
1% 50 - 60
Simulation.Network.Snocket
client-server: OK (0.13s)
+++ OK, passed 100 tests.
connect_to_accepting_socket: OK
+++ OK, passed 100 tests.
connect_and_not_close: OK
+++ OK, passed 100 tests.
connect_to_not_accepting_socket: OK
+++ OK, passed 100 tests.
connect_to_uninitialised_socket: OK
+++ OK, passed 100 tests.
connect_to_not_listening_socket: OK
+++ OK, passed 100 tests.
simultaneous_open: OK
+++ OK, passed 100 tests.
All 34 tests passed (19.52s)
post-build-hook: upload /nix/store/jwjqx9vainbiidvnb5q3j3xmhgw3q964-ouroboros-network-framework-test-sim-tests-0.9.0.0-check
post-build-hook: 199309
Loading