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

zopefoundation / ZEO / 21439552802
73%
master: 73%

Build:
Build:
LAST BUILD BRANCH: y/cache-fmt-dedup
DEFAULT BRANCH: master
Ran 28 Jan 2026 01:15PM UTC
Jobs 1
Files 66
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

28 Jan 2026 01:10PM UTC coverage: 73.245% (+0.02%) from 73.229%
21439552802

Pull #246

github

navytux
Fix ZEO cache tracing wrt 2038 year

@bmwiedemann reports that ZEO tests fail in year 2038. From
https://github.com/zopefoundation/ZEO/issues/245:

    Failure in test cache_simul_properly_handles_load_miss_after_eviction_and_inval (ZEO.tests.test_cache)
    Failed doctest test for ZEO.tests.test_cache.cache_simul_properly_handles_load_miss_after_eviction_and_inval
      File "/home/abuild/rpmbuild/BUILD/python-ZEO-6.1-build/zeo-6.1/src/ZEO/tests/test_cache.py", line 1015, in cache_simul_properly_handles_load_miss_after_eviction_and_inval

    ----------------------------------------------------------------------
    File "/home/abuild/rpmbuild/BUILD/python-ZEO-6.1-build/zeo-6.1/src/ZEO/tests/test_cache.py", line 1021, in ZEO.tests.test_cache.cache_simul_properly_handles_load_miss_after_eviction_and_inval
    Failed example:
        cache = ZEO.cache.ClientCache('cache', 1<<21)
    Exception raised:
        Traceback (most recent call last):
          File "/usr/lib64/python3.11/doctest.py", line 1355, in __run
            exec(compile(example.source, filename, "single",
          File "<doctest ZEO.tests.test_cache.cache_simul_properly_handles_load_miss_after_eviction_and_inval[1]>", line 1, in <module>
            cache = ZEO.cache.ClientCache('cache', 1<<21)
          File "/home/abuild/rpmbuild/BUILD/python-ZEO-6.1-build/zeo-6.1/src/ZEO/cache.py", line 239, in __init__
            self._setup_trace(path)
          File "/home/abuild/rpmbuild/BUILD/python-ZEO-6.1-build/zeo-6.1/src/ZEO/cache.py", line 823, in _setup_trace
            _trace(0x00)
          File "/home/abuild/rpmbuild/BUILD/python-ZEO-6.1-build/zeo-6.1/src/ZEO/cache.py", line 814, in _trace
            pack(">iiH8s8s",
        struct.error: 'i' format requires -2147483648 <= number <= 2147483647

Unfortunately as ZEO/scripts/cache_stats.py and ZEO/scripts/cache_simul.py show
ZEO cache-trace files do not have header nor magic, so we cannot change format
of time field from 32-bit integ... (continued)
Pull Request #246: Fix ZEO cache tracing wrt 2038 year

1265 of 2246 branches covered (56.32%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 2 files covered. (100.0%)

7783 of 10107 relevant lines covered (77.01%)

0.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21439552802.1 28 Jan 2026 01:15PM UTC 66
73.25
GitHub Action Run
Source Files on build 21439552802
  • Tree
  • List 66
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #246
  • PR Base - master (#21429121949)
  • Delete
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