Please use linaro-validation for queries like this.
linaro-validation@lists.linaro.org (Please do not reply directly to me
or to this private team list)
The error message describes what is wrong - pyxdg has been added as a
requirement but is not in the virtual environment.
lava-deployment-tool upgrade or re-running the buildout command is
normally sufficient for this.
--
On 24 November 2013 00:13, Gary Robertson <gary.robertson@linaro.org> wrote:
> Hello,
>
> Today there was an update to the lava tools on my Ubuntu 12.04 x86_64
> workstation. I have the PPA repository enabled to try and stay up to date
> on all my Linaro tools.
>
> Some time after the update, I tried to submit a job from my local machine
> thusly:
>
> lava scheduler submit-job http://gary-robertson@validation.linaro.org/RPC2/
> workspace-le/my_test.json
>
> The json file was:
>
>
> {
> "actions": [
> {
> "command": "deploy_linaro_image",
> "metadata": {
> "distribution": "openembedded",
> "hwpack.build": "13",
> "hwpack.type": "arndale"
> },
> "parameters": {
> "hwpack":
> "https://people.linaro.org/~gary.robertson/hwpack_linaro-arndale_20131123-2313_b1_armhf_supported.tar.gz",
> "rootfs":
> "http://snapshots.linaro.org/openembedded/images/lng-armv7a-gcc-4.8/160/linaro-image-lng-genericarmv7a-20131123-160.rootfs.tar.gz"
> }
> },
> {
> "command": "lava_test_shell",
> "parameters": {
> "testdef_repos": [
> {
> "git-repo":
> "git://git.linaro.org/qa/test-definitions.git",
> "testdef": "openembedded/hackbench.yaml"
> }
> ],
> "timeout": 18000
> }
> },
> {
> "command": "lava_test_shell",
> "parameters": {
> "testdef_repos": [
> {
> "git-repo":
> "git://git.linaro.org/qa/test-definitions.git",
> "testdef": "openembedded/ltp.yaml"
> }
> ],
> "timeout": 7200
> }
> },
> {
> "command": "lava_test_shell",
> "parameters": {
> "testdef_repos": [
> {
> "git-repo":
> "git://git.linaro.org/qa/test-definitions.git",
> "testdef": "openembedded/ltp-realtime.yaml"
> }
> ],
> "timeout": 18000
> }
> },
> {
> "command": "lava_test_shell",
> "parameters": {
> "testdef_repos": [
> {
> "git-repo":
> "git://git.linaro.org/qa/test-definitions.git",
> "testdef": "openembedded/kvm.yaml"
> }
> ],
> "timeout": 18000
> }
> },
> {
> "command": "lava_test_shell",
> "parameters": {
> "testdef_repos": [
> {
> "git-repo":
> "git://git.linaro.org/qa/test-definitions.git",
> "testdef": "openembedded/lmbench.yaml"
> }
> ],
> "timeout": 18000
> }
> },
> {
> "command": "submit_results",
> "parameters": {
> "server": "http://validation.linaro.org/RPC2/",
> "stream": "/anonymous/gary-robertson/"
> }
> }
> ],
> "device_type": "arndale",
> "job_name": "gary.robertson_linux-lng-preempt-rt_le_13",
> "timeout": 172800
> }
>
> As of yesterday I was able to submit identical jobs for different hwpacks
> successfully, but this evening after the update had occurred it failed with
> the following error:
>
> Traceback (most recent call last):
> File "/usr/bin/lava", line 5, in <module>
> from pkg_resources import load_entry_point
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in
> <module>
> parse_requirements(__requires__), Environment()
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in
> resolve
> raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: pyxdg==0.25
>
>
> I was able to submit the above json file via the web interface and so was
> able to schedule the test successfully that way... however I would very much
> like to restore the ability to do this from a local command line, as my
> kernel tree maintenance duties require frequent LAVA tests for pending
> patches to the LNG kernel.
>
> I'm not sure if this is a bug or some kind of configuration error on my part
> due to mixed repository specifications or such - so I'm reporting it here to
> let the gurus get a look at it.
>
> Any help or insight would be appreciated.
>
> Gary Robertson
Neil Williams
=============
neil.williams@linaro.org
http://www.linux.codehelp.co.uk/