rdkcentral / ut-core

Unit Test - Core Framework
Apache License 2.0
4 stars 0 forks source link

PR: gh#128 : Adding a script to compare the functions #131

Closed kanjoe24 closed 1 week ago

kanjoe24 commented 2 weeks ago

A script file is being added, which will run as part of makefile that will display information if there are no tests available in test suite for a function present in header file

kanjoe24 commented 2 weeks ago

logs from device settings:

Generating lib [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/framework/ut-control/build/linux/lib/libut_control.so]
make[3]: Leaving directory '/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/framework/ut-control'
make[2]: Leaving directory '/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/framework/ut-control'
Framework downloaded and built
make[2]: Entering directory '/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [linux]
COMPILER [ gcc -ggdb -o0 -Wall]
VARIANT [C]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/framework/CUnit-2.1-3/CUnit/Sources/Framework/TestRun.c]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/src/c_source/cunit_lgpl/ut_automated.c]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/src/c_source/cunit_lgpl/ut_basic.c]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/src/c_source/cunit_lgpl/ut_console.c]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/src/c_source/ut_cunit.c]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/src/ut_kvp_profile.c]
Building [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core/src/ut_main.c]
Linking test /home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/build/linux/obj/hal_test
make[2]: Leaving directory '/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core'
ut-control LIB Copied to [/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/bin]
*******************************************************************************
  ** Function 'dsGetHdmiVersion' is NOT found in ANY object file! **
*******************************************************************************
*******************************************************************************
  ** Function 'dsGetAllmEnabled' is NOT found in ANY object file! **
*******************************************************************************
*******************************************************************************
  ** Function 'dsSetAllmEnabled' is NOT found in ANY object file! **
*******************************************************************************
make[1]: Leaving directory '/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut/ut-core'
make: Leaving directory '/home/jpn323/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu/ut'
jpn323@janus ~/workspace/gh128-compare-script/scripts/rdk-halif-device_settings-ubuntu (main)$ 
kanjoe24 commented 2 weeks ago

Logs from ARM build

