2025-11-22 09:44:47,661 - INFO - Domain Default found not creating 2025-11-22 09:44:47,831 - INFO - Project ctest-TestRouters-64516572 not found, creating it 2025-11-22 09:44:48,309 - INFO - Created Project:ctest-TestRouters-64516572, ID : 74487493-d381-4575-835f-3ae05277d2fb 2025-11-22 09:44:50,212 - INFO - ================================================================================ 2025-11-22 09:44:50,212 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-22 09:44:50,213 - 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-11-22 09:44:50,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-11-22 09:44:50,474 - INFO - Initial checks done. Running the testcase now 2025-11-22 09:44:50,475 - INFO - 2025-11-22 09:44:51,106 - DEBUG - Response for create_network : {'network': {'id': 'abda10a3-35c5-47bf-b634-cd5167bf6568', 'name': 'ctest-vn1-84854418', 'tenant_id': '74487493d3814575835f3ae05277d2fb', 'project_id': '74487493d3814575835f3ae05277d2fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64516572', 'ctest-vn1-84854418'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:44:51,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e999b721-cade-45cb-809c-78027a41de5a', 'name': '', 'tenant_id': '74487493d3814575835f3ae05277d2fb', 'network_id': 'abda10a3-35c5-47bf-b634-cd5167bf6568', 'ip_version': 4, 'cidr': '184.53.228.192/26', 'allocation_pools': [{'start': '184.53.228.194', 'end': '184.53.228.254'}], 'gateway_ip': '184.53.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.53.228.194', 'tags': [], 'project_id': '74487493d3814575835f3ae05277d2fb'}} 2025-11-22 09:44:51,350 - INFO - Created VN ctest-vn1-84854418 2025-11-22 09:44:51,404 - DEBUG - VN ctest-vn1-84854418 UUID is abda10a3-35c5-47bf-b634-cd5167bf6568 2025-11-22 09:44:51,708 - DEBUG - Response for create_network : {'network': {'id': '59af3a07-d262-4faf-b361-ef61b1b06413', 'name': 'ctest-vn2-45166726', 'tenant_id': '74487493d3814575835f3ae05277d2fb', 'project_id': '74487493d3814575835f3ae05277d2fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64516572', 'ctest-vn2-45166726'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:44:51,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '43df6cc0-0350-4735-82a5-f838cb224518', 'name': '', 'tenant_id': '74487493d3814575835f3ae05277d2fb', 'network_id': '59af3a07-d262-4faf-b361-ef61b1b06413', 'ip_version': 4, 'cidr': '22.109.197.128/26', 'allocation_pools': [{'start': '22.109.197.130', 'end': '22.109.197.190'}], 'gateway_ip': '22.109.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.109.197.130', 'tags': [], 'project_id': '74487493d3814575835f3ae05277d2fb'}} 2025-11-22 09:44:51,930 - INFO - Created VN ctest-vn2-45166726 2025-11-22 09:44:51,983 - DEBUG - VN ctest-vn2-45166726 UUID is 59af3a07-d262-4faf-b361-ef61b1b06413 2025-11-22 09:44:52,155 - DEBUG - Services list from nova: [, , ] 2025-11-22 09:44:53,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1) 2025-11-22 09:44:54,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1) 2025-11-22 09:44:54,601 - INFO - Adding interface with subnet_id e999b721-cade-45cb-809c-78027a41de5a, port_id None to router 21047fc1-154f-4787-be49-7d2ef247ca2b 2025-11-22 09:44:54,913 - INFO - Waiting for VM ctest-vn1-vm1-75517983 to be up.. 2025-11-22 09:44:55,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 09:45:00,138 - DEBUG - VM is in ACTIVE state now 2025-11-22 09:45:00,138 - INFO - VM name : ctest-vn1-vm1-75517983 2025-11-22 09:45:00,249 - DEBUG - VM ctest-vn1-vm1-75517983 ID is cadf4877-8fb0-4a65-b71b-36ac2d1dd605 2025-11-22 09:45:00,276 - DEBUG - VM ctest-vn1-vm1-75517983 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1 2025-11-22 09:45:00,375 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cadf4877-8fb0-4a65-b71b-36ac2d1dd605 2025-11-22 09:45:00,697 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cadf4877-8fb0-4a65-b71b-36ac2d1dd605 2025-11-22 09:45:00,737 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b9261c10-053e-4bf5-bd14-75d03df9d579 2025-11-22 09:45:03,998 - 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 1013ms') 2025-11-22 09:45:03,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75517983 failed! 2025-11-22 09:45:04,055 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-64516572:ctest-vn1-84854418 is 184.53.228.193 and allocation pool is NOT set 2025-11-22 09:45:06,125 - 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=5.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.068/3.813/5.558/1.745 ms') 2025-11-22 09:45:06,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75517983 passed 2025-11-22 09:45:06,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:06,280 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75517983, IP 184.53.228.195, Port 22 2025-11-22 09:45:06,435 - DEBUG - VM ctest-vn1-vm1-75517983 is ready for SSH connections 2025-11-22 09:45:06,435 - INFO - Waiting for VM ctest-vn2-vm1-48255583 to be up.. 2025-11-22 09:45:06,514 - DEBUG - VM is in ACTIVE state now 2025-11-22 09:45:06,515 - INFO - VM name : ctest-vn2-vm1-48255583 2025-11-22 09:45:06,599 - DEBUG - VM ctest-vn2-vm1-48255583 ID is 6e553f93-debc-4a28-b0bb-0c8f2318210b 2025-11-22 09:45:06,599 - DEBUG - VM ctest-vn2-vm1-48255583 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1 2025-11-22 09:45:06,681 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6e553f93-debc-4a28-b0bb-0c8f2318210b 2025-11-22 09:45:06,689 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/996e8abf-a279-4c69-a704-d4cd24166e1d 2025-11-22 09:45:07,927 - 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=3.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.522/1.783/3.044/1.261 ms') 2025-11-22 09:45:07,927 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48255583 passed 2025-11-22 09:45:08,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:08,083 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48255583, IP 22.109.197.131, Port 22 2025-11-22 09:45:08,243 - DEBUG - VM ctest-vn2-vm1-48255583 is ready for SSH connections 2025-11-22 09:45:08,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:08,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.109.197.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:45:08,244 - DEBUG - ping -s 56 -c 3 -W 1 22.109.197.131 2025-11-22 09:45:13,298 - DEBUG - PING 22.109.197.131 (22.109.197.131): 56 data bytes --- 22.109.197.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-22 09:45:13,298 - WARNING - Ping to IP 22.109.197.131 from VM ctest-vn1-vm1-75517983 failed 2025-11-22 09:45:13,298 - INFO - Adding interface with subnet_id 43df6cc0-0350-4735-82a5-f838cb224518, port_id None to router 21047fc1-154f-4787-be49-7d2ef247ca2b 2025-11-22 09:45:13,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:13,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.109.197.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:45:13,523 - DEBUG - ping -s 56 -c 3 -W 1 22.109.197.131 2025-11-22 09:45:16,762 - DEBUG - PING 22.109.197.131 (22.109.197.131): 56 data bytes 64 bytes from 22.109.197.131: seq=1 ttl=63 time=3.464 ms 64 bytes from 22.109.197.131: seq=2 ttl=63 time=0.980 ms --- 22.109.197.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.980/2.222/3.464 ms 2025-11-22 09:45:16,762 - WARNING - Ping to IP 22.109.197.131 from VM ctest-vn1-vm1-75517983 failed 2025-11-22 09:45:17,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.109.197.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:45:17,763 - DEBUG - ping -s 56 -c 3 -W 1 22.109.197.131 2025-11-22 09:45:19,993 - DEBUG - PING 22.109.197.131 (22.109.197.131): 56 data bytes 64 bytes from 22.109.197.131: seq=0 ttl=63 time=1.663 ms 64 bytes from 22.109.197.131: seq=1 ttl=63 time=0.893 ms 64 bytes from 22.109.197.131: seq=2 ttl=63 time=1.069 ms --- 22.109.197.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/1.208/1.663 ms 2025-11-22 09:45:19,994 - INFO - Ping to IP 22.109.197.131 from VM ctest-vn1-vm1-75517983 passed 2025-11-22 09:45:19,994 - INFO - Deleting interface with subnet_id e999b721-cade-45cb-809c-78027a41de5a, port_id None from router 21047fc1-154f-4787-be49-7d2ef247ca2b 2025-11-22 09:45:20,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:20,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.109.197.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:45:20,124 - DEBUG - ping -s 56 -c 3 -W 1 22.109.197.131 2025-11-22 09:45:23,341 - DEBUG - PING 22.109.197.131 (22.109.197.131): 56 data bytes --- 22.109.197.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-22 09:45:23,341 - WARNING - Ping to IP 22.109.197.131 from VM ctest-vn1-vm1-75517983 failed 2025-11-22 09:45:23,341 - INFO - Adding interface with subnet_id e999b721-cade-45cb-809c-78027a41de5a, port_id None to router 21047fc1-154f-4787-be49-7d2ef247ca2b 2025-11-22 09:45:23,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:23,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.109.197.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:45:23,549 - DEBUG - ping -s 56 -c 3 -W 1 22.109.197.131 2025-11-22 09:45:25,771 - DEBUG - PING 22.109.197.131 (22.109.197.131): 56 data bytes 64 bytes from 22.109.197.131: seq=0 ttl=63 time=1.355 ms 64 bytes from 22.109.197.131: seq=1 ttl=63 time=0.997 ms 64 bytes from 22.109.197.131: seq=2 ttl=63 time=1.075 ms --- 22.109.197.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/1.142/1.355 ms 2025-11-22 09:45:25,771 - INFO - Ping to IP 22.109.197.131 from VM ctest-vn1-vm1-75517983 passed 2025-11-22 09:45:25,771 - INFO - Deleting interface with subnet_id 43df6cc0-0350-4735-82a5-f838cb224518, port_id None from router 21047fc1-154f-4787-be49-7d2ef247ca2b 2025-11-22 09:45:25,902 - INFO - Deleting interface with subnet_id e999b721-cade-45cb-809c-78027a41de5a, port_id None from router 21047fc1-154f-4787-be49-7d2ef247ca2b 2025-11-22 09:45:26,094 - INFO - Deleting VM ctest-vn2-vm1-48255583 2025-11-22 09:45:26,183 - INFO - Deleting VM ctest-vn1-vm1-75517983 2025-11-22 09:45:26,263 - INFO - Deleting VN ctest-vn2-45166726 2025-11-22 09:45:26,301 - DEBUG - VN 59af3a07-d262-4faf-b361-ef61b1b06413 still in use: Unable to complete operation on network 59af3a07-d262-4faf-b361-ef61b1b06413. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22efea03-fcb1-4566-9b18-0be53b9a588d'] 2025-11-22 09:45:26,301 - WARNING - Deleting VN ctest-vn2-45166726 failed..Will retry 2025-11-22 09:45:28,408 - DEBUG - Response for deleting network () 2025-11-22 09:45:28,408 - INFO - Deleting VN ctest-vn1-84854418 2025-11-22 09:45:28,506 - DEBUG - Response for deleting network () 2025-11-22 09:45:28,760 - DEBUG - No XMPP flaps were noticed during the test 2025-11-22 09:45:28,760 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-22 09:45:28,760 - INFO - -------------------------------------------------------------------------------- 2025-11-22 09:45:29,451 - INFO - Deleted project: ctest-TestRouters-64516572, ID : 74487493-d381-4575-835f-3ae05277d2fb