You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can not possible to reproduce. It happens complete randomly (random time, random projects, random servers).
We use capistrano with Jenkins to deploy apps to servers.
Any information you can provide about your OS environment/etc please?
Hi @leehambley ,
Thanks for response.
All apps are running on AWS EC2 instances (types: t2.micro, t2.medium, m4.large, c5.large and EBSes gp2).
Following info is equal for all instances.
OS: Ubuntu 16.04.1 LTS
Kernel: Linux 10-10-10-10.internal 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
SSHD: OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
Any chance you are doing multiple deploys to the same server? This sounds like a race condition where they are both contending for the same file.
Somewhat more esoteric possibilities might include the /tmp directory being mounted from a shared NFS server or something like that.
You could try adding set :tmp_dir, '/home/user/tmp' to use an application specific temp directory.
I don't think this will help, but according to the doctor output, you aren't running the latest version of Capistrano. Could you upgrade just to rule out any fixes we've already addressed?
Steps to reproduce
Can not possible to reproduce. It happens complete randomly (random time, random projects, random servers).
We use
capistrano
with Jenkins to deploy apps to servers.Expected behavior
Actual behavior
System configuration
cap <stage> doctor link
Additional Info
Found solution for similar issue:
just add bash command
sync
on remote server right after uploading instruction. It flushes all IO buffer to HDD.The text was updated successfully, but these errors were encountered: