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

Vipul Siddharth vipul at redhat.com
Tue Feb 18 07:02:21 UTC 2020


On Tue, Feb 18, 2020 at 11:19 AM Deepshikha Khandelwal
<dkhandel at redhat.com> wrote:
>
> CC'ing @Vipul Siddharth  (from CentosCI team), who can help you to upgrade the cico nodes to Centos8.
Hi Deepshikha,
I checked the logs and it doesn't seem to be CI Infra error but
testing/dependency (basically python) error which you can fix in your
script (or code migration to Python3).
Just to answer your question, if you want to checkout CentOS 8 nodes
from duffy, you can pass `--release 8` flag and it would give you a
CentOS 8 node.
You can check its doc at [0]


[0] https://python-cicoclient.readthedocs.io/en/latest/cli_usage.html
>
> On Tue, Feb 18, 2020 at 10:48 AM Deepshikha Khandelwal <dkhandel at redhat.com> wrote:
>>
>> So 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
>>>>
>>>> M: +91-9998132289     IM: kiyer
>>>>
>>>> @RedHat   Red Hat   Red Hat
>>>>
>>>>
>>>>
>>>> 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
>>>>>
>>>>> M: +91-9998132289     IM: kiyer
>>>>>
>>>>> @RedHat   Red Hat   Red Hat
>>>>
>>>> _______________________________________________
>>>> automated-testing mailing list
>>>> automated-testing at gluster.org
>>>> https://lists.gluster.org/mailman/listinfo/automated-testing



-- 
Vipul Siddharth
He/His/Him
Fedora | CentOS CI Infrastructure Team
Red Hat
w: vipul.dev



More information about the automated-testing mailing list