-
Notifications
You must be signed in to change notification settings - Fork 49
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
11: test suite is failing #116
Comments
Hello @kloczek. I am not able to reproduce this. Can you please give more information on the environment you are using?
|
Linux x86/84,, krenerl 5.17.11
[tkloczko@devel-g2v SPECS]$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 48
On-line CPU(s) list: 0-47
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
CPU family: 6
Model: 85
Thread(s) per core: 2
Core(s) per socket: 12
Socket(s): 2
Stepping: 4
CPU(s) scaling MHz: 28%
CPU max MHz: 3000.0000
CPU min MHz: 800.0000
BogoMIPS: 4200.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp l
m constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 s
sse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpui
d_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust b
mi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt
xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req pku ospke m
d_clear flush_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 768 KiB (24 instances)
L1i: 768 KiB (24 instances)
L2: 24 MiB (24 instances)
L3: 33 MiB (2 instances)
NUMA:
NUMA node(s): 2
NUMA node0 CPU(s): 0-11,24-35
NUMA node1 CPU(s): 12-23,36-47
Vulnerabilities:
Itlb multihit: KVM: Mitigation: VMX disabled
L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Mds: Mitigation; Clear CPU buffers; SMT vulnerable
Meltdown: Mitigation; PTI
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
Srbds: Not affected
Tsx async abort: Mitigation; Clear CPU buffers; SMT vulnerable
128 GB, no swap
I'm runnimg all my builds insize LXC zones. |
Hello. Sorry I missed your latest message. Can you please paste the output of the log file?. /home/tkloczko/rpmbuild/BUILD/jose-11/x86_64-redhat-linux-gnu/meson-logs/testlog.txt I tested again and I was not able to reproduce it |
I think I'm running into a similar problem trying to build
The template file I've written so far to build
I sincerely doubt about the enc/dec errors, as the variable is used (a sizeof is calculated on it). I will upload a fix for xxx. If you could test it, it would be great. |
Resolves: latchset#116 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Resolves: latchset#116 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
OK. One sec 😋 |
Cannot apply that on top of last release warning: Downloading https://github.com/mpdavis/python-jose//archive/3.3.0/python-jose-3.3.0.tar.gz to /home/tkloczko/rpmbuild/SOURCES/python-jose-3.3.0.tar.gz
warning: Downloading https://github.com/latchset/jose/pull/127.patch#/python-jose-Fix-test-compilation-warnings.patch to /home/tkloczko/rpmbuild/SOURCES/python-jose-Fix-test-compilation-warnings.patch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.K7RhSv
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf python-jose-3.3.0
+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/python-jose-3.3.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd python-jose-3.3.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/python-jose-Fix-test-compilation-warnings.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
The text leading up to this was:
--------------------------
|From 42471994091b82a2990e1e8e6efd731f90b69469 Mon Sep 17 00:00:00 2001
|From: Sergio Arroutbi <sarroutb@redhat.com>
|Date: Fri, 24 Mar 2023 15:17:29 +0100
|Subject: [PATCH] Fix test compilation warnings
|
|Resolves: #116
|
|Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
|---
| tests/alg_encr.c | 9 ++++++---
| tests/api_b64.c | 3 +++
| 2 files changed, 9 insertions(+), 3 deletions(-)
|
|diff --git a/tests/alg_encr.c b/tests/alg_encr.c
|index 5adf189..d69d721 100644
|--- a/tests/alg_encr.c
|+++ b/tests/alg_encr.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/tests/api_b64.c b/tests/api_b64.c
|index 027e7bf..2e44739 100644
|--- a/tests/api_b64.c
|+++ b/tests/api_b64.c
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored |
Thx. It seems you are not applying the patch to the correct tree ... are you applying it to jose or python-jose? |
Resolves: latchset#116 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com> Co-authored-by: Sergio Arroutbi <sarroutb@redhat.com>
Resolves: latchset#116 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Resolves: #116 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Just tested and all looks good now+ cd jose-11
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/jose-11/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/25 alg_hash OK 0.15s
2/25 alg_comp OK 0.13s
3/25 api_jwe OK 0.11s
4/25 alg_encr OK 0.14s
5/25 api_jws OK 0.12s
6/25 jose-b64-enc OK 0.10s
7/25 jose-b64-dec OK 0.10s
8/25 jose-jwk-pub OK 0.08s
9/25 issue75 OK 0.02s
10/25 jose-alg OK 0.12s
11/25 jose-jwk-thp OK 0.07s
12/25 jose-jwk-eql OK 0.14s
13/25 jose-jwk-use OK 0.18s
14/25 jose-jws-ver OK 0.30s
15/25 jose-jwk-exc OK 0.34s
16/25 jose-jws-fmt OK 0.35s
17/25 jose-jwe-dec OK 0.37s
18/25 jose-jwe-fmt OK 0.40s
19/25 alg_sign OK 0.55s
20/25 alg_wrap OK 0.64s
21/25 jose-fmt OK 0.67s
22/25 jose-jwk-gen OK 1.16s
23/25 api_b64 OK 2.24s
24/25 jose-jwe-enc OK 5.39s
25/25 jose-jws-sig OK 5.60s
Ok: 25
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0 Thank you 👍 😄 BTW: is it possible to add below patch: --- a/meson.build
+++ b/meson.build
@@ -42,16 +42,12 @@
mans = []
-licenses = ['COPYING']
-
subdir('include')
subdir('doc')
subdir('lib')
subdir('cmd')
subdir('tests')
-install_data(licenses, install_dir: licensedir)
-
pkg = import('pkgconfig')
pkg.generate(
description: 'Library for managing JOSE objects', COPYING file is not essential .. |
Hello @kloczek. Thanks for your suggestion. Can you please open an issue for it? This way we can keep track of this change separately |
I'll open PR 😋 |
COPYING file is no essential and better is to leave it in source tree allowing packagers decide what to do with that file. Remove of that file suggested in latchset#116 Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
Looks like one assertion is failing. However in error message there sis no any hints why.
The text was updated successfully, but these errors were encountered: