-
Notifications
You must be signed in to change notification settings - Fork 55
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
Fix Windows CI failures. #2143
Fix Windows CI failures. #2143
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2143 +/- ##
===========================================
- Coverage 76.88% 11.76% -65.12%
===========================================
Files 193 193
Lines 36982 47247 +10265
===========================================
- Hits 28432 5558 -22874
- Misses 8550 41689 +33139 ☔ View full report in Codecov by Sentry. |
8bfeb7d
to
9d4c9fc
Compare
029e22e
to
b806bac
Compare
dc32ec4
to
dd52f66
Compare
return false; | ||
} | ||
// RNP_LOG("here: %p %zu", src->read, read); |
Check notice
Code scanning / CodeQL
Commented-out code Note
return false; | ||
} | ||
// RNP_LOG("here: %p %zu", src->read, read); |
Check notice
Code scanning / CodeQL
Commented-out code Note
c69a703
to
8b393a0
Compare
8b393a0
to
6fd3d71
Compare
@maxirmx Do you have an idea why for windows-native runner cache hits for openssl backend, but always misses botan, taking 20m to install vcpkg packages? Thanks! |
3138fb0
to
44c5ea5
Compare
@ni4, I guess it happens because there is no cache. Cache is created only if its job completes sucessfully and the latest botan runs either fails (test) or are cancelled. Caches are invalidated often because of vcpkg updates. Vcpkg does not have versions or releases so I am just fetching the latest version. IMHO it would be difficult to fix this using GHA without local debugger. I tried to run it locally but cli tests (python) can run in MSys environment only so I was not able to create any working environment. If you think it is feasible I can fix the tests and go through it with debugger. It will probably take 2-3 days. Not sure I will be able to fix fast on my own the issue but at least we will know what is broken. |
@maxirmx Thanks for the reply! Didn't know that cache is only submitted on successfull run. Actually with the latest iteration got much closer to the solution for the issue, now I (most likely) see point of failure. So hopefully few more iterations and got this resolved. |
44c5ea5
to
15a4b63
Compare
@@ -276,6 +286,7 @@ | |||
param->pleft -= read; | |||
} | |||
|
|||
// RNP_LOG("partial end of cycle"); |
Check notice
Code scanning / CodeQL
Commented-out code Note
if (!src_read(param->readsrc, buf, read, &read)) { | ||
RNP_LOG("failed to read data chunk"); | ||
return false; | ||
} | ||
// RNP_LOG("partial read %zu", read); |
Check notice
Code scanning / CodeQL
Commented-out code Note
param->psize = read; | ||
param->pleft = read; | ||
} | ||
|
||
if (!param->pleft) { | ||
// RNP_LOG("partial zero chunk"); |
Check notice
Code scanning / CodeQL
Commented-out code Note
return false; | ||
} | ||
// RNP_LOG("partial new chunk: %zu %d", read, (int) param->last); |
Check notice
Code scanning / CodeQL
Commented-out code Note
@@ -228,6 +228,7 @@ | |||
static bool | |||
partial_pkt_src_read(pgp_source_t *src, void *buf, size_t len, size_t *readres) | |||
{ | |||
// RNP_LOG("partial %p start: %zu", src, len); |
Check notice
Code scanning / CodeQL
Commented-out code Note
8522f18
to
5195247
Compare
0fe4fad
to
04e81a4
Compare
04e81a4
to
979de1e
Compare
Closing this as problem is on the Botan's side, on our side is aimed to be fixed via PR #2148 |
Fixes #2139