2025-08-22 09:32:03,122 - INFO - Domain Default found not creating 2025-08-22 09:32:03,263 - INFO - Project ctest-TestRouters-07268998 not found, creating it 2025-08-22 09:32:03,729 - INFO - Created Project:ctest-TestRouters-07268998, ID : 60dce90f-db21-4ba5-a0f0-fb38ae6ea771 2025-08-22 09:32:05,131 - INFO - ================================================================================ 2025-08-22 09:32:05,131 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-22 09:32:05,131 - 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-08-22 09:32:05,393 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-22 09:32:05,393 - INFO - Initial checks done. Running the testcase now 2025-08-22 09:32:05,393 - INFO - 2025-08-22 09:32:05,948 - DEBUG - Response for create_network : {'network': {'id': 'f70a9f4d-c26f-4441-8872-ca2d876dd8eb', 'name': 'ctest-vn1-06149942', 'tenant_id': '60dce90fdb214ba5a0f0fb38ae6ea771', 'project_id': '60dce90fdb214ba5a0f0fb38ae6ea771', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07268998', 'ctest-vn1-06149942'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:32:06,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bdc329b-811a-474a-a471-8e40ddb4c891', 'name': '', 'tenant_id': '60dce90fdb214ba5a0f0fb38ae6ea771', 'network_id': 'f70a9f4d-c26f-4441-8872-ca2d876dd8eb', 'ip_version': 4, 'cidr': '46.241.187.64/26', 'allocation_pools': [{'start': '46.241.187.66', 'end': '46.241.187.126'}], 'gateway_ip': '46.241.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.241.187.66', 'tags': [], 'project_id': '60dce90fdb214ba5a0f0fb38ae6ea771'}} 2025-08-22 09:32:06,186 - INFO - Created VN ctest-vn1-06149942 2025-08-22 09:32:06,240 - DEBUG - VN ctest-vn1-06149942 UUID is f70a9f4d-c26f-4441-8872-ca2d876dd8eb 2025-08-22 09:32:06,589 - DEBUG - Response for create_network : {'network': {'id': '801546c7-3a82-41c9-81ff-4ee243044fc1', 'name': 'ctest-vn2-97263140', 'tenant_id': '60dce90fdb214ba5a0f0fb38ae6ea771', 'project_id': '60dce90fdb214ba5a0f0fb38ae6ea771', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07268998', 'ctest-vn2-97263140'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:32:06,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f6e3eaf-9e21-4b1f-9adb-e84d91d795d3', 'name': '', 'tenant_id': '60dce90fdb214ba5a0f0fb38ae6ea771', 'network_id': '801546c7-3a82-41c9-81ff-4ee243044fc1', 'ip_version': 4, 'cidr': '155.135.242.64/26', 'allocation_pools': [{'start': '155.135.242.66', 'end': '155.135.242.126'}], 'gateway_ip': '155.135.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.135.242.66', 'tags': [], 'project_id': '60dce90fdb214ba5a0f0fb38ae6ea771'}} 2025-08-22 09:32:06,808 - INFO - Created VN ctest-vn2-97263140 2025-08-22 09:32:06,861 - DEBUG - VN ctest-vn2-97263140 UUID is 801546c7-3a82-41c9-81ff-4ee243044fc1 2025-08-22 09:32:07,118 - DEBUG - Services list from nova: [, , ] 2025-08-22 09:32:08,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1) 2025-08-22 09:32:09,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1) 2025-08-22 09:32:09,478 - INFO - Adding interface with subnet_id 9bdc329b-811a-474a-a471-8e40ddb4c891, port_id None to router 45e74ce4-2b56-493f-b610-71f667d81edd 2025-08-22 09:32:09,811 - INFO - Waiting for VM ctest-vn1-vm1-72003329 to be up.. 2025-08-22 09:32:09,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 09:32:14,962 - DEBUG - VM is in ACTIVE state now 2025-08-22 09:32:14,962 - INFO - VM name : ctest-vn1-vm1-72003329 2025-08-22 09:32:15,031 - DEBUG - VM ctest-vn1-vm1-72003329 ID is 8db7022c-a27d-4730-9191-7c163a1d07a4 2025-08-22 09:32:15,049 - DEBUG - VM ctest-vn1-vm1-72003329 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1 2025-08-22 09:32:15,116 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8db7022c-a27d-4730-9191-7c163a1d07a4 2025-08-22 09:32:15,407 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8db7022c-a27d-4730-9191-7c163a1d07a4 2025-08-22 09:32:15,435 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b3813b63-9f30-40f4-b872-d397e7c59493 2025-08-22 09:32:18,691 - 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 1011ms') 2025-08-22 09:32:18,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72003329 failed! 2025-08-22 09:32:18,748 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-07268998:ctest-vn1-06149942 is 46.241.187.65 and allocation pool is NOT set 2025-08-22 09:32:20,808 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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.397/1.693/2.990/1.296 ms') 2025-08-22 09:32:20,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72003329 passed 2025-08-22 09:32:20,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:32:20,968 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72003329, IP 46.241.187.67, Port 22 2025-08-22 09:32:21,141 - DEBUG - VM ctest-vn1-vm1-72003329 is ready for SSH connections 2025-08-22 09:32:21,141 - INFO - Waiting for VM ctest-vn2-vm1-47759585 to be up.. 2025-08-22 09:32:21,216 - DEBUG - VM is in ACTIVE state now 2025-08-22 09:32:21,216 - INFO - VM name : ctest-vn2-vm1-47759585 2025-08-22 09:32:21,291 - DEBUG - VM ctest-vn2-vm1-47759585 ID is f62fbb92-b2f6-45ef-bcda-cd8d96f7269e 2025-08-22 09:32:21,291 - DEBUG - VM ctest-vn2-vm1-47759585 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1 2025-08-22 09:32:21,361 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f62fbb92-b2f6-45ef-bcda-cd8d96f7269e 2025-08-22 09:32:21,369 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d3cfa4a9-050d-48bf-8918-00ad7a48f06c 2025-08-22 09:32:22,620 - 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=8.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.800 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.800/4.665/8.531/3.865 ms') 2025-08-22 09:32:22,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47759585 passed 2025-08-22 09:32:22,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:32:22,772 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47759585, IP 155.135.242.67, Port 22 2025-08-22 09:32:22,941 - DEBUG - VM ctest-vn2-vm1-47759585 is ready for SSH connections 2025-08-22 09:32:22,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:32:22,941 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.135.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:32:22,941 - DEBUG - ping -s 56 -c 3 -W 1 155.135.242.67 2025-08-22 09:32:27,558 - DEBUG - PING 155.135.242.67 (155.135.242.67): 56 data bytes --- 155.135.242.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 09:32:27,559 - WARNING - Ping to IP 155.135.242.67 from VM ctest-vn1-vm1-72003329 failed 2025-08-22 09:32:27,559 - INFO - Adding interface with subnet_id 7f6e3eaf-9e21-4b1f-9adb-e84d91d795d3, port_id None to router 45e74ce4-2b56-493f-b610-71f667d81edd 2025-08-22 09:32:27,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:32:27,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.135.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:32:27,869 - DEBUG - ping -s 56 -c 3 -W 1 155.135.242.67 2025-08-22 09:32:30,073 - DEBUG - PING 155.135.242.67 (155.135.242.67): 56 data bytes 64 bytes from 155.135.242.67: seq=0 ttl=63 time=2.280 ms 64 bytes from 155.135.242.67: seq=1 ttl=63 time=0.854 ms 64 bytes from 155.135.242.67: seq=2 ttl=63 time=0.745 ms --- 155.135.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.293/2.280 ms 2025-08-22 09:32:30,073 - INFO - Ping to IP 155.135.242.67 from VM ctest-vn1-vm1-72003329 passed 2025-08-22 09:32:30,073 - INFO - Deleting interface with subnet_id 9bdc329b-811a-474a-a471-8e40ddb4c891, port_id None from router 45e74ce4-2b56-493f-b610-71f667d81edd 2025-08-22 09:32:30,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:32:30,188 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.135.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:32:30,188 - DEBUG - ping -s 56 -c 3 -W 1 155.135.242.67 2025-08-22 09:32:33,384 - DEBUG - PING 155.135.242.67 (155.135.242.67): 56 data bytes --- 155.135.242.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 09:32:33,384 - WARNING - Ping to IP 155.135.242.67 from VM ctest-vn1-vm1-72003329 failed 2025-08-22 09:32:33,384 - INFO - Adding interface with subnet_id 9bdc329b-811a-474a-a471-8e40ddb4c891, port_id None to router 45e74ce4-2b56-493f-b610-71f667d81edd 2025-08-22 09:32:33,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:32:33,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.135.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:32:33,621 - DEBUG - ping -s 56 -c 3 -W 1 155.135.242.67 2025-08-22 09:32:36,825 - DEBUG - PING 155.135.242.67 (155.135.242.67): 56 data bytes 64 bytes from 155.135.242.67: seq=1 ttl=63 time=1.202 ms 64 bytes from 155.135.242.67: seq=2 ttl=63 time=0.725 ms --- 155.135.242.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.725/0.963/1.202 ms 2025-08-22 09:32:36,825 - WARNING - Ping to IP 155.135.242.67 from VM ctest-vn1-vm1-72003329 failed 2025-08-22 09:32:37,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.135.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:32:37,826 - DEBUG - ping -s 56 -c 3 -W 1 155.135.242.67 2025-08-22 09:32:40,019 - DEBUG - PING 155.135.242.67 (155.135.242.67): 56 data bytes 64 bytes from 155.135.242.67: seq=0 ttl=63 time=1.474 ms 64 bytes from 155.135.242.67: seq=1 ttl=63 time=0.783 ms 64 bytes from 155.135.242.67: seq=2 ttl=63 time=0.701 ms --- 155.135.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.701/0.986/1.474 ms 2025-08-22 09:32:40,019 - INFO - Ping to IP 155.135.242.67 from VM ctest-vn1-vm1-72003329 passed 2025-08-22 09:32:40,019 - INFO - Deleting interface with subnet_id 7f6e3eaf-9e21-4b1f-9adb-e84d91d795d3, port_id None from router 45e74ce4-2b56-493f-b610-71f667d81edd 2025-08-22 09:32:40,137 - INFO - Deleting interface with subnet_id 9bdc329b-811a-474a-a471-8e40ddb4c891, port_id None from router 45e74ce4-2b56-493f-b610-71f667d81edd 2025-08-22 09:32:40,328 - INFO - Deleting VM ctest-vn2-vm1-47759585 2025-08-22 09:32:40,397 - INFO - Deleting VM ctest-vn1-vm1-72003329 2025-08-22 09:32:40,469 - INFO - Deleting VN ctest-vn2-97263140 2025-08-22 09:32:40,509 - DEBUG - VN 801546c7-3a82-41c9-81ff-4ee243044fc1 still in use: Unable to complete operation on network 801546c7-3a82-41c9-81ff-4ee243044fc1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4813bdca-a732-4257-a982-78eba6c6beea'] 2025-08-22 09:32:40,509 - WARNING - Deleting VN ctest-vn2-97263140 failed..Will retry 2025-08-22 09:32:42,605 - DEBUG - Response for deleting network () 2025-08-22 09:32:42,605 - INFO - Deleting VN ctest-vn1-06149942 2025-08-22 09:32:42,716 - DEBUG - Response for deleting network () 2025-08-22 09:32:42,973 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 09:32:42,973 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-08-22 09:32:42,973 - INFO - -------------------------------------------------------------------------------- 2025-08-22 09:32:43,635 - INFO - Deleted project: ctest-TestRouters-07268998, ID : 60dce90f-db21-4ba5-a0f0-fb38ae6ea771