Deployment hangs with errors in *.lock files RRS feed

  • Question

  • Hi All,

    The Deployment Center of my App Service GitHub-linked Kudu-automated app hangs on "Fetching deployment data...". The latest commit deployed is from 2 commits back, verified in /home/sites/deployment/active.

    There are C# errors in the *.lock files under /home/site/locks. Can you please help me diagnose what's wrong and how to fix it? One example of the error below, a snippet taken from sshkey.lock:

      "OperationName": "Getting SSH key",
      "AcquiredDateTime": "2020-05-17T20:24:17.2557001Z",
      "StackTrace": "   at System.Environment.get_StackTrace()\n   at Kudu.Core.Infrr
    astructure.WindowsLockFile.WriteLockInfo(String operationName, Stream lockStreamm
    ) in /tmp/KuduLite/Kudu.Core/Infrastructure/WindowsLockFile.cs:line 212\n   at KK
    udu.Core.Infrastructure.WindowsLockFile.Lock(String operationName) in /tmp/KuduLL
    ite/Kudu.Core/Infrastructure/WindowsLockFile.cs:line 154\n   at Kudu.Contracts.II
    nfrastructure.LockExtensions.TryLockOperation(IOperationLock lockObj, Action opee
    ration, String operationName, TimeSpan timeout) in /tmp/KuduLite/Kudu.Contracts//
    Infrastructure/LockExtensions.cs:line 21\n   at Kudu.Contracts.Infrastructure.Loo
    ckExtensions.LockOperation(IOperationLock lockObj, Action operation, String operr
    ationName, TimeSpan timeout) in /tmp/KuduLite/Kudu.Contracts/Infrastructure/Lockk
    Extensions.cs:line 46\n   at Kudu.Services.SSHKey.SSHKeyController.GetPublicKey((
    String ensurePublicKey) in /tmp/KuduLite/Kudu.Services/SSHKey/SSHKeyController.cc
    s:line 97\n 


    Thank you, Vinny

    • Edited by vincenzzzochi Monday, May 18, 2020 1:04 PM cleaning randomly added Copy+Paste characters
    Monday, May 18, 2020 1:03 PM

All replies

  • Hi vince,

    Have a look at this answer over on our new Q&A forum which directs you on how to remove the .lock file from kudu. Let me know if that doesn't work.

    Thanks in advance, Ryan

    Monday, May 18, 2020 11:33 PM