Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible misbehaviour due to the new default working directory (/sdcard) #225

Open
derkling opened this issue Dec 12, 2017 · 3 comments
Open

Comments

@derkling
Copy link
Contributor

When running on Hikey960, some of our tests get stuck mid-execution, with no apparent reasons.

We can still "adb shell" into the device but we cannot for example reboot the device itself and, as soon as we try to cd into "/sdcard" the device becomes completely stuck.

We dunno what is the reason behind that misbehaviour, however we notice that the same tests always run to completion if we revert 857edbd (which has been merged as part of #202).

@valschneider
Copy link
Contributor

This currently makes our LISA synthetic test suite fail with the HiKey960. @derkling's tests would get stuck when trying execute mkdir in sdcard, while I get this failure in my Jenkins tests:

TimeoutError: Timed out: adb -s HIKEY960_0 shell ls -1 /sdcard/devlib-target/run_dir/task_wmig_0.log

This could just be a misconfiguration of the board itself and have nothing to do with devlib, but it's a pain nevertheless :(

@marcbonnici
Copy link
Collaborator

I've tried testing some workloads on my Hikey960 and have been unable to reproduce the issue so far.

As a work around I would suggest setting the working_directory parameter to use an alternative folder for your device.

valschneider pushed a commit to valschneider/lisa that referenced this issue Dec 13, 2017
As mentionned in ARM-software/devlib#225,
using /sdcard causes some issues with the HiKey960. As we haven't
had any issues with using /data/local/tmp/ as a devlib working
directory, we now enforce the use of this directory.
valschneider pushed a commit to valschneider/lisa that referenced this issue Dec 13, 2017
As mentionned in ARM-software/devlib#225,
using /sdcard causes some issues with the HiKey960. As we haven't
had any issues with using /data/local/tmp/ as a devlib working
directory, we now enforce the use of this directory.
valschneider pushed a commit to valschneider/lisa that referenced this issue Dec 13, 2017
As mentionned in ARM-software/devlib#225,
using /sdcard causes some issues with the HiKey960. As we haven't
had any issues with using /data/local/tmp/ as a devlib working
directory, we now enforce the use of this directory.
valschneider pushed a commit to valschneider/lisa that referenced this issue Dec 14, 2017
As mentionned in ARM-software/devlib#225,
using /sdcard causes some issues with the HiKey960. As we haven't
had any issues with using /data/local/tmp/ as a devlib working
directory, we now enforce the use of this directory.
valschneider pushed a commit to valschneider/lisa that referenced this issue Dec 14, 2017
As mentionned in ARM-software/devlib#225,
using /sdcard causes some issues with the HiKey960. As we haven't
had any issues with using /data/local/tmp/ as a devlib working
directory, we now the use this directory by default.
@jumana-arm
Copy link

Also broken for Mate9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants