Android - problem with zipAlignApk - uncaughtException: EXDEV, cross-device link not permitted

1,838 views
Skip to first unread message

Ivan Vavrek

unread,
Mar 24, 2014, 7:36:03 AM3/24/14
to appium-...@googlegroups.com
Hey,

after appium update to v0.17.6 I am not able to run the test. problem comes when zipAlignApk is trying to move file from one partion to another. Unfortunately I wasn't able to find where is saved path configuration -> why it is copying from /tmp to /home/.../tmp
Can someone please advice me from where is coming that path and where can I change it?
Thanks for advice.

Ivan

debug: zipAlignApk: "/work/AndroidSDK/sdk/tools/zipalign" -f 4 "/tmp/selendroid.com.concur.breeze.apk" "/home/morphy/tmp/appium114224-12940-1pemlc4.tmp"
error: uncaughtException: EXDEV, cross-device link not permitted '/home/morphy/tmp/appium114224-12940-1pemlc4.tmp' date=Mon Mar 24 2014 12:24:13 GMT+0100 (CET), pid=12940, uid=1000, gid=1000, cwd=/work/nodejs/lib/node_modules/appium, execPath=/work/nodejs/bin/node, version=v0.10.26, argv=[node, /work/nodejs/bin/appium], rss=59981824, heapTotal=35255040, heapUsed=18617840, loadavg=[1.55224609375, 1.40576171875, 1.16064453125], uptime=14035.190844133, trace=[column=18, file=fs.js, function=Object.fs.renameSync, line=543, method=fs.renameSync, native=false, column=10, file=/work/nodejs/lib/node_modules/appium/lib/devices/android/adb.js, function=null, line=465, method=null, native=false, column=7, file=child_process.js, function=ChildProcess.exithandler, line=635, method=exithandler, native=false, column=17, file=events.js, function=ChildProcess.EventEmitter.emit, line=98, method=EventEmitter.emit, native=false, column=16, file=child_process.js, function=maybeClose, line=743, method=null, native=false, column=5, file=child_process.js, function=Process.ChildProcess._handle.onexit, line=810, method=ChildProcess._handle.onexit, native=false], stack=[Error: EXDEV, cross-device link not permitted '/home/morphy/tmp/appium114224-12940-1pemlc4.tmp',     at Object.fs.renameSync (fs.js:543:18),     at /work/nodejs/lib/node_modules/appium/lib/devices/android/adb.js:465:10,     at ChildProcess.exithandler (child_process.js:635:7),     at ChildProcess.EventEmitter.emit (events.js:98:17),     at maybeClose (child_process.js:743:16),     at Process.ChildProcess._handle.onexit (child_process.js:810:5)]

bootstrap online

unread,
Mar 24, 2014, 9:15:37 AM3/24/14
to Ivan Vavrek, appium-...@googlegroups.com
It's using a temp.path. Please open an issue on GitHub.

https://github.com/appium/appium/blob/d0456ff938eae9302d7fc6e3578fe0eb5b4979de/lib/devices/android/adb.js#L453
> --
> http://appium.io
> ---
> You received this message because you are subscribed to the Google Groups
> "Appium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to appium-discus...@googlegroups.com.
> Visit this group at http://groups.google.com/group/appium-discuss.
> For more options, visit https://groups.google.com/d/optout.

bootstrap online

unread,
Mar 24, 2014, 9:51:21 AM3/24/14
to Ivan Vavrek, appium-...@googlegroups.com

Ivan Vavrek

unread,
Mar 24, 2014, 2:18:54 PM3/24/14
to appium-...@googlegroups.com
thank you for quick fix. working fine now

Dne pondělí, 24. března 2014 12:36:03 UTC+1 Ivan Vavrek napsal(a):
Reply all
Reply to author
Forward
0 new messages