2025-09-05 13:38:22,328 - INFO - Domain Default found not creating 2025-09-05 13:38:22,458 - INFO - Project ctest-TestRouters-19315560 not found, creating it 2025-09-05 13:38:22,985 - INFO - Created Project:ctest-TestRouters-19315560, ID : b52eb66b-88f0-4e68-9d24-99a8ccf7efd2 2025-09-05 13:38:24,391 - INFO - ================================================================================ 2025-09-05 13:38:24,391 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-05 13:38:24,391 - 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-09-05 13:38:24,645 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 13:38:24,645 - INFO - Initial checks done. Running the testcase now 2025-09-05 13:38:24,645 - INFO - 2025-09-05 13:38:25,183 - DEBUG - Response for create_network : {'network': {'id': '8176cc94-b50e-4887-80b9-3fff7fcf0d83', 'name': 'ctest-vn1-39376814', 'tenant_id': 'b52eb66b88f04e689d2499a8ccf7efd2', 'project_id': 'b52eb66b88f04e689d2499a8ccf7efd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19315560', 'ctest-vn1-39376814'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 13:38:25,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f361e11a-45cd-4383-88d4-8f96aaa86e1f', 'name': '', 'tenant_id': 'b52eb66b88f04e689d2499a8ccf7efd2', 'network_id': '8176cc94-b50e-4887-80b9-3fff7fcf0d83', 'ip_version': 4, 'cidr': '51.56.132.64/26', 'allocation_pools': [{'start': '51.56.132.66', 'end': '51.56.132.126'}], 'gateway_ip': '51.56.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.56.132.66', 'tags': [], 'project_id': 'b52eb66b88f04e689d2499a8ccf7efd2'}} 2025-09-05 13:38:25,377 - INFO - Created VN ctest-vn1-39376814 2025-09-05 13:38:25,428 - DEBUG - VN ctest-vn1-39376814 UUID is 8176cc94-b50e-4887-80b9-3fff7fcf0d83 2025-09-05 13:38:25,754 - DEBUG - Response for create_network : {'network': {'id': '370bcafb-97eb-48eb-bb8d-150fbfa216ca', 'name': 'ctest-vn2-87126142', 'tenant_id': 'b52eb66b88f04e689d2499a8ccf7efd2', 'project_id': 'b52eb66b88f04e689d2499a8ccf7efd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19315560', 'ctest-vn2-87126142'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 13:38:25,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '241396d5-c232-405c-8715-5dc2a7fbab5b', 'name': '', 'tenant_id': 'b52eb66b88f04e689d2499a8ccf7efd2', 'network_id': '370bcafb-97eb-48eb-bb8d-150fbfa216ca', 'ip_version': 4, 'cidr': '13.173.224.128/26', 'allocation_pools': [{'start': '13.173.224.130', 'end': '13.173.224.190'}], 'gateway_ip': '13.173.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.173.224.130', 'tags': [], 'project_id': 'b52eb66b88f04e689d2499a8ccf7efd2'}} 2025-09-05 13:38:25,976 - INFO - Created VN ctest-vn2-87126142 2025-09-05 13:38:26,028 - DEBUG - VN ctest-vn2-87126142 UUID is 370bcafb-97eb-48eb-bb8d-150fbfa216ca 2025-09-05 13:38:26,268 - DEBUG - Services list from nova: [, , ] 2025-09-05 13:38:27,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1) 2025-09-05 13:38:28,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1) 2025-09-05 13:38:28,508 - INFO - Adding interface with subnet_id f361e11a-45cd-4383-88d4-8f96aaa86e1f, port_id None to router 378562e6-e287-4d2d-b2b8-5779dc8fd000 2025-09-05 13:38:28,787 - INFO - Waiting for VM ctest-vn1-vm1-46323819 to be up.. 2025-09-05 13:38:28,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 13:38:33,984 - DEBUG - VM is in ACTIVE state now 2025-09-05 13:38:33,984 - INFO - VM name : ctest-vn1-vm1-46323819 2025-09-05 13:38:34,058 - DEBUG - VM ctest-vn1-vm1-46323819 ID is 1123699c-9517-4987-985d-58fe498dffa5 2025-09-05 13:38:34,076 - DEBUG - VM ctest-vn1-vm1-46323819 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1 2025-09-05 13:38:34,141 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1123699c-9517-4987-985d-58fe498dffa5 2025-09-05 13:38:34,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1123699c-9517-4987-985d-58fe498dffa5 2025-09-05 13:38:34,464 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dba416a7-d709-419f-bcb0-325a3fb3fddf 2025-09-05 13:38:37,737 - 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 1035ms') 2025-09-05 13:38:37,737 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46323819 failed! 2025-09-05 13:38:37,792 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19315560:ctest-vn1-39376814 is 51.56.132.65 and allocation pool is NOT set 2025-09-05 13:38:39,849 - 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=3.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 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.561/1.839/3.117/1.278 ms') 2025-09-05 13:38:39,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46323819 passed 2025-09-05 13:38:39,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:38:39,996 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46323819, IP 51.56.132.67, Port 22 2025-09-05 13:38:40,147 - DEBUG - VM ctest-vn1-vm1-46323819 is ready for SSH connections 2025-09-05 13:38:40,147 - INFO - Waiting for VM ctest-vn2-vm1-73323599 to be up.. 2025-09-05 13:38:40,213 - DEBUG - VM is in ACTIVE state now 2025-09-05 13:38:40,213 - INFO - VM name : ctest-vn2-vm1-73323599 2025-09-05 13:38:40,278 - DEBUG - VM ctest-vn2-vm1-73323599 ID is 0a109a5b-c560-4e9b-95e8-7bfa5dbf949b 2025-09-05 13:38:40,278 - DEBUG - VM ctest-vn2-vm1-73323599 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1 2025-09-05 13:38:40,340 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0a109a5b-c560-4e9b-95e8-7bfa5dbf949b 2025-09-05 13:38:40,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ffa333c-d775-4813-893b-42d544245978 2025-09-05 13:38:41,578 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.473/2.559/1.086 ms') 2025-09-05 13:38:41,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-73323599 passed 2025-09-05 13:38:41,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:38:41,724 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-73323599, IP 13.173.224.131, Port 22 2025-09-05 13:38:41,879 - DEBUG - VM ctest-vn2-vm1-73323599 is ready for SSH connections 2025-09-05 13:38:41,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:38:41,879 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.173.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:38:41,879 - DEBUG - ping -s 56 -c 3 -W 1 13.173.224.131 2025-09-05 13:38:46,534 - DEBUG - PING 13.173.224.131 (13.173.224.131): 56 data bytes --- 13.173.224.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 13:38:46,535 - WARNING - Ping to IP 13.173.224.131 from VM ctest-vn1-vm1-46323819 failed 2025-09-05 13:38:46,535 - INFO - Adding interface with subnet_id 241396d5-c232-405c-8715-5dc2a7fbab5b, port_id None to router 378562e6-e287-4d2d-b2b8-5779dc8fd000 2025-09-05 13:38:46,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:38:46,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.173.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:38:46,819 - DEBUG - ping -s 56 -c 3 -W 1 13.173.224.131 2025-09-05 13:38:49,035 - DEBUG - PING 13.173.224.131 (13.173.224.131): 56 data bytes 64 bytes from 13.173.224.131: seq=0 ttl=63 time=2.261 ms 64 bytes from 13.173.224.131: seq=1 ttl=63 time=0.874 ms 64 bytes from 13.173.224.131: seq=2 ttl=63 time=0.815 ms --- 13.173.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.316/2.261 ms 2025-09-05 13:38:49,035 - INFO - Ping to IP 13.173.224.131 from VM ctest-vn1-vm1-46323819 passed 2025-09-05 13:38:49,035 - INFO - Deleting interface with subnet_id f361e11a-45cd-4383-88d4-8f96aaa86e1f, port_id None from router 378562e6-e287-4d2d-b2b8-5779dc8fd000 2025-09-05 13:38:49,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:38:49,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.173.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:38:49,146 - DEBUG - ping -s 56 -c 3 -W 1 13.173.224.131 2025-09-05 13:38:52,341 - DEBUG - PING 13.173.224.131 (13.173.224.131): 56 data bytes --- 13.173.224.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 13:38:52,341 - WARNING - Ping to IP 13.173.224.131 from VM ctest-vn1-vm1-46323819 failed 2025-09-05 13:38:52,341 - INFO - Adding interface with subnet_id f361e11a-45cd-4383-88d4-8f96aaa86e1f, port_id None to router 378562e6-e287-4d2d-b2b8-5779dc8fd000 2025-09-05 13:38:52,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:38:52,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.173.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:38:52,533 - DEBUG - ping -s 56 -c 3 -W 1 13.173.224.131 2025-09-05 13:38:55,745 - DEBUG - PING 13.173.224.131 (13.173.224.131): 56 data bytes 64 bytes from 13.173.224.131: seq=1 ttl=63 time=1.372 ms 64 bytes from 13.173.224.131: seq=2 ttl=63 time=0.842 ms --- 13.173.224.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.842/1.107/1.372 ms 2025-09-05 13:38:55,745 - WARNING - Ping to IP 13.173.224.131 from VM ctest-vn1-vm1-46323819 failed 2025-09-05 13:38:56,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.173.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:38:56,746 - DEBUG - ping -s 56 -c 3 -W 1 13.173.224.131 2025-09-05 13:38:58,946 - DEBUG - PING 13.173.224.131 (13.173.224.131): 56 data bytes 64 bytes from 13.173.224.131: seq=0 ttl=63 time=1.373 ms 64 bytes from 13.173.224.131: seq=1 ttl=63 time=0.815 ms 64 bytes from 13.173.224.131: seq=2 ttl=63 time=0.754 ms --- 13.173.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/0.980/1.373 ms 2025-09-05 13:38:58,946 - INFO - Ping to IP 13.173.224.131 from VM ctest-vn1-vm1-46323819 passed 2025-09-05 13:38:58,946 - INFO - Deleting interface with subnet_id 241396d5-c232-405c-8715-5dc2a7fbab5b, port_id None from router 378562e6-e287-4d2d-b2b8-5779dc8fd000 2025-09-05 13:38:59,086 - INFO - Deleting interface with subnet_id f361e11a-45cd-4383-88d4-8f96aaa86e1f, port_id None from router 378562e6-e287-4d2d-b2b8-5779dc8fd000 2025-09-05 13:38:59,279 - INFO - Deleting VM ctest-vn2-vm1-73323599 2025-09-05 13:38:59,344 - INFO - Deleting VM ctest-vn1-vm1-46323819 2025-09-05 13:38:59,418 - INFO - Deleting VN ctest-vn2-87126142 2025-09-05 13:38:59,452 - DEBUG - VN 370bcafb-97eb-48eb-bb8d-150fbfa216ca still in use: Unable to complete operation on network 370bcafb-97eb-48eb-bb8d-150fbfa216ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1996afc-e7ed-4f71-9c32-0eca705c9848'] 2025-09-05 13:38:59,453 - WARNING - Deleting VN ctest-vn2-87126142 failed..Will retry 2025-09-05 13:39:01,549 - DEBUG - Response for deleting network () 2025-09-05 13:39:01,549 - INFO - Deleting VN ctest-vn1-39376814 2025-09-05 13:39:01,640 - DEBUG - Response for deleting network () 2025-09-05 13:39:01,900 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 13:39:01,900 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-05 13:39:01,900 - INFO - -------------------------------------------------------------------------------- 2025-09-05 13:39:02,537 - INFO - Deleted project: ctest-TestRouters-19315560, ID : b52eb66b-88f0-4e68-9d24-99a8ccf7efd2