facebook / CacheLib

Pluggable in-process caching engine to build and scale high performance services
https://www.cachelib.org
Apache License 2.0
1.21k stars 262 forks source link

Tracker for Build issues #199

Closed wonglkd closed 1 year ago

wonglkd commented 1 year ago

Build status

Clicking on a badge will show you the recent builds for that OS. If your target OS's build is failing, you may wish to check recent issues and PRs for known workarounds.

Issues

1. Debian fails at stage update-submodules. fatal: detected dubious ownership in repository at '/__w/CacheLib/CacheLib'

2. CentOS fails CacheLib build in XDCHECK

/__w/CacheLib/CacheLib/cachelib/../cachelib/cachebench/runner/AsyncCacheStressor.h:306:7: internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5965
       XDCHECK(req->sizeBegin + 1 != req->sizeEnd);

https://github.com/facebook/CacheLib/blob/6ad7a318b43de25ba41067c3d6a851d5a60d1633/cachelib/cachebench/runner/AsyncCacheStressor.h#L306

3. RPM builds

wonglkd commented 1 year ago

All builds are passing for now (except rpm builds). Could put the status badges (which filter on scheduled builds) with the build instructions or even the readme:

## Build status

Clicking on a badge will show you the recent builds for that OS. If your target OS's build is failing, you may wish to check recent issues and PRs for known workarounds.

- [![CentOS 8.1](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-centos-8-1.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-centos-8-1.yml?query=event%3Aschedule)
- [![CentOS 8.5](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-centos-8-5.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-centos-8-5.yml?query=event%3Aschedule)
- [![Debian 10](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-debian-10.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-debian-10.yml?query=event%3Aschedule)
- [![Fedora 36](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-fedora-36.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-fedora-36.yml?query=event%3Aschedule)
- [![Rocky Linux 8](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-rockylinux-8.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-rockylinux-8.yml?query=event%3Aschedule)
- [![Rocky Linux 9](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-rockylinux-9.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-rockylinux-9.yml?query=event%3Aschedule)
- [![Ubuntu 18](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-ubuntu-18.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-ubuntu-18.yml?query=event%3Aschedule)
- [![Ubuntu 20](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-ubuntu-20.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-ubuntu-20.yml?query=event%3Aschedule)
- [![Ubuntu 22](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-ubuntu-22.yml/badge.svg?event=schedule)](https://github.com/facebook/cachelib/actions/workflows/build-cachelib-ubuntu-22.yml?query=event%3Aschedule)
wonglkd commented 1 year ago

@jaesoo-fb for your consideration (re build badges, above, if you want to put them somewhere)

closing this issue out for now, since the rpm-build issues are being handled internally. Thanks @jaesoo-fb @jiayuebao @therealgymmy for working with me on the PRs and reviewing them!

jaesoo-fb commented 1 year ago

@wonglkd Thanks for working on this; the build looks all green now. For the build badges, well, having said that we can see the status of all build actions in the actions tab, not sure whether it would be useful somewhere else too (yeah, it is fancy though!!) Let us discuss internally.

wonglkd commented 1 year ago

@jaesoo-fb Sounds good, yup, a matter for y'all to discuss. (The main reason I found it useful was that I couldn't see at one glance the status of all the builds on the tab, as for some OSes, we alternate which version is scheduled to run every day, and (potentially red) builds from PRs can quickly clutter up the actions tab.)

jaesoo-fb commented 1 year ago

Thanks @wonglkd for the suggestion and the code snippet. I just landed the commit e679b72d5b78 (README.md: added build status badges to main README.md) which adds the build status to the bottom of main README file https://github.com/facebook/CacheLib