2025-10-08 22:17:04,005 - INFO - Domain Default found not creating 2025-10-08 22:17:04,131 - INFO - Project ctest-TestRouters-52112738 not found, creating it 2025-10-08 22:17:04,571 - INFO - Created Project:ctest-TestRouters-52112738, ID : cf11e9cb-b5aa-417e-a1d8-ba67a0e679e2 2025-10-08 22:17:05,957 - INFO - ================================================================================ 2025-10-08 22:17:05,957 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 22:17:05,957 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-10-08 22:17:06,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.254': '0'}} with 2025-10-08 22:17:06,211 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:17:06,212 - INFO - 2025-10-08 22:17:06,742 - DEBUG - Response for create_network : {'network': {'id': 'b36f916b-7bf1-41d0-a4f1-66728ea9b3ff', 'name': 'ctest-vn1-61999802', 'tenant_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2', 'project_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52112738', 'ctest-vn1-61999802'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:17:06,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fa51100-a739-409e-a221-912b906431c2', 'name': '', 'tenant_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2', 'network_id': 'b36f916b-7bf1-41d0-a4f1-66728ea9b3ff', 'ip_version': 4, 'cidr': '47.243.38.64/26', 'allocation_pools': [{'start': '47.243.38.66', 'end': '47.243.38.126'}], 'gateway_ip': '47.243.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.243.38.66', 'tags': [], 'project_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2'}} 2025-10-08 22:17:06,963 - INFO - Created VN ctest-vn1-61999802 2025-10-08 22:17:07,014 - DEBUG - VN ctest-vn1-61999802 UUID is b36f916b-7bf1-41d0-a4f1-66728ea9b3ff 2025-10-08 22:17:07,338 - DEBUG - Response for create_network : {'network': {'id': 'f425e15f-fa94-4393-a5e7-8a929ed1c191', 'name': 'ctest-vn2-42689802', 'tenant_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2', 'project_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52112738', 'ctest-vn2-42689802'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:17:07,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '842d81d4-a50a-48d3-b2aa-43427596e484', 'name': '', 'tenant_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2', 'network_id': 'f425e15f-fa94-4393-a5e7-8a929ed1c191', 'ip_version': 4, 'cidr': '42.207.102.128/26', 'allocation_pools': [{'start': '42.207.102.130', 'end': '42.207.102.190'}], 'gateway_ip': '42.207.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.207.102.130', 'tags': [], 'project_id': 'cf11e9cbb5aa417ea1d8ba67a0e679e2'}} 2025-10-08 22:17:07,590 - INFO - Created VN ctest-vn2-42689802 2025-10-08 22:17:07,646 - DEBUG - VN ctest-vn2-42689802 UUID is f425e15f-fa94-4393-a5e7-8a929ed1c191 2025-10-08 22:17:07,885 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:17:08,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1) 2025-10-08 22:17:09,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1) 2025-10-08 22:17:10,018 - INFO - Adding interface with subnet_id 8fa51100-a739-409e-a221-912b906431c2, port_id None to router bb59665c-de49-4e09-989c-920351a95bb8 2025-10-08 22:17:10,237 - INFO - Waiting for VM ctest-vn1-vm1-43342808 to be up.. 2025-10-08 22:17:10,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:17:15,393 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:17:15,393 - INFO - VM name : ctest-vn1-vm1-43342808 2025-10-08 22:17:15,455 - DEBUG - VM ctest-vn1-vm1-43342808 ID is e8358fca-7bcd-4ef7-8681-5c1f4b5d1408 2025-10-08 22:17:15,470 - DEBUG - VM ctest-vn1-vm1-43342808 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1 2025-10-08 22:17:15,529 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e8358fca-7bcd-4ef7-8681-5c1f4b5d1408 2025-10-08 22:17:15,816 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e8358fca-7bcd-4ef7-8681-5c1f4b5d1408 2025-10-08 22:17:15,841 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/812b8ff5-961f-4e93-9a01-8c2768d08024 2025-10-08 22:17:19,075 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-10-08 22:17:19,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43342808 failed! 2025-10-08 22:17:19,126 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-52112738:ctest-vn1-61999802 is 47.243.38.65 and allocation pool is NOT set 2025-10-08 22:17:21,183 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.362/1.528/2.694/1.166 ms') 2025-10-08 22:17:21,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43342808 passed 2025-10-08 22:17:21,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:17:21,334 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43342808, IP 47.243.38.67, Port 22 2025-10-08 22:17:21,490 - DEBUG - VM ctest-vn1-vm1-43342808 is ready for SSH connections 2025-10-08 22:17:21,490 - INFO - Waiting for VM ctest-vn2-vm1-98526145 to be up.. 2025-10-08 22:17:21,554 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:17:21,554 - INFO - VM name : ctest-vn2-vm1-98526145 2025-10-08 22:17:21,616 - DEBUG - VM ctest-vn2-vm1-98526145 ID is 26314cfe-e34c-4954-a230-88a5018c59ef 2025-10-08 22:17:21,616 - DEBUG - VM ctest-vn2-vm1-98526145 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1 2025-10-08 22:17:21,679 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/26314cfe-e34c-4954-a230-88a5018c59ef 2025-10-08 22:17:21,685 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/68a19e25-3578-46d2-a9ca-1b99f9f96340 2025-10-08 22:17:22,917 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.365/1.604/2.843/1.239 ms') 2025-10-08 22:17:22,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-98526145 passed 2025-10-08 22:17:23,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:17:23,029 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-98526145, IP 42.207.102.131, Port 22 2025-10-08 22:17:23,182 - DEBUG - VM ctest-vn2-vm1-98526145 is ready for SSH connections 2025-10-08 22:17:23,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:17:23,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.207.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:17:23,182 - DEBUG - ping -s 56 -c 3 -W 1 42.207.102.131 2025-10-08 22:17:27,799 - DEBUG - PING 42.207.102.131 (42.207.102.131): 56 data bytes --- 42.207.102.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 22:17:27,799 - WARNING - Ping to IP 42.207.102.131 from VM ctest-vn1-vm1-43342808 failed 2025-10-08 22:17:27,799 - INFO - Adding interface with subnet_id 842d81d4-a50a-48d3-b2aa-43427596e484, port_id None to router bb59665c-de49-4e09-989c-920351a95bb8 2025-10-08 22:17:28,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:17:28,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.207.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:17:28,013 - DEBUG - ping -s 56 -c 3 -W 1 42.207.102.131 2025-10-08 22:17:30,202 - DEBUG - PING 42.207.102.131 (42.207.102.131): 56 data bytes 64 bytes from 42.207.102.131: seq=0 ttl=63 time=2.774 ms 64 bytes from 42.207.102.131: seq=1 ttl=63 time=0.673 ms 64 bytes from 42.207.102.131: seq=2 ttl=63 time=0.695 ms --- 42.207.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.673/1.380/2.774 ms 2025-10-08 22:17:30,202 - INFO - Ping to IP 42.207.102.131 from VM ctest-vn1-vm1-43342808 passed 2025-10-08 22:17:30,202 - INFO - Deleting interface with subnet_id 8fa51100-a739-409e-a221-912b906431c2, port_id None from router bb59665c-de49-4e09-989c-920351a95bb8 2025-10-08 22:17:30,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:17:30,296 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.207.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:17:30,296 - DEBUG - ping -s 56 -c 3 -W 1 42.207.102.131 2025-10-08 22:17:33,484 - DEBUG - PING 42.207.102.131 (42.207.102.131): 56 data bytes --- 42.207.102.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 22:17:33,484 - WARNING - Ping to IP 42.207.102.131 from VM ctest-vn1-vm1-43342808 failed 2025-10-08 22:17:33,484 - INFO - Adding interface with subnet_id 8fa51100-a739-409e-a221-912b906431c2, port_id None to router bb59665c-de49-4e09-989c-920351a95bb8 2025-10-08 22:17:33,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:17:33,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.207.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:17:33,670 - DEBUG - ping -s 56 -c 3 -W 1 42.207.102.131 2025-10-08 22:17:35,862 - DEBUG - PING 42.207.102.131 (42.207.102.131): 56 data bytes 64 bytes from 42.207.102.131: seq=0 ttl=63 time=1.354 ms 64 bytes from 42.207.102.131: seq=1 ttl=63 time=0.707 ms 64 bytes from 42.207.102.131: seq=2 ttl=63 time=0.659 ms --- 42.207.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.659/0.906/1.354 ms 2025-10-08 22:17:35,862 - INFO - Ping to IP 42.207.102.131 from VM ctest-vn1-vm1-43342808 passed 2025-10-08 22:17:35,862 - INFO - Deleting interface with subnet_id 842d81d4-a50a-48d3-b2aa-43427596e484, port_id None from router bb59665c-de49-4e09-989c-920351a95bb8 2025-10-08 22:17:35,957 - INFO - Deleting interface with subnet_id 8fa51100-a739-409e-a221-912b906431c2, port_id None from router bb59665c-de49-4e09-989c-920351a95bb8 2025-10-08 22:17:36,096 - INFO - Deleting VM ctest-vn2-vm1-98526145 2025-10-08 22:17:36,152 - INFO - Deleting VM ctest-vn1-vm1-43342808 2025-10-08 22:17:36,213 - INFO - Deleting VN ctest-vn2-42689802 2025-10-08 22:17:36,247 - DEBUG - VN f425e15f-fa94-4393-a5e7-8a929ed1c191 still in use: Unable to complete operation on network f425e15f-fa94-4393-a5e7-8a929ed1c191. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72141eb6-bb3e-4341-bff6-428a7cede37d'] 2025-10-08 22:17:36,247 - WARNING - Deleting VN ctest-vn2-42689802 failed..Will retry 2025-10-08 22:17:38,336 - DEBUG - Response for deleting network () 2025-10-08 22:17:38,336 - INFO - Deleting VN ctest-vn1-61999802 2025-10-08 22:17:38,419 - DEBUG - Response for deleting network () 2025-10-08 22:17:38,678 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:17:38,678 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-10-08 22:17:38,678 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:17:39,316 - INFO - Deleted project: ctest-TestRouters-52112738, ID : cf11e9cb-b5aa-417e-a1d8-ba67a0e679e2