CI lava submission jobs failing

Bug #993789 reported by Deepti B. Kalakeri
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro CI
Fix Released
High
Zygmunt Krynicki

Bug Description

CI lava submission job failing with the following error:

+ python /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/jenkins_kernel_ci_bundle
+ lava-dashboard-tool put --dashboard-url
http://<email address hidden>/lava-server/RPC2/
linux_panda-omap2plus_20120501-0832_build_status
/public/personal/ciadmin/ci-linux-build/
Stored as bundle 5fe959faae5d458cda4d35269c96e2129eccc742
+ test 1 -eq 1
+ python /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/get_latest_ci_hwpack
Traceback (most recent call last):
 File "/var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/get_latest_ci_hwpack",
line 75, in <module>
   rootfs_id, rootfs_url = find_latest_rootfs(imagetype)
 File "/mnt2/jenkins_home/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/find_latest.py",
line 93, in find_latest_rootfs
   build_id, filename = find_latest(imageurl, extrapath)
 File "/mnt2/jenkins_home/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/find_latest.py",
line 82, in find_latest
   build_id = "%s.%s" % (lastdate,lastbuild)
UnboundLocalError: local variable 'lastdate' referenced before assignment
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Changed in linaro-ci:
assignee: nobody → Deepti B. Kalakeri (deeptik)
milestone: none → 2012.05
importance: Undecided → High
Revision history for this message
John Rigby (jcrigby) wrote :

There seems to be at least one other failure mode which seems to be a permission problem with lava:

https://ci.linaro.org/jenkins/job/lava_hwpack_submit_success/3081/console

Started by upstream project "linux_beagle-omap2plus" build number 245
Building on master in workspace /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace
[copy-to-slave] Copying 'keyringrc.cfg', excluding nothing, from 'file:/var/lib/jenkins/userContent/' on the master to 'file:/var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/' on 'Jenkins'.
[workspace] $ /bin/sh -xe /tmp/hudson2711573356417614166.sh
+ rm -rf lci-build-tools
+ bzr branch lp:~linaro-infrastructure/linaro-ci/lci-build-tools
Branched 60 revision(s).
+ export BUILD_STATUS=pass
+ sh lci-build-tools/jenkins_lava_job_submissions
+ test -z omap3
+ BUILD_STREAM_NAME=/public/personal/ciadmin/ci-linux-build/
+ LAVA_ENDPOINT=http://<email address hidden>/lava-server/RPC2/
+ build_json_fname=linux_beagle-omap2plus_20120503-0828_build_status
+ kernel_test_json_fname=kernel_test_linux_beagle-omap2plus.json
+ lava-dashboard-tool make-stream --dashboard-url http://<email address hidden>/lava-server/RPC2/ /public/personal/ciadmin/ci-linux/
XML-RPC error 409: Stream with the specified pathname already exists
+ lava-dashboard-tool make-stream --dashboard-url http://<email address hidden>/lava-server/RPC2/ /public/personal/ciadmin/ci-linux-build/
XML-RPC error 409: Stream with the specified pathname already exists
+ python /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/jenkins_kernel_ci_bundle
+ lava-dashboard-tool put --dashboard-url http://<email address hidden>/lava-server/RPC2/ linux_beagle-omap2plus_20120503-0828_build_status /public/personal/ciadmin/ci-linux-build/
Stored as bundle c0fdaa1dd6536f9123da11c28d47771075b4a9c7
+ test 1 -eq 1
+ python /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/get_latest_ci_hwpack
+ lava-tool submit-job http://<email address hidden>/lava-server/RPC2/ kernel_test_linux_beagle-omap2plus.json
ERROR: <Fault 403: "Permission denied. User u'ciadmin' does not have the 'lava_scheduler_app.add_testjob' permission. Contact the administrators.">
EXPERIMENTAL - SUBJECT TO CHANGE (See --experimental-notice for more info)
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Revision history for this message
Deepti B. Kalakeri (deeptik) wrote : Re: [Bug 993789] Re: CI lava submission jobs failing
Download full text (4.5 KiB)

On Thu, May 3, 2012 at 8:22 PM, John Rigby <email address hidden> wrote:

> There seems to be at least one other failure mode which seems to be a
> permission problem with lava:
>
> Yes I have seen this and reported it to zyga/Michael.
I did not find them online to discuss.

> https://ci.linaro.org/jenkins/job/lava_hwpack_submit_success/3081/console
>
> Started by upstream project "linux_beagle-omap2plus" build number 245
> Building on master in workspace
> /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace
> [copy-to-slave] Copying 'keyringrc.cfg', excluding nothing, from
> 'file:/var/lib/jenkins/userContent/' on the master to
> 'file:/var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/' on
> 'Jenkins'.
> [workspace] $ /bin/sh -xe /tmp/hudson2711573356417614166.sh
> + rm -rf lci-build-tools
> + bzr branch lp:~linaro-infrastructure/linaro-ci/lci-build-tools
> Branched 60 revision(s).
> + export BUILD_STATUS=pass
> + sh lci-build-tools/jenkins_lava_job_submissions
> + test -z omap3
> + BUILD_STREAM_NAME=/public/personal/ciadmin/ci-linux-build/
> + LAVA_ENDPOINT=http://<email address hidden>/lava-server/RPC2/
> + build_json_fname=linux_beagle-omap2plus_20120503-0828_build_status
> + kernel_test_json_fname=kernel_test_linux_beagle-omap2plus.json
> + lava-dashboard-tool make-stream --dashboard-url
> http://<email address hidden>/lava-server/RPC2//public/personal/ciadmin/ci-linux/
> XML-RPC error 409: Stream with the specified pathname already exists
> + lava-dashboard-tool make-stream --dashboard-url
> http://<email address hidden>/lava-server/RPC2//public/personal/ciadmin/ci-linux-build/
> XML-RPC error 409: Stream with the specified pathname already exists
> + python
> /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/jenkins_kernel_ci_bundle
> + lava-dashboard-tool put --dashboard-url
> http://<email address hidden>/lava-server/RPC2/linux_beagle-omap2plus_20120503-0828_build_status
> /public/personal/ciadmin/ci-linux-build/
> Stored as bundle c0fdaa1dd6536f9123da11c28d47771075b4a9c7
> + test 1 -eq 1
> + python
> /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/get_latest_ci_hwpack
> + lava-tool submit-job
> http://<email address hidden>/lava-server/RPC2/kernel_test_linux_beagle-omap2plus.json
> ERROR: <Fault 403: "Permission denied. User u'ciadmin' does not have the
> 'lava_scheduler_app.add_testjob' permission. Contact the administrators.">
> EXPERIMENTAL - SUBJECT TO CHANGE (See --experimental-notice for more info)
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/993789
>
> Title:
> CI lava submission jobs failing
>
> Status in Linaro Continuous Integration:
> New
>
> Bug description:
> CI lava submission job failing with the following error:
>
> + python
> /var/lib/jenkins/jobs/lava_hwpack_submit_success/workspace/lci-build-tools/jenkins_kernel_ci_bundle
> + lava-dashboard-tool put --dashboard-url
> http://<email address hidden>/lava-server/RPC2/
> linux_panda-omap2plus_201...

Read more...

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Fixed. I've made the ciadmin user have this permission permanently

Changed in linaro-ci:
assignee: Deepti B. Kalakeri (deeptik) → Zygmunt Krynicki (zkrynicki)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.