question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Appium 1.7.0beta throws No space left on device on iOS Simulator

See original GitHub issue

The problem

We have a large suite of end to end tests (approx. 647) that run sequentially on an iOS simulator - they take around 12 hrs to run. Recently, after updating to Appium 1.7.0beta and Xcode 9, the tests have been running fine for two nights, but last night after 7 hrs of running we started receiving this error: No space left on device

We have 40gb free on our server, so I don’t think we have an issue related to that.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.7.0beta
  • Last Appium version that did not exhibit the issue (if applicable): 1.6.4 (maybe even 1.6.5)
  • Desktop OS/version used to run Appium: macOS 10.12.6
  • Node.js version (unless using Appium.app|exe): 7.0.0
  • Mobile platform/version under test: iOS 11.0
  • Real device or emulator/simulator: iPhone 5s
  • Appium CLI or Appium.app|exe: Appium CLI

Link to Appium logs

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: simctl error running 'install': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=28):
      copyfile of file:///Users/jenkins/.jenkins/jobs/MyApp/jobs/AQA/jobs/iOS/workspace/iOS/build-simulator/MyApp.app/ to file:///Users/jenkins/Library/Developer/CoreSimulator/Devices/936C7D51-F6C3-41D3-B80B-5411C92491DE/data/Containers/Shared/SystemGroup/systemgroup.com.apple.installcoordinationd/Library/InstallCoordination/PromiseStaging/1912C4C2-45E4-4120-8F38-303CC59D66C8/MyApp.app failed: No space left on device

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
cosminstirbucommented, Oct 9, 2017

I’ve ran find /private/var -type f -size +10000k -exec ls -lh {} \;

and it looks that there are some large WebDriver related temp folders folders:

-rw-------  1 jenkins  staff   2.4G Oct  9 00:25 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-09A74A61-57A5-451C-B53F-7D2AF0433F5D/WebDriverAgentRunner-B85A5DD9-016F-4B3C-ABBD-6E8E7FF919E4/Session-WebDriverAgentRunner-2017-10-08_144754-OaDrjW.log
-rw-r--r--  1 jenkins  staff    94M Oct  9 00:26 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-09A74A61-57A5-451C-B53F-7D2AF0433F5D/WebDriverAgentRunner-B85A5DD9-016F-4B3C-ABBD-6E8E7FF919E4/StandardOutputAndStandardError.txt
-rw-------  1 jenkins  staff   2.7G Oct  9 00:25 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-79745577-69B0-4182-84FA-72271EACFD4E/WebDriverAgentRunner-0F11439B-00BC-4222-927A-C78CBC7A7CB1/Session-WebDriverAgentRunner-2017-10-08_144808-Vd0QQ8.log
-rw-r--r--  1 jenkins  staff   102M Oct  9 00:26 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-79745577-69B0-4182-84FA-72271EACFD4E/WebDriverAgentRunner-0F11439B-00BC-4222-927A-C78CBC7A7CB1/StandardOutputAndStandardError.txt
-rw-------  1 jenkins  staff   559M Oct  8 14:37 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-C7DCA4FB-1E24-435D-BCCC-6C2F767CC7C2/WebDriverAgentRunner-EB98A420-E023-4D96-BCBC-0D51E64D6235/Session-WebDriverAgentRunner-2017-10-08_125539-dpcDbk.log
-rw-r--r--  1 jenkins  staff    21M Oct  8 14:37 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-C7DCA4FB-1E24-435D-BCCC-6C2F767CC7C2/WebDriverAgentRunner-EB98A420-E023-4D96-BCBC-0D51E64D6235/StandardOutputAndStandardError.txt
-rw-------  1 jenkins  staff   2.3G Oct  8 12:49 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-DC792018-77D9-4424-A5E2-1977610BC602/WebDriverAgentRunner-7873C835-3B01-4B2B-AA9F-1F14B0B3C270/Session-WebDriverAgentRunner-2017-10-08_051043-xgSYKX.log
-rw-r--r--  1 jenkins  staff    93M Oct  8 12:49 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-DC792018-77D9-4424-A5E2-1977610BC602/WebDriverAgentRunner-7873C835-3B01-4B2B-AA9F-1F14B0B3C270/StandardOutputAndStandardError.txt
-rw-------  1 jenkins  staff   532M Oct  8 14:37 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-E6C2833E-FD81-47AD-BBF1-09402AA34E67/WebDriverAgentRunner-0BED6A41-9D85-4808-A30E-CCC38F37FC4B/Session-WebDriverAgentRunner-2017-10-08_125538-xYdeJZ.log
-rw-r--r--  1 jenkins  staff    20M Oct  8 14:35 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-E6C2833E-FD81-47AD-BBF1-09402AA34E67/WebDriverAgentRunner-0BED6A41-9D85-4808-A30E-CCC38F37FC4B/StandardOutputAndStandardError.txt
-rw-------  1 jenkins  staff   2.6G Oct  8 12:49 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-F9070B58-CA21-483A-AD13-744C056F7233/WebDriverAgentRunner-E839FD71-4DCB-4BD5-BF9C-837D4E529B49/Session-WebDriverAgentRunner-2017-10-08_051030-2QLB63.log
-rw-r--r--  1 jenkins  staff   100M Oct  8 12:49 /private/var/folders/6v/xlw3p2pn47d2jl_jghf25dn00000gr/T/com.apple.dt.XCTest/IDETestRunSession-F9070B58-CA21-483A-AD13-744C056F7233/WebDriverAgentRunner-E839FD71-4DCB-4BD5-BF9C-837D4E529B49/StandardOutputAndStandardError.txt
0reactions
lock[bot]commented, Apr 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No space left on device: Testing low storage scenarios
No space left on device is an error message that starts to show up more lately. Over the years, storage has grown from...
Read more >
"No space left on device" error when compiling - Stack Overflow
There are two common steps to this fairly common issue: Delete the app from your device. command+k which will clean your code and...
Read more >
appium/appium - Gitter
We are thinking for iOS/Android, to set a device name to emulator/simulator with end to end, and in web, to inject window.isE2e =...
Read more >
appium | Yarn - Package Manager
Appium is an open-source, cross-platform test automation tool for native, hybrid, and mobile web and desktop apps. We support simulators (iOS), emulators ......
Read more >
Troubleshooting - Appium
IOS. Make sure Instruments.app is not open; If you're running the simulator, make sure your actual device is not plugged in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found