hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Our master is running on Windows Server 2012 and we have two Mac slaves. I have successfully imported a keychain and several provisioning profiles, but when I attempt to use them in a job I get this error: FATAL: Failed to copy C:\Jenkins\kpp_upload\iOS_Team_Provisioning_Profile_.mobileprovision to /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision hudson.util.IOException2: Failed to copy C:\Jenkins\kpp_upload\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision to /User/*****/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision at hudson.FilePath.copyTo(FilePath.java:1771) at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.copyProvisioningProfiles(KPPProvisioningProfilesBuildWrapper.java:161) at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.setUp(KPPProvisioningProfilesBuildWrapper.java:99) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.FileNotFoundException: /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:194) at java.io.FileOutputStream.<init>(FileOutputStream.java:145) at hudson.FilePath$29.call(FilePath.java:1674) at hudson.FilePath$29.call(FilePath.java:1669) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695)
    via by Jonathan Zimmerman,
  • Our master is running on Windows Server 2012 and we have two Mac slaves. I have successfully imported a keychain and several provisioning profiles, but when I attempt to use them in a job I get this error: FATAL: Failed to copy C:\Jenkins\kpp_upload\iOS_Team_Provisioning_Profile_.mobileprovision to /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision hudson.util.IOException2: Failed to copy C:\Jenkins\kpp_upload\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision to /User/*****/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision at hudson.FilePath.copyTo(FilePath.java:1771) at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.copyProvisioningProfiles(KPPProvisioningProfilesBuildWrapper.java:161) at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.setUp(KPPProvisioningProfilesBuildWrapper.java:99) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.FileNotFoundException: /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:194) at java.io.FileOutputStream.<init>(FileOutputStream.java:145) at hudson.FilePath$29.call(FilePath.java:1674) at hudson.FilePath$29.call(FilePath.java:1669) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695)
    via by Jonathan Zimmerman,
    • hudson.util.IOException2: Failed to copy C:\Jenkins\kpp_upload\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision to /User/*****/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision at hudson.FilePath.copyTo(FilePath.java:1771) at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.copyProvisioningProfiles(KPPProvisioningProfilesBuildWrapper.java:161) at com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper.setUp(KPPProvisioningProfilesBuildWrapper.java:99) at hudson.model.Build$BuildExecution.doRun(Build.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: java.io.FileNotFoundException: /User/jenkinssvc/Library/MobileDevice/Provisioning Profiles\0BD9DA02-3568-4EE7-94B9-766513F23728.mobileprovision (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:194) at java.io.FileOutputStream.<init>(FileOutputStream.java:145) at hudson.FilePath$29.call(FilePath.java:1674) at hudson.FilePath$29.call(FilePath.java:1669) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695)

    Users with the same issue

    chenjunjun
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Matty
    1 times, last one,
    Unknown visitor1 times, last one,
    149 more bugmates