> After applying that change, all Orange Pi tests run successfully:
> $ AVOCADO_ALLOW_LARGE_STORAGE=yes ARMBIAN_ARTIFACTS_CACHED=yes
avocado --show=app,console run -t machine:orangepi-pc
This command does not work for me.
Traceback (most recent call last):
File "/usr/local/bin/avocado", line 5, in <module>
from avocado.core.main import main
line 22, in <module>
from avocado.core import data_dir
line 39, in <module>
from .output import LOG_JOB, LOG_UI
line 27, in <module>
from .settings import settings
line 625, in <module>
settings = Settings() # pylint: disable-msg=invalid-name
line 274, in __init__
line 315, in _prepare_base_dirs
self._config_path_pkg = resource_filename('avocado',
line 1145, in resource_filename
line 365, in get_provider
return _find_adapter(_provider_factories, loader)(module)
line 1393, in __init__
self.module_path = os.path.dirname(getattr(module, '__file__', ''))
File "/usr/lib/python3.8/posixpath.py", line 152, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
I haven't got a command to work on testing only a single target. Any
That error is new to me, I have not seen it before. From the stacktrace,
it looks like that avocado is trying to read its own configuration /
settings file (from settings.py).
Later on there is a type conversion error for NoneType. Perhaps the
avocado files for your user have somehow got corrupted?
You could try to remove them from your home directory and/or re-install
avocado as well and start out fresh.
I assume that at least 'avocado --help' should work without generating
Also it may be useful to know that it looks like you need to run avocado
from within the new 'build' directory that the new meson build system
If not running from the 'build' directory, I'm getting this printed on
CANCEL: No QEMU binary defined or found in the build tree
So once your avocado is working without the type error you could try this:
1) cd build
2) AVOCADO_ALLOW_LARGE_STORAGE=yes ARMBIAN_ARTIFACTS_CACHED=yes avocado
--show=app,console run -t machine:orangepi-pc
Alternatively, if you can't get avocado to run anything, you could also
just run the Armbian image (or any other image) directly via
$ build/arm-softmmu/qemu-system-arm -M orangepi-pc -nographic -nic
user -sd Armbian_20.08.1_Orangepipc_bionic_current_5.8.5.img
U-Boot SPL 2020.04-armbian (Sep 02 2020 - 10:16:13 +0200)
DRAM: 1024 MiB
Autoboot in 1 seconds, press <Space> to stop
=> setenv extraargs 'console=ttyS0,115200'
Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 237
Also see the file docs/system/arm/orangepi.rst with some additional
information and documentation.
Hope this helps & regards,