@rdk-dunfell rdk-halif-device_settings (develop)$ ./build_ut.sh TARGET=arm
ut-core version selected:[3.2.4]
--- New Version of ut-core released [4.1.0] consider upgrading ---
make: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut'
TARGET [arm]
UT [build]
make -C ./ut-core TARGET=arm
make[1]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [arm]
COMPILER [arm-oe-linux-gnueabi-gcc  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/toolchains/rdk-glibc-x86_64-arm-toolchain/sysroots/armv7at2hf-neon-oe-linux-gnueabi]
VARIANT [C]
Ensure ut-core frameworks are present
TARGET= [arm] from [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/build.sh]
VARIANT= [C] from [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/build.sh]
Framework ut-control already exists
ut-control version selected:[1.6.0]
Third party libraries are built for arm
Completed
Entering ut-control [TARGET=arm]
make[2]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
Building [libut_control.so]
TARGET [arm]
Ensure ut-control framework is present
[/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control/configure.sh] TARGET [arm]
Framework [asprintf] already exists
Framework [libfyaml] already exists
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control
CMake is installed
openssl.pc not found
libssl.a not found
libcrypto.a not found
libcurl.a not found
curl.h not found
Framework [libwebsockets] already exists
Framework [libwebsockets] already built for arm
Framework [openssl] already exists
Framework [openssl] already built for arm
Framework [curl] already exists
Framework [curl] already built for arm
make lib
make[3]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
Building [libut_control.so]
TARGET [arm]
Generating lib [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control/build/arm/lib/libut_control.so]
make[3]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
Framework downloaded and built
make[2]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [arm]
COMPILER [arm-oe-linux-gnueabi-gcc  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/toolchains/rdk-glibc-x86_64-arm-toolchain/sysroots/armv7at2hf-neon-oe-linux-gnueabi]
VARIANT [C]
Linking test /home/jpn323/workspace/rdk-halif-device_settings/ut/build/arm/obj/hal_test
cp /home/jpn323/workspace/rdk-halif-device_settings/ut/libs/*.so* /home/jpn323/workspace/rdk-halif-device_settings/ut/bin
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
ut-control LIB Copied to [/home/jpn323/workspace/rdk-halif-device_settings/ut/bin]
***************************************************************************************
  ** Function 'dsGetHdmiVersion' is NOT found in ANY object file on target arm! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsGetAllmEnabled' is NOT found in ANY object file on target arm! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsSetAllmEnabled' is NOT found in ANY object file on target arm! **
***************************************************************************************
make[1]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
make: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut'
kanjoe24 commented 2 weeks ago

Logs from linux build:

develop)$ ./build_ut.sh 
ut-core version selected:[3.2.4]
--- New Version of ut-core released [4.1.0] consider upgrading ---
make: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut'
TARGET NOT SET 
TARGET FORCED TO Linux
TARGET [linux]
UT [build]
make -C ./ut-core TARGET=linux
make[1]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [linux]
COMPILER [ gcc -ggdb -o0 -Wall]
VARIANT [C]
Ensure ut-core frameworks are present
TARGET= [linux] from [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/build.sh]
VARIANT= [C] from [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/build.sh]
Framework ut-control already exists
ut-control version selected:[1.6.0]
Third party libraries are built for linux
Completed
Entering ut-control [TARGET=linux]
make[2]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
Building [libut_control.so]
TARGET [linux]
Ensure ut-control framework is present
[/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control/configure.sh] TARGET [linux]
Framework [asprintf] already exists
Framework [libfyaml] already exists
~/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control ~/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control
CMake is installed
openssl.pc, libssl.a, and libcrypto.a are found for linux.
libcurl.a not found
curl.h not found
Framework [libwebsockets] already exists
Framework [libwebsockets] already built for linux
Framework [curl] already exists
Framework [curl] already built for linux
make lib
make[3]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
Building [libut_control.so]
TARGET [linux]
Generating lib [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control/build/linux/lib/libut_control.so]
make[3]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/framework/ut-control'
Framework downloaded and built
make[2]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [linux]
COMPILER [ gcc -ggdb -o0 -Wall]
VARIANT [C]
Linking test /home/jpn323/workspace/rdk-halif-device_settings/ut/build/linux/obj/hal_test
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
ut-control LIB Copied to [/home/jpn323/workspace/rdk-halif-device_settings/ut/bin]
***************************************************************************************
  ** Function 'dsGetHdmiVersion' is NOT found in ANY object file on target linux! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsGetAllmEnabled' is NOT found in ANY object file on target linux! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsSetAllmEnabled' is NOT found in ANY object file on target linux! **
***************************************************************************************
make[1]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
kanjoe24 commented 2 weeks ago

Note : Observed that the build time increases by about 2 mins when built for arm.

kanjoe24 commented 2 weeks ago

Logs for both linux and arm after changes:

Screenshot 2024-11-18 at 11 23 19 Screenshot 2024-11-18 at 11 27 04

Ulrond commented 2 weeks ago

Move from

***************************************************************************************
  ** Function 'dsGetHdmiVersion' is NOT found in ANY object file on target linux! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsGetAllmEnabled' is NOT found in ANY object file on target linux! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsSetAllmEnabled' is NOT found in ANY object file on target linux! **
***************************************************************************************

to

** Warning: Function 'dsGetHdmiVersion()' is NOT found on target linux! **
** Warning: Function 'dsGetAllmEnabled()' is NOT found on target linux! **
** Warning: Function 'dsSetAllmEnabled()' is NOT found on target linux! **
kanjoe24 commented 2 weeks ago

Move from

***************************************************************************************
  ** Function 'dsGetHdmiVersion' is NOT found in ANY object file on target linux! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsGetAllmEnabled' is NOT found in ANY object file on target linux! **
***************************************************************************************
***************************************************************************************
  ** Function 'dsSetAllmEnabled' is NOT found in ANY object file on target linux! **
***************************************************************************************

to

** Warning: Function 'dsGetHdmiVersion()' is NOT found on target linux! **
** Warning: Function 'dsGetAllmEnabled()' is NOT found on target linux! **
** Warning: Function 'dsSetAllmEnabled()' is NOT found on target linux! **

Logs with changes:

cp /home/jpn323/workspace/rdk-halif-device_settings/ut/libs/*.so* /home/jpn323/workspace/rdk-halif-device_settings/ut/bin
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
ut-control LIB Copied to [/home/jpn323/workspace/rdk-halif-device_settings/ut/bin]
  ** Warning Function 'dsGetHdmiVersion' is NOT found on target arm! **
  ** Warning Function 'dsGetAllmEnabled' is NOT found on target arm! **
  ** Warning Function 'dsSetAllmEnabled' is NOT found on target arm! **
make[1]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
Linking test /home/jpn323/workspace/rdk-halif-device_settings/ut/build/linux/obj/hal_test
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
ut-control LIB Copied to [/home/jpn323/workspace/rdk-halif-device_settings/ut/bin]
  ** Warning Function 'dsGetHdmiVersion' is NOT found on target linux! **
  ** Warning Function 'dsGetAllmEnabled' is NOT found on target linux! **
  ** Warning Function 'dsSetAllmEnabled' is NOT found on target linux! **
make[1]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core'
make: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut'
kanjoe24 commented 2 weeks ago

ut-core release script results

./release-test-script-ut-core.sh -t feature/gh128-compare-script
UT_CORE_BRANCH_NAME = feature/gh128-compare-script
UT_CONTROL_BRANCH_NAME = 
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS 
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for kirkstone_arm 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for kirkstone_linux 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
kanjoe24 commented 2 weeks ago

platform release script results with ./build_ut.sh TARGET=$TARGET

./release-test-script-platform.sh -t feature/gh128-compare-script
UT_CORE_BRANCH_NAME = feature/gh128-compare-script
UT_CONTROL_BRANCH_NAME = 
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
Hal binary does not exist. FAIL 
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for VM-SYNC 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
Hal binary does not exist. FAIL 
CURL static lib does not exist. FAIL 
Openssl static lib does not exist. FAIL 
CMake host binary does not exist. FAIL 
==========================================================
==========================================================
RESULTS for dunfell_arm 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for dunfell_linux 
Branch is not switched. FAIL
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
Hal binary does not exist. FAIL 
CURL static lib does not exist. PASS 
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for kirkstone_arm 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for kirkstone_linux 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_linux
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================

platform release script results with ./build_ut.sh for linux and ./build_ut.sh TARGET=arm on arm

./release-test-script-platform.sh -t feature/gh128-compare-script
UT_CORE_BRANCH_NAME = feature/gh128-compare-script
UT_CONTROL_BRANCH_NAME = 
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for VM-SYNC 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS 
ut/ut-core/framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS 
==========================================================
==========================================================
RESULTS for dunfell_arm 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for dunfell_linux 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
ut/bin/hal_test exists. PASS
CURL static lib does not exist. PASS 
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for kirkstone_arm 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for kirkstone_linux 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_linux
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
kanjoe24 commented 2 weeks ago

platform release script results with ./build_ut.sh for linux and ./build_ut.sh TARGET=arm for arm:

./release-test-script-platform.sh -t feature/gh128-compare-script
UT_CORE_BRANCH_NAME = feature/gh128-compare-script
UT_CONTROL_BRANCH_NAME = 
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for VM-SYNC 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS 
ut/ut-core/framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS 
==========================================================
==========================================================
RESULTS for dunfell_arm 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for dunfell_linux 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
ut/bin/hal_test exists. PASS
CURL static lib does not exist. PASS 
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for kirkstone_arm 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
==========================================================
==========================================================
RESULTS for kirkstone_linux 
On the branch feature/gh128-compare-script
            . PASS
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_linux
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
==========================================================

ut-core release script results:

./release-test-script-ut-core.sh -t feature/gh128-compare-script
UT_CORE_BRANCH_NAME = feature/gh128-compare-script
UT_CONTROL_BRANCH_NAME = 
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS 
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for kirkstone_arm 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS 
CMake host binary does not exist. PASS 
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for kirkstone_linux 
On the branch feature/gh128-compare-script
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS 
CMake host binary does not exist. PASS 
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
kanjoe24 commented 1 week ago

latest logs on arm:

make[5]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control/framework/arm/curl/curl-8.8.0'
make[4]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control/framework/arm/curl/curl-8.8.0'
make[3]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control/framework/arm/curl/curl-8.8.0'
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control/framework/arm/curl/curl-8.8.0'
Completed
Entering ut-control [TARGET=arm]
make[2]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control'
Building [libut_control.so]
TARGET [arm]
Ensure ut-control framework is present
[/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control/configure.sh] TARGET [arm]
Framework [asprintf] already exists
Framework [libfyaml] already exists
/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control
CMake is installed
openssl.pc not found
libssl.a not found
libcrypto.a not found
libcurl.a not found
curl.h not found
Framework [libwebsockets] already exists
Framework [libwebsockets] already built for arm
Framework [openssl] already exists
Framework [openssl] already built for arm
Framework [curl] already exists
Framework [curl] already built for arm
make lib
make[3]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control'
Building [libut_control.so]
TARGET [arm]
Building [framework/arm/libfyaml-master/src/lib/fy-doc.c]
Building [framework/arm/libfyaml-master/src/lib/fy-emit.c]
Building [framework/arm/libfyaml-master/src/lib/fy-path.c]
Building [framework/arm/libfyaml-master/src/lib/fy-event.c]
Building [framework/arm/libfyaml-master/src/lib/fy-accel.c]
Building [framework/arm/libfyaml-master/src/lib/fy-atom.c]
Building [framework/arm/libfyaml-master/src/lib/fy-walk.c]
Building [framework/arm/libfyaml-master/src/lib/fy-dump.c]
Building [framework/arm/libfyaml-master/src/lib/fy-diag.c]
Building [framework/arm/libfyaml-master/src/lib/fy-token.c]
Building [framework/arm/libfyaml-master/src/lib/fy-input.c]
Building [framework/arm/libfyaml-master/src/lib/fy-parse.c]
framework/arm/libfyaml-master/src/lib/fy-parse.c: In function ‘fy_reader_fetch_flow_scalar_handle’:
framework/arm/libfyaml-master/src/lib/fy-parse.c:3881:55: warning: ‘cc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 3881 |                                                 lastc = (int)cc;
      |                                                 ~~~~~~^~~~~~~~~
Building [framework/arm/libfyaml-master/src/lib/fy-composer.c]
Building [framework/arm/libfyaml-master/src/lib/fy-docbuilder.c]
Building [framework/arm/libfyaml-master/src/lib/fy-docstate.c]
Building [framework/arm/libfyaml-master/src/lib/fy-types.c]
Building [framework/arm/libfyaml-master/src/thread/fy-thread.c]
Building [framework/arm/libfyaml-master/src/util/fy-utf8.c]
Building [framework/arm/libfyaml-master/src/util/fy-utils.c]
Building [framework/arm/libfyaml-master/src/util/fy-blob.c]
Building [framework/arm/libfyaml-master/src/util/fy-ctype.c]
Building [framework/arm/libfyaml-master/src/xxhash/xxhash.c]
Building [framework/arm/asprintf/asprintf.c-master/asprintf.c]
Building [src/ut_log.c]
Building [src/ut_control_plane.c]
Building [src/ut_kvp.c]
Generating lib [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control/build/arm/lib/libut_control.so]
make[3]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control'
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/ut-control'
Framework downloaded and built
make[2]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [arm]
COMPILER [arm-oe-linux-gnueabi-gcc  -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/toolchains/rdk-glibc-x86_64-arm-toolchain/sysroots/armv7vet2hf-neon-oe-linux-gnueabi]
VARIANT [C]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/main.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/test_l1_hdmi_cec_driver.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/test_l2_hdmi_cec_sink_driver.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/test_l2_hdmi_cec_source_driver.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/test_l3_hdmi_cec_driver.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/test_register.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/src/test_vcomponent.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/CUnit-2.1-3/CUnit/Sources/Framework/CUError.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/CUnit-2.1-3/CUnit/Sources/Framework/MyMem.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/CUnit-2.1-3/CUnit/Sources/Framework/TestDB.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/CUnit-2.1-3/CUnit/Sources/Framework/TestRun.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/framework/CUnit-2.1-3/CUnit/Sources/Framework/Util.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/src/c_source/cunit_lgpl/ut_automated.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/src/c_source/cunit_lgpl/ut_basic.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/src/c_source/cunit_lgpl/ut_console.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/src/c_source/ut_cunit.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/src/ut_kvp_profile.c]
Building [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core/src/ut_main.c]
Linking test /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/build/arm/obj/hal_test
cp /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/libs/*.so* /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/bin
make[2]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core'
ut-control LIB Copied to [/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/bin]
make[1]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core'
make -C ./ut-core test TARGET=arm
make[1]: Entering directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core'
TARGET_EXEC [hal_test]
TARGET [arm]
COMPILER [arm-oe-linux-gnueabi-gcc  -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/toolchains/rdk-glibc-x86_64-arm-toolchain/sysroots/armv7vet2hf-neon-oe-linux-gnueabi]
VARIANT [C]
Linking test /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/build/arm/obj/hal_test
cp /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/libs/*.so* /home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/bin
make[1]: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut/ut-core'
make: Leaving directory '/home/jpn323/workspace/rdk-halif-device_settings/ut/ut-core/scripts/rdk-halif-hdmi_cec-kirkstone_arm/ut'
@rdk-kirkstone rdk-halif-hdmi_cec-kirkstone_arm (main)$ 
@rdk-kirkstone rdk-halif-hdmi_cec-kirkstone_arm (main)$