Hello,

which version of lava-server are you using as you are accessing the XMLRPC API.
Could you find the on the server, the corresponding stacktrace. It should be in /var/log/lava-server/django.log

Rgds

Le jeu. 4 avr. 2019 à 04:34, Chenchun (coston) <chenchun7@huawei.com> a écrit :

Job definition & Detailed log in attachment

发件人: Xiaomingwang (Steve)
发送时间: 201944 10:29
收件人: lava-users@lists.lavasoftware.org
抄送: Yewenzhong (jackyewenzhong) <jack.yewenzhong@huawei.com>; Chenchun (coston) <chenchun7@huawei.com>; liucaili (A) <liucaili2@huawei.com>
主题: 转发: Lava Issue: API-Error-server.scheduler.all_devices

 

 

 

发件人: liucaili (A)
发送时间: 201944 10:24
收件人: Xiaomingwang (Steve) <
xiaomingwang1@huawei.com>
主题: Lava Issue: API-Error-server.scheduler.all_devices

 

Dear Sir/Madam,

 

If possible could you please help us analyze the problems encountered in recent Lava tests?  

 

Job definition & Detailed log in the attachment.

 

lava-dispatcher version:  2018.11+stretch.

The key information is as follows:    

            python /usr/local/bin/module_deploy.py --DUT cloudgame4_01

Traceback (most recent call last):

  File "/usr/local/bin/module_deploy.py", line 37, in <module>

    main(args)

  File "/usr/local/bin/module_deploy.py", line 30, in main

    module = get_module(dut)

  File "/usr/local/bin/module_deploy.py", line 14, in get_module

    devices_list = server.scheduler.all_devices()

  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__

    return self.__send(self.__name, args)

  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request

    verbose=self.__verbose

  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request

    return self.single_request(host, handler, request_body, verbose)

  File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request

    return self.parse_response(response)

  File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response

    return u.close()

  File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close

    raise Fault(**self._stack[0])

xmlrpclib.Fault: <Fault -32603: "Internal Server Error (contact server administrator for details): 'NoneType' object has no attribute 'pk'">

 

Is it a lava bug?    We look forward to your reply.    Thank you for your assistance.

 

Best Regards,

Caili Liu

 

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Team, Linaro