<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusto-tests.git/glustolibs-io/shared_files/scripts, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://dev.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://dev.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>[Tool] Add tool to log memory and CPU usage</title>
<updated>2020-07-08T10:33:19+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2020-07-02T07:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=ccbb7003de9fd6f7a23ffe46ac014350ca569fff'/>
<id>ccbb7003de9fd6f7a23ffe46ac014350ca569fff</id>
<content type='text'>
Adding tool to log memory and cpu of a given process.

usage: memory_and_cpu_logger.py [-h] [-p PROCESS_NAME] [-i INTERVAL]
                                [-c COUNT] [-t TESTNAME]

A tool to log memory usage of a given process

optional arguments:
  -h, --help            show this help message and exit
  -p PROCESS_NAME, --process_name PROCESS_NAME
                        Name of process for which cpu and memory is to be
                        logged
  -i INTERVAL, --interval INTERVAL
                        Time interval to wait between consecutive
                        logs(Default:60)
  -c COUNT, --count COUNT
                        Number of times memory and CPU has to be logged
                        (Default:10)
  -t TESTNAME, --testname TESTNAME
                        Test name for which memory is logged

Tasks to be done:
1.Add library run the tool for clients and servers.
2.Add base_class function to log all values.
3.Add library function to read csv files and
  compute information.

Change-Id: I9e2e8825b103cf941c0a7e1f7eadadd65fc670d1
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding tool to log memory and cpu of a given process.

usage: memory_and_cpu_logger.py [-h] [-p PROCESS_NAME] [-i INTERVAL]
                                [-c COUNT] [-t TESTNAME]

A tool to log memory usage of a given process

optional arguments:
  -h, --help            show this help message and exit
  -p PROCESS_NAME, --process_name PROCESS_NAME
                        Name of process for which cpu and memory is to be
                        logged
  -i INTERVAL, --interval INTERVAL
                        Time interval to wait between consecutive
                        logs(Default:60)
  -c COUNT, --count COUNT
                        Number of times memory and CPU has to be logged
                        (Default:10)
  -t TESTNAME, --testname TESTNAME
                        Test name for which memory is logged

Tasks to be done:
1.Add library run the tool for clients and servers.
2.Add base_class function to log all values.
3.Add library function to read csv files and
  compute information.

Change-Id: I9e2e8825b103cf941c0a7e1f7eadadd65fc670d1
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Tool] Support for rsync, append, overwrite and truncate in file_dir_ops</title>
<updated>2019-12-18T05:23:50+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2019-12-09T08:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=f3c3e667776810f8155a73f18eccc07f04f0c38b'/>
<id>f3c3e667776810f8155a73f18eccc07f04f0c38b</id>
<content type='text'>
Adding support for the below IO in file_dir_ops:
1. rsync
2. append
3. overwrite
4. truncate

Changes required in CentOS-CI are submitted through the below pull
request:
https://github.com/gluster/centosci/pull/79

Change-Id: I0e5bc33894414ec885b2b6728a08e811b7982082
Co-authored-by: Ambarish Soman &lt;asoman@redhat.com&gt;
Signed-off-by: Ambarish Soman &lt;asoman@redhat.com&gt;
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding support for the below IO in file_dir_ops:
1. rsync
2. append
3. overwrite
4. truncate

Changes required in CentOS-CI are submitted through the below pull
request:
https://github.com/gluster/centosci/pull/79

Change-Id: I0e5bc33894414ec885b2b6728a08e811b7982082
Co-authored-by: Ambarish Soman &lt;asoman@redhat.com&gt;
Signed-off-by: Ambarish Soman &lt;asoman@redhat.com&gt;
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[py2to3] Fix files located in the 'glustolibs-io' dir</title>
<updated>2019-12-02T14:37:31+00:00</updated>
<author>
<name>Valerii Ponomarov</name>
<email>vponomar@redhat.com</email>
</author>
<published>2019-11-26T15:58:20+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=50453885291f5c5341ceb3a732be9a068873cffe'/>
<id>50453885291f5c5341ceb3a732be9a068873cffe</id>
<content type='text'>
Do following things in the files from the mentioned directory:
- Make it be python 2/3 compatible.
- Fix pep8 issues.
- Place imports in alphabetical order.
- Improve some parts for the better readability.
- Add comma separators in the setup.py for it's classifiers.
  Before it was mistakenly made as one long line.

Change-Id: I3f0a5921a5386275a8a35bf2f22ee3952700e490
Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do following things in the files from the mentioned directory:
- Make it be python 2/3 compatible.
- Fix pep8 issues.
- Place imports in alphabetical order.
- Improve some parts for the better readability.
- Add comma separators in the setup.py for it's classifiers.
  Before it was mistakenly made as one long line.

