Q-testing icon indicating copy to clipboard operation
Q-testing copied to clipboard

Non deterministic behavior at startup

Open H2SO4T opened this issue 4 years ago • 6 comments

When the program is launched with the command: ./Q-testing/main -r CONF.txt it usually ends reporting the exception: Cannot open self /home/se_non_bestemmio_guarda/Q-testing/Q-testing/main[�� or archive /home/se_non_bestemmio_guarda/Q-testing/Q-testing/main[��.pkg

After many trials it seems to startup correctly. Please consider to release the source code, at the time of writing the tool is not useful.

H2SO4T avatar Dec 11 '20 11:12 H2SO4T

Just to be clear: Ubuntu 16.04, python 2.7, Android 4.4

H2SO4T avatar Dec 11 '20 11:12 H2SO4T

I have the same problem. Could you provide more details?

Thank you

totoR13 avatar Dec 11 '20 11:12 totoR13

I also have the same problem. Sometimes it requires less than 10 trials, sometime more than 20 trials.

RichardHoOoOo avatar Dec 22 '20 08:12 RichardHoOoOo

We have updated our Q-testing, try it again, and if the problem still occurs please contact us as soon.

xixiAndpipi avatar Dec 24 '20 07:12 xixiAndpipi

@destinyfucker Hi, the problem has been fixed but the fix induces other errors...

First, UiAutomator becomes unstable. The error "UNKNOWN uiautomator dump error" occurs every time I run the tool. But interesting, it disappears if I ran the old-version tool first, then ran the new-version tool.

Second, sometimes the tool complains the output folder is not empty, or the output does not exist. Sometimes it can work if the output folder is not empty. I am very confused about what I have to prepare before running the tool.

RichardHoOoOo avatar Dec 31 '20 08:12 RichardHoOoOo

For the first problem, check if the version of your uiautomator is 0.3.6? If yes, uninstall app ''uiautomator" and "com.github.uiautomator.test" in the AVD, and retry Q-testing. For the second problem, Q-testing will clean the output folder every time. However, we have never met errors as 'output does not exist'. Would you please tell us your enviroment ?

xixiAndpipi avatar Jan 04 '21 04:01 xixiAndpipi