<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusto-tests.git/glustolibs-misc, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/'/>
<entry>
<title>[TestFix+Lib] Add steps to validate glusterd logs</title>
<updated>2021-01-18T05:08:42+00:00</updated>
<author>
<name>Pranav</name>
<email>prprakas@redhat.com</email>
</author>
<published>2021-01-11T09:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=a52acf091b72bbc0cacd8644eab33ba0b4dbf441'/>
<id>a52acf091b72bbc0cacd8644eab33ba0b4dbf441</id>
<content type='text'>
Adding additional checks to verify the glusterd logs
for `Responded to` and `Received ACC` while performing
a glusterd restart.

Replacing reboot with network interface down to validate
the peer probe scenarios.

Adding lib to bring down network interface.

Change-Id: Ifb01d53f67835224d828f531e7df960c6cb0a0ba
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding additional checks to verify the glusterd logs
for `Responded to` and `Received ACC` while performing
a glusterd restart.

Replacing reboot with network interface down to validate
the peer probe scenarios.

Adding lib to bring down network interface.

Change-Id: Ifb01d53f67835224d828f531e7df960c6cb0a0ba
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Lib] Add kill_process method</title>
<updated>2020-04-17T09:00:36+00:00</updated>
<author>
<name>Pranav</name>
<email>prprakas@redhat.com</email>
</author>
<published>2020-04-15T10:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=e82203f67171838b46d82312ceb010976e1ae4c2'/>
<id>e82203f67171838b46d82312ceb010976e1ae4c2</id>
<content type='text'>
The method kills the given set of processes running on the specified
node. It takes process ids or process names and uses the kill command
to terminate the process and returns status as boolean value

Change-Id: Ic6c316dac6b3496d34614c568115b0fa0f40d07d
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The method kills the given set of processes running on the specified
node. It takes process ids or process names and uses the kill command
to terminate the process and returns status as boolean value

Change-Id: Ic6c316dac6b3496d34614c568115b0fa0f40d07d
Signed-off-by: Pranav &lt;prprakas@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Libfix] Change daemon_reload() to support newer platforms</title>
<updated>2020-04-06T19:37:45+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2020-04-06T19:17:17+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=e5a011ce5d20773705b949289a0fba6b45300a79'/>
<id>e5a011ce5d20773705b949289a0fba6b45300a79</id>
<content type='text'>
Problem:
Currently the code supports both service and systemctl
commands but it fails on the latest platforms with
the below error on the latest platforms:
```
service glusterd reload
Redirecting to /bin/systemctl reload glusterd.service
Failed to reload glusterd.service: Job type reload is
not applicable for unit glusterd.service.
```

This is because the latest platforms uses systemctl
instead of service to reload the daemon processes:
```
systemctl daemon-reload
```

Solution:
The present code doesn't work properly as the check
is specific to only one platform, hence it fails.
The solution for this is to just check for older
platforms and run service command. For all other
platforms run systemctl command.

Change-Id: I19b24652b96c4794553d3659eaf0301395929bca
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Currently the code supports both service and systemctl
commands but it fails on the latest platforms with
the below error on the latest platforms:
```
service glusterd reload
Redirecting to /bin/systemctl reload glusterd.service
Failed to reload glusterd.service: Job type reload is
not applicable for unit glusterd.service.
```

This is because the latest platforms uses systemctl
instead of service to reload the daemon processes:
```
systemctl daemon-reload
```

Solution:
The present code doesn't work properly as the check
is specific to only one platform, hence it fails.
The solution for this is to just check for older
platforms and run service command. For all other
platforms run systemctl command.

Change-Id: I19b24652b96c4794553d3659eaf0301395929bca
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Libfix] Added Increased timeout value for reboot cases</title>
<updated>2020-02-11T11:10:47+00:00</updated>
<author>
<name>Sri Vignesh</name>
<email>sselvan@redhat.com</email>
</author>
<published>2020-02-11T06:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=ca5a1902b04670546ef6b8573fae1321bbd9e440'/>
<id>ca5a1902b04670546ef6b8573fae1321bbd9e440</id>
<content type='text'>
Reboot cases are failing with timeout value,
therfore increasing the timeout value in function.

Change-Id: I262120e87d36b2d5cc7244b37d5f6e051c964f0f
Signed-off-by: Sri Vignesh &lt;sselvan@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reboot cases are failing with timeout value,
therfore increasing the timeout value in function.

Change-Id: I262120e87d36b2d5cc7244b37d5f6e051c964f0f
Signed-off-by: Sri Vignesh &lt;sselvan@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[Fix] Changing license to GPLv3+ in setup.py files.</title>
<updated>2019-12-10T05:44:48+00:00</updated>
<author>
<name>kshithijiyer</name>
<email>kshithij.ki@gmail.com</email>
</author>
<published>2019-12-09T08:41:24+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=6addb8d4c74d54f3243cc38f955e8d9e20a9ae5b'/>
<id>6addb8d4c74d54f3243cc38f955e8d9e20a9ae5b</id>
<content type='text'>
The license details of the project needs to
be updated for all the files in the project.
Fixing all setup.py files in the project
and submitting a patch.

Change-Id: I7b53330a65891969403c6267e934606ea9b76352
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The license details of the project needs to
be updated for all the files in the project.
Fixing all setup.py files in the project
and submitting a patch.