Change-Id: I3f0a5921a5386275a8a35bf2f22ee3952700e490
Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[py2to3] Replace "print" statement with "print()" function</title>
<updated>2019-11-22T16:30:46+00:00</updated>
<author>
<name>Valerii Ponomarov</name>
<email>vponomar@redhat.com</email>
</author>
<published>2019-11-20T09:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=948e4b088a14315e229faab3015a97806cae990e'/>
<id>948e4b088a14315e229faab3015a97806cae990e</id>
<content type='text'>
"print" statement is not supported in py3. So, start using
"print()" function everywhere in the code.

Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
Change-Id: I5b3e39ce5d4973959d7cedd0aac6fc744e2fe7ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"print" statement is not supported in py3. So, start using
"print()" function everywhere in the code.

Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
Change-Id: I5b3e39ce5d4973959d7cedd0aac6fc744e2fe7ef
</pre>
</div>
</content>
</entry>
<entry>
<title>glusto-test:generate_io.py code not correct</title>
<updated>2019-09-05T06:53:15+00:00</updated>
<author>
<name>yinkui</name>
<email>13965432176@163.com</email>
</author>
<published>2019-08-16T07:51:53+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=f54c5000cd197dc596e7b499cca0f509426808e1'/>
<id>f54c5000cd197dc596e7b499cca0f509426808e1</id>
<content type='text'>
According to generate_io.py  the function
"def check_if_percent_to_fill_or_timeout_is_met" will
never return false, the "flag" empty or not empty also
return true.

Change-Id: I2d70b2987112bd3a6404e5f13f0c6d320d01e7fc
Signed-off-by: yinkui &lt;13965432176@163.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to generate_io.py  the function
"def check_if_percent_to_fill_or_timeout_is_met" will
never return false, the "flag" empty or not empty also
return true.

Change-Id: I2d70b2987112bd3a6404e5f13f0c6d320d01e7fc
Signed-off-by: yinkui &lt;13965432176@163.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimized glustolibs-io/shared_files/scripts/file_dir_ops.py.</title>
<updated>2019-08-28T13:49:03+00:00</updated>
<author>
<name>hadarsharon</name>
<email>hsharon@redhat.com</email>
</author>
<published>2019-08-01T15:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=482412ec9936a2a12e8d3fb94f650407abfeb90c'/>
<id>482412ec9936a2a12e8d3fb94f650407abfeb90c</id>
<content type='text'>
Made the IO process more efficient for better performance, 
as lots of randomizations and conditionals within loops made the whole 
process very slow.

Change-Id: Ie99340d6e5fae7ee88198a646f5b46f868c816ae
Signed-off-by: hadarsharon &lt;hsharon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Made the IO process more efficient for better performance, 
as lots of randomizations and conditionals within loops made the whole 
process very slow.

Change-Id: Ie99340d6e5fae7ee88198a646f5b46f868c816ae
Signed-off-by: hadarsharon &lt;hsharon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete quorum method from old file. Added fixes for flake8</title>
<updated>2019-01-30T10:10:57+00:00</updated>
<author>
<name>Vitalii Koriakov</name>
<email>vkoriako@redhat.com</email>
</author>
<published>2019-01-30T09:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=cfb92a9a3473f2d163ec8f6453a55d32d113221e'/>
<id>cfb92a9a3473f2d163ec8f6453a55d32d113221e</id>
<content type='text'>
Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4
Signed-off-by: Vitalii Koriakov &lt;vkoriako@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4
Signed-off-by: Vitalii Koriakov &lt;vkoriako@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Per BZ 1401969, modifying the IO pattern to write single large files</title>
<updated>2018-12-20T10:47:38+00:00</updated>
<author>
<name>Anees Patel</name>
<email>anepatel@redhat.com</email>
</author>
<published>2018-12-17T05:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=9439573ea62f2fe0221f953db21ea7991609d679'/>
<id>9439573ea62f2fe0221f953db21ea7991609d679</id>
<content type='text'>
When eager-lock is on, and two writes happen in parallel on a FD,
Arbiter becoming source of heal is observed, hence modifing the IO
pattern, Also this is a race-condition, hence executing the same
remove-brick cycle thrice per BZ 1401969, this patch also takes
care of multiple clients writing to different files/dirs, no two
clients writing to same file

Change-Id: If0003afb675bbcf9f6b555b43e9a11e4def5435c
Signed-off-by: Anees Patel &lt;anepatel@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When eager-lock is on, and two writes happen in parallel on a FD,
Arbiter becoming source of heal is observed, hence modifing the IO
pattern, Also this is a race-condition, hence executing the same
remove-brick cycle thrice per BZ 1401969, this patch also takes
care of multiple clients writing to different files/dirs, no two
clients writing to same file

Change-Id: If0003afb675bbcf9f6b555b43e9a11e4def5435c
Signed-off-by: Anees Patel &lt;anepatel@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Supporting python 2 and 3</title>
<updated>2018-09-24T08:45:05+00:00</updated>
<author>
<name>Vitalii Koriakov</name>
<email>vkoriako@redhat.com</email>
</author>
<published>2018-09-14T07:35:42+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=66554d500fb0ebf750cad863487c31eaf145376f'/>
<id>66554d500fb0ebf750cad863487c31eaf145376f</id>
<content type='text'>
Change-Id: I6caa4f6baf699e331bb01af97e019d35b6bb0583
Signed-off-by: Vitalii Koriakov &lt;vkoriako@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6caa4f6baf699e331bb01af97e019d35b6bb0583
Signed-off-by: Vitalii Koriakov &lt;vkoriako@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
