﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
2025	test storage server behaviour for bad container files or chunk objects	daira	daira	"The behaviour of a storage server on shares with a corrupt container (bad header or inconsistent length) is insufficiently tested. We should simulate various kinds of container corruption (also on a subset of shares in a shareset that has more than one share), to test that the correct errors are raised.

See for example [https://github.com/LeastAuthority/tahoe-lafs/commit/fd819cea11599cc274b8e1d72bfce0fffea39296#L3R93 this bug], which showed that raising {{{CorruptStoredShareError}}} on an immutable share with an inconsistent container length was untested.

Note that the code and the intended behaviour (see #1566) has changed on the cloud branch so that is what we should test. The cloud backend has additional failure modes due to missing or inconsistent chunk objects.
"	defect	assigned	normal	soon	code-storage	1.10.0		test-needed error corruption cloud-backend		
