[INTTEST-23] Clustering: Add test to verify snapshot creation and read Created: 02/Oct/15  Updated: 19/Oct/17  Resolved: 27/Sep/16

Status: Resolved
Project: integration-test
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Shaleen Saxena Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

Currently the Clustering Datastore tests create cars to verify datastore. However the size of data is not sufficient to create a snapshot. All cars data stays in journal logs. So any controller restart will read only from journal, and not from snapshots.

We need a new testcase to verify that creation and read of snapshots works correctly. The test should enable creation of snapshot when cars are added and then restart the controllers, which will test the read of snapshots. All data before the restart should be preserved via snapshots and journal logs.



 Comments   
Comment by Moiz Raja [ 17/Nov/15 ]

Shaleen, do you plan to do this in Beryllium or do you want this moved out?

Comment by Tom Pantelis [ 27/Feb/16 ]

Moving this to the integration project.

Comment by Vratko Polak [ 14/Apr/16 ]

This is a subset of current activity:
https://trello.com/c/rBhzxrUW/308-akka-upgrade-test

Comment by Vratko Polak [ 19/May/16 ]

Ready for review:
https://git.opendaylight.org/gerrit/37150
https://git.opendaylight.org/gerrit/37181

Comment by Vratko Polak [ 06/Sep/16 ]

The existing job now logs what was created and you can see snapshot is there [0].
But actual check which would fail if snapshot was not creating is missing.
Setting back to CONFIRMED.

[0] https://logs.opendaylight.org/releng/jenkins092/controller-csit-1node-akka1-only-beryllium/22/archives/log.html.gz#s1-t8-k2-k1-k1-k4-k1-k1

Comment by Lydia Buckuliakova [ 27/Sep/16 ]

A new test case Check_Snapshot_With_Transferred_Persisted_Data was added. It fails if no snapshot file was created.

https://logs.opendaylight.org/releng/jenkins092/controller-csit-1node-akka1-only-beryllium/25/archives/log.html.gz#s1-t9

Generated at Wed Feb 07 20:04:21 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.