-
Notifications
You must be signed in to change notification settings - Fork 0
Fix E2E Test on CI #36
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
Open
chrisgleissner
wants to merge
16
commits into
main
Choose a base branch
from
feature/fix-e2e-on-ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+316
−51
Conversation
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
- Change API query to look for successful push.yaml runs instead of build-project.yaml - The push.yaml workflow calls build-project.yaml as a reusable workflow - This should fix the 'Could not find latest successful build' error
- Move get_latest_build_run function inside the run block - This fixes the YAML parsing errors that prevented workflow_dispatch from working
- Add check for /usr/lib/x86_64-linux-gnu/obs-plugins/c64stream.so - The .deb package installs to the architecture-specific path, not /usr/lib/obs-plugins/ - This should fix the 'Plugin binary not found' error in the verification step
- Add libsimde-dev to system dependencies in manual E2E test - This resolves the CMake configuration error when building udp_replay tool - Matches the dependency installation in the automated E2E test workflow
The Manual E2E Test workflow already installs the plugin in the 'Download and Install Plugin' step, so the e2e.sh script should not try to reinstall it when --skip-build is specified. This fixes the error: cp: cannot stat '/home/runner/work/c64stream/c64stream/build_x86_64/c64stream.so': No such file or directory
The E2E test was failing because the plugin data directory didn't exist when using --skip-build. The workflow should create this directory, but if it doesn't exist, the E2E test should create it to be more robust. This fixes the error: Plugin data directory not found, plugin may not be installed
The E2E properties were using /home/chris/ path but CI runs as 'runner' user. This could cause issues with recording file paths and plugin configuration. Updated to use /home/runner/ path for CI compatibility.
Instead of hardcoding absolute paths that break local testing, use empty save_folder to let the plugin use its default platform-specific path logic that works in both local and CI environments.
Added comprehensive debugging step before E2E test to show: - OBS plugin directory structure (user and system) - C64 Stream plugin directory contents - Plugin binary details and file information This will help identify if the plugin is installed in the wrong location or if there are permission/file issues preventing OBS from loading it.
Added detailed logging to identify environmental differences between local Kubuntu 24.04 and GitHub runner: - TCP server binding diagnostics with netstat checks - TCP connection handling with detailed connection info - UDP packet sending diagnostics with connectivity tests - Network port and socket status monitoring - Packet transmission verification This will help identify why the plugin connects locally but not on CI.
Added analysis of OBS logs to understand why the plugin is not connecting to the TCP server. This will help identify if the plugin is reading configuration correctly and what it's doing during initialization.
Added analysis of error messages in OBS logs and verification that the plugin properties file exists and is readable. This will help identify if the plugin is reading configuration correctly.
The plugin is not auto-connecting when OBS starts recording. Added code to manually trigger the plugin connection by updating the source settings via OBS WebSocket API, which should call c64_update() and trigger c64_start_streaming() to connect to the C64 Ultimate.
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.