Skip to content

RDKEMW-20801: widen OCDM auto-start window to ~200s (-r 250 -d 800)#248

Open
nanimatta wants to merge 2 commits into
support/8.3.4.0from
topic/rdkemw-20801
Open

RDKEMW-20801: widen OCDM auto-start window to ~200s (-r 250 -d 800)#248
nanimatta wants to merge 2 commits into
support/8.3.4.0from
topic/rdkemw-20801

Conversation

@nanimatta

@nanimatta nanimatta commented Jul 8, 2026

Copy link
Copy Markdown

Release-line variant of #246 for support/8.3.4.0 (the 8.3.4.15 ship). Same one-line change.

Reason for change

  • Post-FSR, systemd force-activates OCDM before DeviceProvisioning has fetched DRM creds; the activation poll (-r 200, ~101s) can expire before the PROVISIONING precondition is met, failing the unit and taking the WPEFramework target down.
  • Widen the poll to ~200s. Retry count is uint8_t (caps at 255), so the delay is the lever: -r 250 -d 800. (-r 400 wraps to 144, shorter than stock.)
  • Repeats RDKEMW-5207 (RDKEMW-5207: wpeframework-ocdm service is not running #68), which set -r 200 the same way.

Test Procedure

Described in the ticket: FSR then connect with provisioning delayed past ~130s; confirm wpeframework-ocdm.service reaches active (exited) rather than failed.

Risks

No. Healthy boots break the poll on first successful activation; the wider window is only used on the slow-provisioning path.

Copilot AI review requested due to automatic review settings July 8, 2026 21:18
@nanimatta
nanimatta requested a review from a team as a code owner July 8, 2026 21:18

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

Increases the WPEFramework OCDM plugin activation auto-start retry count to improve resiliency when OCDM is not immediately available during boot.

Changes:

  • Updated the wpeframework-ocdm.service ExecStart invocation to use a higher retry count (-r 400 instead of -r 200).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings July 16, 2026 21:34

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 1 comment.

Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/PluginActivator -r 200 OCDM
ExecStart=/usr/bin/PluginActivator -r 250 -d 800 OCDM
@sergiygladkyy sergiygladkyy changed the title RDKEMW-20801: increase OCDM service auto-start retry count to 400 RDKEMW-20801: widen OCDM auto-start window to ~200s (-r 250 -d 800) Jul 17, 2026
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