Good morning everyone!
I am trying to "play around" with user queries in LAVA2. After reading about them (https://validation.linaro.org/static/docs/v2/lava-queries-charts.html?highli... ), I downloaded the provided sample script (https://validation.linaro.org/static/docs/v2/examples/source/query-results.p... ), made the required updates (user names, query name, hostname & the such) and gave it a try.
The only thing I get stuck on is an XML-RPC lib error: "No such method: u'results.run_query'" (the whole traceback can be seen here: https://paste.debian.net/993833/ )
I have attached the modified script I am trying to run at the moment and a screenshot of the query settings.
The API Help page is not reachable/present at the moment (nor on https://validation.linaro.org/static/api/help or on our own LAVA instance ), so I am unable to check whether or not the method's name has changed since the last doc update.
What am I missing or doing wrong?
Many thanks in advance! Have a great day! -- /Dragoş
Hello,
The only thing I get stuck on is an XML-RPC lib error: *"No such method: u'results.run_query'"* (the whole traceback can be seen here: https://paste.debian.net/993833/ )
Which version of LAVA do you have on the server?
The API Help page is not reachable/present at the moment (nor on
https://validation.linaro.org/static/api/help or on our own LAVA instance ), so I am unable to check whether or not the method's name has changed since the last doc update.
The list of methods is available at https://validation.linaro.org/api/help/ (the /static/ should be removed from your url).
Hi Remi,
I am using 2017.6-1. It's a production server and I don't upgrade it too often.
-- /Dragoş
On 2017-11-02 11:23:54+02:00 Remi Duraffort wrote:
Hello,
The only thing I get stuck on is an XML-RPC lib error: "No such method: u'results.run_query'" (the whole traceback can be seen here: https://paste.debian.net/993833/https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=Alnoyaar9ixO2CYP9yA5vTCBzstpsJuuvt9yI3ylgQFOyJ14LNy7zkujHmsHZqouUdaoAQM8eLmlj0xuhi6Yq6OpT0KNu24AVulNdVWBYyM5NR3wXZlaJuCQlH8dq4OokSFyk8ry8fBJ4PtEdBnS935H0nWYk0qVbIDdNH8RpPajRuHSyHIPIgjEstFuPHLpyN3jXngn2qWmlREd9tE5OelBWrboPBM57Gww2B3GbAw ) Which version of LAVA do you have on the server? The API Help page is not reachable/present at the moment (nor on https://validation.linaro.org/static/api/helphttps://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=JuXVXuT1bX98IKjXnLjoCOAbXFqDkqkwN32SvXyrTO4ZO3SGzHENBDQo9xrSyuMdqwY1tM-Y0ZudANt5xff4736yHDop_hfsN0VxMKMqxrpTkHmOAYlygCQGjicZgRelJnLO_1OIWNgV-KRr-y8TMUtBB3PxMECC6N0xzwTE3DRgcEamo0yBKMA_6OtyGZOEv_0MSV-kNWhYHRS0NBBL9NmDs3ph7emBCe4I_yqpuUPgdEUX5zwotfGisAnzDNS6 or on our own LAVA instance ), so I am unable to check whether or not the method's name has changed since the last doc update. The list of methods is available at https://validation.linaro.org/api/help/https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=F-yFhXgRcbEO6r_xW32TYdidNIhhDprX4E0nJAzq95wwmyw9uibSwIwbK3jn5U6Y58fj9ugc8JH5gl3YCmIamxZLH5UB4B4_mWcydlq_XEKZMDynfi1sWu7GDBmWYLHn1kkx6jnj8RJN7RBJhdbfi2s4gYcN3tLaIPsYtensqGHhylxaUcHdVKrjg7txjEQhe5LdOIi1OdvVOt42__zZMqwNh8oafsj_DnDbvca1lgV3c1SW12dvRJ5icmzynlKW (the /static/ should be removed from your url). -- Rémi Duraffort LAVA Team
run_query was added in July 2017 ( https://git.linaro.org/lava/lava-server.git/commit/?id=bbc39489c) so It's not available in 2017.6
2017-11-02 10:51 GMT+01:00 Dragos Iorgulescu Dragos.Iorgulescu@enea.com:
Hi Remi,
I am using 2017.6-1. It's a production server and I don't upgrade it too often.
-- /Dragoş
On 2017-11-02 11:23:54+02:00 Remi Duraffort wrote:
Hello,
The only thing I get stuck on is an XML-RPC lib error: *"No such method: u'results.run_query'"* (the whole traceback can be seen here: https://paste.debian.net/993833/ https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=Alnoyaar9ixO2CYP9yA5vTCBzstpsJuuvt9yI3ylgQFOyJ14LNy7zkujHmsHZqouUdaoAQM8eLmlj0xuhi6Yq6OpT0KNu24AVulNdVWBYyM5NR3wXZlaJuCQlH8dq4OokSFyk8ry8fBJ4PtEdBnS935H0nWYk0qVbIDdNH8RpPajRuHSyHIPIgjEstFuPHLpyN3jXngn2qWmlREd9tE5OelBWrboPBM57Gww2B3GbAw )
Which version of LAVA do you have on the server?
The API Help page is not reachable/present at the moment (nor on https://validation.linaro.org/static/api/help https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=JuXVXuT1bX98IKjXnLjoCOAbXFqDkqkwN32SvXyrTO4ZO3SGzHENBDQo9xrSyuMdqwY1tM-Y0ZudANt5xff4736yHDop_hfsN0VxMKMqxrpTkHmOAYlygCQGjicZgRelJnLO_1OIWNgV-KRr-y8TMUtBB3PxMECC6N0xzwTE3DRgcEamo0yBKMA_6OtyGZOEv_0MSV-kNWhYHRS0NBBL9NmDs3ph7emBCe4I_yqpuUPgdEUX5zwotfGisAnzDNS6 or on our own LAVA instance ), so I am unable to check whether or not the method's name has changed since the last doc update.
The list of methods is available at https://validation.linaro. org/api/help/ https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=F-yFhXgRcbEO6r_xW32TYdidNIhhDprX4E0nJAzq95wwmyw9uibSwIwbK3jn5U6Y58fj9ugc8JH5gl3YCmIamxZLH5UB4B4_mWcydlq_XEKZMDynfi1sWu7GDBmWYLHn1kkx6jnj8RJN7RBJhdbfi2s4gYcN3tLaIPsYtensqGHhylxaUcHdVKrjg7txjEQhe5LdOIi1OdvVOt42__zZMqwNh8oafsj_DnDbvca1lgV3c1SW12dvRJ5icmzynlKW (the /static/ should be removed from your url). -- Rémi Duraffort LAVA Team
Okay, thanks a lot for your input!
I will schedule a server update, then.
Kind regards! -- /Dragoş
On 2017-11-02 12:11:48+02:00 Remi Duraffort wrote:
run_query was added in July 2017 (https://git.linaro.org/lava/lava-server.git/commit/?id=bbc39489chttps://url10.mailanyone.net/v1/?m=1eACTQ-0003kP-4C&i=57e1b682&c=FEOi7d35qSx_FtjkAiMzdz8A7grwj6PbxOmPAX0O6KRNFRLTDx0dgVbvZ9kLRPASyr6T5KaEDQQE7JvdqAo32ifp8OhqVPHL33ogpV5WJZMkjmULesMJlsE1LWrzefdbHenSJ9lKliWq0r8dFHUZHe_6Q1FyBBPRIStgCdavyhKwwYCIBTl33ZPad_IH8SEYD6YwOY-COlsmOdi3kHd3ygHLF-ajObTbQZbqMdH8LT4YQX8-CGxdyAODwBmBNHOkDOfUX5ApcUFstLU6G4i2xA) so It's not available in 2017.6
2017-11-02 10:51 GMT+01:00 Dragos Iorgulescu <Dragos.Iorgulescu@enea.commailto:Dragos.Iorgulescu@enea.com>: Hi Remi,
I am using 2017.6-1. It's a production server and I don't upgrade it too often.
-- /Dragoş
On 2017-11-02 11:23:54+02:00 Remi Duraffort wrote:
Hello,
The only thing I get stuck on is an XML-RPC lib error: "No such method: u'results.run_query'" (the whole traceback can be seen here: https://paste.debian.net/993833/https://url10.mailanyone.net/v1/?m=1eACTQ-0003kP-4C&i=57e1b682&c=Ry2W9Y9GSbW_mD5shHfXvpQCcaUsOhFx7zFRjjlSR_ZIZTuJ7n5e-V7Gu7uqavPuuuIikDpYgZQQerxQ9Hzn14vqq2EvAdaJC592QkhriG7_bitjuyikakLsqbD0-l4kZIWgc3hOMGVlbE6t7nNt5y4HHsnISrg9-S-TlTBqlH1-GqsvOoOriI_xVz48otmP_xrZEIZeaJQRlA3qAlRASHYPr1-qJ5q4MgLL1CrXP0ois7iT7A2CgjvhUdsOCKEBeTGBZb08FgAQgmirVtNi6whUVz5f9-9YvmpiuClBzpsmF9Z4wy3Y4VcCVO68OwZcEy8xJD_-m48J9oOMBzOQkHyxDf9iJuV090WLFqZdg0NhlyZAFkVuuifC1PJWFO4HQlbPqOmnDsw-uua1OR3TRboLIRkD5_Azd7rpHj3pj1XuCBOGkcxmJCINgnGuZM0Duu0dJFxG0MlPQ_Ciq8VdBl68c8iEY2s18dgCyUsfc3spYIiBOc3ZbbG6HlI2mjo1UngDkbl2zyLjGG50inLsrdFXDNqEADEZEk-rXpUmdflZ0IOEjzO6HWaMReRP651WfP11-ArTYiZHqB1LjhhjXQ ) Which version of LAVA do you have on the server? The API Help page is not reachable/present at the moment (nor on https://validation.linaro.org/static/api/helphttps://url10.mailanyone.net/v1/?m=1eACTQ-0003kP-4C&i=57e1b682&c=swC5Zj8enMlpZXYBWwlZEDj0DZt_OJt74os5HvifZc64HqonXekqThTbGHE4tdHkkHEWWSHVsj0hRbzqx9VQNPwE6uhQA4coTdEhIgLXY3UP5ocq9XgsaWmZQOqDjLGWVWAhh0hSSkqamRA_T-NfE6oAFE38LT7kRpR9EgaGUiSr1qAj6X7KmnuaUe3ZMfKaNLJQ9aUWp48jXsNMe5zar_KvdnA_Kibog4nD98AKXcAKDG9cf7OCD3xkdlAy663F06TE4JsUcLPNBsQ2Dp9R8rQ9yBp6vDJZD-W1o5N6iVhvf2b3P1lYZ3ZiTjIXhd6c0cc2Pz-lKqclP6zDTqDp-wlJEzKk_aK3F3Jv-GM_pDP0FysVQlpwk-9bC5BER4wb6aO4b43GrGW5Y1pxSdl6MZcpgVF9Th_ArOxNp2PVfjPMmT0iiULhfwOu8KPrc4qUPpty2egpLoPWsjSmQJEo1hMsaMqEDnXGaJSAnc4NSPSJIxxwOJ-d5abaB6ViN6ds49nT1wqAEnSSBCAvm1PnMUYeJ7hQ_gpkejGJV_YcRSTgGgmVGfBx2i84VrDW5yHABg7J3B-wHdmehUl72jSiCTqDJMR8sq5s3-R-rdd_xOs or on our own LAVA instance ), so I am unable to check whether or not the method's name has changed since the last doc update. The list of methods is available at https://validation.linaro.org/api/help/https://url10.mailanyone.net/v1/?m=1eACTQ-0003kP-4C&i=57e1b682&c=thzCg3rFHME0-_OKQPd3SEow0A66WBHphglbEhgLUD8noXucqj4V-xpuHKh5W447wEXtSQm48zfenqmGxNMnRLArBzy65AzQtA2ghjFT0Cot0U4dtcaZ1hkOsNOY3onSYaFG35Jjj9CI8iY4JMj9crFjfo_-55iGEegwUW24j3PWWcwVsyrp6zlKgpPu3WGOYYG7XMtOqPOisrGnWFX9Vc_Dq32NeSXB5OIzpS7lsa3dwoUUIU56RP53F4F7vNCIiWWKqcGI359cNuOLb9ridFHkUFOJpZvOoXAw_2Xj0s7oK-uZhPr9VZs_wrmDjBKfeNkLBXj9uivmcznCnr0wEaU4ILEfijwqGoyRkSNDTvNe5M2tey6uQLbCaIso6fEUK7099CU9oX4GMIIIBfVoihQX8V7xm_LY0SW06Im4b4Xvt41uWvbmytXMk2x2cjtAHJ7UwZ9gcsal_ab2wgJrTmhbk62q1kSBzii_0F4cfncmhDg6960ZWBDDUJNOqWzKJia7-Ay_BSB1pTuOS-EoTFCFDjtfbFgdGbETv0W9EMdU0W1NHy7rlJJ04Ed1h1R3Q3s5dOdGf27X6oSjklENmio6rhCQVaO7X0_f-a1DNCE (the /static/ should be removed from your url). -- Rémi Duraffort LAVA Team
-- Rémi Duraffort LAVA Team
lava-users@lists.lavasoftware.org