<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusto-tests.git/glustolibs-gluster, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/'/>
<entry>
<title>[LibFix] Add nfs_ganesha lib fix</title>
<updated>2021-01-22T09:45:05+00:00</updated>
<author>
<name>Pranav</name>
<email>prprakas@redhat.com</email>
</author>
<published>2021-01-13T09:36:34+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=d7b68c13e2f2b8a236e1f8b15c95c51d91669a34'/>
<id>d7b68c13e2f2b8a236e1f8b15c95c51d91669a34</id>
<content type='text'>
1. The volume mount has to be done via VIP for nfs_ganesha.

2. Add steps to handle ganesha setup and teardown.

Change-Id: I2e33d30118502b71ca9ca4821ef633ba4bd5fa10
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. The volume mount has to be done via VIP for nfs_ganesha.

2. Add steps to handle ganesha setup and teardown.

Change-Id: I2e33d30118502b71ca9ca4821ef633ba4bd5fa10
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test+Lib] Add tests to check self heal</title>
<updated>2021-01-20T05:59:20+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2021-01-07T06:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=b0a6b643ae2357af37af47a9948fb2a8444afc37'/>
<id>b0a6b643ae2357af37af47a9948fb2a8444afc37</id>
<content type='text'>
Test scenarios added:
1. Test to check entry self heal.
2. Test to check meta data self heal.
3. Test self heal when files are removed and dirs
   created with the same name.

Additional libraries added:
1. group_del(): Deletes groups created
2. enable_granular_heal(): Enables granular heal
3. disable_granular_heal(): Disables granular heal

Change-Id: Iffa9a100fddaecae99c384afe3aaeaf13dd37e0d
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test scenarios added:
1. Test to check entry self heal.
2. Test to check meta data self heal.
3. Test self heal when files are removed and dirs
   created with the same name.

Additional libraries added:
1. group_del(): Deletes groups created
2. enable_granular_heal(): Enables granular heal
3. disable_granular_heal(): Disables granular heal

Change-Id: Iffa9a100fddaecae99c384afe3aaeaf13dd37e0d
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test+Libfix] Add test to add brick followed by remove brick</title>
<updated>2021-01-18T05:07:50+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2020-12-29T05:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=7531b90f8f0e7eee410fb0270a5af12b7b29b7bf'/>
<id>7531b90f8f0e7eee410fb0270a5af12b7b29b7bf</id>
<content type='text'>
Test case:
1. Create a volume, start it and mount it to a client.
2. Start I/O on volume.
3. Add brick and trigger rebalance, wait for rebalance to complete.
   (The volume which was 1x3 should now be 2x3)
4. Add brick and trigger rebalance, wait for rebalance to complete.
   (The volume which was 2x3 should now be 3x3)
5. Remove brick from volume such that it becomes a 2x3.
6. Remove brick from volume such that it becomes a 1x3.
7. Wait for I/O to complete and check for any input/output errors in
   the logs of both the I/O and rebalance logs.

Additional library fix:
Adding `return True` at the end of is_layout_complete()
to return True if no issues found in layout.

Refernce BZ: #1726673
Change-Id: Ifd0360f948b334bfcf341c1015a731274acdb2bf
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test case:
1. Create a volume, start it and mount it to a client.
2. Start I/O on volume.
3. Add brick and trigger rebalance, wait for rebalance to complete.
   (The volume which was 1x3 should now be 2x3)
4. Add brick and trigger rebalance, wait for rebalance to complete.
   (The volume which was 2x3 should now be 3x3)
5. Remove brick from volume such that it becomes a 2x3.
6. Remove brick from volume such that it becomes a 1x3.
7. Wait for I/O to complete and check for any input/output errors in
   the logs of both the I/O and rebalance logs.

Additional library fix:
Adding `return True` at the end of is_layout_complete()
to return True if no issues found in layout.

Refernce BZ: #1726673
Change-Id: Ifd0360f948b334bfcf341c1015a731274acdb2bf
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[LibFix] Check to ignore peer validation in case of single node server</title>
<updated>2021-01-06T09:12:39+00:00</updated>
<author>
<name>Arthy Loganathan</name>
<email>aloganat@redhat.com</email>
</author>
<published>2020-12-18T13:55:45+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=eeae38ef23c3c9a04510277f0b6f4c854cf73c4a'/>
<id>eeae38ef23c3c9a04510277f0b6f4c854cf73c4a</id>
<content type='text'>
Change-Id: I5ad55be92b3acaa605e66de246ce7d40bcec6d5b
Signed-off-by: Arthy Loganathan &lt;aloganat@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5ad55be92b3acaa605e66de246ce7d40bcec6d5b
Signed-off-by: Arthy Loganathan &lt;aloganat@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[LibFix] Add dirname support form_bricks_list()</title>
<updated>2021-01-04T07:03:38+00:00</updated>
<author>
<name>“Milind</name>
<email>“mwaykole@redhat.com”</email>
</author>
<published>2020-12-29T10:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=9a190b6494a82359fbb0f3b4a712ea7a97f681fb'/>
<id>9a190b6494a82359fbb0f3b4a712ea7a97f681fb</id>
<content type='text'>
Adding arg dirname as a gluster brick directory

Change-Id: I1bb69b4d719bad4cbac3a0e6a497fdae386c6004
Signed-off-by: “Milind &lt;“mwaykole@redhat.com”&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding arg dirname as a gluster brick directory

Change-Id: I1bb69b4d719bad4cbac3a0e6a497fdae386c6004
Signed-off-by: “Milind &lt;“mwaykole@redhat.com”&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[LibFix] Optimizing setup_volume api.</title>
<updated>2020-12-18T11:56:07+00:00</updated>
<author>
<name>srijan-sivakumar</name>
<email>ssivakum@redhat.com</email>
</author>
<published>2020-12-04T06:21:58+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=1e835f6c6b53cd01b6e64741407b064193b2458d'/>
<id>1e835f6c6b53cd01b6e64741407b064193b2458d</id>
<content type='text'>
Currently the setup volume API is calling
the get_volume_info to obtain the volume information
to check if the said volume already exists. Internally
the get_volume_info would have to parse the complete
xml dump received for volume info.

Instead of that one can invoke the get_volume_list
which would mean reduced effort put into parsing the
output received as volume name is the only important
factor in this check inside setup_volume.

Change-Id: I024d42fe471bf26ac85dd3108d6f123cd56a0766
Signed-off-by: srijan-sivakumar &lt;ssivakum@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the setup volume API is calling
the get_volume_info to obtain the volume information
to check if the said volume already exists. Internally
the get_volume_info would have to parse the complete
xml dump received for volume info.

Instead of that one can invoke the get_volume_list
which would mean reduced effort put into parsing the
output received as volume name is the only important
factor in this check inside setup_volume.

Change-Id: I024d42fe471bf26ac85dd3108d6f123cd56a0766
Signed-off-by: srijan-sivakumar &lt;ssivakum@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test+Lib] Add test to check rebalance impact on acl</title>
<updated>2020-12-18T05:20:15+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2020-12-15T10:57:41+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=99c01ca8e9ca89be5705102e12cdc29abc1cb8ed'/>
<id>99c01ca8e9ca89be5705102e12cdc29abc1cb8ed</id>
<content type='text'>
Test case:
1. Create a volume, start it and mount it to a client.
2. Create 10 files on the mount point and set acls on the files.
3. Check the acl value and collect arequal-checksum.
4. Add bricks to the volume and start rebalance.
5. Check the value of acl(it should be same as step 3),
   collect and compare arequal-checksum with the one collected
   in step 3

Additional functions added:
a. set_acl(): Set acl rule on a specific file
b. get_acl(): Get all acl rules set to a file
c. delete_acl(): Delete a specific or all acl rules
                 set on a file

Change-Id: Ia420cbcc8daea272cd4a282ae27d24f13b4991fe
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test case:
1. Create a volume, start it and mount it to a client.
2. Create 10 files on the mount point and set acls on the files.
3. Check the acl value and collect arequal-checksum.
4. Add bricks to the volume and start rebalance.
5. Check the value of acl(it should be same as step 3),
   collect and compare arequal-checksum with the one collected
   in step 3

Additional functions added:
a. set_acl(): Set acl rule on a specific file
b. get_acl(): Get all acl rules set to a file
c. delete_acl(): Delete a specific or all acl rules
                 set on a file

Change-Id: Ia420cbcc8daea272cd4a282ae27d24f13b4991fe
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[LibFix] Adding retry for start_glusterd</title>
<updated>2020-11-27T05:06:33+00:00</updated>
<author>
<name>srijan-sivakumar</name>
<email>ssivakum@redhat.com</email>
</author>
<published>2020-11-26T05:35:46+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=c5934fee66faa516ba495c32f7ec62d10b9301fd'/>
<id>c5934fee66faa516ba495c32f7ec62d10b9301fd</id>
<content type='text'>
Issue: Glusterd start fails after repeated start and stop. ( Due to 
the cap on maximum of 6 starts of the service within an hour )

Fix: Hence it is prudent to add the retry option similar to that
of restart_glusterd so as to run `systemctl reset-failed glusterd`
on the servers.

Change-Id: Ic0378934623dfa6dc5ab265246c746269f6995bc
Signed-off-by: srijan-sivakumar &lt;ssivakum@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: Glusterd start fails after repeated start and stop. ( Due to 
the cap on maximum of 6 starts of the service within an hour )

Fix: Hence it is prudent to add the retry option similar to that
of restart_glusterd so as to run `systemctl reset-failed glusterd`
on the servers.

Change-Id: Ic0378934623dfa6dc5ab265246c746269f6995bc
Signed-off-by: srijan-sivakumar &lt;ssivakum@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Lib] Add get_usable_size_per_disk() to library</title>
<updated>2020-10-29T09:51:49+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2020-10-29T09:48:19+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=858a0227eb57d8ca5409b5bf105ac254ce79a124'/>
<id>858a0227eb57d8ca5409b5bf105ac254ce79a124</id>
<content type='text'>
Changes done in this patch:
1. Adding get_usable_size_per_disk() to lib_utils.py.
2. Removing the redundant code from
   dht/test_rename_with_brick_min_free_limit_crossed.py.

Change-Id: I80c1d6124b7f0ce562d8608565f7c46fd8612d0d
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes done in this patch:
1. Adding get_usable_size_per_disk() to lib_utils.py.
2. Removing the redundant code from
   dht/test_rename_with_brick_min_free_limit_crossed.py.

Change-Id: I80c1d6124b7f0ce562d8608565f7c46fd8612d0d
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test] Add 2 memory leak tests and fix library issues</title>
<updated>2020-10-21T05:21:42+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2020-10-06T03:35:44+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=08faae06ab07b56b815aec5bfbfcf72d653e8055'/>
<id>08faae06ab07b56b815aec5bfbfcf72d653e8055</id>
<content type='text'>
Scenarios added:
----------------

Test case:
1. Create a volume, start it and mount it.
2. Start I/O from mount point.
3. Check if there are any memory leaks and OOM killers.

Test case:
1. Create a volume, start it and mount it.
2. Set features.cache-invalidation to ON.
3. Start I/O from mount point.
4. Run gluster volume heal command in a loop
5. Check if there are any memory leaks and OOM killers on servers.

Design change:
--------------

- self.id() is moved into test class as it was hitting bound
errors in the original logic.
- Logic changed for checking leaks fuse.
- Fixed breakage in methods where ever needed.

Change-Id: Icb600d833d0c08636b6002abb489342ea1f946d7
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Scenarios added:
----------------

Test case:
1. Create a volume, start it and mount it.
2. Start I/O from mount point.
3. Check if there are any memory leaks and OOM killers.

Test case:
1. Create a volume, start it and mount it.
2. Set features.cache-invalidation to ON.
3. Start I/O from mount point.
4. Run gluster volume heal command in a loop
5. Check if there are any memory leaks and OOM killers on servers.

Design change:
--------------

- self.id() is moved into test class as it was hitting bound
errors in the original logic.
- Logic changed for checking leaks fuse.
- Fixed breakage in methods where ever needed.

Change-Id: Icb600d833d0c08636b6002abb489342ea1f946d7
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
