[BUILD-1139] vncrecorder may fail due to "unsupported encoding EncodingType" Created: 14/Sep/23  Updated: 14/Sep/23

Status: Selected
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Epic Link: reporting-and-coverage-improvments-and-fixes
Work Started:

 Description   

Context

Since we have (most of the times) the vnc.log, we see better where the vncrecorder fails sometimes.

While on saas-E2E test-suites we generally have quite often videso embedded on ui-tests-failures, we also still have cases where there is no video produced or the embedded video is "all black".
In worst case, none video within full build - in that case - the recorder crashes likely early, or we still have an issue with the connection between the recorder and the TF.

Error "unsupported encoding EncodingType"

So far the only error which I found in vnc.logs is the "unsupported encoding EncodingType", whether this shuts down the recorder or prevents the proper saving of the vid - idk.

[ERROR] 2023/09/11 11:11:31 github.com/magnolia-cms/vncrecorder/vnc/recorder.(*Recording).updateVncFrames:recorder.go:114 Recording for /recordings/subscription-and-git-repo_Subscription-has-linked-git-repo-comes-with-env-main.mp4 failed. Reason: unsupported encoding EncodingType(483329)

vnc.log example on gist: https://gist.github.com/Watcher24/eaa65bcbcbb14577acfa6ad99147efea

Task

Since the above mentioned error is the only one we see in log-file - let's try to figure why it fails, fixing the issue - and hoping that getting rid of this error increases the stability of the vncrecorder.
:¯_(ツ)_/¯: 


Generated at Sun Feb 11 23:48:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.