Hi,

I've been noticing this deployment error a lot with the latest alpha version
of MfA (v4.2.5, installer: mono-android-4.2.5.195540401.msi). The device I'm
deploying to has this Busybox version:
  BusyBox v1.20.2-Stericson (2012-07-04 21:33:31 CDT)

A workaround seems to be to select 'rebuild-all' for my project after which
deployment works again. (Not really sure why this would cause the output
from 'ps' to be recognized though).

Following is the text from the (fairly wordy) message box that appears when
clicking "show details".
Should I log a bug for this or are only specific versions of busybox
supported?

-Paul

Details Message Box Text:
System.AggregateException: One or more errors occurred. --->
System.AggregateException: One or more errors occurred. --->
Mono.AndroidTools.AdbException: 'ps' output not recognized: 'PID   USER    
TIME   COMMAND
    1 0          0:30 /init
    2 0          0:06 [kthreadd]
    3 0          5:51 [ksoftirqd/0]
    6 0          0:00 [migration/0]
    7 0          0:31 [watchdog/0]
   12 0          0:00 [khelper]
   13 0          0:00 [suspend]
   14 0          0:19 [sync_supers]
   15 0          0:02 [bdi-default]
   16 0          0:00 [kblockd]
   17 0          0:00 [khubd]
   18 0          0:00 [irq/118-tps6586]
   19 0          0:00 [tps6586x_strees]
   20 0          0:00 [l2cap]
   22 0          0:00 [cfg80211]
   23 0          0:00 [rpciod]
   24 0          0:00 [cpu-tegra]
   25 0          0:00 [khungtaskd]
   26 0          0:14 [kswapd0]
   27 0          0:00 [fsnotify_mark]
   28 0          0:00 [nfsiod]
   29 0          0:00 [crypto]
   42 0          0:00 [tegradc.0]
   43 0          0:00 [nvhdcp1]
   44 0          0:00 [tegradc.1]
   45 0          0:00 [nct1008_strees_]
   53 0          0:00 [asusec_wq]
   55 0          0:00 [f_mtp]
   56 0          0:00 [GpioKey_workque]
   57 0          0:00 [i2c_touchsensor]
   58 0          0:00 [battery_workque]
   59 0          0:00 [i2c_lightsensor]
   60 0          0:00 [dvfs_test_workq]
   61 0         20:24 [kinteractiveup]
   67 0          0:00 [binder]
   68 0          0:00 [irq/379-wm8903]
   69 0         28:21 [mmcqd/0]
   70 0          0:00 [detection]
   71 0          0:00 [krfcommd]
   72 0          0:11 /sbin/ueventd
   73 0          0:00 [jbd2/mmcblk0p1-]
   74 0          0:00 [ext4-dio-unwrit]
   75 0         12:59 [jbd2/mmcblk0p7-]
   76 0          0:00 [ext4-dio-unwrit]
   77 0          0:00 [jbd2/mmcblk0p2-]
   78 0          0:00 [ext4-dio-unwrit]
   79 1000       0:34 /system/bin/servicemanager
   80 0          0:32 /system/bin/vold
   84 1000     196:28 /system/bin/surfaceflinger
   85 0          1:10 zygote /bin/app_process -Xzygote /system/bin --zygote
--s
   86 1019       0:02 /system/bin/drmserver
   87 1013      25:41 /system/bin/mediaserver
   88 1002       0:00 /system/bin/dbus-daemon --system --nofork
   89 0          0:04 /system/bin/installd
   90 1017       0:03 /system/bin/keystore /data/misc/keystore
   93 1023       1:34 /system/bin/sdcard /data/media 1023 1023
   94 0          1:17 /system/bin/glgps -c /system/etc/gps/gpsconfig.xml
  130 0          0:38 [flush-179:0]
  168 1000     653:31 system_server
  275 1000      97:06 {ndroid.systemui} com.android.systemui
  359 10025      4:38 {e.process.gapps} com.google.process.gapps
  420 10024      7:00 {oid.inputmethod} com.swype.android.inputmethod
  441 10003      0:25 {uance.xt9.input} com.nuance.xt9.input
  453 1001       0:48 {m.android.phone} com.android.phone
  474 10037      3:01 {ndroid.launcher} com.android.launcher
  559 10024      2:57 {od:SwypeConnect}
com.swype.android.inputmethod:SwypeConn
 2363 0          0:00 sh -
 2365 0          0:00 /data/data/com.estrongs.android.pop/files/libestool.so
