Tuesday, 2024-02-06

opendevreviewMatthew Oliver proposed openstack/swift master: sharding: don't replace own_shard_range without an epoch  https://review.opendev.org/c/openstack/swift/+/80996905:30
opendevreviewThomas Goirand proposed openstack/swift master: drive-full-checker  https://review.opendev.org/c/openstack/swift/+/90752307:20
opendevreviewThomas Goirand proposed openstack/swift master: drive-full-checker  https://review.opendev.org/c/openstack/swift/+/90752307:55
zigoHi. I'd like to add some tests for the above patch, so I tried creating a temp directory with a xfs loopback file that I'd like to mount, though without root, no way ...09:34
zigoAny clue how I can do this?09:34
zigoIn the context of swift tests, there's already mounted stuff in /srv/node, or what?09:35
opendevreviewMerged openstack/swift master: tests: Fix float expectations for py312  https://review.opendev.org/c/openstack/swift/+/90460110:16
opendevreviewAlistair Coles proposed openstack/swift master: proxy-server: de-duplicate _get_next_response_part method  https://review.opendev.org/c/openstack/swift/+/89091912:25
opendevreviewAnish Kachinthaya proposed openstack/swift master: added parsing container level grace period through config and container level grace period in expirer, as well as tests  https://review.opendev.org/c/openstack/swift/+/90776216:57
timburkezigo, not all unit tests require xfs -- basically, that should only be necessary for the ones that want to write real diskfiles with (sometimes large) xattrs. i'd recommend writing the unit test you want (likely mocking out shutil.disk_usage) and only really going down the xfs-tempdir rabbit hole if it seems like you need to17:34
timburkeif you *do*, it seems like there might be a way forward with guestmount/libguestfs-xfs? but i've never tried it17:34
clarkbI thought the tests we ran did create and mount an xfs filesystem prior to droppign root17:40
clarkbya tools/test-setup.sh should be run by the jobs and in theory is something you can run locally too17:42
timburkeclarkb, in the gate, yeah -- my read was that zigo wanted to get an xfs tempdir locally so he could run tests, but maybe i'm off base about that17:43
opendevreviewClay Gerrard proposed openstack/swift master: test for bad config  https://review.opendev.org/c/openstack/swift/+/90820622:33

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!