Closed jml closed 7 years ago
Sometimes the configuration file errors on first load. It's got something to do with Git sync.
2017-04-08 12:09:50.471639 [DEBUG] Syncing URI file:///Users/jml/go/src/github.com/weaveworks/service-conf to "/Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf" 2017-04-08 12:09:50.473500 [DEBUG] Downloading new repo 2017-04-08 12:09:50.473621 [DEBUG] Running process: git clone --mirror 'file:///Users/jml/go/src/github.com/weaveworks/service-conf' /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf; CreateProcess {cmdspec = RawCommand "git" ["clone","--mirror","file:///Users/jml/go/src/github.com/weaveworks/service-conf","/Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf"], cwd = Nothing, env = Nothing, std_in = Inherit, std_out = Inherit, std_err = Inherit, close_fds = False, create_group = False, delegate_ctlc = False, detach_console = False, create_new_console = False, new_session = False, child_group = Nothing, child_user = Nothing} 2017-04-08 12:09:52.975151 [DEBUG] Process succeeded: git clone --mirror 'file:///Users/jml/go/src/github.com/weaveworks/service-conf' /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf 2017-04-08 12:09:52.975252 [DEBUG] Repo updated 2017-04-08 12:09:52.975299 [DEBUG] Ensuring checkout of /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf to Branch "master" at /Users/jml/git-experiment/config-repo 2017-04-08 12:09:52.975374 [DEBUG] Running process: git rev-list -n1 master; CreateProcess {cmdspec = RawCommand "git" ["rev-list","-n1","master"], cwd = Just "/Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf", env = Nothing, std_in = Inherit, std_out = Inherit, std_err = Inherit, close_fds = False, create_group = False, delegate_ctlc = False, detach_console = False, create_new_console = False, new_session = False, child_group = Nothing, child_user = Nothing} 2017-04-08 12:09:52.980163 [DEBUG] Process succeeded: git rev-list -n1 master 2017-04-08 12:09:52.980324 [DEBUG] Running process: git worktree add /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e; CreateProcess {cmdspec = RawCommand "git" ["worktree","add","/Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e","e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e"], cwd = Just "/Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf", env = Nothing, std_in = Inherit, std_out = Inherit, std_err = Inherit, close_fds = False, create_group = False, delegate_ctlc = False, detach_console = False, create_new_console = False, new_session = False, child_group = Nothing, child_user = Nothing} 2017-04-08 12:09:53.157684 [DEBUG] Process succeeded: git worktree add /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e 2017-04-08 12:09:53.157795 [DEBUG] Added work tree at /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e 2017-04-08 12:09:53.157879 [DEBUG] Updating symlink /Users/jml/git-experiment/config-repo to point to /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e 2017-04-08 12:09:53.158679 [DEBUG] Symlink currently points to: Just "repos/rev-46b55fae06c474f30d9faa5d57929ab16fe6cc23" 2017-04-08 12:09:53.158813 [DEBUG] Creating new link to repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e at /Users/jml/git-experiment/tmp-link 2017-04-08 12:09:53.159002 [DEBUG] Renaming /Users/jml/git-experiment/tmp-link to /Users/jml/git-experiment/config-repo 2017-04-08 12:09:53.159793 [DEBUG] Swapped symlink: /Users/jml/git-experiment/config-repo now points to /Users/jml/git-experiment/repos/2d13a0ea89154a00977f910444e57f5a6cb113a488069b5c4b9ff741043ce171-service-conf/rev-e65f6cd4ac0b37f250eccbf94fe0ce79a756e11e repos/rev-46b55fae06c474f30d9faa5d57929ab16fe6cc23: removeDirectoryRecursive:getDirectoryType:getSymbolicLinkStatus: does not exist (No such file or directory)
Sometimes the configuration file errors on first load. It's got something to do with Git sync.