-
Full stacktrace:
13:10:54 Pending resource allocation... 13:10:54 Executing job (executor: OneDev-Server, server: 172.25.0.3:5710, network: OneDev-Server-2-93-0)... 13:10:54 Copying job dependencies... 13:10:54 Running step "Checkout"... 13:10:54 Checking out code... 13:10:54 Switched to branch 'master' 13:10:54 branch 'master' set up to track 'origin/master'. 13:10:54 Step "Checkout" is successful (0 seconds) 13:10:54 Running step "PreDeploy"... 13:10:54 java.lang.IllegalStateException: No container mounting host path found: please make sure to use bind mount to launch OneDev server/agent at io.onedev.agent.DockerExecutorUtils.getHostPath(DockerExecutorUtils.java:788) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor.getHostPath(ServerDockerExecutor.java:665) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor$1$1.runStepContainer(ServerDockerExecutor.java:364) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor$1$1.lambda$doExecute$2(ServerDockerExecutor.java:455) at io.onedev.agent.DockerExecutorUtils.callWithDockerConfig(DockerExecutorUtils.java:486) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor$1$1.doExecute(ServerDockerExecutor.java:454) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor$1$1.lambda$execute$1(ServerDockerExecutor.java:425) at io.onedev.agent.ExecutorUtils.runStep(ExecutorUtils.java:100) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor$1$1.execute(ServerDockerExecutor.java:422) at io.onedev.k8shelper.LeafFacade.execute(LeafFacade.java:12) at io.onedev.k8shelper.CompositeFacade.execute(CompositeFacade.java:35) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor$1.run(ServerDockerExecutor.java:337) at io.onedev.server.job.DefaultJobManager.runJob(DefaultJobManager.java:1362) at io.onedev.server.plugin.executor.serverdocker.ServerDockerExecutor.lambda$execute$fee504de$1(ServerDockerExecutor.java:269) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.hazelcast.executor.impl.DistributedExecutorService$Processor.run(DistributedExecutorService.java:276) at com.hazelcast.internal.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:217) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) at com.hazelcast.internal.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76) at com.hazelcast.internal.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:111) 13:10:54 Step "Deploy" is skipped 13:10:54 Step "PostDeploy" is skipped 13:10:56 Job finished -
And nevermind - recreating the OneDev container fixes it...
-
Previous Value Current Value Open
Closed
-
Fixed by recreating the server container
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
I've got below .onedev-buildspec.yml - but I am running into a strange issue - I've got multiple Jobs - one for each kind of files change - the
TypescriptandJavascriptones run without issues - but my newDependenciesone throws a weird error on myPreDeploystep:No container mounting host path found: please make sure to use bind mount to launch OneDev server/agentThe only difference between thePreDeploystep of this job in-regard to the other ones - is that it uses a different containernode:latestas I need NPM here.Any idea why only this one throws an error?