question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keep getting busybox segmentation fault when running with generic_linux

See original GitHub issue

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)

wa run idle -d out_workload/idle_1
INFO     Creating output directory.
INFO     Initializing run
INFO     Initializing execution context
INFO     Connecting to target
INFO     Setting up target
WARNING  No CGroups controller available
ERROR    Got exit code 139
ERROR    from: export PATH=/home/root/devlib-target/bin:$PATH && export LC_ALL=C && /home/root/devlib-target/bin/busybox hostid
ERROR    OUTPUT: sh: line 1:   962 Segmentation fault      /home/root/devlib-target/bin/busybox hostid
ERROR    
INFO     Done.
INFO     Run duration: N/A
INFO     Ran a total of 0 iterations: 
INFO     Results can be found in out_workload/idle_1

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 <bound method Executor._error_signalled_callback of executor> to error-logged(<class ‘louie.sender.Any’>) with priority 0 2021-04-03 14:22:12,984 DEBUG signal: Connecting <bound method Executor._warning_signalled_callback of executor> 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 <bound method Executor._warning_signalled_callback of executor> 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 <bound method Executor._error_signalled_callback of executor> 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!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
benjaminmordauntcommented, Apr 15, 2021

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.

1reaction
richidubeycommented, Apr 19, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

725674 – busybox in initramfs when build ... - Gentoo's Bugzilla
The busybox binary integrated in the initramfs generated with genkernel does a segmentation fault when executed during boot or by its self ...
Read more >
Booting "Segmentation fault" after updating initrd.img-* files for ...
I use Xubuntu 8.04. install its "/" and swap on LVM over RAID0. After excute "sudo apt-get dist-upgrade" at November 12, 2008 (china...
Read more >
[LX] busybox Segmentation Fault · Issue #526 - GitHub
This is failing because the application is attempting to execute code on the stack. From the system's console:
Read more >
Segmentation Fault
Hello Friends When I am running busybox I get the message segmentation fault. I am using "armv6l-unknown-linux-uclibc-gcc" compiled by the guide line
Read more >
Segmentation fault (core dumped) - linux kernel problem
The problem is in linux kernel - linux-image-3.13.0-121-generic (in Trusty) and linux-image-4.4.0-81-generic (in Xenial) contains a fix for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found