Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311453 - Permission denied problems when running Hudson builds
Summary: Permission denied problems when running Hudson builds
Status: CLOSED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CI Admin Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 18:15 EDT by Alexander Igdalov CLA
Modified: 2010-05-11 08:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Igdalov CLA 2010-05-03 18:15:47 EDT
I am running MDT OCL integration build:

https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0-integration/86/console

It fails with the following console log:

Started by user aigdalov
ln -s 2010-05-03_17-49-42 /opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0-integration/builds/86 failed: -1
Building remotely on build2
[org.eclipse.ocl] $ cvs -q -z3 update -PdC -D "Monday, May 3, 2010 9:49:42 PM UTC"
cvs update: warning: failed to open /opt/users/hudsonbuild/.cvspass for reading: No such file or directory
$ no changes detected
Starting xvnc
[cbi-mdt-ocl-3.0-integration] $ Xvnc :20 -geometry 1024x768 -depth 24 -ac
03/05/2010 17:49:57 Xvnc version X.org/xf4vnc custom version
03/05/2010 17:49:57 Copyright (C) 2001-2004 Alan Hourihane.
03/05/2010 17:49:57 Copyright (C) 2000-2004 Constantin Kaplinsky
03/05/2010 17:49:57 Copyright (C) 1999 AT&T Laboratories Cambridge
03/05/2010 17:49:57 All Rights Reserved.
03/05/2010 17:49:57 See http://www.tightvnc.com/ for information on TightVNC
03/05/2010 17:49:57 See http://xf4vnc.sf.net for xf4vnc-specific information
03/05/2010 17:49:57 Desktop name 'x11' (build2:20)
03/05/2010 17:49:57 Protocol versions supported: 3.7, 3.3
03/05/2010 17:49:57 RGB format 8 8 8
03/05/2010 17:49:57 Listening for VNC connections on TCP port 5920
[cbi-mdt-ocl-3.0-integration] $ /bin/sh -xe /tmp/hudson3354165028761114127.sh
+ export 'PROJRELENGROOT=-projRelengRoot :pserver:anonymous@dev.eclipse.org:/cvsroot/modeling'
+ PROJRELENGROOT='-projRelengRoot :pserver:anonymous@dev.eclipse.org:/cvsroot/modeling'
+ export 'PROJRELENGPATH=-projRelengPath org.eclipse.mdt/org.eclipse.ocl/releng'
+ PROJRELENGPATH='-projRelengPath org.eclipse.mdt/org.eclipse.ocl/releng'
+ . /opt/public/cbi/build/org.eclipse.dash.common.releng/hudson/run.sh
/tmp/hudson3354165028761114127.sh: line 10: /opt/public/cbi/build/org.eclipse.dash.common.releng/hudson/run.sh: Permission denied
Terminating xvnc.
(EE) Error compiling keymap (server-20)
(EE) XKB: Couldn't compile keymap
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!
Archiving artifacts
Recording test results
Sending e-mails to: Alexander.Igdalov@gmail.com
Finished: FAILURE

Other builds have similar problems.

------------
As a side note, why doesn't ln command (links) work any more? It used to work several months ago. Although it is not a critical problem, this is not convenient.
Comment 1 David Carver CLA 2010-05-03 20:15:07 EDT
On your build, please make sure you have configured it to run only on the Master node.  You may be running into issues where it is trying to go over to one of the slaves and the slaves aren't yet setup with everything we need.
Comment 2 Alexander Igdalov CLA 2010-05-04 04:37:44 EDT
(In reply to comment #1)
> On your build, please make sure you have configured it to run only on the
> Master node.  You may be running into issues where it is trying to go over to
> one of the slaves and the slaves aren't yet setup with everything we need.

Hi David,

Tying to Master node helps, thanks. I am decreasing priority and severity since then. BTW, back to ln problem, do you know why it doesn't work and whether any improvements about it are expected?
Comment 3 David Carver CLA 2010-05-04 09:35:03 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > On your build, please make sure you have configured it to run only on the
> > Master node.  You may be running into issues where it is trying to go over to
> > one of the slaves and the slaves aren't yet setup with everything we need.
> 
> Hi David,
> 
> Tying to Master node helps, thanks. I am decreasing priority and severity since
> then. BTW, back to ln problem, do you know why it doesn't work and whether any
> improvements about it are expected?

Not sure...it seems to be specific to the main build machine.  I'm running the same version of Hudson locally under Ubuntu and don't see the issue.   It is best to use the RESTful links anyways, especially with the slave machines coming on line.
Comment 4 Alexander Igdalov CLA 2010-05-11 08:15:04 EDT
Thanks, Dave. I am closing the bug.