Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-312

Occasional 'sandbox is not in sync with the Podfile.lock' error on CI

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      Perhaps we're not "cleaning" enough between jobs?

      error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
      

      For example: https://ci.realm.io/job/Cocoa%20Installation%20Examples/597/binding=objc,method=cocoapods,platform=ios/console

      Although this may instead be a side-effect of the submodule clone failing due to networking errors:

      Submodule 'external/catch' (https://github.com/philsquared/Catch) registered for path 'Realm/ObjectStore/external/catch'
      Submodule 'external/pegtl' (https://github.com/ColinH/PEGTL) registered for path 'Realm/ObjectStore/external/pegtl'
      Cloning into '/private/var/folders/bj/n03qf0s968d07kcp9bc4v_vw0000gl/T/d20170425-56630-1tzvc76/Realm/ObjectStore/external/catch'...
      error: RPC failed; curl 56 SSLRead() return error -9806
      fatal: The remote end hung up unexpectedly
      fatal: early EOF
      fatal: index-pack failed
      fatal: clone of 'https://github.com/philsquared/Catch' into submodule path '/private/var/folders/bj/n03qf0s968d07kcp9bc4v_vw0000gl/T/d20170425-56630-1tzvc76/Realm/ObjectStore/external/catch' failed
      Failed to clone 'external/catch'. Retry scheduled
      Cloning into '/private/var/folders/bj/n03qf0s968d07kcp9bc4v_vw0000gl/T/d20170425-56630-1tzvc76/Realm/ObjectStore/external/pegtl'...
      Cloning into '/private/var/folders/bj/n03qf0s968d07kcp9bc4v_vw0000gl/T/d20170425-56630-1tzvc76/Realm/ObjectStore/external/catch'...
      error: RPC failed; curl 56 SSLRead() return error -9806
      fatal: The remote end hung up unexpectedly
      fatal: early EOF
      fatal: index-pack failed
      fatal: clone of 'https://github.com/philsquared/Catch' into submodule path '/private/var/folders/bj/n03qf0s968d07kcp9bc4v_vw0000gl/T/d20170425-56630-1tzvc76/Realm/ObjectStore/external/catch' failed
      Failed to clone 'external/catch' a second time, aborting
      

      Here's another example that lends credence to that hypothesis: https://ci.realm.io/job/Cocoa%20Installation%20Examples/597/binding=swift,method=cocoapods,platform=ios/console

      If that's the issue, then fixing the networking issues with our macOS VMs is the appropriate solution.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: