Skip to content

test pr#199

Open
madhubabutt wants to merge 1 commit into
developfrom
feature/testor2
Open

test pr#199
madhubabutt wants to merge 1 commit into
developfrom
feature/testor2

Conversation

@madhubabutt

Copy link
Copy Markdown
Contributor

No description provided.

@madhubabutt
madhubabutt requested a review from a team as a code owner May 8, 2026 04:46
Copilot AI review requested due to automatic review settings May 8, 2026 04:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the L2 test runner script to emit additional runtime diagnostics (process listing and TR-181 model name) during execution.

Changes:

  • Added commands to list processes and search for tr69hostif before running pytest L2 tests.
  • Added an rbuscli get Device.DeviceInfo.ModelName diagnostic call.
  • Removed a previously commented-out pytest invocation line.

Comment thread run_l2.sh
Comment on lines +29 to +31
ps -ef | grep tr69hostif

ps -ef
Comment thread run_l2.sh
cp ./rfcMgr/gtest/mocks/tr181store.ini /opt/secure/RFC/tr181store.ini

rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860
ps -ef | grep tr69hostif
Comment thread run_l2.sh
rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860
ps -ef | grep tr69hostif

ps -ef
Copilot AI review requested due to automatic review settings May 8, 2026 05:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 5 comments.

Comment thread run_l2.sh Outdated
Comment on lines +28 to +30
pid=`pidof tr69hostif`
if [ ! -z "$pid" ]; then
kill -9 `pidof tr69hostif`
Comment thread run_l2.sh Outdated
Comment on lines +33 to +38
ls -l /usr/local/bin/tr69hostif

ls -l /usr/bin/tr69hostif

/usr/local/bin/tr69hostif -c /etc/mgrlist.conf -p 10999 -s 11999 | tee /opt/logs/tr69hostIf.log.0 &

Comment thread run_l2.sh Outdated
ls -l /usr/local/bin/tr69hostif

ls -l /usr/bin/tr69hostif

Comment thread run_l2.sh Outdated
Comment on lines +37 to +44
/usr/local/bin/tr69hostif -c /etc/mgrlist.conf -p 10999 -s 11999 | tee /opt/logs/tr69hostIf.log.0 &

rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860
ps -ef | grep tr69hostif

ps -ef

rbuscli get Device.DeviceInfo.ModelName
Comment thread run_l2.sh
/usr/local/bin/tr69hostif -c /etc/mgrlist.conf -p 10999 -s 11999 | tee /opt/logs/tr69hostIf.log.0 &

rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860
ps -ef | grep tr69hostif
Copilot AI review requested due to automatic review settings May 11, 2026 09:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread run_l2.sh Outdated
Comment on lines +38 to +43
START_COMMAND="/usr/local/bin/tr69hostif -c /etc/mgrlist.conf -p 10999 -s 11999 | tee /opt/logs/tr69hostIf.log.0"

if ! pgrep -f "$PROCESS_NAME" > /dev/null
then
echo "Process not running. Starting..."
nohup $START_COMMAND > /var/log/testhost.log 2>&1 &
Comment thread run_l2.sh


rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860
ps -ef | grep tr69hostif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants