Bamboo Predator Plugin - java.lang.IllegalArgumentException: String [6422530-6488066] is not a job

Hi,

we are using the Predator Plugin to manage the disk space used by build jobs on the agents.

It seems there is an inconsistency in the system.

26-Oct-2017 09:47:30 java.lang.IllegalArgumentException: String [6422530-6488066] is not a job key

Regardless of the build job the same key string is appearing with the exception.

Could you please give some hints how to solve this inconsistency?

 

Full log snippet of the build job:

26-Oct-2017 09:47:30 Running pre-build action: VCS Version Collector
26-Oct-2017 09:47:30 Running pre-build action: Run Predator
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Running these commands:
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Skipping processes killing
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Initial free space: 44.322727 GB
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Skip deleting active branch in working directory CORE-RTB-JOB1
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Skip deleting active branch in working directory CONN-CTB-JOB1
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Exception when trying to remove old build working directories
26-Oct-2017 09:47:30 java.lang.IllegalArgumentException: String [6422530-6488066] is not a job key
26-Oct-2017 09:47:30 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plan.PlanKeys.splitJobKey(PlanKeys.java:142)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plan.PlanKeys.lambda$static$0(PlanKeys.java:93)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plan.PlanKeys.getChainKeyFromJobKey(PlanKeys.java:266)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plugin.predator.executor.PredatorExecutor.isActiveBranch(PredatorExecutor.java:198)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plugin.predator.executor.PredatorExecutor.removeOldBuildWorkingDirectory(PredatorExecutor.java:186)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plugin.predator.executor.PredatorExecutor.removeOldBuildWorkingDirectory(PredatorExecutor.java:143)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.plugin.predator.executor.PredatorPreBuildAction.call(PredatorPreBuildAction.java:138)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:137)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:105)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:136)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:127)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:222)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:126)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
26-Oct-2017 09:47:30 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
26-Oct-2017 09:47:30 at java.lang.Thread.run(Thread.java:748)
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Skipping the removal of maven snapshots
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Maven local repository /home/bambooagent/.m2/repositorydoesn't exist, skipping the removal of empty artifacts
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Skipping the removal of maven stable artifacts
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Skipping selected files deletion
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Final free space: 44.322723 GB
26-Oct-2017 09:47:30 [PredatorPreBuildAction] There was an exception in the previous predator steps. Predator is configured to not fail the build.
26-Oct-2017 09:47:30 [PredatorPreBuildAction] Done

Thanks,
Balázs

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

3,241 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you