Skip to content
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

Test fail for jansson 2.14 #624

Open
AndHager opened this issue Aug 5, 2022 · 3 comments
Open

Test fail for jansson 2.14 #624

AndHager opened this issue Aug 5, 2022 · 3 comments

Comments

@AndHager
Copy link

AndHager commented Aug 5, 2022

When running the tests I enncounter the following error:

make[4]: Entering directory '<BASE>/jansson-2.14/build/test'
FAIL: run-suites
============================================================================
Testsuite summary for jansson 2.14
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://github.com/akheron/jansson/issues
============================================================================
make[4]: *** [Makefile:678: test-suite.log] Error 1
make[4]: Leaving directory '<BASE>/jansson-2.14/build/test'
make[3]: *** [Makefile:786: check-TESTS] Error 2
make[3]: Leaving directory '<BASE>/jansson-2.14/build/test'
make[2]: *** [Makefile:883: check-am] Error 2
make[2]: Leaving directory '<BASE>/jansson-2.14/build/test'
make[1]: *** [Makefile:570: check-recursive] Error 1
make[1]: Leaving directory '<BASE>/jansson-2.14/build/test'
make: *** [Makefile:642: check-recursive] Error 1

Im on the following machine:

Linux 5.15.0-43-generic #46-Ubuntu SMP x86_64 GNU/Linux

@akheron
Copy link
Owner

akheron commented Aug 9, 2022

As the output says, the file test/test-suite.log would tell where the actual error is.

@iAyeCaptainKai
Copy link

I ran into the same issue, this is my log

=======================================
   jansson 2.14: test/test-suite.log
=======================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: run-suites
================

Suite: api
F..................
=================================================================
api/check-exports
=================================================================
--- logs/api/check-exports/exports	2022-08-24 14:39:59.428569326 -0500
+++ logs/api/check-exports/output	2022-08-24 14:39:59.448569016 -0500
@@ -1,81 +1,81 @@
-jansson_version_cmp
-jansson_version_str
-json_array
-json_array_append_new
-json_array_clear
-json_array_extend
-json_array_get
-json_array_insert_new
-json_array_remove
-json_array_set_new
-json_array_size
-json_copy
-json_deep_copy
-json_delete
-json_dumpb
-json_dump_callback
-json_dumpf
-json_dumpfd
-json_dump_file
-json_dumps
-json_equal
-json_false
-json_get_alloc_funcs
-json_integer
-json_integer_set
-json_integer_value
-json_loadb
-json_load_callback
-json_loadf
-json_loadfd
-json_load_file
-json_loads
-json_null
-json_number_value
-json_object
-json_object_clear
-json_object_del
-json_object_deln
-json_object_get
-json_object_getn
-json_object_iter
-json_object_iter_at
-json_object_iter_key
-json_object_iter_key_len
-json_object_iter_next
-json_object_iter_set_new
-json_object_iter_value
-json_object_key_to_iter
-json_object_seed
-json_object_set_new
-json_object_set_new_nocheck
-json_object_setn_new
-json_object_setn_new_nocheck
-json_object_size
-json_object_update
-json_object_update_existing
-json_object_update_missing
-json_object_update_recursive
-json_pack
-json_pack_ex
-json_real
-json_real_set
-json_real_value
-json_set_alloc_funcs
-json_sprintf
-json_string
-json_string_length
-json_stringn
-json_stringn_nocheck
-json_string_nocheck
-json_string_set
-json_string_setn
-json_string_setn_nocheck
-json_string_set_nocheck
-json_string_value
-json_true
-json_unpack
-json_unpack_ex
-json_vpack_ex
-json_vsprintf
-json_vunpack_ex
+jansson_version_cmp@@libjansson.so.4
+jansson_version_str@@libjansson.so.4
+json_array_append_new@@libjansson.so.4
+json_array_clear@@libjansson.so.4
+json_array_extend@@libjansson.so.4
+json_array_get@@libjansson.so.4
+json_array_insert_new@@libjansson.so.4
+json_array@@libjansson.so.4
+json_array_remove@@libjansson.so.4
+json_array_set_new@@libjansson.so.4
+json_array_size@@libjansson.so.4
+json_copy@@libjansson.so.4
+json_deep_copy@@libjansson.so.4
+json_delete@@libjansson.so.4
+json_dumpb@@libjansson.so.4
+json_dump_callback@@libjansson.so.4
+json_dumpfd@@libjansson.so.4
+json_dump_file@@libjansson.so.4
+json_dumpf@@libjansson.so.4
+json_dumps@@libjansson.so.4
+json_equal@@libjansson.so.4
+json_false@@libjansson.so.4
+json_get_alloc_funcs@@libjansson.so.4
+json_integer@@libjansson.so.4
+json_integer_set@@libjansson.so.4
+json_integer_value@@libjansson.so.4
+json_loadb@@libjansson.so.4
+json_load_callback@@libjansson.so.4
+json_loadfd@@libjansson.so.4
+json_load_file@@libjansson.so.4
+json_loadf@@libjansson.so.4
+json_loads@@libjansson.so.4
+json_null@@libjansson.so.4
+json_number_value@@libjansson.so.4
+json_object_clear@@libjansson.so.4
+json_object_del@@libjansson.so.4
+json_object_deln@@libjansson.so.4
+json_object_get@@libjansson.so.4
+json_object_getn@@libjansson.so.4
+json_object_iter_at@@libjansson.so.4
+json_object_iter_key_len@@libjansson.so.4
+json_object_iter_key@@libjansson.so.4
+json_object_iter@@libjansson.so.4
+json_object_iter_next@@libjansson.so.4
+json_object_iter_set_new@@libjansson.so.4
+json_object_iter_value@@libjansson.so.4
+json_object_key_to_iter@@libjansson.so.4
+json_object@@libjansson.so.4
+json_object_seed@@libjansson.so.4
+json_object_set_new@@libjansson.so.4
+json_object_set_new_nocheck@@libjansson.so.4
+json_object_setn_new@@libjansson.so.4
+json_object_setn_new_nocheck@@libjansson.so.4
+json_object_size@@libjansson.so.4
+json_object_update_existing@@libjansson.so.4
+json_object_update@@libjansson.so.4
+json_object_update_missing@@libjansson.so.4
+json_object_update_recursive@@libjansson.so.4
+json_pack_ex@@libjansson.so.4
+json_pack@@libjansson.so.4
+json_real@@libjansson.so.4
+json_real_set@@libjansson.so.4
+json_real_value@@libjansson.so.4
+json_set_alloc_funcs@@libjansson.so.4
+json_sprintf@@libjansson.so.4
+json_string_length@@libjansson.so.4
+json_string@@libjansson.so.4
+json_stringn@@libjansson.so.4
+json_stringn_nocheck@@libjansson.so.4
+json_string_nocheck@@libjansson.so.4
+json_string_set@@libjansson.so.4
+json_string_setn@@libjansson.so.4
+json_string_setn_nocheck@@libjansson.so.4
+json_string_set_nocheck@@libjansson.so.4
+json_string_value@@libjansson.so.4
+json_true@@libjansson.so.4
+json_unpack_ex@@libjansson.so.4
+json_unpack@@libjansson.so.4
+json_vpack_ex@@libjansson.so.4
+json_vsprintf@@libjansson.so.4
+json_vunpack_ex@@libjansson.so.4

