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

tests: radclient-test is failing on cli_login #8457

Open
JeGoi opened this issue Dec 30, 2024 · 0 comments
Open

tests: radclient-test is failing on cli_login #8457

JeGoi opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
Priority: High tests Issues related to tests performed by CI

Comments

@JeGoi
Copy link
Contributor

JeGoi commented Dec 30, 2024

Describe the problem

            • radclient-test FAILURE
    Testcase "radclient test", step #0: Assertion "result.code ShouldEqual 0" failed. expected: 0  got: 1 (/usr/local/pf/t/venom/test_suites/cli-login-radius/25_start_radius_request.yml:8)
    Testcase "radclient test", step #0: Assertion "result.systemout ShouldContainSubstring access granted by PacketFence" failed. expected 'Sent Access-Request Id 24 from 0.0.0.0:34865 to 172.18.200.10:1812 length 67
            User-Name = "bob"
            User-Password = "hello"
            NAS-IP-Address = 192.168.0.1
            Cleartext-Password = "hello"
    Received Access-Reject Id 24 from 172.18.200.10:1812 to 172.18.200.10:34865 length 76
            Message-Authenticator = 0x26ae7fa76cffc6c40c13ef91fc4c0f77
            Reply-Message = "Authentication failed on PacketFence"' to contain 'access granted by PacketFence' but it wasn't (/usr/local/pf/t/venom/test_suites/cli-login-radius/25_start_radius_request.yml:9)

Mandatory informations

Dec 30 13:30:56.751^[[37m [DEBU] [Start radclient] [radclient-test] [exec] ^[[0mresult of runTestStepExecutor: {Systemout:Sent Access-Request Id 173 from 0.0.0.0:42710 to 172.18.200.12:1812 length 67
        User-Name = "bob"
        User-Password = "hello"
        NAS-IP-Address = 192.168.0.1
        Cleartext-Password = "hello"
Received Access-Reject Id 173 from 172.18.200.12:1812 to 172.18.200.12:42710 length 76
        Message-Authenticator = 0xf9e8c2e974dc8065ddbc881f80807a09
        Reply-Message = "Authentication failed on PacketFence" SystemoutJSON:<nil> Systemerr:(0) -: Expected Access-Accept got Access-Reject SystemerrJSON:<nil> Err: Code:1 TimeSeconds:1.313291975}

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

@JeGoi JeGoi added Priority: High tests Issues related to tests performed by CI labels Dec 30, 2024
@JeGoi JeGoi added this to the PacketFence-14.1 milestone Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High tests Issues related to tests performed by CI
Projects
None yet
Development

No branches or pull requests

3 participants