Change-Id: I7b53330a65891969403c6267e934606ea9b76352
Signed-off-by: kshithijiyer &lt;kshithij.ki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[py2to3] Fix files in the 'glustolibs-misc' directory</title>
<updated>2019-12-09T06:51:03+00:00</updated>
<author>
<name>Valerii Ponomarov</name>
<email>vponomar@redhat.com</email>
</author>
<published>2019-11-28T16:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=0f062a2e39b9f9b2dfd6855e8e808bf548d95bb1'/>
<id>0f062a2e39b9f9b2dfd6855e8e808bf548d95bb1</id>
<content type='text'>
Do following updates:
- Use 'list' object type in comparisons instead of 'str'. Because
  it is differently treated in py2 and py3. Example:
  # In py2 isinstance(u'foo', str) is False
  # In py3 isinstance(u'foo', str) is True
- Add comma separators in the setup.py for it's classifiers.
  Before it was mistakenly made as one long line.
- Fix pep8 errors.
- Place 'misc_libs.py' module's imports in alphabetical order.
- Update bunch of docstrings of 'misc_libs.py' module's functions
  to make them look similar.

Change-Id: I2ea2d70746c49c9130a31fb97dec76ad38a50f62
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 updates:
- Use 'list' object type in comparisons instead of 'str'. Because
  it is differently treated in py2 and py3. Example:
  # In py2 isinstance(u'foo', str) is False
  # In py3 isinstance(u'foo', str) is True
- Add comma separators in the setup.py for it's classifiers.
  Before it was mistakenly made as one long line.
- Fix pep8 errors.
- Place 'misc_libs.py' module's imports in alphabetical order.
- Update bunch of docstrings of 'misc_libs.py' module's functions
  to make them look similar.

Change-Id: I2ea2d70746c49c9130a31fb97dec76ad38a50f62
Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[py2to3] Replace usage of ".iteitems()" attr with ".items()"</title>
<updated>2019-11-21T09:06:42+00:00</updated>
<author>
<name>Valerii Ponomarov</name>
<email>vponomar@redhat.com</email>
</author>
<published>2019-11-20T11:11:16+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=082f516a33d14c836cd47293cb29c83ae80e294d'/>
<id>082f516a33d14c836cd47293cb29c83ae80e294d</id>
<content type='text'>
Dict attribute called "iteritems()" is not supported in the py3.
So, replace it's usage with another similar attr called "items()".

Change-Id: I130b7f67f0a2d5da5ed6c3d792f5ff024ba148f4
Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dict attribute called "iteritems()" is not supported in the py3.
So, replace it's usage with another similar attr called "items()".

Change-Id: I130b7f67f0a2d5da5ed6c3d792f5ff024ba148f4
Signed-off-by: Valerii Ponomarov &lt;kiparis.kh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cthon test case for NFS Ganesha</title>
<updated>2019-09-12T07:31:08+00:00</updated>
<author>
<name>Arjun Sharma</name>
<email>arjsharm@redhat.com</email>
</author>
<published>2019-07-19T08:53:29+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=fee2d2d2b242c2423a8fa8c6f79db8d99082ac3e'/>
<id>fee2d2d2b242c2423a8fa8c6f79db8d99082ac3e</id>
<content type='text'>
Change-Id: I3fb826bd0ecbe46bee4b9f8594b23f16921adbec
Signed-off-by: Arjun Sharma &lt;arjsharm@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3fb826bd0ecbe46bee4b9f8594b23f16921adbec
Signed-off-by: Arjun Sharma &lt;arjsharm@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a library for daemon reload and fixing testcase</title>
<updated>2019-09-04T09:46:10+00:00</updated>
<author>
<name>Bala Konda Reddy M</name>
<email>bmekala@redhat.com</email>
</author>
<published>2019-08-09T10:18:45+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=875ba99936c2fb8947d3f35e08b412e2223a54a2'/>
<id>875ba99936c2fb8947d3f35e08b412e2223a54a2</id>
<content type='text'>
After changing the type of unit file from INFO
to DEBUG. Performing daemon reload. Earlier using
running commands continuosly to generated debug
messages instead of running continuosly, restarted
glusterd in one of the nodes so that while handshake
the logs will be in Debug mode. After validating
reverting back the unit file to INFO and daemon
reload

Change-Id: I8c99407eff2ea98a836f37fc2d89bb99f7eeccb7
Signed-off-by: Bala Konda Reddy M &lt;bmekala@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After changing the type of unit file from INFO
to DEBUG. Performing daemon reload. Earlier using
running commands continuosly to generated debug
messages instead of running continuosly, restarted
glusterd in one of the nodes so that while handshake
the logs will be in Debug mode. After validating
reverting back the unit file to INFO and daemon
reload

Change-Id: I8c99407eff2ea98a836f37fc2d89bb99f7eeccb7
Signed-off-by: Bala Konda Reddy M &lt;bmekala@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spelling mistake across the codebase</title>
<updated>2018-08-07T14:18:57+00:00</updated>
<author>
<name>Nigel Babu</name>
<email>nigelb@redhat.com</email>
</author>
<published>2018-07-27T07:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusto-tests.git/commit/?id=82c94a926c1f1961932798257d18a2fc306f9393'/>
<id>82c94a926c1f1961932798257d18a2fc306f9393</id>
<content type='text'>
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
</pre>
</div>
</content>
</entry>
</feed>
