test pr#199
Open
madhubabutt wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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
tr69hostifbefore running pytest L2 tests. - Added an
rbuscli get Device.DeviceInfo.ModelNamediagnostic call. - Removed a previously commented-out pytest invocation line.
Comment on lines
+29
to
+31
| ps -ef | grep tr69hostif | ||
|
|
||
| ps -ef |
| 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 |
| rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860 | ||
| ps -ef | grep tr69hostif | ||
|
|
||
| ps -ef |
madhubabutt
force-pushed
the
feature/testor2
branch
from
May 8, 2026 04:56
dbfc586 to
d26bcdc
Compare
madhubabutt
force-pushed
the
feature/testor2
branch
from
May 8, 2026 05:05
d26bcdc to
2afb656
Compare
Comment on lines
+28
to
+30
| pid=`pidof tr69hostif` | ||
| if [ ! -z "$pid" ]; then | ||
| kill -9 `pidof tr69hostif` |
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 & | ||
|
|
| ls -l /usr/local/bin/tr69hostif | ||
|
|
||
| ls -l /usr/bin/tr69hostif | ||
|
|
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 |
| /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 |
madhubabutt
force-pushed
the
feature/testor2
branch
from
May 11, 2026 09:03
2afb656 to
afa5a88
Compare
madhubabutt
force-pushed
the
feature/testor2
branch
from
May 11, 2026 09:25
afa5a88 to
9be83ba
Compare
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 & |
|
|
||
|
|
||
| rbuscli set Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetTime uint32 1763118860 | ||
| ps -ef | grep tr69hostif |
madhubabutt
force-pushed
the
feature/testor2
branch
from
May 12, 2026 09:11
9be83ba to
6604240
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.