Closed richidubey closed 3 years ago
Hi,
Just to double check, if you try running the command /home/root/devlib-target/bin/busybox hostid
on the device manually do you see the same behavior?
Also are you able to invoke any of the other functions from busybox (find
, grep
etc.) successfully or is it just hostid
that triggers the fault?
Hi,
Good points. I have tried both of these.
Yes, When I run /home/root/devlib-target/bin/busybox hostid
manually on the device, I still get a segmentation fault.
and when I ran /home/root/devlib-target/bin/busybox hostname
it worked (and did not give seg fault).
So, I have realized that this is not a WA bug, but something is wrong with busybox on Yocto images run on zcu106. I tried debugging with systrace, but it is difficult to use that command.
I would appreciate it if you could point out what might be causing busybox to give segfault just for 'hostid' ?
busybox hostid
literally just prints out the value of gethostid()
syscall: https://github.com/mirror/busybox/blob/master/coreutils/hostid.c
So it looks like it (or the libc bindings for it) maybe broken on that system. Though it could potentially also be an issue with busybox binary... Please could you check:
hostid
implementation on the system, and if so -- does that work? (just try executing hostid
in a shell)hostid
applet, and if so, does that work?@marcbonnici:
At the moment, we're calling this directly via Target.execute()
inside get_target_info()
, so currently, fixing/working around this would require hacking that. It maybe worth adding Target.get_hostid()
method (and maybe Target.get_hostname()
while we're at it) so that it could be overridden in a system-specific adapter for systems where those are broken).
It maybe worth adding Target.get_hostid() method (and maybe Target.get_hostname() while we're at it) so that it could be overridden in a system-specific adapter for systems where those are broken).
Agreed that sounds like a good idea, I'm almost surprised they're not already exposed.
Thanks for your help @setrofim @marcbonnici.
Is there a native hostid implementation on the system, and if so -- does that work? (just try executing hostid in a shell) Is there an alternative busybox implementation on that system (or maybe one can be install via a package manager, if that system has one); if so, does it have the hostid applet, and if so, does that work?
root@zcu106-zynqmp:~# hostid -sh: hostid: command not found root@zcu106-zynqmp:~# busybox hostid hostid: applet not found root@zcu106-zynqmp:~# busybox hostname zcu106-zynqmp
Also, I tried recreating the recent patch by changing the files:
virtual-package-environment/lib/python3.6/site-packages/wa/framework/target/info.py
vim virtual-package-environment/lib/python3.6/site-packages/wa/framework/version.py
but I still get the seg fault and the run.log file is very similar: [http://p.ip.fi/-Le3](url).
Also when I was editing the version.py file, it earlier had VersionTuple(1,0,0). How is that possible? my log file earlier showed Version: 3.3.1.dev1. Is something wrong? - Because I installed wa both ways - from the github repo and using python3.6 pip install
Also, I tried recreating the recent patch by changing the files:
That patch is merely a refactor, it does not change any behaviour, so the continuing segfault is expected. Please also make sure to update devlib
to the latest GitHub version as well -- the wa commit relies on a corresponding change in devlib.
Because I installed wa both ways - from the github repo and using python3.6 pip install
That is not a good idea. Please completely remove wa from you system before re-installing form github (or install in different virtualenvs).
Once you have a clean install of the latest wa and devlib from GitHub, you then should add an "adaptor" for your device and use that instead of the standard target.
Create a python file under ~/.workload_automation/plugins/
with something along the lines of
from wa import add_description_for_target
from devlib import LinuxTarget
class HostidWorkaroundTarget(LinuxTarget):
name = 'hostid_workaround'
@property
def hostid(self):
return int('deadbeef', 16)
add_description_for_target(HostidWorkaroundTarget, "Uses hard-coded host ID rather than obtaining it from the system")
(See WA documentation for details: https://workload-automation.readthedocs.io/en/latest/developer_information.html#adding-a-custom-target)
Then, set the device
to be "hostid_workaround
(or whatever you chose as the name
for your custom target) inside your config.
Hi @richidubey, I've been working on this in https://github.com/ARM-software/devlib/pull/540, linked above. When you see status switch to Merged, please try this again. I believe the segfault is caused by statically-linked glibc causing an issue in __nss_readline
.
The PR switches the C library to uClibc, which should present no such issues.
Hi @benjaminmordaunt, Around a week ago, I cloned fresh master sources of devlib and wa and installed them with python setup.py install (workload-automation at 7f0a6da8 (HEAD -> master, origin/master, origin/HEAD) build(deps): bump pyyaml from 5.3.1 to 5.4
and devlib at e7bafd6 (HEAD -> master, origin/master, origin/HEAD) version: Bump dev version ca84124 doc/target: Fix Typo
) and I did not have any issue with the hostid i.e. I did not have to make any plugin and it worked as it is. :)
Thanks for reaching out.
Describe the issue Hi, I am trying to run workload-automation with linux running on zcu102 as target. I set the following parameters in config: device: generic_linux device_config: host: '172.19.253.142' username: 'root' password: ''
but when I run wa, I get this error: (this happens for all the benchmarks that I have run)
Run Log This is my run.log:
2021-04-03 14:22:12,740 DEBUG command_li: Version: 3.3.1.dev1 2021-04-03 14:22:12,740 DEBUG command_li: devlib version: 1.3.1.dev1 2021-04-03 14:22:12,740 DEBUG command_li: Command Line: /home/rdubey/virtual-package-environment/bin/wa run idle -d out_workload/idle_1 2021-04-03 14:22:12,740 DEBUG command_li: System Encoding: UTF-8 2021-04-03 14:22:12,741 DEBUG pluginload: Discovering plugins in packages 2021-04-03 14:22:12,777 DEBUG pluginload: Checking module wa.commands 2021-04-03 14:22:12,778 DEBUG pluginload: Checking module wa.commands.create 2021-04-03 14:22:12,779 DEBUG pluginload: Adding command create 2021-04-03 14:22:12,779 DEBUG pluginload: Checking module wa.commands.list 2021-04-03 14:22:12,779 DEBUG pluginload: Adding command list 2021-04-03 14:22:12,779 DEBUG pluginload: Checking module wa.commands.process 2021-04-03 14:22:12,779 DEBUG pluginload: Adding command process 2021-04-03 14:22:12,779 DEBUG pluginload: Checking module wa.commands.report 2021-04-03 14:22:12,779 DEBUG pluginload: Adding command report 2021-04-03 14:22:12,779 DEBUG pluginload: Checking module wa.commands.revent 2021-04-03 14:22:12,779 DEBUG pluginload: Adding command record 2021-04-03 14:22:12,779 DEBUG pluginload: Adding command replay 2021-04-03 14:22:12,779 DEBUG pluginload: Checking module wa.commands.run 2021-04-03 14:22:12,780 DEBUG pluginload: Adding command run 2021-04-03 14:22:12,780 DEBUG pluginload: Checking module wa.commands.show 2021-04-03 14:22:12,780 DEBUG pluginload: Adding command show 2021-04-03 14:22:12,856 DEBUG pluginload: Checking module wa.framework.getters 2021-04-03 14:22:12,857 DEBUG pluginload: Adding resource_getter package 2021-04-03 14:22:12,857 DEBUG pluginload: Adding resource_getter user 2021-04-03 14:22:12,857 DEBUG pluginload: Adding resource_getter http 2021-04-03 14:22:12,857 DEBUG pluginload: Adding resource_getter filer 2021-04-03 14:22:12,857 DEBUG pluginload: Checking module wa.framework.target.descriptor 2021-04-03 14:22:12,857 DEBUG pluginload: Skipping target_descriptor TargetDescriptor as it does not define a name 2021-04-03 14:22:12,857 DEBUG pluginload: Adding target_descriptor devlib_targets 2021-04-03 14:22:12,857 DEBUG pluginload: Adding target_descriptor adhoc_targets 2021-04-03 14:22:12,865 DEBUG pluginload: Checking module wa.instruments 2021-04-03 14:22:12,865 DEBUG pluginload: Checking module wa.instruments.delay 2021-04-03 14:22:12,865 DEBUG pluginload: Adding instrument delay 2021-04-03 14:22:12,865 DEBUG pluginload: Checking module wa.instruments.dmesg 2021-04-03 14:22:12,865 DEBUG pluginload: Adding instrument dmesg 2021-04-03 14:22:12,866 DEBUG pluginload: Checking module wa.instruments.energy_measurement 2021-04-03 14:22:12,866 DEBUG pluginload: Skipping energy_instrument_backend EnergyInstrumentBackend as it does not define a name 2021-04-03 14:22:12,866 DEBUG pluginload: Adding energy_instrument_backend daq 2021-04-03 14:22:12,866 DEBUG pluginload: Adding energy_instrument_backend energy_probe 2021-04-03 14:22:12,866 DEBUG pluginload: Adding energy_instrument_backend arm_energy_probe 2021-04-03 14:22:12,866 DEBUG pluginload: Adding energy_instrument_backend acme_cape 2021-04-03 14:22:12,866 DEBUG pluginload: Adding energy_instrument_backend monsoon 2021-04-03 14:22:12,866 DEBUG pluginload: Adding energy_instrument_backend juno_readenergy 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument energy_measurement 2021-04-03 14:22:12,866 DEBUG pluginload: Checking module wa.instruments.fps 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument fps 2021-04-03 14:22:12,866 DEBUG pluginload: Checking module wa.instruments.hwmon 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument hwmon 2021-04-03 14:22:12,866 DEBUG pluginload: Checking module wa.instruments.misc 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument sysfs_extractor 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument execution_time 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument apk_version 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument interrupts 2021-04-03 14:22:12,866 DEBUG pluginload: Adding instrument cpufreq 2021-04-03 14:22:12,866 DEBUG pluginload: Checking module wa.instruments.perf 2021-04-03 14:22:12,867 DEBUG pluginload: Adding instrument perf 2021-04-03 14:22:12,867 DEBUG pluginload: Checking module wa.instruments.poller 2021-04-03 14:22:12,867 DEBUG pluginload: Adding instrument file_poller 2021-04-03 14:22:12,867 DEBUG pluginload: Checking module wa.instruments.proc_stat 2021-04-03 14:22:12,867 DEBUG pluginload: Adding instrument proc_stat 2021-04-03 14:22:12,867 DEBUG pluginload: Checking module wa.instruments.screencap 2021-04-03 14:22:12,867 DEBUG pluginload: Adding instrument screen_capture 2021-04-03 14:22:12,867 DEBUG pluginload: Checking module wa.instruments.serialmon 2021-04-03 14:22:12,867 DEBUG pluginload: Adding instrument serialmon 2021-04-03 14:22:12,867 DEBUG pluginload: Checking module wa.instruments.trace_cmd 2021-04-03 14:22:12,867 DEBUG pluginload: Adding instrument trace-cmd 2021-04-03 14:22:12,873 DEBUG pluginload: Checking module wa.output_processors 2021-04-03 14:22:12,874 DEBUG pluginload: Checking module wa.output_processors.cpustates 2021-04-03 14:22:12,874 DEBUG pluginload: Adding output_processor cpustates 2021-04-03 14:22:12,874 DEBUG pluginload: Checking module wa.output_processors.csvproc 2021-04-03 14:22:12,874 DEBUG pluginload: Adding output_processor csv 2021-04-03 14:22:12,874 DEBUG pluginload: Checking module wa.output_processors.postgresql 2021-04-03 14:22:12,874 DEBUG pluginload: Adding output_processor postgres 2021-04-03 14:22:12,874 DEBUG pluginload: Checking module wa.output_processors.sqlite 2021-04-03 14:22:12,874 DEBUG pluginload: Adding output_processor sqlite 2021-04-03 14:22:12,874 DEBUG pluginload: Checking module wa.output_processors.status 2021-04-03 14:22:12,874 DEBUG pluginload: Adding output_processor status 2021-04-03 14:22:12,874 DEBUG pluginload: Checking module wa.output_processors.targz 2021-04-03 14:22:12,874 DEBUG pluginload: Adding output_processor targz 2021-04-03 14:22:12,875 DEBUG pluginload: Checking module wa.output_processors.uxperf 2021-04-03 14:22:12,875 DEBUG pluginload: Adding output_processor uxperf 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.adobereader 2021-04-03 14:22:12,930 DEBUG pluginload: Adding workload adobereader 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.aitutu 2021-04-03 14:22:12,930 DEBUG pluginload: Adding workload aitutu 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.androbench 2021-04-03 14:22:12,930 DEBUG pluginload: Adding workload androbench 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.angrybirds_rio 2021-04-03 14:22:12,930 DEBUG pluginload: Adding workload angrybirds_rio 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.antutu 2021-04-03 14:22:12,930 DEBUG pluginload: Adding workload antutu 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.apache 2021-04-03 14:22:12,930 DEBUG pluginload: Adding workload apache 2021-04-03 14:22:12,930 DEBUG pluginload: Checking module wa.workloads.applaunch 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload applaunch 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.benchmarkpi 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload benchmarkpi 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.chrome 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload chrome 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.deepbench 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload deepbench 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.dhrystone 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload dhrystone 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.exoplayer 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload exoplayer 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.geekbench 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload geekbench 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload geekbench-corporate 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.gfxbench 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload gfxbench-corporate 2021-04-03 14:22:12,931 DEBUG pluginload: Checking module wa.workloads.glbenchmark 2021-04-03 14:22:12,931 DEBUG pluginload: Adding workload glbenchmark 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.gmail 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload gmail 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.googlemaps 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload googlemaps 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.googlephotos 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload googlephotos 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.googleplaybooks 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload googleplaybooks 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.googleslides 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload googleslides 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.hackbench 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload hackbench 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.homescreen 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload homescreen 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.hwuitest 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload hwuitest 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.idle 2021-04-03 14:22:12,932 DEBUG pluginload: Adding workload idle 2021-04-03 14:22:12,932 DEBUG pluginload: Checking module wa.workloads.jankbench 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload jankbench 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.lmbench 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload lmbench 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.manual 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload manual 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.meabo 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload meabo 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.memcpy 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload memcpy 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.mongoperf 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload mongoperf 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.motionmark 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload motionmark 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.openssl 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload openssl 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.pcmark 2021-04-03 14:22:12,933 DEBUG pluginload: Adding workload pcmark 2021-04-03 14:22:12,933 DEBUG pluginload: Checking module wa.workloads.recentfling 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload recentfling 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.rt_app 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload rt-app 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.shellscript 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload shellscript 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.speedometer 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload speedometer 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.stress_ng 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload stress-ng 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.sysbench 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload sysbench 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.templerun2 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload templerun2 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.the_chase 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload thechase 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.uibench 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload uibench 2021-04-03 14:22:12,934 DEBUG pluginload: Checking module wa.workloads.uibenchjanktests 2021-04-03 14:22:12,934 DEBUG pluginload: Adding workload uibenchjanktests 2021-04-03 14:22:12,935 DEBUG pluginload: Checking module wa.workloads.vellamo 2021-04-03 14:22:12,935 DEBUG pluginload: Adding workload vellamo 2021-04-03 14:22:12,935 DEBUG pluginload: Checking module wa.workloads.youtube 2021-04-03 14:22:12,935 DEBUG pluginload: Adding workload youtube 2021-04-03 14:22:12,935 DEBUG pluginload: Checking module wa.workloads.youtube_playback 2021-04-03 14:22:12,935 DEBUG pluginload: Adding workload youtube_playback 2021-04-03 14:22:12,935 DEBUG pluginload: Discovering plugins in paths 2021-04-03 14:22:12,935 DEBUG pluginload: Checking path /home/rdubey/.workload_automation/plugins 2021-04-03 14:22:12,946 DEBUG config: Creating section node 2021-04-03 14:22:12,946 DEBUG config: "id" to "global" 2021-04-03 14:22:12,946 DEBUG config: "iterations" to "1" 2021-04-03 14:22:12,947 DEBUG config: "workload_name" to "None" 2021-04-03 14:22:12,947 DEBUG config: "workload_parameters" to "None" 2021-04-03 14:22:12,947 DEBUG config: "runtime_parameters" to "None" 2021-04-03 14:22:12,947 DEBUG config: "boot_parameters" to "None" 2021-04-03 14:22:12,947 DEBUG config: "label" to "None" 2021-04-03 14:22:12,947 DEBUG config: "augmentations" to "None" 2021-04-03 14:22:12,947 DEBUG config: "flash" to "None" 2021-04-03 14:22:12,947 DEBUG config: "classifiers" to "None" 2021-04-03 14:22:12,961 DEBUG config: Parsing config from "/home/rdubey/.workload_automation/config.yaml" 2021-04-03 14:22:12,961 DEBUG config: Setting meta "user_directory" to "/home/rdubey/.workload_automation" 2021-04-03 14:22:12,961 DEBUG config: Setting meta "assets_repository" to "" 2021-04-03 14:22:12,961 DEBUG config: Setting meta "logging" to "{'color': True, 'file_format': '%(asctime)s %(levelname)-8s %(name)s: %(message)s', 'regular_format': '%(levelname)-8s %(message)s', 'verbose_format': '%(asctime)s %(levelname)-8s %(name)s: %(message)s'}" 2021-04-03 14:22:12,961 DEBUG config: Setting meta "verbosity" to "0" 2021-04-03 14:22:12,961 DEBUG config: Setting meta "default_output_directory" to "wa_output" 2021-04-03 14:22:12,961 DEBUG config: Setting run "execution_order" to "by_iteration" 2021-04-03 14:22:12,961 DEBUG config: Setting run "reboot_policy" to "as_needed" 2021-04-03 14:22:12,961 DEBUG config: Setting run "device" to "generic_linux" 2021-04-03 14:22:12,961 DEBUG config: Setting run "retry_on_status" to "['FAILED', 'PARTIAL']" 2021-04-03 14:22:12,961 DEBUG config: Setting run "max_retries" to "2" 2021-04-03 14:22:12,961 DEBUG config: Setting run "bail_on_init_failure" to "True" 2021-04-03 14:22:12,961 DEBUG config: Setting run "bail_on_job_failure" to "False" 2021-04-03 14:22:12,961 DEBUG config: Setting run "allow_phone_home" to "True" 2021-04-03 14:22:12,961 DEBUG config: Setting global "augmentations" to "toggle_set({'interrupts', 'csv', 'execution_time', 'status'})" 2021-04-03 14:22:12,961 DEBUG config: Caching "device_config" with "{'host': '172.19.253.142', 'username': 'root', 'password': ''}" 2021-04-03 14:22:12,962 DEBUG run: Using output directory: out_workload/idle_1 2021-04-03 14:22:12,962 INFO output: Creating output directory. 2021-04-03 14:22:12,982 DEBUG output: Adding artifact: run.log 2021-04-03 14:22:12,983 DEBUG config: Parsing agenda from "CMDLINE_ARGS" 2021-04-03 14:22:12,983 DEBUG config: Creating workload node 2021-04-03 14:22:12,983 DEBUG config: "id" to "wk1" 2021-04-03 14:22:12,983 DEBUG config: "workload_name" to "idle" 2021-04-03 14:22:12,983 DEBUG signal: Connecting to error-logged(<class 'louie.sender.Any'>) with priority 0
2021-04-03 14:22:12,984 DEBUG signal: Connecting to warning-logged(<class 'louie.sender.Any'>) with priority 0
2021-04-03 14:22:12,984 INFO executor: Initializing run
2021-04-03 14:22:12,984 DEBUG executor: Finalizing run configuration.
2021-04-03 14:22:12,985 INFO executor: Initializing execution context
2021-04-03 14:22:12,985 DEBUG context: Loading resource discoverers
2021-04-03 14:22:12,986 DEBUG resolver: Loading getter package
2021-04-03 14:22:12,986 DEBUG resolver: Registering "package.get" with priority "package"
2021-04-03 14:22:12,986 DEBUG resolver: Loading getter user
2021-04-03 14:22:12,986 DEBUG resolver: Registering "user.get" with priority "local"
2021-04-03 14:22:12,986 DEBUG resolver: Loading getter http
2021-04-03 14:22:12,987 DEBUG resolver: Registering "http.get" with priority "remote"
2021-04-03 14:22:12,987 DEBUG resolver: Loading getter filer
2021-04-03 14:22:12,987 DEBUG resolver: Registering "filer.get" with priority "lan"
2021-04-03 14:22:12,987 INFO executor: Connecting to target
2021-04-03 14:22:12,987 DEBUG tm: Creating generic_linux target
2021-04-03 14:22:12,997 DEBUG signal: Sending before-target-connect from <class 'louie.sender.Anonymous'>
2021-04-03 14:22:12,998 DEBUG ssh: Logging in root@172.19.253.142
2021-04-03 14:22:12,998 DEBUG ssh: Using SCP for file transfer
2021-04-03 14:22:13,095 DEBUG ssh: (sudo -n true || echo NEED_PASSWORD) 2>&1
2021-04-03 14:22:13,160 DEBUG ssh: (export LC_ALL=C && true) 2>&1
2021-04-03 14:22:13,173 DEBUG ssh: (export LC_ALL=C && pwd) 2>&1
2021-04-03 14:22:13,229 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && mkdir -p /home/root/devlib-target) 2>&1
2021-04-03 14:22:13,249 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && mkdir -p /home/root/devlib-target/bin) 2>&1
2021-04-03 14:22:13,262 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && uname -m) 2>&1
2021-04-03 14:22:13,321 DEBUG ssh: Pushing via scp: ['/home/rdubey/virtual-package-environment/lib/python3.6/site-packages/devlib-1.3.1.dev1-py3.6.egg/devlib/bin/arm64/busybox'] -> /home/root/devlib-target/bin/busybox
2021-04-03 14:22:14,004 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && chmod a+x /home/root/devlib-target/bin/busybox) 2>&1
2021-04-03 14:22:14,082 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /proc/cpuinfo) 2>&1
2021-04-03 14:22:14,095 DEBUG ssh: (id) 2>&1
2021-04-03 14:22:14,113 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && ls /) 2>&1
2021-04-03 14:22:14,129 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && if [ -e /proc/device-tree/model ]; then echo 1; else echo 0; fi) 2>&1
2021-04-03 14:22:14,141 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /proc/device-tree/model) 2>&1
2021-04-03 14:22:14,197 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && if [ -e /sys/devices/system/cpu/cpu1/online ]; then echo 1; else echo 0; fi) 2>&1
2021-04-03 14:22:14,209 DEBUG LinuxTarge: Installing module hotplug
2021-04-03 14:22:14,209 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && if [ -e /sys/devices/system/cpu/cpufreq/policy0 ]; then echo 1; else echo 0; fi) 2>&1
2021-04-03 14:22:14,221 DEBUG LinuxTarge: Installing module cpufreq
2021-04-03 14:22:14,221 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && if [ -e /sys/devices/system/cpu/cpuidle ]; then echo 1; else echo 0; fi) 2>&1
2021-04-03 14:22:14,273 DEBUG LinuxTarge: Installing module cpuidle
2021-04-03 14:22:14,275 DEBUG ssh: Pushing via scp: ['/tmp/tmpelnbya3n/shutils'] -> /home/root/devlib-target/bin/shutils
2021-04-03 14:22:14,470 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && chmod a+x /home/root/devlib-target/bin/shutils) 2>&1
2021-04-03 14:22:14,552 DEBUG ssh: (/home/root/devlib-target/bin/shutils read_tree_values /sys/devices/system/cpu/ 4) 2>&1
2021-04-03 14:22:14,625 DEBUG cpuidle: Adding cpuidle states:
2021-04-03 14:22:14,625 DEBUG cpuidle: {}
2021-04-03 14:22:14,625 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && ls -1 /sys/class/hwmon) 2>&1
2021-04-03 14:22:14,641 DEBUG LinuxTarge: Installing module hwmon
2021-04-03 14:22:14,641 DEBUG ssh: (/home/root/devlib-target/bin/shutils read_tree_tgz_b64 /sys/class/hwmon 3 /home/root/devlib-target) 2>&1
2021-04-03 14:25:19,363 DEBUG hwmon: Adding device max20751
2021-04-03 14:25:19,364 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon0/curr1_label) 2>&1
2021-04-03 14:25:19,378 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon0/in2_label) 2>&1
2021-04-03 14:25:19,393 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon0/power1_label) 2>&1
2021-04-03 14:25:19,405 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon0/in1_label) 2>&1
2021-04-03 14:25:19,461 DEBUG hwmon: Adding device max20751
2021-04-03 14:25:19,461 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon1/curr1_label) 2>&1
2021-04-03 14:25:19,473 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon1/in2_label) 2>&1
2021-04-03 14:25:19,489 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon1/power1_label) 2>&1
2021-04-03 14:25:19,545 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/class/hwmon/hwmon1/in1_label) 2>&1
2021-04-03 14:25:19,556 DEBUG hwmon: Adding device ina226_u15
2021-04-03 14:25:19,557 DEBUG hwmon: Adding device ina226_u92
2021-04-03 14:25:19,557 DEBUG hwmon: Adding device ina226_u79
2021-04-03 14:25:19,557 DEBUG hwmon: Adding device ina226_u81
2021-04-03 14:25:19,557 DEBUG hwmon: Adding device ina226_u80
2021-04-03 14:25:19,557 DEBUG hwmon: Adding device ina226_u84
2021-04-03 14:25:19,558 DEBUG hwmon: Adding device ina226_u16
2021-04-03 14:25:19,558 DEBUG hwmon: Adding device ina226_u65
2021-04-03 14:25:19,558 DEBUG hwmon: Adding device ina226_u74
2021-04-03 14:25:19,558 DEBUG hwmon: Adding device ina226_u75
2021-04-03 14:25:19,558 DEBUG hwmon: Adding device ina226_u76
2021-04-03 14:25:19,558 DEBUG hwmon: Adding device ina226_u77
2021-04-03 14:25:19,559 DEBUG hwmon: Adding device ina226_u78
2021-04-03 14:25:19,559 DEBUG hwmon: Adding device ina226_u87
2021-04-03 14:25:19,559 DEBUG hwmon: Adding device ina226_u85
2021-04-03 14:25:19,559 DEBUG hwmon: Adding device ina226_u86
2021-04-03 14:25:19,559 DEBUG hwmon: Adding device ina226_u93
2021-04-03 14:25:19,560 DEBUG hwmon: Adding device ina226_u88
2021-04-03 14:25:19,560 DEBUG signal: Sending successful-target-connect from <class 'louie.sender.Anonymous'>
2021-04-03 14:25:19,560 DEBUG signal: Sending after-target-connect from <class 'louie.sender.Anonymous'>
2021-04-03 14:25:19,560 INFO tm: Setting up target
2021-04-03 14:25:19,562 DEBUG ssh: Pushing via scp: ['/tmp/tmph5ghp3_g/shutils'] -> /home/root/devlib-target/bin/shutils
2021-04-03 14:25:19,863 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && chmod a+x /home/root/devlib-target/bin/shutils) 2>&1
2021-04-03 14:25:19,978 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && if [ -e /proc/cgroups ]; then echo 1; else echo 0; fi) 2>&1
2021-04-03 14:25:19,987 DEBUG LinuxTarge: Installing module cgroups
2021-04-03 14:25:19,987 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && /home/root/devlib-target/bin/busybox cat /proc/cgroups) 2>&1
2021-04-03 14:25:19,997 DEBUG signal: Sending warning-logged from <ErrorSignalHandler (DEBUG)>
2021-04-03 14:25:19,997 DEBUG signal: Disconnecting from warning-logged(<class 'louie.sender.Any'>)
2021-04-03 14:25:19,997 WARNING CGroups: No CGroups controller available
2021-04-03 14:25:19,998 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && mkdir -p /home/root/devlib-target/.file-cache) 2>&1
2021-04-03 14:25:20,053 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/devices/system/cpu/online) 2>&1
2021-04-03 14:25:20,065 DEBUG ssh: (/home/root/devlib-target/bin/shutils hotplug_online_all) 2>&1
2021-04-03 14:25:20,098 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && ls /sys/devices/system/cpu) 2>&1
2021-04-03 14:25:20,113 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/devices/system/cpu/cpu0/cpufreq/related_cpus) 2>&1
2021-04-03 14:25:20,169 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/devices/system/cpu/online) 2>&1
2021-04-03 14:25:20,181 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies) 2>&1
2021-04-03 14:25:20,193 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors) 2>&1
2021-04-03 14:25:20,207 DEBUG ssh: (/home/root/devlib-target/bin/shutils get_linux_system_id) 2>&1
2021-04-03 14:25:20,238 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && ls /etc/-release /etc-version /etc/_release /etc/_version 2>/dev/null) 2>&1
2021-04-03 14:25:20,301 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && /home/root/devlib-target/bin/busybox uname -r -v) 2>&1
2021-04-03 14:25:20,313 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && zcat /proc/config.gz) 2>&1
2021-04-03 14:25:20,369 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && cat /sys/kernel/debug/sched_features) 2>&1
2021-04-03 14:25:20,393 DEBUG ssh: (export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && /home/root/devlib-target/bin/busybox hostid) 2>&1
2021-04-03 14:25:20,409 DEBUG signal: Sending error-logged from <ErrorSignalHandler (DEBUG)>
2021-04-03 14:25:20,409 DEBUG signal: Disconnecting from error-logged(<class 'louie.sender.Any'>)
2021-04-03 14:25:20,409 ERROR executor: Got exit code 139
2021-04-03 14:25:20,409 ERROR executor: from: export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && /home/root/devlib-target/bin/busybox hostid
2021-04-03 14:25:20,409 ERROR executor: OUTPUT: sh: line 1: 962 Segmentation fault /home/root/devlib-target/bin/busybox hostid
2021-04-03 14:25:20,409 ERROR executor:
2021-04-03 14:25:20,411 INFO executor: Done.
2021-04-03 14:25:20,411 INFO executor: Run duration: N/A
2021-04-03 14:25:20,411 INFO executor: Ran a total of 0 iterations:
2021-04-03 14:25:20,411 INFO executor: Results can be found in out_workload/idle_1
2021-04-03 14:25:20,411 DEBUG signal: Sending warning-logged from <ErrorSignalHandler (DEBUG)>
2021-04-03 14:25:20,411 WARNING executor: There were errors during execution.
2021-04-03 14:25:20,412 DEBUG signal: Sending warning-logged from <ErrorSignalHandler (DEBUG)>
2021-04-03 14:25:20,412 WARNING executor: Please see out_workload/idle_1/run.log
2021-04-03 14:25:20,412 DEBUG signal: Sending run-completed from executor
2021-04-03 14:25:20,412 DEBUG ssh: Logging out root@172.19.253.142
Other comments (optional)
The linux that runs on zcu102 board (ARM arch) is booted via uboot and was built via yocto project.
Thanks!