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

tarantool / test-run / 9430631951
63%

Build:
DEFAULT BRANCH: master
Ran 08 Jun 2024 06:12PM UTC
Jobs 1
Files 25
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

08 Jun 2024 06:11PM UTC coverage: 62.574% (-0.03%) from 62.605%
9430631951

push

github

ylobankov
Calculate parallel jobs based on available CPUs

We're going to enable new ARM64 runners in CI, where test-run is invoked
in a Docker container. At the same time, the runner is an LXD container
created by the service provider. In this circumstances, the Docker
container sees all the 128 online CPUs, but the runner may have
only some of them available (depending on the pricing plan).

Python 3.3+ has a function to determine available CPUs, so we can reduce
the parallelism to this value. We fall back to the online CPUs count on
Python < 3.3.

After this change, test-run follows a CPU affinity mask set by `taskset`
(and, I guess, by `numactl`).

The change is similar to replacing `nproc --all` to `nproc`.

The change only affects the default behavior, which can be overwritten
by passing the `--jobs` (or `-j`) CLI option or using the
`TEST_RUN_JOBS` environment variable.

Reported in https://github.com/tarantool/tarantool/pull/10102

761 of 1568 branches covered (48.53%)

Branch coverage included in aggregate %.

8 of 11 new or added lines in 2 files covered. (72.73%)

2 existing lines in 1 file now uncovered.

2959 of 4377 relevant lines covered (67.6%)

0.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
55.37
-0.44% lib/utils.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
55.37
-0.44% lib/utils.py
Jobs
ID Job ID Ran Files Coverage
1 9430631951.1 08 Jun 2024 06:12PM UTC 25
62.57
Source Files on build 9430631951
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 182aa77e on github
  • Prev Build on master (#9364117721)
  • Next Build on master (#9430795585)
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

© 2025 Coveralls, Inc