Hi Team,
When we start the deployment with octopus, there is an intermittent issue. Sometime one of the folder get copied(we are using ROBOCOPY here) to the virtual directory and other times copying that folder errors out. Please see below are the logs when the copy errors out. Please suggest us if there is any approach to solve this issue.
Also, due to these exceptions the deployment does not fail, which is kind of strange as these are legitimate exception which should cause the deployment to fail. Also the said folder is being used by IIS as the deployment is in progress.
23:54:19 Verbose | Retry #1 on copy ‘$Path\Domains.config’. Exception: Access to the path ‘$Path\Domains.config’ is denied.
23:54:19 Verbose | Retry #2 on copy ‘$Path\Domains.config’. Exception: Access to the path ‘$Path\Domains.config’ is denied.
23:54:19 Verbose | Retry #3 on copy ‘$Path\Domains.config’. Exception: Access to the path ‘$Path\Domains.config’ is denied.
23:54:19 Verbose | Retry #4 on copy ‘$Path\Domains.config’. Exception: Access to the path ‘$Path\Domains.config’ is denied.
23:54:29 Verbose | Retry #54 on copy ‘$Path\Domains.config’. Exception: Could not find a part of the path ‘$Path\Domains.config’.
23:54:39 Verbose | Retry #104 on copy ‘$Path\Domains.config’. Exception: Could not find a part of the path ‘$Path\Domains.config’.
23:54:49 Verbose | Retry #154 on copy ‘$Path\Domains.config’. Exception: Could not find a part of the path ‘$Path\Domains.config’.
23:54:59 Verbose | Retry #204 on copy ‘$Path\Domains.config’. Exception: Could not find a part of the path ‘$Path\Domains.config’.
23:55:09 Verbose | Retry #254 on copy ‘$Path\Domains.config’. Exception: Could not find a part of the path ‘$Path\Domains.config’.
23:55:19 Verbose | Retry #1 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:19 Verbose | Retry #2 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:19 Verbose | Retry #3 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:19 Verbose | Retry #4 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:29 Verbose | Retry #54 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:39 Verbose | Retry #104 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:49 Verbose | Retry #154 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
23:55:59 Verbose | Retry #204 on copy ‘$Path\GlobalRoles.config’. Exception: Could not find a part of the path ‘$Path\GlobalRoles.config’.
Thanks,
Naveen