23
 4474 0          0:03 [avp_svc_thread]
 6400 0          0:09 /system/bin/netd
 6994 0          0:00 /system/xbin/dropbear -A -N root -C 42 -r
/data/data/me.s
 8483 0         10:48 adb fork-server server
10785 0          0:00 [iscan_sysioc]
10786 0          0:00 [dhcp_sysioc]
10787 0          0:30 [dhd_watchdog]
10788 0          2:50 [dhd_dpc]
10789 0          0:00 [dhd_sysioc]
10790 0          7:00 [ksdioirqd/mmc2]
10791 1010       1:55 /system/bin/wpa_supplicant2 -Dwext -iwlan0
-c/data/misc/w
10801 1014       0:00 /system/bin/dhcpcd -ABKL -h android-3a359daadfe4a001
wlan
13216 2000       1:31 /sbin/adbd
15163 10033      0:08 {droid.apps.maps} com.google.android.apps.maps
18829 10025      0:18 {droid.gsf.login} com.google.android.gsf.login
22085 0          0:00 [migration/1]
22087 0          1:41 [ksoftirqd/1]
22088 0          0:07 [watchdog/1]
26563 10060     10:42 {android.browser} com.android.browser
27127 0          0:03 [kworker/u:1]
27740 10051      0:02 {m.android.email} com.android.email
27855 10089      0:40 {.systempanel.r1} nextapp.systempanel.r1
28168 10033      0:01 {s:FriendService}
com.google.android.apps.maps:FriendServ
28180 10033      0:01 {onFriendService}
com.google.android.apps.maps:LocationFr
28513 0          0:00 [kworker/u:2]
28597 10110      0:01 {pcsynctool:auth} com.asus.pcsynctool:auth
28642 10033      0:03 {LocationService}
com.google.android.apps.maps:NetworkLoc
28692 10052      0:00 {droid.deskclock} com.android.deskclock
28731 1000       0:00 com.asus.cm
28775 10066      1:11 {radioopt.widget} com.radioopt.widget
28808 1000       0:00 {m.asus.keyboard} com.asus.keyboard
28888 0          0:04 [irq/178-host_sp]
28889 0          0:02 [irq/182-host_sp]
29086 0          0:00 [irq/168-host_sp]
29121 10001      0:00 {id.DebugRuntime} Mono.Android.DebugRuntime
29140 0          0:00 [kworker/1:2]
29161 0          0:02 [kworker/0:0]
29181 10008      0:01 {android.vending} com.android.vending
29210 10031      0:00 {d.process.media} android.process.media
29222 0          0:01 [kworker/1:0]
29232 1000       0:00 com.asus.dm
29249 0          0:00 [kworker/0:2]
29259 2000       0:01 logcat -v time -b main -b system -b events
29299 0          0:00 [kworker/0:1]
29327 2000       0:00 /system/bin/sh -c ps
29329 2000       0:00 ps
31666 0          0:00 /system/bin/debuggerd
'
   at Mono.AndroidTools.Internal.AdbOutputParsing.GetPackagePidFromPs(String
packageName, String psOutput)
   at
Mono.AndroidTools.AndroidDevice.<>c__DisplayClass18.<GetProcessId>b__17(Task`1
t)
   at
System.Threading.Tasks.Task`1.<>c__DisplayClass1a`1.<ContinueWith>b__19()
   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean
includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
   at Xamarin.AndroidTools.AndroidDeploySession.InstallPackage()
   at Xamarin.AndroidTools.AndroidDeploySession.Start(CancellationToken
token)
   at
Mono.Android.VisualStudio.MonoAndroidDeploySession.DeployApplication(AndroidDevice
device, CancellationToken token)
   at Mono.Android.VisualStudio.MonoAndroidDeploySession.OnDeploy()
---> (Inner Exception #0) System.AggregateException: One or more errors
occurred. ---> Mono.AndroidTools.AdbException: 'ps' output not recognized:
'PID   USER     TIME   COMMAND
    1 0          0:30 /init
    2 0          0:06 [kthreadd]
    3 0          5:51 [ksoftirqd/0]
    6 0          0:00 [migration/0]
    7 0          0:31 [watchdog/0]
   12 0          0:00 [khelper]
   13 0          0:00 [suspend]
   14 0          0:19 [sync_supers]
   15 0          0:02 [bdi-default]
   16 0          0:00 [kblockd]
   17 0          0:00 [khubd]
   18 0          0:00 [irq/118-tps6586]
   19 0          0:00 [tps6586x_strees]
   20 0          0:00 [l2cap]
   22 0          0:00 [cfg80211]
   23 0          0:00 [rpciod]
   24 0          0:00 [cpu-tegra]
   25 0          0:00 [khungtaskd]
   26 0          0:14 [kswapd0]
   27 0          0:00 [fsnotify_mark]
   28 0          0:00 [nfsiod]
   29 0          0:00 [crypto]
   42 0          0:00 [tegradc.0]
   43 0          0:00 [nvhdcp1]
   44 0          0:00 [tegradc.1]
   45 0          0:00 [nct1008_strees_]
   53 0          0:00 [asusec_wq]
   55 0          0:00 [f_mtp]
   56 0          0:00 [GpioKey_workque]
   57 0          0:00 [i2c_touchsensor]
   58 0          0:00 [battery_workque]
   59 0          0:00 [i2c_lightsensor]
   60 0          0:00 [dvfs_test_workq]
   61 0         20:24 [kinteractiveup]
   67 0          0:00 [binder]
   68 0          0:00 [irq/379-wm8903]
   69 0         28:21 [mmcqd/0]
   70 0          0:00 [detection]
   71 0          0:00 [krfcommd]
   72 0          0:11 /sbin/ueventd
   73 0          0:00 [jbd2/mmcblk0p1-]
   74 0          0:00 [ext4-dio-unwrit]
   75 0         12:59 [jbd2/mmcblk0p7-]
   76 0          0:00 [ext4-dio-unwrit]
   77 0          0:00 [jbd2/mmcblk0p2-]
   78 0          0:00 [ext4-dio-unwrit]
   79 1000       0:34 /system/bin/servicemanager
   80 0          0:32 /system/bin/vold
   84 1000     196:28 /system/bin/surfaceflinger
   85 0          1:10 zygote /bin/app_process -Xzygote /system/bin --zygote
--s
   86 1019       0:02 /system/bin/drmserver
   87 1013      25:41 /system/bin/mediaserver
   88 1002       0:00 /system/bin/dbus-daemon --system --nofork
   89 0          0:04 /system/bin/installd
   90 1017       0:03 /system/bin/keystore /data/misc/keystore
   93 1023       1:34 /system/bin/sdcard /data/media 1023 1023
   94 0          1:17 /system/bin/glgps -c /system/etc/gps/gpsconfig.xml
  130 0          0:38 [flush-179:0]
  168 1000     653:31 system_server
  275 1000      97:06 {ndroid.systemui} com.android.systemui
  359 10025      4:38 {e.process.gapps} com.google.process.gapps
  420 10024      7:00 {oid.inputmethod} com.swype.android.inputmethod
  441 10003      0:25 {uance.xt9.input} com.nuance.xt9.input
  453 1001       0:48 {m.android.phone} com.android.phone
  474 10037      3:01 {ndroid.launcher} com.android.launcher
  559 10024      2:57 {od:SwypeConnect}
com.swype.android.inputmethod:SwypeConn
 2363 0          0:00 sh -
 2365 0          0:00 /data/data/com.estrongs.android.pop/files/libestool.so
23
 4474 0          0:03 [avp_svc_thread]
 6400 0          0:09 /system/bin/netd
 6994 0          0:00 /system/xbin/dropbear -A -N root -C 42 -r
/data/data/me.s
 8483 0         10:48 adb fork-server server
10785 0          0:00 [iscan_sysioc]
10786 0          0:00 [dhcp_sysioc]
10787 0          0:30 [dhd_watchdog]
10788 0          2:50 [dhd_dpc]
10789 0          0:00 [dhd_sysioc]
10790 0          7:00 [ksdioirqd/mmc2]
10791 1010       1:55 /system/bin/wpa_supplicant2 -Dwext -iwlan0
-c/data/misc/w
10801 1014       0:00 /system/bin/dhcpcd -ABKL -h android-3a359daadfe4a001
wlan
13216 2000       1:31 /sbin/adbd
15163 10033      0:08 {droid.apps.maps} com.google.android.apps.maps
18829 10025      0:18 {droid.gsf.login} com.google.android.gsf.login
22085 0          0:00 [migration/1]
22087 0          1:41 [ksoftirqd/1]
22088 0          0:07 [watchdog/1]
26563 10060     10:42 {android.browser} com.android.browser
27127 0          0:03 [kworker/u:1]
27740 10051      0:02 {m.android.email} com.android.email
27855 10089      0:40 {.systempanel.r1} nextapp.systempanel.r1
28168 10033      0:01 {s:FriendService}
com.google.android.apps.maps:FriendServ
28180 10033      0:01 {onFriendService}
com.google.android.apps.maps:LocationFr
28513 0          0:00 [kworker/u:2]
28597 10110      0:01 {pcsynctool:auth} com.asus.pcsynctool:auth
28642 10033      0:03 {LocationService}
com.google.android.apps.maps:NetworkLoc
28692 10052      0:00 {droid.deskclock} com.android.deskclock
28731 1000       0:00 com.asus.cm
28775 10066      1:11 {radioopt.widget} com.radioopt.widget
28808 1000       0:00 {m.asus.keyboard} com.asus.keyboard
28888 0          0:04 [irq/178-host_sp]
28889 0          0:02 [irq/182-host_sp]
29086 0          0:00 [irq/168-host_sp]
29121 10001      0:00 {id.DebugRuntime} Mono.Android.DebugRuntime
29140 0          0:00 [kworker/1:2]
29161 0          0:02 [kworker/0:0]
29181 10008      0:01 {android.vending} com.android.vending
29210 10031      0:00 {d.process.media} android.process.media
29222 0          0:01 [kworker/1:0]
29232 1000       0:00 com.asus.dm
29249 0          0:00 [kworker/0:2]
29259 2000       0:01 logcat -v time -b main -b system -b events
29299 0          0:00 [kworker/0:1]
29327 2000       0:00 /system/bin/sh -c ps
29329 2000       0:00 ps
31666 0          0:00 /system/bin/debuggerd
'
   at Mono.AndroidTools.Internal.AdbOutputParsing.GetPackagePidFromPs(String
packageName, String psOutput)
   at
Mono.AndroidTools.AndroidDevice.<>c__DisplayClass18.<GetProcessId>b__17(Task`1
t)
   at
System.Threading.Tasks.Task`1.<>c__DisplayClass1a`1.<ContinueWith>b__19()
   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) Mono.AndroidTools.AdbException: 'ps' output not
recognized: 'PID   USER     TIME   COMMAND
    1 0          0:30 /init
    2 0          0:06 [kthreadd]
    3 0          5:51 [ksoftirqd/0]
    6 0          0:00 [migration/0]
    7 0          0:31 [watchdog/0]
   12 0          0:00 [khelper]
   13 0          0:00 [suspend]
   14 0          0:19 [sync_supers]
   15 0          0:02 [bdi-default]
   16 0          0:00 [kblockd]
   17 0          0:00 [khubd]
   18 0          0:00 [irq/118-tps6586]
   19 0          0:00 [tps6586x_strees]
   20 0          0:00 [l2cap]
   22 0          0:00 [cfg80211]
   23 0          0:00 [rpciod]
   24 0          0:00 [cpu-tegra]
   25 0          0:00 [khungtaskd]
   26 0          0:14 [kswapd0]
   27 0          0:00 [fsnotify_mark]
   28 0          0:00 [nfsiod]
   29 0          0:00 [crypto]
   42 0          0:00 [tegradc.0]
   43 0          0:00 [nvhdcp1]
   44 0          0:00 [tegradc.1]
   45 0          0:00 [nct1008_strees_]
   53 0          0:00 [asusec_wq]
   55 0          0:00 [f_mtp]
   56 0          0:00 [GpioKey_workque]
   57 0          0:00 [i2c_touchsensor]
   58 0          0:00 [battery_workque]
   59 0          0:00 [i2c_lightsensor]
   60 0          0:00 [dvfs_test_workq]
   61 0         20:24 [kinteractiveup]
   67 0          0:00 [binder]
   68 0          0:00 [irq/379-wm8903]
   69 0         28:21 [mmcqd/0]
   70 0          0:00 [detection]
   71 0          0:00 [krfcommd]
   72 0          0:11 /sbin/ueventd
   73 0          0:00 [jbd2/mmcblk0p1-]
   74 0          0:00 [ext4-dio-unwrit]
   75 0         12:59 [jbd2/mmcblk0p7-]
   76 0          0:00 [ext4-dio-unwrit]
   77 0          0:00 [jbd2/mmcblk0p2-]
   78 0          0:00 [ext4-dio-unwrit]
   79 1000       0:34 /system/bin/servicemanager
   80 0          0:32 /system/bin/vold
   84 1000     196:28 /system/bin/surfaceflinger
   85 0          1:10 zygote /bin/app_process -Xzygote /system/bin --zygote
