Automated Script for Kernel Regression Testing - HELP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On bodhi, I see kernel updates quite frequently and to do the Kernel Regression Testing, I have to redo those steps again and again and also I felt an issue in that i.e. it tells me after the complete test run, that authentication failed if my given FAS credentials for upload were wrong. 

So I created a script using the original scripts, that would help us do the complete test in one go and authentication is done before the tests run.

Please look through it and tell me what you think and also help me fix an error I am facing

Repo Link - https://github.com/akumar-99/kernel-regression-test-and-upload

I face this error only when my scripts runs both the tests together. If I run with only one test, the scripts runs without any issues.

ERROR - 
Your log file is being submitted...
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/fedora/client/openidbaseclient.py", line 249, in send_request
    data = "">  File "/usr/lib/python3.8/site-packages/requests/models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib64/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./fedora_submit.py", line 48, in <module>
    req = submitclient.send_request(
  File "/usr/lib/python3.8/site-packages/fedora/client/openidbaseclient.py", line 252, in send_request
    raise ServerError(
fedora.client.ServerError: ServerError(https://apps.fedoraproject.org/kerneltest/upload/anonymous, 413, Error returned from json module while processing b'https://apps.fedoraproject.org/kerneltest/upload/anonymous': b'Expecting value: line 1 column 1 (char 0)'
b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>413 Request Entity Too Large</title>\n<h1>Request Entity Too Large</h1>\n<p>The data value transmitted exceeds the capacity limit.</p>\n')

FAS - akumar99

_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux