Wind River Support Network

HomeDefectsCGP8-164
Not to be fixed

CGP8-164 : [CUT] kexec basic test failed on cav-octeon3

Created: Feb 15, 2016    Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Problem Description
======================
[CUT] kexec basic test failed on cav-octeon3.

Logs
======================
root@octeon3:~# cd /opt/cut/
root@octeon3:/opt/cut# ./cgl_test.sh -e kexec-test.sh
==============================================================
          Networking CGL5.0 Registration Test Suite           
==============================================================
kexec basic test*** buffer overflow detected ***: kexec terminated
                                                                     [  FAIL  ]
=============================================================
                 Testcase execution completed
=============================================================
Passed  : 0
Failed  : 1
Not run : 0
-------
Total   : 1

root@octeon3:/opt/cut# cat testlog-Feb-15-16-09:16.log

----------------------------------------
Start testcase  kexec basic test
----------------------------------------
Testing kexec, this test will reboot your target(rebooting indicate PASS)....: /boot
vmlinux
my_load:667: do
/opt/cut/script/kexec-test.sh: line 66: 22119 Aborted                 kexec -l $kernel --append="`cat /proc/cmdline`"
****************************************
Automatic kexec failed.
Manual execution required.
----------------------------------------
1. load the kernel to kexec into
   > kexec -l <kernel> --append="\'cat /proc/cmdline`"
2. execute the kernel
   > kexec -e
If successful, the new kernel will start without
the target having to reboot through the BIOS.
****************************************
Error step : test failed
Test Result : [ FAILED ]
kexec basic test

Expected Behavior
======================
No fail exists.

Workaround

N/A

Steps to Reproduce

On host:

(1) # /lpg-build/cdc/fast_prod/wrlinux80/WRL80_GIT/wrlinux-8/wrlinux/configure --enable-board=cav-octeon3 --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-template=feature/cut --enable-reconfig=yes
(2) # make fs           

On target:
(1) # cd /opt/cut/
(2) # ./cgl_test.sh -e kexec-test.sh
(3) # cat testlog**
Live chat
Online