Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idev_reconfigure is failing due to permissions #199

Closed
tfoote opened this issue Feb 5, 2016 · 0 comments
Closed

Idev_reconfigure is failing due to permissions #199

tfoote opened this issue Feb 5, 2016 · 0 comments
Assignees
Labels

Comments

@tfoote
Copy link
Member

tfoote commented Feb 5, 2016

It looks like this is not going through the groovy interface but is instead trying to go through jenkins.py for which we removed the credentials recently. ros-infrastructure/buildfarm_deployment#111

http://build.ros.org/job/Idev_reconfigure-jobs/33/console

# BEGIN SECTION: Run Dockerfile - reconfigure jobs
00:03:09.222 + docker run --rm --cidfile=/home/jenkins-slave/workspace/Idev_reconfigure-jobs/docker_generate_devel_jobs/docker.cid -e=GIT_BRANCH=origin/master --net=host -v /home/jenkins-slave/workspace/Idev_reconfigure-jobs/ros_buildfarm:/tmp/ros_buildfarm:ro -v /home/jenkins-slave/.buildfarm:/home/buildfarm/.buildfarm:ro -v /home/jenkins-slave/workspace/Idev_reconfigure-jobs/reconfigure_jobs:/tmp/reconfigure_jobs devel_reconfigure_jobs
00:03:14.818 The build file contains the following targets:
00:03:14.818   - ubuntu trusty amd64
00:03:16.473 Connecting to Jenkins 'http://build.ros.org'
00:03:16.473 Could not find credential file '/home/buildfarm/.buildfarm/jenkins.ini'
00:03:17.566 Connected to Jenkins version '1.642.1'
00:03:19.532 Ensure that view 'Idev' exists
00:03:20.590 Skipped 'Idev' because the config is the same
00:03:22.527 Ensure that view 'Ipr' exists
00:03:23.551 Updating view 'Ipr'
00:03:23.551     <<<
00:03:23.551     --- remote config
00:03:23.551     +++ new config
00:03:23.551     @@ -36 +36 @@
00:03:23.551     -      <id>dashboard_portlet_22116</id>
00:03:23.551     +      <id>dashboard_portlet_5357</id>
00:03:23.551     @@ -42 +42 @@
00:03:23.551     -      <id>dashboard_portlet_30700</id>
00:03:23.551     +      <id>dashboard_portlet_6555</id>
00:03:23.551     @@ -54 +54 @@
00:03:23.551     -      <id>dashboard_portlet_17450</id>
00:03:23.551     +      <id>dashboard_portlet_14122</id>
00:03:23.551     >>>
00:03:23.554 Fetched crumb: f3a343f77cd925af5d3e091550cd13f5
00:03:23.558 Traceback (most recent call last):
00:03:23.558   File "/tmp/ros_buildfarm/scripts/devel/generate_devel_jobs.py", line 30, in <module>
00:03:23.558     sys.exit(main())
00:03:23.558   File "/tmp/ros_buildfarm/scripts/devel/generate_devel_jobs.py", line 26, in main
00:03:23.559     groovy_script=args.groovy_script, dry_run=args.dry_run)
00:03:23.559   File "/tmp/ros_buildfarm/ros_buildfarm/devel_job.py", line 72, in configure_devel_jobs
00:03:23.559     jenkins, pull_request_view_name, dry_run=dry_run))
00:03:23.559   File "/tmp/ros_buildfarm/ros_buildfarm/devel_job.py", line 288, in configure_devel_view
00:03:23.559     template_name='dashboard_view_devel_jobs.xml.em', dry_run=dry_run)
00:03:23.559   File "/tmp/ros_buildfarm/ros_buildfarm/jenkins.py", line 159, in configure_view
00:03:23.559     (view_name, response_text))
00:03:23.559 RuntimeError: Failed to configure view 'Ipr':
00:03:23.559 <html><head><meta http-equiv='refresh' content='1;url=/securityRealm/commenceLogin?from=%2Fview%2FIpr%2Fconfig.xml'/><script>window.location.replace('/securityRealm/commenceLogin?from=%2Fview%2FIpr%2Fconfig.xml');</script></head><body style='background-color:white; color:white;'>
00:03:23.559 
00:03:23.559 
00:03:23.559 Authentication required
00:03:23.559 <!--
00:03:23.559 You are authenticated as: anonymous
00:03:23.559 Groups that you are in:
00:03:23.559   
00:03:23.559 Permission you need to have (but didn't): hudson.model.View.Configure
00:03:23.559  ... which is implied by: hudson.security.Permission.GenericConfigure
00:03:23.559  ... which is implied by: hudson.security.Permission.GenericUpdate
00:03:23.559  ... which is implied by: hudson.security.Permission.GenericWrite
00:03:23.559  ... which is implied by: hudson.model.Hudson.Administer
00:03:23.559 -->
00:03:23.559 
00:03:23.559 </body></html>                                                                                                                                                                                                                                                                                                            
00:03:23.701 Build step 'Execute shell' marked build as failure
00:03:23.725 Sending e-mails to: [email protected] [email protected]
00:03:23.786 Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants