























Yeah, I know. I currently am not motivated to analyze why the tests fail. I build with --nocheck myself; the resulting binary still does what it should do.
If you or someone else wants to investigate & provide a fix, I'd really appreciate it.
Edit: I've found the issue[1] over on Github & have added more information. This doesn't seem to be a packaging issue per se, rather the official instructions how to run the tests might be wrong — or the test server start code might be buggy. Let's see how the issue shakes out.
Test errors, missing test files. Seeing various errors like
Failed to open file: /tmp/makepkg/osslsigncode/src/build/Testing/files/ts_revoked.{256appx,512appx,cat,exe,ex_,mof,msi,psc1,ps1}
and
RFC 3161 timestamping failed
Use the "-t" option to add the Authenticode Time-Stamp Authority or choose another one RFC3161 Time-Stamp Authority
Unable to set unauthenticated attributes
80201889D5740000:error:1E800080:HTTP routines:OSSL_HTTP_REQ_CTX_nbio:failed reading data:crypto/http/http_client.c:596:
80201889D5740000:error:1E800067:HTTP routines:OSSL_HTTP_REQ_CTX_exchange:error receiving:crypto/http/http_client.c:1045:server=http://127.0.0.1:41761
Hello I have problems to pass the tests the python start_server.py script does not work.
On the logs I only get timeout.
2/318 Testing: start_server
2/318 Test: start_server
Command: "/usr/bin/python3.13" "/home/gsus/osslsigncode/src/build/Testing/start_server.py" "--exe" "/usr/bin/python3.13" "--script" "/home/gsus/osslsigncode/src/build/Testing/server_http.py"
Directory: /home/gsus/osslsigncode/src/build
"start_server" start time: Mar 26 12:29 -03
Output:
----------------------------------------------------------
<end of output>
Test time = 60.04 sec
----------------------------------------------------------
Test Failed.
"start_server" end time: Mar 26 12:30 -03
"start_server" time elapsed: 00:01:00
----------------------------------------------------------
Hello,
The latest version, 2.8, does not compiles in a clean chroot due to it missing python. Please add it to the depends array.
Thank you.
hi,
I've just built osslsigncode and realized that using a proxy to download the sources interferes with the tests carried out at the end of the build.
adding unset http_proxy at the start of prepare() function avoids interference.
regards, lacsaP.
The tests work just fine for me at the moment.
With the upload of 2.7-1 I also fixed the issue of having that server_http.py process lying around after the tests. It's due to a bug in upstream that I reported here[1] and that's been fixed since. I apply a similar fix within the PKGBUILD until the next release comes out.
If tests other than the "stop_server" one are failing, I cannot really help you with those. They work fine on my end. Maybe try building from the git master (it's dead simple) & report resulting test failure issues upstream. Also look at the log file the tests produce ("Testing/Temporary/LastTest.log" in the build directory) for possible reasons.
As mbunkus pointed out on 2023-11-10, I'm seeing CTest failures in 2.7-1. Tests 108-147, 153-157 fail.
You'll have to file an issue with the upstream. I only execute the totally normal ctest Release command during the check phase. If that one leaves processes around, it's a bug in their cmake setup, I think.
I've discovered this in my processlist after yay -S osslsigncode:
/usr/bin/python3.11 /home/test/.cache/yay/osslsigncode/src/build/Testing/server_http.py
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
The tests run successfully now. Unfortunately, they're all simply skipped if you don't have the
python-cryptographypackage installed.I think it might be good to add this dependency to the
checkdependsarray.