Skip to content

Fix the libwebsockets integration test script#2912

Merged
justsmth merged 1 commit intoaws:mainfrom
dkostic:libwebsockets-test-tix
Dec 24, 2025
Merged

Fix the libwebsockets integration test script#2912
justsmth merged 1 commit intoaws:mainfrom
dkostic:libwebsockets-test-tix

Conversation

@dkostic
Copy link
Copy Markdown
Contributor

@dkostic dkostic commented Dec 16, 2025

Issues:

N/A

Description of changes:

The libwebsockets integration test is failing to apply a patch:

+ echo 'Apply patch /codebuild/output/src2930001107/src/actions-runner/_work/aws-lc/aws-lc/tests/ci/integration/libwebsockets_patch/libwebsocket_master.patch...'
+ patch -p1 --quiet -i /codebuild/output/src2930001107/src/actions-runner/_work/aws-lc/aws-lc/tests/ci/integration/libwebsockets_patch/libwebsocket_master.patch
Using libwebsockets version: v4.5.2
Apply patch /codebuild/output/src2930001107/src/actions-runner/_work/aws-lc/aws-lc/tests/ci/integration/libwebsockets_patch/libwebsocket_master.patch...
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
1 out of 1 hunk ignored -- saving rejects to file CMakeLists-implied-options.txt.rej
Error: Process completed with exit code 1.

I added --forward option to the patch command to skip applying the patch if it's not needed.

Call-outs:

Point out areas that need special attention or support during the review process. Discuss architecture or design changes.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@dkostic dkostic requested a review from a team as a code owner December 16, 2025 17:57
Copy link
Copy Markdown
Contributor

@WillChilds-Klein WillChilds-Klein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we still need to fix the patch?

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.17%. Comparing base (83e7c97) to head (401855b).
⚠️ Report is 26 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2912   +/-   ##
=======================================
  Coverage   78.16%   78.17%           
=======================================
  Files         690      690           
  Lines      118667   118667           
  Branches    16681    16680    -1     
=======================================
+ Hits        92756    92765    +9     
+ Misses      25024    25012   -12     
- Partials      887      890    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: dkostic <dkostic@amazon.com>
@dkostic dkostic force-pushed the libwebsockets-test-tix branch from 2a342cc to 401855b Compare December 23, 2025 22:23
@justsmth justsmth merged commit 6157ba5 into aws:main Dec 24, 2025
397 of 400 checks passed
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.

6 participants