Update pipeline log path

This commit is contained in:
Vivek Kumar Dutta 2023-04-15 21:48:47 +05:30
parent 2d4a2a7f41
commit 5f488a0b3d
5 changed files with 24 additions and 18 deletions

View file

@ -104,7 +104,7 @@ run_bbfd_functional_test:
paths:
- funl-result.log
- funl-test-coverage.xml
- memory-report.xml
- /tmp/memory-report.xml
- timestamp.log
- report/

View file

@ -1,5 +1,8 @@
title: "DOCS"
title: "Datamodel Daemon and library"
nav:
- "arch"
- "api"
- "spec"
- "guide"
- "..."

View file

@ -62,7 +62,7 @@ gcovr -r .
date +%s > timestamp.log
echo "Checking memory leaks..."
grep -q "Leak" memory-report.xml
grep -q "Leak" /tmp/memory-report.xml
error_on_zero $?
if [ "${fault}" -ne 0 ]; then

View file

@ -15,24 +15,27 @@ install_libbbf ${1}
#compile and install libbbf_test dynamic extension library
install_libbbf_test ${1}
git clone -b devel --depth 1 https://dev.iopsys.eu/feed/iopsys.git /opt/dev/iopsys
git clone -b devel --depth 1 https://dev.iopsys.eu/bbf/bulkdata.git /opt/dev/bulkdata
# Install datamodel plugins only when pipeline trigger for bbfdm
if [ -z "${1}" ]; then
git clone -b devel --depth 1 https://dev.iopsys.eu/feed/iopsys.git /opt/dev/iopsys
git clone -b devel --depth 1 https://dev.iopsys.eu/bbf/bulkdata.git /opt/dev/bulkdata
cp -f /opt/dev/iopsys/urlfilter/files/etc/bbfdm/json/urlfilter.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/obuspa/files/etc/bbfdm/json/USPAgent.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/obuspa/files/etc/bbfdm/json/TransferComplete.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/icwmp/files/etc/bbfdm/json/CWMPManagementServer.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/ponmngr/files/etc/bbfdm/json/xpon.json /etc/bbfdm/json
cp -f /opt/dev/bulkdata/bbf_plugin/bulkdata.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/urlfilter/files/etc/bbfdm/json/urlfilter.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/obuspa/files/etc/bbfdm/json/USPAgent.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/obuspa/files/etc/bbfdm/json/TransferComplete.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/icwmp/files/etc/bbfdm/json/CWMPManagementServer.json /etc/bbfdm/json
cp -f /opt/dev/iopsys/ponmngr/files/etc/bbfdm/json/xpon.json /etc/bbfdm/json
cp -f /opt/dev/bulkdata/bbf_plugin/bulkdata.json /etc/bbfdm/json
# install usermngr plugin
install_libusermngr
# install usermngr plugin
install_libusermngr
# install periodicstats plugin
install_libperiodicstats
# install periodicstats plugin
install_libperiodicstats
# install cwmpdm plugin
install_libcwmpdm
# install cwmpdm plugin
install_libcwmpdm
fi
ls /usr/lib/bbfdm/
ls /etc/bbfdm/json/

View file

@ -17,4 +17,4 @@ autorestart=false
numprocs_start=2
startretries=0
priority=3
command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/builds/bbf/bbfdm/memory-report.xml --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 --track-origins=yes --leak-resolution=high --show-error-list=yes --child-silent-after-fork=yes /usr/sbin/bbfdmd"
command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/tmp/memory-report.xml --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 --track-origins=yes --leak-resolution=high --show-error-list=yes --child-silent-after-fork=yes /usr/sbin/bbfdmd"