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

tarantool / tarantool / 13372909875
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ligurio/gh-12097-support-oss-fuzz
DEFAULT BRANCH: master
Ran 17 Feb 2025 04:12PM UTC
Jobs 1
Files 479
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

17 Feb 2025 02:46PM UTC coverage: 86.017% (+0.003%) from 86.014%
13372909875

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)

63431 of 114776 branches covered (55.27%)

94355 of 109693 relevant lines covered (86.02%)

2327239.88 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.16
-0.08% src/box/applier.cc
1
95.85
-0.52% src/box/lua/init.c
1
92.35
-0.17% src/box/txn_limbo.c
1
91.99
0.0% src/box/vinyl.c
1
95.74
1.6% src/box/vy_range.c
1
80.0
-2.05% src/lib/core/clock.c
1
91.45
-0.11% src/lib/swim/swim.c
2
95.4
-2.3% src/histogram.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
5
89.49
-0.51% src/box/memtx_engine.cc
Jobs
ID Job ID Ran Files Coverage
1 13372909875.1 17 Feb 2025 04:12PM UTC 479
86.02
GitHub Action Run
Source Files on build 13372909875
  • Tree
  • List 479
  • Changed 394
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d7084670 on github
  • Prev Build on release/2.11 (#13366883835)
  • Next Build on release/2.11 (#13385706664)
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