Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register and unregister clients with proxy to fix data race, and tidy the surrounding code #306

Merged
merged 9 commits into from
Jul 5, 2024

Conversation

skyproudmanp
Copy link
Collaborator

@skyproudmanp skyproudmanp commented Jun 12, 2024

Summary: register and unregister clients (of control) via a proxy (this prevents a data race and updates c style pointers to c++). The call to registerClient in ControlService::addControl was deceiving since this didn't actually register any client... it just called setApplicationState therefore changed to call setApplicationState() direct
Type: Fix
Test Plan: UT/CT and test webaudio on XiOne US box
Jira: NO-JIRA

Copy link

Pull request must be merged with a description containing the required fields,

Summary:
Type: Feature/Fix/Cleanup
Test Plan:
Jira:

If there is no jira releated to this change, please put 'Jira: NO-JIRA'.

Description can be changed by editing the top comment on your pull request and making a new commit.

Copy link

Coverage statistics of your commit:
WARNING: Lines coverage decreased from: 85.4% to 85.1%
WARNING: Functions coverage decreased from: 92.3% to 90.8%

@rdkcmf-jenkins
Copy link

build-brcm-refboard3 Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/705c5c64b9decb383194658a07348009

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51458/

@rdkcmf-jenkins
Copy link

'['RPI4 IPSTB']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-rpi4-ipstb-oss/799
Flash rdkv_rpi4_ipclient [SUCCESS]
rdkv_rpi4_ipclient - Video Test [FAILURE]
Video Accelerator Home Screen Test [SUCCESS]
Video Accelerator VOD Video Detection Test [FAILURE]
HLS video streaming using gst-launch uri=aamp [FAILURE]
HLS Video Streaming using aamp-cli [FAILURE]
DASH Video Streaming using aamp-cli [FAILURE]
Video local (H264) using gst-play-1.0 [FAILURE]
HLS video streaming using gst-launch uri=aamp [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
Video local (H264) using gst-play-1.0 [SUCCESS]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-raspberrypi-rdkv-rpi4-flow/9860/

@rdkcmf-jenkins
Copy link

build-brcm-refboard3 Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/1ff62921603cfd6eed3f35d6053aa434

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51552/

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51559/

@rdkcmf-jenkins
Copy link

'['RPI4 IPSTB']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-rpi4-ipstb-oss/875
Flash rdkv_rpi4_ipclient [SUCCESS]
rdkv_rpi4_ipclient - Video Test [FAILURE]
Video Accelerator Home Screen Test [SUCCESS]
Video Accelerator VOD Video Detection Test [FAILURE]
HLS video streaming using gst-launch uri=aamp [FAILURE]
HLS Video Streaming using aamp-cli [FAILURE]
DASH Video Streaming using aamp-cli [FAILURE]
Video local (H264) using gst-play-1.0 [FAILURE]
HLS video streaming using gst-launch uri=aamp [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
Video local (H264) using gst-play-1.0 [SUCCESS]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-raspberrypi-rdkv-rpi4-flow/9924/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/51628/

@jamcoole
Copy link

sanity test failures are most likely unrelated to this change, there are some regressions on rdk-next for RPI currently being investigated, have re-triggered and will up-vote if it fails again

Copy link

github-actions bot commented Jul 1, 2024

Coverage statistics of your commit:
WARNING: Lines coverage decreased from: 85.4% to 85.0%
WARNING: Functions coverage decreased from: 92.3% to 90.8%

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53045/

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53048/

Copy link

github-actions bot commented Jul 2, 2024

Coverage statistics of your commit:
WARNING: Lines coverage decreased from: 85.4% to 85.3%
Functions coverage stays unchanged and is: 92.3%

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53137/

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53138/

Copy link

github-actions bot commented Jul 3, 2024

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 85.4%
Functions coverage stays unchanged and is: 92.3%

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53166/

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53168/

Copy link

github-actions bot commented Jul 3, 2024

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 85.4%
Functions coverage stays unchanged and is: 92.3%

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53180/

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53184/

@rdkcmf-jenkins
Copy link

'['BCM 72126OTT Refboard VA']' Sanity test FAILURE, investigation pending.
Build Job/Num: build-brcm-refboard3/2871
Flash BCMREF [SUCCESS]
BCMREF - Video Test [FAILURE]
Video local (H264) using gst-play-1.0 [SUCCESS]
HLS Video Streaming using aamp-cli [SUCCESS]
DASH Video Streaming using aamp-cli [SUCCESS]
PLAYREADY_DRM Video Streaming using aamp-cli [FAILURE]
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-bcmref-va-126-flow/2164/

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/53192/

@skyproudmanp skyproudmanp merged commit e3f3182 into master Jul 5, 2024
49 checks passed
@skyproudmanp skyproudmanp deleted the changeStateAndNotifyClientsWithProxy_solution2 branch July 5, 2024 07:40
@skyproudmanp skyproudmanp restored the changeStateAndNotifyClientsWithProxy_solution2 branch July 5, 2024 14:28
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.

None yet

5 participants