[automated-testing] CentOS-CI failing on all the patches with ValueError: chr() arg not in range(256)

Deepshikha Khandelwal dkhandel at redhat.com
Tue Feb 18 05:49:27 UTC 2020


CC'ing @Vipul Siddharth <vipul at redhat.com>  (from CentosCI team), who can
help you to upgrade the cico nodes to Centos8.

On Tue, Feb 18, 2020 at 10:48 AM Deepshikha Khandelwal <dkhandel at redhat.com>
wrote:

> So xmlrunner <https://github.com/pycontribs/xmlrunner/> repo is the fork
> of https://github.com/xmlrunner/unittest-xml-reporting which seems to be
> maintained.
>
> It has stopped supporting python2.7[1] is the reason why it is not working
> for Centos CI glusto job from the last few days.
>
> [1]
> https://github.com/xmlrunner/unittest-xml-reporting/commit/b96b92265f78855931b9bc7a70657d90e9e72410
>
>
> On Tue, Feb 18, 2020 at 10:31 AM Deepshikha Khandelwal <
> dkhandel at redhat.com> wrote:
>
>> It's the issue with xmlrunner python module being used by glusto
>> framework.
>>
>> The issue is coming up when using xmlrunner latest version which is 1.7.7
>> https://pypi.org/project/xmlrunner/#history (not sure if it's
>> maintained)
>>
>> On Fri, Feb 14, 2020 at 10:58 AM Kshithij Iyer <kiyer at redhat.com> wrote:
>>
>>> Hello,
>>> I am still observing the same issue with CentOS-Ci [1], could anyone
>>> please look into it?
>>>
>>> [1] https://ci.centos.org/job/gluster_glusto-patch-check/2038/console
>>>
>>> Thanks,
>>>
>>> kshithij Iyer
>>>
>>> Associate Quality engineer
>>>
>>> Red Hat <https://www.redhat.com>
>>>
>>> M: +91-9998132289     IM: kiyer
>>> @RedHat <https://twitter.com/redhat>   Red Hat
>>> <https://www.linkedin.com/company/red-hat>  Red Hat
>>> <https://www.facebook.com/RedHatInc>
>>> <https://www.redhat.com>
>>>
>>>
>>>
>>> On Tue, Feb 11, 2020 at 6:34 PM Kshithij Iyer <kiyer at redhat.com> wrote:
>>>
>>>> Hello,
>>>> Multiple patches are failing in CentOS-CI with the below given error:
>>>>
>>>> *18:29:50* + RETURN_CODE=0*18:29:50* + '[' 0 -eq 0 ']'*18:29:50* + break*18:29:50* + '[' -z functional/dht/test_access_file.py ']'*18:29:50* + scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no jobs/scripts/glusto/run-glusto-patch.sh root at 172.19.2.106:run-glusto-patch.sh*18:29:50* Warning: Permanently added '172.19.2.106' (ECDSA) to the list of known hosts.
>>>>
>>>> *18:29:51* + ssh -t -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root at 172.19.2.106 EXIT_ON_FAIL=True ./run-glusto-patch.sh -p functional/dht/test_access_file.py*18:29:51* Pseudo-terminal will not be allocated because stdin is not a terminal.*18:29:51* Warning: Permanently added '172.19.2.106' (ECDSA) to the list of known hosts.*18:29:51* Traceback (most recent call last):*18:29:51*   File "/usr/bin/glusto", line 9, in <module>*18:29:51*     load_entry_point('glusto==0.62', 'console_scripts', 'glusto')()*18:29:51*   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point*18:29:51*     return get_distribution(dist).load_entry_point(group, name)*18:29:51*   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point*18:29:51*     return ep.load()*18:29:51*   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load*18:29:51*     entry = __import__(self.module_name, globals(),globals(), ['__name__'])*18:29:51*   File "/usr/lib/python2.7/site-packages/glusto/main.py", line 22, in <module>*18:29:51*     import xmlrunner*18:29:51*   File "/usr/lib/python2.7/site-packages/xmlrunner/__init__.py", line 11, in <module>*18:29:51*     from .runner import XMLTestRunner*18:29:51*   File "/usr/lib/python2.7/site-packages/xmlrunner/runner.py", line 7, in <module>*18:29:51*     from .result import _XMLTestResult*18:29:51*   File "/usr/lib/python2.7/site-packages/xmlrunner/result.py", line 42, in <module>*18:29:51*     for (low, high) in _illegal_unichrs*18:29:51* ValueError: chr() arg not in range(256)*18:29:51* + JENKINS_STATUS=1*18:29:51* + source /home/gluster/workspace/gluster_glusto-patch-check/centosci/jobs/scripts/glusto/get-glusto-logs.sh*18:29:51* ++ set -x
>>>>
>>>>
>>>> Would request someone to look into it as soon as possible.
>>>>
>>>> [1] https://ci.centos.org/job/gluster_glusto-patch-check/
>>>>
>>>> Thanks,
>>>>
>>>> kshithij Iyer
>>>>
>>>> Associate Quality engineer
>>>>
>>>> Red Hat <https://www.redhat.com>
>>>>
>>>> M: +91-9998132289     IM: kiyer
>>>> @RedHat <https://twitter.com/redhat>   Red Hat
>>>> <https://www.linkedin.com/company/red-hat>  Red Hat
>>>> <https://www.facebook.com/RedHatInc>
>>>> <https://www.redhat.com>
>>>>
>>>> _______________________________________________
>>> automated-testing mailing list
>>> automated-testing at gluster.org
>>> https://lists.gluster.org/mailman/listinfo/automated-testing
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/automated-testing/attachments/20200218/29bcff3e/attachment.html>


More information about the automated-testing mailing list