51Testing软件测试论坛

标题: 关于 STF 手机兼容问题合集 [打印本页]

作者: 草帽路飞UU    时间: 2017-6-27 11:32
标题: 关于 STF 手机兼容问题合集


各位testhome的大V好,这是我兼容的部分手机,兼容的并不是很多,但是在兼容ZUK手机的时候,出现问题了,不知道有没有和我一样的在兼容ZUK手机出现过下面的错误信息。
  1. INF/device:plugins:touch 14966 [c806b880] Touch origin is top left
  2. INF/device:plugins:touch 14966 [c806b880] Requesting touch consumer to start
  3. INF/device:plugins:touch 14966 [c806b880] Launching screen service
  4. INF/device:plugins:touch 14966 [c806b880] Connecting to minitouch service
  5. INF/device:plugins:touch 14966 [c806b880] minitouch says: "/system/bin/sh: /data/local/tmp/minitouch: can't execute: Permission denied"
  6. WRN/device:plugins:touch 14966 [c806b880] Shell keeping minitouch running ended unexpectedly
  7. INF/device:plugins:touch 14966 [c806b880] Disconnecting from minitouch service
  8. INF/device:plugins:touch 14966 [c806b880] Stopping minitouch service
  9. INF/device:plugins:touch 14966 [c806b880] Launching screen service
  10. INF/device:plugins:touch 14966 [c806b880] Connecting to minitouch service
  11. INF/device:plugins:touch 14966 [c806b880] minitouch says: "/system/bin/sh: /data/local/tmp/minitouch: can't execute: Permission denied"
  12. WRN/device:plugins:touch 14966 [c806b880] Shell keeping minitouch running ended unexpectedly
  13. INF/device:plugins:touch 14966 [c806b880] Disconnecting from minitouch service
  14. INF/device:plugins:touch 14966 [c806b880] Stopping minitouch service
  15. INF/device:plugins:touch 14966 [c806b880] Launching screen service
  16. INF/device:plugins:touch 14966 [c806b880] Connecting to minitouch service
  17. INF/device:plugins:touch 14966 [c806b880] minitouch says: "/system/bin/sh: /data/local/tmp/minitouch: can't execute: Permission denied"
  18. INF/device:support:push 14990 [LE67A06180224872] Sending output to "tcp://10.241.54.16:7270"
  19. INF/device 14990 [LE67A06180224872] Preparing device
  20. WRN/device:plugins:touch 14966 [c806b880] Shell keeping minitouch running ended unexpectedly
  21. INF/device:plugins:touch 14966 [c806b880] Disconnecting from minitouch service
  22. INF/device:plugins:touch 14966 [c806b880] Stopping minitouch service
  23. INF/device:plugins:touch 14966 [c806b880] Launching screen service
  24. INF/device:plugins:touch 14966 [c806b880] Connecting to minitouch service
  25. INF/device:plugins:touch 14966 [c806b880] minitouch says: "/system/bin/sh: /data/local/tmp/minitouch: can't execute: Permission denied"
  26. WRN/device:plugins:touch 14966 [c806b880] Shell keeping minitouch running ended unexpectedly
  27. INF/device:plugins:touch 14966 [c806b880] Disconnecting from minitouch service
  28. WRN/device:plugins:touch 14966 [c806b880] Will not apply desired state due to too many failures
  29. INF/device:plugins:touch 14966 [c806b880] Stopping minitouch service
  30. FTL/device 14966 [c806b880] Setup had an error Error: Failed more than 3 times in 10000ms
  31.     at TouchConsumer._failLimitExceeded (/app/lib/units/device/plugins/touch/index.js:230:26)
  32.     at FailCounter.emit (/app/node_modules/eventemitter3/index.js:117:35)
  33.     at FailCounter.inc (/app/lib/util/failcounter.js:29:10)
  34.     at TouchConsumer._outputEnded (/app/lib/units/device/plugins/touch/index.js:223:24)
  35.     at RiskyStream.emit (/app/node_modules/eventemitter3/index.js:115:35)
  36.     at RiskyStream.<anonymous> (/app/lib/util/riskystream.js:14:12)
  37.     at emitNone (events.js:91:20)
  38.     at Socket.emit (events.js:185:7)
  39.     at endReadableNT (_stream_readable.js:973:12)
  40.     at _combinedTickCallback (internal/process/next_tick.js:74:11)
  41. From previous event:
  42.     at startConsumer (/app/lib/units/device/plugins/touch/index.js:511:14)
  43.     at /app/lib/units/device/plugins/touch/index.js:526:12
  44.     at SerialSyrup.ParallelSyrup.invoke (/app/node_modules/stf-syrup/lib/parallel.js:54:24)
  45.     at /app/node_modules/stf-syrup/lib/serial.js:43:33
  46.     at _combinedTickCallback (internal/process/next_tick.js:67:7)
  47.     at process._tickCallback (internal/process/next_tick.js:98:9)
  48. FTL/util:lifecycle 14966 [c806b880] Shutting down due to fatal error
  49. INF/provider 1 [*] Cleaning up device worker "c806b880"
  50. ERR/provider 1 [*] Device worker "c806b880" died with code 1
复制代码
网上找了很多资料,还是没有解决,特来和大V们一起分享小,一起探讨下这个坑


作者: 乐哈哈yoyo    时间: 2017-6-27 11:39


看STF的Changelog里有一条

   
  1. Fixed ZUK Z1, Z2 and others by adding an alternate install location for our binaries, since /data/local/tmp is mounted as noexec on those devices. Thanks @dkw72n!
复制代码

不过还在HEAD里没有发布,楼主可以拉取最新代码本地编译运行STF试试

作者: 草帽路飞UU    时间: 2017-6-27 11:40
乐哈哈yoyo 发表于 2017-6-27 11:39
看STF的Changelog里有一条

   

你好,你的意思是最新hub上的代码修复了这个问题吗?
好的,谢谢哈···你好,只能重新拉代码吗?因为我想,如果重新拉代码的那我还得再进行二次改造吗




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2