=================================================================
Suite: invalid
..................................................
Suite: invalid-unicode
..................
Suite: valid
..................................
1 of 4 test suites failed
FAIL run-suites (exit status: 1)

@Florian-Katerndahl
Copy link

Florian-Katerndahl commented Feb 15, 2023

Dear devs, unfortunately I got the same error. My log file:

=======================================
   jansson 2.14: test/test-suite.log
=======================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: run-suites
================

Suite: api
F..................
=================================================================
api/check-exports
=================================================================
--- logs/api/check-exports/exports      2023-02-15 14:20:25.631230827 +0100
+++ logs/api/check-exports/output       2023-02-15 14:20:25.687231495 +0100
@@ -1,81 +1,81 @@
-jansson_version_cmp
-jansson_version_str
-json_array
-json_array_append_new
-json_array_clear
-json_array_extend
-json_array_get
-json_array_insert_new
-json_array_remove
-json_array_set_new
-json_array_size
-json_copy
-json_deep_copy
-json_delete
-json_dumpb
-json_dump_callback
-json_dumpf
-json_dumpfd
-json_dump_file
-json_dumps
-json_equal
-json_false
-json_get_alloc_funcs
-json_integer
-json_integer_set
-json_integer_value
-json_loadb
-json_load_callback
-json_loadf
-json_loadfd
-json_load_file
-json_loads
-json_null
-json_number_value
-json_object
-json_object_clear
-json_object_del
-json_object_deln
-json_object_get
-json_object_getn
-json_object_iter
-json_object_iter_at
-json_object_iter_key
-json_object_iter_key_len
-json_object_iter_next
-json_object_iter_set_new
-json_object_iter_value
-json_object_key_to_iter
-json_object_seed
-json_object_set_new
-json_object_set_new_nocheck
-json_object_setn_new
-json_object_setn_new_nocheck
-json_object_size
-json_object_update
-json_object_update_existing
-json_object_update_missing
-json_object_update_recursive
-json_pack
-json_pack_ex
-json_real
-json_real_set
-json_real_value
-json_set_alloc_funcs
-json_sprintf
-json_string
-json_string_length
-json_stringn
-json_stringn_nocheck
-json_string_nocheck
-json_string_set
-json_string_setn
-json_string_setn_nocheck
-json_string_set_nocheck
-json_string_value
-json_true
-json_unpack
-json_unpack_ex
-json_vpack_ex
-json_vsprintf
-json_vunpack_ex
+jansson_version_cmp@@libjansson.so.4
+jansson_version_str@@libjansson.so.4
+json_array_append_new@@libjansson.so.4
+json_array_clear@@libjansson.so.4
+json_array_extend@@libjansson.so.4
+json_array_get@@libjansson.so.4
+json_array_insert_new@@libjansson.so.4
+json_array@@libjansson.so.4
+json_array_remove@@libjansson.so.4
+json_array_set_new@@libjansson.so.4
+json_array_size@@libjansson.so.4
+json_copy@@libjansson.so.4
+json_deep_copy@@libjansson.so.4
+json_delete@@libjansson.so.4
+json_dumpb@@libjansson.so.4
+json_dump_callback@@libjansson.so.4
+json_dumpfd@@libjansson.so.4
+json_dump_file@@libjansson.so.4
+json_dumpf@@libjansson.so.4
+json_dumps@@libjansson.so.4
+json_equal@@libjansson.so.4
+json_false@@libjansson.so.4
+json_get_alloc_funcs@@libjansson.so.4
+json_integer@@libjansson.so.4
+json_integer_set@@libjansson.so.4
+json_integer_value@@libjansson.so.4
+json_loadb@@libjansson.so.4
+json_load_callback@@libjansson.so.4
+json_loadfd@@libjansson.so.4
+json_load_file@@libjansson.so.4
+json_loadf@@libjansson.so.4
+json_loads@@libjansson.so.4
+json_null@@libjansson.so.4
+json_number_value@@libjansson.so.4
+json_object_clear@@libjansson.so.4
+json_object_del@@libjansson.so.4
+json_object_deln@@libjansson.so.4
+json_object_get@@libjansson.so.4
+json_object_getn@@libjansson.so.4
+json_object_iter_at@@libjansson.so.4
+json_object_iter_key_len@@libjansson.so.4
+json_object_iter_key@@libjansson.so.4
+json_object_iter@@libjansson.so.4
+json_object_iter_next@@libjansson.so.4
+json_object_iter_set_new@@libjansson.so.4
+json_object_iter_value@@libjansson.so.4
+json_object_key_to_iter@@libjansson.so.4
+json_object@@libjansson.so.4
+json_object_seed@@libjansson.so.4
+json_object_set_new@@libjansson.so.4
+json_object_set_new_nocheck@@libjansson.so.4
+json_object_setn_new@@libjansson.so.4
+json_object_setn_new_nocheck@@libjansson.so.4
+json_object_size@@libjansson.so.4
+json_object_update_existing@@libjansson.so.4
+json_object_update@@libjansson.so.4
+json_object_update_missing@@libjansson.so.4
+json_object_update_recursive@@libjansson.so.4
+json_pack_ex@@libjansson.so.4
+json_pack@@libjansson.so.4
+json_real@@libjansson.so.4
+json_real_set@@libjansson.so.4
+json_real_value@@libjansson.so.4
+json_set_alloc_funcs@@libjansson.so.4
+json_sprintf@@libjansson.so.4
+json_string_length@@libjansson.so.4
+json_string@@libjansson.so.4
+json_stringn@@libjansson.so.4
+json_stringn_nocheck@@libjansson.so.4
+json_string_nocheck@@libjansson.so.4
+json_string_set@@libjansson.so.4
+json_string_setn@@libjansson.so.4
+json_string_setn_nocheck@@libjansson.so.4
+json_string_set_nocheck@@libjansson.so.4
+json_string_value@@libjansson.so.4
+json_true@@libjansson.so.4
+json_unpack_ex@@libjansson.so.4
+json_unpack@@libjansson.so.4
+json_vpack_ex@@libjansson.so.4
+json_vsprintf@@libjansson.so.4
+json_vunpack_ex@@libjansson.so.4

=================================================================
Suite: invalid
..................................................
Suite: invalid-unicode
..................
Suite: valid
..................................
1 of 4 test suites failed
FAIL run-suites (exit status: 1)

Edit: Using v2.13.1, the checks pass (with one getting skipped).

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

No branches or pull requests

4 participants