• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperledger-labs / fabric-smart-client / 41064660454
92%

Build:
DEFAULT BRANCH: main
Ran 30 Oct 2026 01:37PM UTC
Jobs 27
Files 494
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2026 01:36PM UTC coverage: 91.487% (-0.009%) from 91.496%
41064660454

push

github

web-flow
test(fabric): detect silent network partitions through fault proxies (#2405)

A killed process resets its connections, so the other side notices at once. A network partition sends nothing, and only a keepalive or a timeout notices it. The new partition Describe of the Fabric faultrecovery suite cuts links this way and checks what notices the cut and that each link recovers once it is healed.

common.Proxy gains Partition and Heal. While partitioned it stops forwarding in both directions and closes nothing. It holds the bytes it reads and delivers them after Heal, so each connection resumes where it stopped. Close heals first, so no forwarding goroutine stays blocked. SetFaultProxies puts a proxy in front of alice's peer, bob's P2P port and bob's database, and rewrites both nodes' core.yaml to use them; each rewritten address must occur exactly once. nwo leaves the gRPC client keepalive off, so a silent partition of the delivery peer would never be detected. SetFaultProxies turns it on for alice only, at 60 s, the minimum ping interval nwo's peers and orderers accept, with a 10 s timeout.

The specs check that:
- alice's delivery reports reconnecting within the keepalive time plus timeout plus 10 s, reports connected after the heal, and a new tx goes final;
- bob's database reports reconnecting while it is cut off, and a tx endorsed before the cut and ordered during it goes final after the heal. The blocked queries complete on their own connections once the held bytes arrive, so the committer's retry after a lost connection is left to the Postgres restart specs;
- a view from alice to bob times out while the link is cut and works again after the heal. FSC does not detect the cut itself: the websocket between the nodes sends no pings and alice's side reads without a deadline, so the view ends on its own receive timeout. #2407 tracks the detection.

The specs run in the new fabric-faultrecovery-partition target, which the default target excludes. Latency... (continued)

30113 of 32915 relevant lines covered (91.49%)

1257.33 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
84.54
-2.06% platform/fabric/core/generic/events/listenermanager.go
2
92.61
-0.57% platform/fabric/core/generic/ordering/bft.go
2
97.26
0.0% platform/fabric/core/generic/delivery/delivery.go
2
94.89
-0.44% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 41064660454.1 30 Oct 2026 01:37PM UTC 8
52.69
GitHub Action Run
2 itest-fsc-pingpong - 41064660454.2 30 Oct 2026 01:38PM UTC 252
35.23
GitHub Action Run
3 itest-fabricx-atsa - 41064660454.3 30 Oct 2026 01:38PM UTC 479
31.79
GitHub Action Run
4 itest-fabric-faultrecovery-postgres-outage - 41064660454.4 30 Oct 2026 01:39PM UTC 447
39.71
GitHub Action Run
5 itest-fabric-faultrecovery-replication - 41064660454.5 30 Oct 2026 01:38PM UTC 447
39.69
GitHub Action Run
6 itest-fabricx-simple - 41064660454.6 30 Oct 2026 01:38PM UTC 479
28.72
GitHub Action Run
7 itest-fabricx-deployment - 41064660454.7 30 Oct 2026 01:38PM UTC 479
29.5
GitHub Action Run
8 itest-fabric-configupdate - 41064660454.8 30 Oct 2026 01:38PM UTC 457
39.45
GitHub Action Run
9 itest-fabric-iouhsm - 41064660454.9 30 Oct 2026 01:38PM UTC 457
38.78
GitHub Action Run
10 itest-fabricx-faultrecovery-replication - 41064660454.10 30 Oct 2026 01:38PM UTC 479
29.01
GitHub Action Run
11 itest-fabric-twonets - 41064660454.11 30 Oct 2026 01:37PM UTC 447
37.68
GitHub Action Run
12 itest-fabric-events - 41064660454.12 30 Oct 2026 01:38PM UTC 452
29.64
GitHub Action Run
13 itest-fabricx-multiendorsement - 41064660454.13 30 Oct 2026 01:38PM UTC 479
29.49
GitHub Action Run
14 itest-fabric-faultrecovery-partition - 41064660454.14 30 Oct 2026 01:40PM UTC 447
38.57
GitHub Action Run
15 itest-fabricx-iou - 41064660454.15 30 Oct 2026 01:38PM UTC 479
30.33
GitHub Action Run
16 itest-fabricx-configupdate - 41064660454.16 30 Oct 2026 01:39PM UTC 479
29.56
GitHub Action Run
17 itest-fabricx-faultrecovery - 41064660454.17 30 Oct 2026 01:39PM UTC 479
29.61
GitHub Action Run
18 itest-fsc-signedpingpong - 41064660454.18 30 Oct 2026 01:37PM UTC 247
30.73
GitHub Action Run
19 itest-fabric-atsachaincode - 41064660454.19 30 Oct 2026 01:38PM UTC 452
31.49
GitHub Action Run
20 itest-fabric-runtimeconfig - 41064660454.20 30 Oct 2026 01:38PM UTC 457
39.64
GitHub Action Run
21 itest-fabric-iou - 41064660454.21 30 Oct 2026 01:39PM UTC 457
41.72
GitHub Action Run
22 utest-root - 41064660454.22 30 Oct 2026 01:40PM UTC 485
89.99
GitHub Action Run
23 itest-fabric-faultrecovery - 41064660454.23 30 Oct 2026 01:39PM UTC 447
40.7
GitHub Action Run
24 itest-fsc-stoprestart - 41064660454.24 30 Oct 2026 01:38PM UTC 248
34.07
GitHub Action Run
25 utest-postgres - 41064660454.25 30 Oct 2026 01:38PM UTC 182
27.7
GitHub Action Run
26 itest-fabric-atsa - 41064660454.26 30 Oct 2026 01:39PM UTC 447
44.72
GitHub Action Run
27 itest-fabric-iou-libp2p - 41064660454.27 30 Oct 2026 01:38PM UTC 457
37.08
GitHub Action Run
Source Files on build 41064660454
  • Tree
  • List 494
  • Changed 403
  • Source Changed 0
  • Coverage Changed 403
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41064660454
  • d5ae7586 on github
  • Prev Build on main (#41063436912)
  • Next Build on main (#41068046242)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc