ci: probe libkazsign native loading (diagnostic, do not merge) #45
No reviewers
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit!45
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/probe-native"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up diagnostic to the closed probe PR. api-ci's Test step still fails in 0s after removing
services:+ConnectionStrings(#43, run 11228) — so the remaining suspect is native library loading: the test host's first KazSign P/Invoke (libkazsign) may fail on the runner despite the .so being present onLD_LIBRARY_PATH(bad ELF deps, glibc mismatch, etc.).This PR adds a probe that performs the exact api-ci download and then:
file+lddon the .so (missing deps visible in step output)NativeLibrary.TryLoad("libkazsign")under the sameLD_LIBRARY_PATHas api-ci's Test stepIf the load step fails, the run page shows it directly. Do not merge; close after diagnosis.
Closing — superseded by the real diagnosis (api-ci run 11250's actual job log): the failures were a stale public SDK clone missing
InternalsVisibleTo(fixed by pushing752c9da), an SDK ECDSA OpenSSL-3 bug (fixed9c833fe), and Redis Testcontainers networking in act_runner job containers (env-skipped, #47). api-ci is green on main (runs 11258, 11260).This PR's probes were useful scaffolding but contained two flaws worth remembering: the first TryLoad probe passed the raw name
libkazsign(dlopen never appends.so— false negative), and the dep-verdict step assertedlibssl.so.3, which libkazsign doesn't even link. The libkazsign/libcrypto story turned out to be moot: the KazSign tests skip gracefully on the runner and nothing else needs the native lib in CI.Pull request closed