--s
   86 1019       0:02 /system/bin/drmserver
   87 1013      25:41 /system/bin/mediaserver
   88 1002       0:00 /system/bin/dbus-daemon --system --nofork
   89 0          0:04 /system/bin/installd
   90 1017       0:03 /system/bin/keystore /data/misc/keystore
   93 1023       1:34 /system/bin/sdcard /data/media 1023 1023
   94 0          1:17 /system/bin/glgps -c /system/etc/gps/gpsconfig.xml
  130 0          0:38 [flush-179:0]
  168 1000     653:31 system_server
  275 1000      97:06 {ndroid.systemui} com.android.systemui
  359 10025      4:38 {e.process.gapps} com.google.process.gapps
  420 10024      7:00 {oid.inputmethod} com.swype.android.inputmethod
  441 10003      0:25 {uance.xt9.input} com.nuance.xt9.input
  453 1001       0:48 {m.android.phone} com.android.phone
  474 10037      3:01 {ndroid.launcher} com.android.launcher
  559 10024      2:57 {od:SwypeConnect}
com.swype.android.inputmethod:SwypeConn
 2363 0          0:00 sh -
 2365 0          0:00 /data/data/com.estrongs.android.pop/files/libestool.so
23
 4474 0          0:03 [avp_svc_thread]
 6400 0          0:09 /system/bin/netd
 6994 0          0:00 /system/xbin/dropbear -A -N root -C 42 -r
/data/data/me.s
 8483 0         10:48 adb fork-server server
10785 0          0:00 [iscan_sysioc]
10786 0          0:00 [dhcp_sysioc]
10787 0          0:30 [dhd_watchdog]
10788 0          2:50 [dhd_dpc]
10789 0          0:00 [dhd_sysioc]
10790 0          7:00 [ksdioirqd/mmc2]
10791 1010       1:55 /system/bin/wpa_supplicant2 -Dwext -iwlan0
-c/data/misc/w
10801 1014       0:00 /system/bin/dhcpcd -ABKL -h android-3a359daadfe4a001
wlan
13216 2000       1:31 /sbin/adbd
15163 10033      0:08 {droid.apps.maps} com.google.android.apps.maps
18829 10025      0:18 {droid.gsf.login} com.google.android.gsf.login
22085 0          0:00 [migration/1]
22087 0          1:41 [ksoftirqd/1]
22088 0          0:07 [watchdog/1]
26563 10060     10:42 {android.browser} com.android.browser
27127 0          0:03 [kworker/u:1]
27740 10051      0:02 {m.android.email} com.android.email
27855 10089      0:40 {.systempanel.r1} nextapp.systempanel.r1
28168 10033      0:01 {s:FriendService}
com.google.android.apps.maps:FriendServ
28180 10033      0:01 {onFriendService}
com.google.android.apps.maps:LocationFr
28513 0          0:00 [kworker/u:2]
28597 10110      0:01 {pcsynctool:auth} com.asus.pcsynctool:auth
28642 10033      0:03 {LocationService}
com.google.android.apps.maps:NetworkLoc
28692 10052      0:00 {droid.deskclock} com.android.deskclock
28731 1000       0:00 com.asus.cm
28775 10066      1:11 {radioopt.widget} com.radioopt.widget
28808 1000       0:00 {m.asus.keyboard} com.asus.keyboard
28888 0          0:04 [irq/178-host_sp]
28889 0          0:02 [irq/182-host_sp]
29086 0          0:00 [irq/168-host_sp]
29121 10001      0:00 {id.DebugRuntime} Mono.Android.DebugRuntime
29140 0          0:00 [kworker/1:2]
29161 0          0:02 [kworker/0:0]
29181 10008      0:01 {android.vending} com.android.vending
29210 10031      0:00 {d.process.media} android.process.media
29222 0          0:01 [kworker/1:0]
29232 1000       0:00 com.asus.dm
29249 0          0:00 [kworker/0:2]
29259 2000       0:01 logcat -v time -b main -b system -b events
29299 0          0:00 [kworker/0:1]
29327 2000       0:00 /system/bin/sh -c ps
29329 2000       0:00 ps
31666 0          0:00 /system/bin/debuggerd
'
   at Mono.AndroidTools.Internal.AdbOutputParsing.GetPackagePidFromPs(String
packageName, String psOutput)
   at
Mono.AndroidTools.AndroidDevice.<>c__DisplayClass18.<GetProcessId>b__17(Task`1
t)
   at
System.Threading.Tasks.Task`1.<>c__DisplayClass1a`1.<ContinueWith>b__19()
   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---
<---




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Deploy-Error-ps-output-not-recognized-tp5711342.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to