inverse-inc / packetfence

PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) solution. Boasting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, powerful BYOD management options, 802.1X support, layer-2 isolation of problematic devices; PacketFence can be used to effectively secure networks small to very large heterogeneous networks.
https://packetfence.org
GNU General Public License v2.0
1.39k stars 291 forks source link

tests: get_id_of_radius_audit_log_entry is failing #7776

Closed JeGoi closed 1 year ago

JeGoi commented 1 year ago

Describe the problem

            • get_id_of_radius_audit_log_entry FAILURE
    Testcase "get_id_of_radius_audit_log_entry", step #0: Assertion "result.statuscode ShouldEqual 200" failed. expected: 200  got: 404 (/usr/local/pf/t/venom/test_suites/wired_dot1x_eap_tls_scep/91_check_radius_audit_log.yml:89)
    Testcase "get_id_of_radius_audit_log_entry", step #0: Assertion "result.bodyjson.items.items0 ShouldContainKey id" failed. unable to cast <nil> of type <nil> to map[string]interface{} (/usr/local/pf/t/venom/test_suites/wired_dot1x_eap_tls_scep/91_check_radius_audit_log.yml:90)

Mandatory informations

Symptoms How the problem can be identified if it appears again ?

Howto Fix Add retry and delay

JeGoi commented 1 year ago

May be related to #7775 but not 100% sure.

satkunas commented 1 year ago

@JeGoi @abprasa validate on debian

JeGoi commented 1 year ago

@fdurand build (or explain how to) the deb. thks

JeGoi commented 1 year ago

Looks fine since moved to 3.2.2 and increase buffer size (https://github.com/inverse-inc/freeradius-server/commit/7cbeb6b7f810ed233a2d4ffdc6cc19fdfd671cde)