Wind River Support Network

HomeDefectsLIN6-6427
Not to be fixed

LIN6-6427 : Oprofile PTEST failure for libops libutf-8.sh on qemuppc on 32bit #36-Ubuntu

Created: Dec 9, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Workbench Integration

Description

One  ptest failure in reported for a utf-8 test for oprofile on qemuppc on 32bit #35-ubuntu hoss.
PASS: libdb/tests db_test
PASS: libop/tests alloc_counter_tests
PASS: libop/tests cpu_type_tests
PASS: libop/tests load_events_files_tests
PASS: libop/tests mangle_tests
PASS: libop/tests parse_event_tests
FAIL: libop/tests/utf8_checker.sh
PASS: libregex/tests java_test
PASS: libregex/tests regex_test
PASS: libutil++/tests cached_value_tests
PASS: libutil++/tests comma_list_tests
PASS: libutil++/tests file_manip_tests
PASS: libutil++/tests glob_filter_tests
PASS: libutil++/tests path_filter_tests
PASS: libutil++/tests string_filter_tests
PASS: libutil++/tests string_manip_tests
PASS: libutil++/tests utility_tests
PASS: libutil/tests file_tests
PASS: libutil/tests string_tests

Steps to Reproduce

configure --enable-kernel=standard --enable-rootfs=glibc-small \
--enable-board=qemuppc  --enable-build=profiling \
--enable-prserver=no \
--with-template=feature/analysis,feature/debug,feature/ptest

Modify the local.conf as shown below to enable PTEST for oprofile

diff --git a/bitbake_build/conf/local.conf b/bitbake_build/conf/local.conf
index 155639a..235bfe2 100644
--- a/bitbake_build/conf/local.conf
+++ b/bitbake_build/conf/local.conf
@@ -222,3 +222,5 @@ require ${WRL_TOP_BUILD_DIR}/layers/wr-base/templates/default/template.conf
 require ${WRL_TOP_BUILD_DIR}/layers/wr-tools-debug/templates/default/template.conf
 require ${WRL_TOP_BUILD_DIR}/layers/wr-tools-profile/templates/feature/analysis/template.conf
 require ${WRL_TOP_BUILD_DIR}/layers/wr-base/templates/feature/ptest/template.conf
+DISTRO_FEATURES_append_pn-oprofile = " ptest"
+EXTRA_IMAGE_FEATURES_append += " ptest-pkgs"
 
make fs

Run the tests, replacing $LIB as required for multilibs
cd /usr/$LIB/oprofile/ptest
./run-ptest
Live chat
Online