[ 
https://issues.jenkins-ci.org/browse/JENKINS-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

guidap updated JENKINS-12885:
-----------------------------

    Description: 
Hello everyone

I have a Jenkins Master running on Linux RHEL 5 and configured it to 
automatically
install buckminster locally using director. This works ok.

Then I configured a slave, which is started via jnpl on a windows machine 
(Windows
Server 2008 R2). When executing a build on this slave, the install command is 
not executed.
I get the following error:

FATAL: java.io.FileNotFoundException: No 'plugins' directory has been found in 
c:\Temp\headless-trunk
java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' 
directory has been found in c:\Temp\headless-trunk
        at 
hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:265)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
        at hudson.model.Build$RunnerImpl.build(Build.java:178)
        at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
        at hudson.model.Run.run(Run.java:1409)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.FileNotFoundException: No 'plugins' directory has been found 
in c:\Temp\headless-trunk
        at 
hudson.plugins.buckminster.command.CommandLineBuilder.findEquinoxLauncher(CommandLineBuilder.java:391)
        at 
hudson.plugins.buckminster.command.CommandLineBuilder.addStarterParameters(CommandLineBuilder.java:252)
        at 
hudson.plugins.buckminster.command.CommandLineBuilder.buildCommands(CommandLineBuilder.java:146)
        at 
hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:259)
        ... 9 more

I could observe this behaviour regardless of the OS of the master or the slave. 

On a side note: When using a linux master with a linux slave and *not* 
overriding the path
to the buckminster install in the slave config, then the install script has 
been executed. O_o

Another strange behavior: On a windows master I configured buckminster to 
install it self with director. No slaves
at all this time. When executing a build the plugin complains that it could not 
start "sh".
FATAL: java.io.IOException: Cannot run program "sh" (in directory 
"C:\Temp\headless-trunk")
This look like a separate bug. Shuld I file an other bug?

Buckminster plugin version is 1.1.0
Jenkins version is 1.414 and 1.451

  was:
Hello everyone

I have a Jenkins Master running on Linux RHEL 5 and configured it to 
automatically
install buckminster locally using director. This works ok.

Then I configured a slave, which is started via jnpl on a windows machine 
(Windows
Server 2008 R2). When executing a build on this slave, the install command is 
not executed.
I get the following error:

FATAL: java.io.FileNotFoundException: No 'plugins' directory has been found in 
c:\Temp\headless-trunk
java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' 
directory has been found in c:\Temp\headless-trunk
        at 
hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:265)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
        at hudson.model.Build$RunnerImpl.build(Build.java:178)
        at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
        at hudson.model.Run.run(Run.java:1409)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.FileNotFoundException: No 'plugins' directory has been found 
in c:\Temp\headless-trunk
        at 
hudson.plugins.buckminster.command.CommandLineBuilder.findEquinoxLauncher(CommandLineBuilder.java:391)
        at 
hudson.plugins.buckminster.command.CommandLineBuilder.addStarterParameters(CommandLineBuilder.java:252)
        at 
hudson.plugins.buckminster.command.CommandLineBuilder.buildCommands(CommandLineBuilder.java:146)
        at 
hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:259)
        ... 9 more

I could observe this behaviour regardless of the OS of the master or the slave. 

On a side note: When using a linux master with a linux slave and *not* 
overriding the path
to the buckminster install in the slave config, then the install script has 
been executed. O_o

Buckminster plugin version is 1.1.0
Jenkins version is 1.414 and 1.451

    
> Automatic buckminster installation on slaves broken
> ---------------------------------------------------
>
>                 Key: JENKINS-12885
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12885
>             Project: Jenkins
>          Issue Type: Bug
>          Components: buckminster
>         Environment: - RHEL 5
> - Windows Server 2008 R2
> - Buckminster plugin 1.1.0
> - Jenkins 1.414 and 1.451
>            Reporter: guidap
>            Assignee: jutzig
>
> Hello everyone
> I have a Jenkins Master running on Linux RHEL 5 and configured it to 
> automatically
> install buckminster locally using director. This works ok.
> Then I configured a slave, which is started via jnpl on a windows machine 
> (Windows
> Server 2008 R2). When executing a build on this slave, the install command is 
> not executed.
> I get the following error:
> FATAL: java.io.FileNotFoundException: No 'plugins' directory has been found 
> in c:\Temp\headless-trunk
> java.lang.RuntimeException: java.io.FileNotFoundException: No 'plugins' 
> directory has been found in c:\Temp\headless-trunk
>       at 
> hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:265)
>       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
>       at hudson.model.Build$RunnerImpl.build(Build.java:178)
>       at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
>       at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
>       at hudson.model.Run.run(Run.java:1409)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:238)
> Caused by: java.io.FileNotFoundException: No 'plugins' directory has been 
> found in c:\Temp\headless-trunk
>       at 
> hudson.plugins.buckminster.command.CommandLineBuilder.findEquinoxLauncher(CommandLineBuilder.java:391)
>       at 
> hudson.plugins.buckminster.command.CommandLineBuilder.addStarterParameters(CommandLineBuilder.java:252)
>       at 
> hudson.plugins.buckminster.command.CommandLineBuilder.buildCommands(CommandLineBuilder.java:146)
>       at 
> hudson.plugins.buckminster.EclipseBuckminsterBuilder.perform(EclipseBuckminsterBuilder.java:259)
>       ... 9 more
> I could observe this behaviour regardless of the OS of the master or the 
> slave. 
> On a side note: When using a linux master with a linux slave and *not* 
> overriding the path
> to the buckminster install in the slave config, then the install script has 
> been executed. O_o
> Another strange behavior: On a windows master I configured buckminster to 
> install it self with director. No slaves
> at all this time. When executing a build the plugin complains that it could 
> not start "sh".
> FATAL: java.io.IOException: Cannot run program "sh" (in directory 
> "C:\Temp\headless-trunk")
> This look like a separate bug. Shuld I file an other bug?
> Buckminster plugin version is 1.1.0
> Jenkins version is 1.414 and 1.451

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to