#2025 assigned defect

test storage server behaviour for bad container files or chunk objects

Reported by: daira Owned by: daira
Priority: normal Milestone: soon
Component: code-storage Version: 1.10.0
Keywords: test-needed error corruption cloud-backend Cc:
Launchpad Bug:

Description (last modified by 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 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.

Change History (8)

comment:1 Changed at 2013-07-17T13:16:17Z by daira

  • Description modified (diff)
  • Summary changed from test storage server behaviour for bad container files to test storage server behaviour for bad container files or chunk objects

comment:2 Changed at 2013-07-17T13:17:19Z by daira

  • Keywords test-needed added; test removed

comment:3 Changed at 2013-07-22T20:50:59Z by daira

  • Milestone changed from soon to 1.12.0
  • Owner set to daira
  • Status changed from new to assigned

comment:4 Changed at 2014-12-06T14:49:37Z by daira

See also #2026.

comment:5 Changed at 2016-03-22T05:02:25Z by warner

  • Milestone changed from 1.12.0 to 1.13.0

Milestone renamed

comment:6 Changed at 2016-06-28T18:17:14Z by warner

  • Milestone changed from 1.13.0 to 1.14.0

renaming milestone

comment:7 Changed at 2020-06-30T14:45:13Z by exarkun

  • Milestone changed from 1.14.0 to 1.15.0

Moving open issues out of closed milestones.

comment:8 Changed at 2021-03-30T18:40:19Z by meejah

  • Milestone changed from 1.15.0 to soon

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.