www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lambertus (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (INFRA-12103) Build step 'Execute shell' marked build as failure in tika-2.x-windows Jenkins build
Date Fri, 24 Jun 2016 04:01:16 GMT

     [ https://issues.apache.org/jira/browse/INFRA-12103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Lambertus resolved INFRA-12103.
-------------------------------------
    Resolution: Won't Fix

You need to set this up as a Windows build. /bin/bash doesn't exist on windows.

> Build step 'Execute shell' marked build as failure in tika-2.x-windows Jenkins build
> ------------------------------------------------------------------------------------
>
>                 Key: INFRA-12103
>                 URL: https://issues.apache.org/jira/browse/INFRA-12103
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Jenkins
>            Reporter: Lewis John McGibbney
>            Priority: Minor
>
> Hi Infra
> We established the [tika-2.x-windows Jenkins [https://builds.apache.org/view/Tika/job/tika-2.x-windows|build]
a while ago and it
> has always failed with the below error. An example can also be seen [here|https://builds.apache.org/view/Tika/job/tika-2.x-windows/14/console].
> Can someone please help me to resolve the issue on the Windows slave(s).
> Thanks in advance for any help.
> Lewis
> {code}
> FATAL: command execution failedjava.io.IOException
> <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>:
> Cannot run program "/bin/bash" (in directory
> "f:\jenkins\jenkins-slave\workspace\tika-2.x-windows"): CreateProcess
> error=2, The system cannot find the file specified
> 	at java.lang.ProcessBuilder.start(Unknown Source)
> 	at hudson.Proc$LocalProc.<init>(Proc.java:244)
> 	at hudson.Proc$LocalProc.<init>(Proc.java:216)
> 	at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
> 	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
> 	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
> 	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> 	at hudson.remoting.Request$2.run(Request.java:328)
> 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at hudson.remoting.Engine$1$1.run(Engine.java:63)
> 	at java.lang.Thread.run(Unknown Source)
> 	at ......remote call to windows2(Native Method)
> 	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
> 	at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
> 	at hudson.remoting.Channel.call(Channel.java:781)
> 	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
> 	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
> 	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
> 	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
> 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
> 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:919)
> 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:671)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
> 	at hudson.model.Run.execute(Run.java:1738)
> 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
> 	at hudson.model.ResourceController.execute(ResourceController.java:98)
> 	at hudson.model.Executor.run(Executor.java:410)
> Caused by: java.io.IOException: CreateProcess error=2, The system
> cannot find the file specified
> 	at java.lang.ProcessImpl.create(Native Method)
> 	at java.lang.ProcessImpl.<init>(Unknown Source)
> 	at java.lang.ProcessImpl.start(Unknown Source)
> 	at java.lang.ProcessBuilder.start(Unknown Source)
> 	at hudson.Proc$LocalProc.<init>(Proc.java:244)
> 	at hudson.Proc$LocalProc.<init>(Proc.java:216)
> 	at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
> 	at hudson.Launcher$ProcStarter.start(Launcher.java:381)
> 	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
> 	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> 	at hudson.remoting.Request$2.run(Request.java:328)
> 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at hudson.remoting.Engine$1$1.run(Engine.java:63)
> 	at java.lang.Thread.run(Unknown Source)
> Build step 'Execute shell' marked build as failure
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message