java.lang.SecurityException: slave may not mkdirs /exports/jenkins_home/jobs/Controls_TopUp_unittests/builds/439/violations See http://jenkins-ci.org/security-144 for more details

Jenkins JIRA | mwebber | 2 years ago
  1. 0

    I have the Violations Plugin (0.7.11 - the latest) installed on Jenkins 1.599, and recently turned on Slave To Master Access Control (desribed on the [Jenkins wiki|https://wiki.jenkins-ci.org/display/JENKINS/Slave+To+Master+Access+Control]). This resulted in a job getting the exception detailed below. This suggetsts that an update is required for the Violations plugin. {noformat} ERROR: Build step failed with exception java.lang.SecurityException: slave may not mkdirs /exports/jenkins_home/jobs/Controls_TopUp_unittests/builds/439/violations See http://jenkins-ci.org/security-144 for more details at jenkins.SoloFilePathFilter.noFalse(SoloFilePathFilter.java:31) at jenkins.SoloFilePathFilter.mkdirs(SoloFilePathFilter.java:52) at hudson.FilePath.mkdirs(FilePath.java:2876) at hudson.FilePath.access$800(FilePath.java:191) at hudson.FilePath$36.invoke(FilePath.java:1885) at hudson.FilePath$36.invoke(FilePath.java:1881) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:978) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.write(FilePath.java:1881) at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:40) at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:40) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:122) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at ......remote call to controls_rhel6(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:978) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Report Violations' marked build as failure {noformat}

    Jenkins JIRA | 2 years ago | mwebber
    java.lang.SecurityException: slave may not mkdirs /exports/jenkins_home/jobs/Controls_TopUp_unittests/builds/439/violations See http://jenkins-ci.org/security-144 for more details
  2. 0

    I have the Violations Plugin (0.7.11 - the latest) installed on Jenkins 1.599, and recently turned on Slave To Master Access Control (desribed on the [Jenkins wiki|https://wiki.jenkins-ci.org/display/JENKINS/Slave+To+Master+Access+Control]). This resulted in a job getting the exception detailed below. This suggetsts that an update is required for the Violations plugin. {noformat} ERROR: Build step failed with exception java.lang.SecurityException: slave may not mkdirs /exports/jenkins_home/jobs/Controls_TopUp_unittests/builds/439/violations See http://jenkins-ci.org/security-144 for more details at jenkins.SoloFilePathFilter.noFalse(SoloFilePathFilter.java:31) at jenkins.SoloFilePathFilter.mkdirs(SoloFilePathFilter.java:52) at hudson.FilePath.mkdirs(FilePath.java:2876) at hudson.FilePath.access$800(FilePath.java:191) at hudson.FilePath$36.invoke(FilePath.java:1885) at hudson.FilePath$36.invoke(FilePath.java:1881) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:978) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.write(FilePath.java:1881) at hudson.plugins.violations.generate.ExecuteFilePath.execute(ExecuteFilePath.java:40) at hudson.plugins.violations.generate.GenerateXML.execute(GenerateXML.java:40) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:122) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:25) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at ......remote call to controls_rhel6(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:978) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Report Violations' marked build as failure {noformat}

    Jenkins JIRA | 2 years ago | mwebber
    java.lang.SecurityException: slave may not mkdirs /exports/jenkins_home/jobs/Controls_TopUp_unittests/builds/439/violations See http://jenkins-ci.org/security-144 for more details
  3. 0

    DWR - Users - Exception in the log.

    nabble.com | 6 months ago
    java.lang.SecurityException: CSRF Security Error (see server log for details).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    batch is undefined dwr

    Stack Overflow | 2 years ago
    java.lang.SecurityException: CSRF Security Error (see server log for details).
  6. 0

    java.lang.SecurityException

    Coderanch | 9 years ago | santu Naid
    java.lang.SecurityException: Could not retrieve session details for user.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.SecurityException

      slave may not mkdirs /exports/jenkins_home/jobs/Controls_TopUp_unittests/builds/439/violations See http://jenkins-ci.org/security-144 for more details

      at jenkins.SoloFilePathFilter.noFalse()
    2. jenkins
      SoloFilePathFilter.mkdirs
      1. jenkins.SoloFilePathFilter.noFalse(SoloFilePathFilter.java:31)
      2. jenkins.SoloFilePathFilter.mkdirs(SoloFilePathFilter.java:52)
      2 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath.mkdirs(FilePath.java:2876)
      2. hudson.FilePath.access$800(FilePath.java:191)
      3. hudson.FilePath$36.invoke(FilePath.java:1885)
      4. hudson.FilePath$36.invoke(FilePath.java:1881)
      5. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688)
      5 frames
    4. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:121)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:49)
      3. hudson.remoting.Request$2.run(Request.java:324)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    5. org.jenkinsci.remoting
      CallableDecorator.call
      1. org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
      1 frame
    6. Hudson :: Remoting Layer
      CallableDecoratorList$1.call
      1. hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
      1 frame
    7. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames