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

tarantool / tarantool / 13372851315
88%

Build:
DEFAULT BRANCH: master
Ran 17 Feb 2025 03:20PM UTC
Jobs 1
Files 518
Run time 2min
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

17 Feb 2025 02:45PM UTC coverage: 87.391% (-0.03%) from 87.416%
13372851315

push

github

locker
test: fix flaky vinyl/errinj.test.lua

There are two issues with this test.

The first one is an attempt to make a dead fiber joinable:

```
[039] vinyl/errinj.test.lua                                         [ fail ]
[039]
[039] Test failed! Result content mismatch:
[039] --- vinyl/errinj.result	Thu Jan 30 15:14:04 2025
[039] +++ /tmp/t/rejects/vinyl/errinj.reject	Thu Jan 30 15:20:26 2025
[039] @@ -712,6 +712,7 @@
[039]  ...
[039]  f:set_joinable(true);
[039]  ---
[039] +- error: the fiber is dead
[039]  ...
[039]  ok, err = nil;
[039]  ---
[039] @@ -722,6 +723,8 @@
[039]      ok, err = f:join(0.01)
[039]  until ok;
[039]  ---
[039] +- error: '[string "repeat     box.snapshot()     errinj.set("ERR..."]:1: the fiber
[039] +    is dead'
[039]  ...
[039]  test_run:cmd("setopt delimiter ''");
[039]  ---
[039]
[039] [test-run server "vinyl"] Last 15 lines of the log file /tmp/t/039_vinyl/vinyl.log:
[039]  to --- {1: 970}
[039] ...
[039]
[039] 2025-01-30 15:20:26.164 [58596] main/131/console/unix/:/test_run I> wait vclock: --- {1: 969}
[039] ...
[039]  to --- {1: 970}
[039] ...
[039]
[039] 2025-01-30 15:20:26.173 [58596] main/131/console/unix/:/test_run I> wait vclock: --- {1: 969}
[039] ...
[039]  to --- {1: 970}
[039] ...
```

Apparently, this happens because there's a yield between creating
a fiber and making it joinable, which opens a time window for the
fiber to complete. Fix the issue by eliminating the yield.

The second issue is an attempt to cancel a dead fiber:

```
[012] Test failed! Result content mismatch:
[012] --- vinyl/errinj.result	Mon Feb 17 14:42:17 2025
[012] +++ /tmp/t/rejects/vinyl/errinj.reject	Mon Feb 17 14:46:05 2025
[012] @@ -220,6 +220,7 @@
[012]  ...
[012]  fiber.cancel(f1)
[012]  ---
[012] +- error: the fiber is dead
[012]  ...
[012]  fiber.sleep(0.1)
[012]  ---
```

This issue is caused by the read page timeout being too small -
the fiber manages to complete before it's cancelled. Let's use
the ERRINJ_VY_READ_PAGE_DELAY instea... (continued)

69779 of 123329 branches covered (56.58%)

102863 of 117704 relevant lines covered (87.39%)

2427756.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.05
-0.31% src/box/raft.c
1
96.12
-0.18% src/box/relay.cc
1
80.74
-0.41% src/box/tuple_bloom.c
1
94.93
-0.72% src/box/vy_point_lookup.c
1
84.26
-0.08% src/box/xlog.c
1
95.24
-1.59% src/lib/small/include/small/quota.h
1
91.68
-0.11% src/lib/swim/swim.c
2
95.84
-0.11% src/box/iproto.cc
2
86.27
-0.48% src/box/vy_stmt.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
3
92.24
-0.09% src/box/vinyl.c
4
87.3
-0.25% src/box/vy_run.c
9
88.14
-7.63% src/box/vy_regulator.c
16
90.81
-0.45% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 13372851315.1 17 Feb 2025 03:20PM UTC 518
87.39
GitHub Action Run
Source Files on build 13372851315
  • Tree
  • List 518
  • Changed 424
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7089b0c7 on github
  • Prev Build on master (#13313615478)
  • Next Build on master (#13385585577)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc