<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusto-tests.git/tests/functional/disperse, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/'/>
<entry>
<title>[Test] Add test to verify lock behaviour from 2 diff clients</title>
<updated>2021-01-04T06:15:02+00:00</updated>
<author>
<name>Pranav</name>
<email>prprakas@redhat.com</email>
</author>
<published>2020-11-04T08:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=7936283847db39070d760f79f0af1804be7f6744'/>
<id>7936283847db39070d760f79f0af1804be7f6744</id>
<content type='text'>
Test to verify whether the lock is being granted to two diff
clients at the same time.
- Take lock from client 1 =&gt; Lock is acquired
- Try taking lock from client 2
- Release lock from client1
- Take lock from client2
- Again try taking lock from client 1

Also, verifying the behaviour with eagerlock and other eagerlock
set of on and off.

Change-Id: Ie839f893f7a4f9b2c6fc9375cdf9ee8a27fad13b
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test to verify whether the lock is being granted to two diff
clients at the same time.
- Take lock from client 1 =&gt; Lock is acquired
- Try taking lock from client 2
- Release lock from client1
- Take lock from client2
- Again try taking lock from client 1

Also, verifying the behaviour with eagerlock and other eagerlock
set of on and off.

Change-Id: Ie839f893f7a4f9b2c6fc9375cdf9ee8a27fad13b
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test] Test Eager lock reduce the number of locks during write.</title>
<updated>2020-10-19T07:35:57+00:00</updated>
<author>
<name>Sheetal</name>
<email>spamecha@redhat.com</email>
</author>
<published>2020-10-07T13:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=e793e9a2abe1ba4c412a51b115dcce6372b41fc1'/>
<id>e793e9a2abe1ba4c412a51b115dcce6372b41fc1</id>
<content type='text'>
Steps-
1. Create a disperse volume and start it.
2. Set the eager lock option
3. mount the volume and create a file
4. Check the profile info of the volume for inodelk count.
5. check xattrs of the file for dirty bit.
6. Reset the eager lock option and check the attributes again.

Change-Id: I0ef1a0e89c1bc202e5df4022c6d98ad0de0c1a68
Signed-off-by: Sheetal &lt;spamecha@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Steps-
1. Create a disperse volume and start it.
2. Set the eager lock option
3. mount the volume and create a file
4. Check the profile info of the volume for inodelk count.
5. check xattrs of the file for dirty bit.
6. Reset the eager lock option and check the attributes again.

Change-Id: I0ef1a0e89c1bc202e5df4022c6d98ad0de0c1a68
Signed-off-by: Sheetal &lt;spamecha@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[TestFix] Add check vol size after bringing min brick down</title>
<updated>2020-10-07T04:51:02+00:00</updated>
<author>
<name>Pranav</name>
<email>prprakas@redhat.com</email>
</author>
<published>2020-09-28T04:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=f3bf953cf56b66cf1ef11b6550079db9e9cf8fa8'/>
<id>f3bf953cf56b66cf1ef11b6550079db9e9cf8fa8</id>
<content type='text'>
Added check to verify the behavior after bringing down the
smallest brick. The available volume size should not be
greater than the initial vol size

Test skipped due to bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1883429

Change-Id: I00c0310210f6fe218cedd23e055dfaec3632ec8d
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added check to verify the behavior after bringing down the
smallest brick. The available volume size should not be
greater than the initial vol size

Test skipped due to bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1883429

Change-Id: I00c0310210f6fe218cedd23e055dfaec3632ec8d
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[TestFix] Removing the 'cd' in file operations</title>
<updated>2020-09-25T11:57:39+00:00</updated>
<author>
<name>srijan-sivakumar</name>
<email>ssivakum@redhat.com</email>
</author>
<published>2020-09-24T16:40:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=05526c98a2466b1aae61473882749937a5a44894'/>
<id>05526c98a2466b1aae61473882749937a5a44894</id>
<content type='text'>
Reason : The cd will change the working directory to root
and renames and softlink creations for subsequent files will
fail as seen in the glusto logs.

Change-Id: I174ac11007dc301ba6ec8ccddaeb919a181b1c30
Signed-off-by: srijan-sivakumar &lt;ssivakum@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reason : The cd will change the working directory to root
and renames and softlink creations for subsequent files will
fail as seen in the glusto logs.

Change-Id: I174ac11007dc301ba6ec8ccddaeb919a181b1c30
Signed-off-by: srijan-sivakumar &lt;ssivakum@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[TestFix] Add node restart validation</title>
<updated>2020-09-22T07:16:44+00:00</updated>
<author>
<name>Pranav</name>
<email>prprakas@redhat.com</email>
</author>
<published>2020-09-17T06:37:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=87fb7679fba27653abf052f03f026108d6af0191'/>
<id>87fb7679fba27653abf052f03f026108d6af0191</id>
<content type='text'>
Extending the existing validation by adding
node restart as a method to bring back
offline bricks along with exiting volume start
approach.

Change-Id: I1291b7d9b4a3c299859175b4cdcd2952339c48a4
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extending the existing validation by adding
node restart as a method to bring back
offline bricks along with exiting volume start
approach.

Change-Id: I1291b7d9b4a3c299859175b4cdcd2952339c48a4
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test] Replace brick after add brick on disperse</title>
<updated>2020-08-13T06:05:56+00:00</updated>
<author>
<name>Bala Konda Reddy M</name>
<email>bala12352@gmail.com</email>
</author>
<published>2020-07-28T12:00:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=4c90fc356a467d348ada9c2f9ba9e4aedac42752'/>
<id>4c90fc356a467d348ada9c2f9ba9e4aedac42752</id>
<content type='text'>
Test Steps:
1. Create a pure-ec volume (say 1x(4+2))
2. Mount volume on two clients
3. Create some files and dirs from both mnts
4. Add bricks in this case the (4+2) ie 6 bricks
5. Create a new dir(common_dir) and in that directory create a distinct
directory(using hostname as dirname) for each client and pump IOs
from the clients(dd)
6. While IOs are in progress replace any of the bricks
7. Check for errors if any collected after step 6

Change-Id: I3125fc5906b5d5e0bc40477e1ed88825f53fa758
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test Steps:
1. Create a pure-ec volume (say 1x(4+2))
2. Mount volume on two clients
3. Create some files and dirs from both mnts
4. Add bricks in this case the (4+2) ie 6 bricks
5. Create a new dir(common_dir) and in that directory create a distinct
directory(using hostname as dirname) for each client and pump IOs
from the clients(dd)
6. While IOs are in progress replace any of the bricks
7. Check for errors if any collected after step 6

Change-Id: I3125fc5906b5d5e0bc40477e1ed88825f53fa758
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Testfix] Fix TypeError for python3</title>
<updated>2020-07-28T04:41:22+00:00</updated>
<author>
<name>Bala Konda Reddy M</name>
<email>bala12352@gmail.com</email>
</author>
<published>2020-07-27T14:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=706376004864c050bb22648cffd24881965e37ed'/>
<id>706376004864c050bb22648cffd24881965e37ed</id>
<content type='text'>
Problem: Test is failing with below traceback
when ran with python3 as default.
`
Traceback (most recent call last):
  File "&lt;string&gt;", line 1, in &lt;module&gt;
TypeError: a bytes-like object is required, not 'str'
`
Solution:
Added ''.encode() which will fix the issue when ran
using both python2 and python3

Added a check for core file on the client node.

Change-Id: I8f800f5fad97c3b7591db79ea51203e5293a1f69
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Test is failing with below traceback
when ran with python3 as default.
`
Traceback (most recent call last):
  File "&lt;string&gt;", line 1, in &lt;module&gt;
TypeError: a bytes-like object is required, not 'str'
`
Solution:
Added ''.encode() which will fix the issue when ran
using both python2 and python3

Added a check for core file on the client node.

Change-Id: I8f800f5fad97c3b7591db79ea51203e5293a1f69
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[TestFix] Breakdown sparefile creation into chunks</title>
<updated>2020-07-22T10:51:15+00:00</updated>
<author>
<name>Leela Venkaiah G</name>
<email>lgangava@redhat.com</email>
</author>
<published>2020-07-20T11:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=7a78a835422de108fa19b50c86df11456175f61e'/>
<id>7a78a835422de108fa19b50c86df11456175f61e</id>
<content type='text'>
- Remove decimal before passing to `head` command
- Breakup sparsefile into chunks to ~half of brick size
- Whole test has to be skipped due to BZ #1339144

Change-Id: I7a9ae25798b442c74248954023dd821c3442f8f9
Signed-off-by: Leela Venkaiah G &lt;lgangava@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove decimal before passing to `head` command
- Breakup sparsefile into chunks to ~half of brick size
- Whole test has to be skipped due to BZ #1339144

Change-Id: I7a9ae25798b442c74248954023dd821c3442f8f9
Signed-off-by: Leela Venkaiah G &lt;lgangava@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Testfix] skip test unless 3 clients are provided</title>
<updated>2020-07-22T09:46:02+00:00</updated>
<author>
<name>Bala Konda Reddy M</name>
<email>bala12352@gmail.com</email>
</author>
<published>2020-07-21T11:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=166beb0ad30f0e36d3342f88df3f086fbe4a1719'/>
<id>166beb0ad30f0e36d3342f88df3f086fbe4a1719</id>
<content type='text'>
Problem: Creating a third mount obj works for glusterfs
protocol but in future while running for nfs/cifs might
face complications and test might fail.

Solution: Skip test unless three clients are provided
Removing redundant logging and minor fixes.

Change-Id: Ie657975a46b6989cb9f057f5cc337333bbf1010d
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Creating a third mount obj works for glusterfs
protocol but in future while running for nfs/cifs might
face complications and test might fail.

Solution: Skip test unless three clients are provided
Removing redundant logging and minor fixes.

Change-Id: Ie657975a46b6989cb9f057f5cc337333bbf1010d
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test] Truncate a file with brick down</title>
<updated>2020-07-20T04:40:29+00:00</updated>
<author>
<name>Bala Konda Reddy M</name>
<email>bala12352@gmail.com</email>
</author>
<published>2020-07-14T12:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusto-tests.git/commit/?id=1f2235bdcfa2064d56f250e9372ea5d750a51feb'/>
<id>1f2235bdcfa2064d56f250e9372ea5d750a51feb</id>
<content type='text'>
Test steps:
1. Create a volume, start and mount it on a client
2. Bring down redundant bricks in the subvol
3. Create a file on the volume using "touch"
4. Truncate the file using "O_TRUNC"
5. Bring the brick online
6. Write data on the file and wait for heal completion
7. Check for crashes and coredumps

Change-Id: Ie02a56ab5180f6a88e4499c8cf6e5fe5019e8df1
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test steps:
1. Create a volume, start and mount it on a client
2. Bring down redundant bricks in the subvol
3. Create a file on the volume using "touch"
4. Truncate the file using "O_TRUNC"
5. Bring the brick online
6. Write data on the file and wait for heal completion
7. Check for crashes and coredumps

Change-Id: Ie02a56ab5180f6a88e4499c8cf6e5fe5019e8df1
Signed-off-by: Bala Konda Reddy M &lt;bala12352@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
