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: configure_dhcp_listener_int FAILURE on maintenance/12.0 #8082

Open
JeGoi opened this issue Apr 22, 2024 · 2 comments
Open

tests: configure_dhcp_listener_int FAILURE on maintenance/12.0 #8082

JeGoi opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels
tests Issues related to tests performed by CI

Comments

@JeGoi
Copy link
Contributor

JeGoi commented Apr 22, 2024

Describe the problem

     • configure_dhcp_listener_int FAILURE
    Testcase "configure_dhcp_listener_int", step #0: Assertion "result.statuscode ShouldEqual 200" failed. expected: 200  got: 504 (/usr/local/pf/t/venom/test_suites/configurator/00_configure_dhcp_listener_interface.yml:27)

Venom logs:

Apr 21 23:39:52.915^[[36m [INFO] [Configure DHCP listener interface] [configure_dhcp_listener_int] ^[[0mStep #0 content is: "{\"assertions\":[\"result.statuscode ShouldEqual 200\"],\"body\":\"{\\n  \\\"ipaddress\\\": \\\"192.168.121.75\\\",\\n  \\\"netmask\\\": \\\"255.255.255.0\\\",\\n  \\\"type\\\": \\\"dhcp-listener\\\"\\n}\",\"headers\":{\"Content-Type\":\"application/json\"},\"ignore_verify_ssl\":true,\"method\":\"PATCH\",\"type\":\"http\",\"url\":\"https://172.18.200.12:1443/api/v1/configurator/config/interface/eth0\"}"
Apr 21 23:40:52.929^[[37m [DEBU] [Configure DHCP listener interface] [configure_dhcp_listener_int] [http] ^[[0mresult of runTestStepExecutor: {TimeSeconds:60.012104528 StatusCode:504 Request:{Method:PATCH URL:https://172.18.200.12:1443/api/v1/configurator/config/interface/eth0 Header:map[Content-Type:[application/json]] Body:{
  "ipaddress": "192.168.121.75",
  "netmask": "255.255.255.0",
  "type": "dhcp-listener"
} Form:map[] PostForm:map[]} Body:<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
 BodyJSON:<nil> Headers:map[Cache-Control:no-cache Content-Length:92 Content-Type:text/html] Err:}
Apr 21 23:40:52.930^[[33m [WARN] [Configure DHCP listener interface] [configure_dhcp_listener_int] ^[[0mTestcase "configure_dhcp_listener_int", step #0: Assertion "result.statuscode ShouldEqual 200" failed. expected: 200  got: 504 (/usr/local/pf/t/venom/test_suites/configurator/00_configure_dhcp_listener_interface.yml:27)

Mandatory informations

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

@JeGoi JeGoi added the tests Issues related to tests performed by CI label Apr 22, 2024
@JeGoi
Copy link
Contributor Author

JeGoi commented Apr 29, 2024

https://github.com/inverse-inc/packetfence/blob/devel/t/venom/test_suites/configurator/00_configure_dhcp_listener_interface.yml#L12
It looks like it affects only that branch...
It also looks like it is not runner specific.
BUT only some scenario are affected.

@JeGoi
Copy link
Contributor Author

JeGoi commented Apr 30, 2024

I am able to replicate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issues related to tests performed by CI
Projects
None yet
Development

No branches or pull requests

2 participants