2025-11-05 15:54:16,985 - INFO - Domain Default found not creating 2025-11-05 15:54:17,169 - INFO - Project ctest-TestRouters-42305094 not found, creating it 2025-11-05 15:54:17,640 - INFO - Created Project:ctest-TestRouters-42305094, ID : 0ab17b40-1059-4bf8-9fa3-0ea7e23e3168 2025-11-05 15:54:19,435 - INFO - ================================================================================ 2025-11-05 15:54:19,435 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 15:54:19,435 - 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-05 15:54:19,687 - WARNING - Test is running with cores: {'10.0.0.40': ['core.isc-loop-0003.72957.cn-jenkins-deploy-platform-ansible-os-4646-1.1762357600']} 2025-11-05 15:54:19,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.200': '0'}} with 2025-11-05 15:54:19,694 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:54:19,694 - INFO - 2025-11-05 15:54:20,332 - DEBUG - Response for create_network : {'network': {'id': 'c07acea4-5e77-4be1-a649-928829b06713', 'name': 'ctest-vn1-58130525', 'tenant_id': '0ab17b4010594bf89fa30ea7e23e3168', 'project_id': '0ab17b4010594bf89fa30ea7e23e3168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42305094', 'ctest-vn1-58130525'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:54:20,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f553498-df18-46b9-847b-b1c587563fad', 'name': '', 'tenant_id': '0ab17b4010594bf89fa30ea7e23e3168', 'network_id': 'c07acea4-5e77-4be1-a649-928829b06713', 'ip_version': 4, 'cidr': '34.13.229.64/26', 'allocation_pools': [{'start': '34.13.229.66', 'end': '34.13.229.126'}], 'gateway_ip': '34.13.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.13.229.66', 'tags': [], 'project_id': '0ab17b4010594bf89fa30ea7e23e3168'}} 2025-11-05 15:54:20,633 - INFO - Created VN ctest-vn1-58130525 2025-11-05 15:54:20,687 - DEBUG - VN ctest-vn1-58130525 UUID is c07acea4-5e77-4be1-a649-928829b06713 2025-11-05 15:54:21,005 - DEBUG - Response for create_network : {'network': {'id': 'f94c2683-3894-4b29-af18-4b5dde412e47', 'name': 'ctest-vn2-22899874', 'tenant_id': '0ab17b4010594bf89fa30ea7e23e3168', 'project_id': '0ab17b4010594bf89fa30ea7e23e3168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42305094', 'ctest-vn2-22899874'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:54:21,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b209c95a-0750-4bac-af42-6e81c2f63ea7', 'name': '', 'tenant_id': '0ab17b4010594bf89fa30ea7e23e3168', 'network_id': 'f94c2683-3894-4b29-af18-4b5dde412e47', 'ip_version': 4, 'cidr': '89.3.198.192/26', 'allocation_pools': [{'start': '89.3.198.194', 'end': '89.3.198.254'}], 'gateway_ip': '89.3.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.3.198.194', 'tags': [], 'project_id': '0ab17b4010594bf89fa30ea7e23e3168'}} 2025-11-05 15:54:21,207 - INFO - Created VN ctest-vn2-22899874 2025-11-05 15:54:21,263 - DEBUG - VN ctest-vn2-22899874 UUID is f94c2683-3894-4b29-af18-4b5dde412e47 2025-11-05 15:54:21,439 - DEBUG - Services list from nova: [, , ] 2025-11-05 15:54:22,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4646-1) 2025-11-05 15:54:23,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4646-1) 2025-11-05 15:54:24,063 - INFO - Adding interface with subnet_id 1f553498-df18-46b9-847b-b1c587563fad, port_id None to router 413abfee-d7c0-408d-8b9a-e84525ff70bf 2025-11-05 15:54:24,387 - INFO - Waiting for VM ctest-vn1-vm1-30482819 to be up.. 2025-11-05 15:54:24,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 15:54:29,601 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:54:29,601 - INFO - VM name : ctest-vn1-vm1-30482819 2025-11-05 15:54:29,683 - DEBUG - VM ctest-vn1-vm1-30482819 ID is c2951cfe-1073-49cf-bc15-58b17025e8a9 2025-11-05 15:54:29,706 - DEBUG - VM ctest-vn1-vm1-30482819 launched on Node cn-jenkins-deploy-platform-ansible-os-4646-1 2025-11-05 15:54:29,793 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/c2951cfe-1073-49cf-bc15-58b17025e8a9 2025-11-05 15:54:30,133 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/c2951cfe-1073-49cf-bc15-58b17025e8a9 2025-11-05 15:54:30,166 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/93087911-b723-4a1e-8d44-bc4cd7947bc8 2025-11-05 15:54:33,431 - 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 1022ms') 2025-11-05 15:54:33,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30482819 failed! 2025-11-05 15:54:33,492 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42305094:ctest-vn1-58130525 is 34.13.229.65 and allocation pool is NOT set 2025-11-05 15:54:35,556 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.996 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 = 0.996/2.776/4.556/1.780 ms') 2025-11-05 15:54:35,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30482819 passed 2025-11-05 15:54:35,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:35,712 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30482819, IP 34.13.229.67, Port 22 2025-11-05 15:54:35,867 - DEBUG - VM ctest-vn1-vm1-30482819 is ready for SSH connections 2025-11-05 15:54:35,867 - INFO - Waiting for VM ctest-vn2-vm1-20475802 to be up.. 2025-11-05 15:54:35,951 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:54:35,952 - INFO - VM name : ctest-vn2-vm1-20475802 2025-11-05 15:54:36,031 - DEBUG - VM ctest-vn2-vm1-20475802 ID is 4bd45ae4-b7ea-4a98-83f8-7c133dc87925 2025-11-05 15:54:36,031 - DEBUG - VM ctest-vn2-vm1-20475802 launched on Node cn-jenkins-deploy-platform-ansible-os-4646-1 2025-11-05 15:54:36,120 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/4bd45ae4-b7ea-4a98-83f8-7c133dc87925 2025-11-05 15:54:36,130 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/fcfbe86b-9634-4d51-a1cb-264479ecf569 2025-11-05 15:54:37,374 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.767/3.064/1.297 ms') 2025-11-05 15:54:37,374 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-20475802 passed 2025-11-05 15:54:37,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:37,523 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-20475802, IP 89.3.198.195, Port 22 2025-11-05 15:54:37,679 - DEBUG - VM ctest-vn2-vm1-20475802 is ready for SSH connections 2025-11-05 15:54:37,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:37,680 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.3.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-11-05 15:54:37,680 - DEBUG - ping -s 56 -c 3 -W 1 89.3.198.195 2025-11-05 15:54:42,787 - DEBUG - PING 89.3.198.195 (89.3.198.195): 56 data bytes --- 89.3.198.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 15:54:42,788 - WARNING - Ping to IP 89.3.198.195 from VM ctest-vn1-vm1-30482819 failed 2025-11-05 15:54:42,788 - INFO - Adding interface with subnet_id b209c95a-0750-4bac-af42-6e81c2f63ea7, port_id None to router 413abfee-d7c0-408d-8b9a-e84525ff70bf 2025-11-05 15:54:43,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:43,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.3.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-11-05 15:54:43,100 - DEBUG - ping -s 56 -c 3 -W 1 89.3.198.195 2025-11-05 15:54:46,344 - DEBUG - PING 89.3.198.195 (89.3.198.195): 56 data bytes 64 bytes from 89.3.198.195: seq=1 ttl=63 time=3.818 ms 64 bytes from 89.3.198.195: seq=2 ttl=63 time=1.198 ms --- 89.3.198.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.198/2.508/3.818 ms 2025-11-05 15:54:46,344 - WARNING - Ping to IP 89.3.198.195 from VM ctest-vn1-vm1-30482819 failed 2025-11-05 15:54:47,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.3.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-11-05 15:54:47,346 - DEBUG - ping -s 56 -c 3 -W 1 89.3.198.195 2025-11-05 15:54:49,584 - DEBUG - PING 89.3.198.195 (89.3.198.195): 56 data bytes 64 bytes from 89.3.198.195: seq=0 ttl=63 time=1.634 ms 64 bytes from 89.3.198.195: seq=1 ttl=63 time=1.132 ms 64 bytes from 89.3.198.195: seq=2 ttl=63 time=1.306 ms --- 89.3.198.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.132/1.357/1.634 ms 2025-11-05 15:54:49,584 - INFO - Ping to IP 89.3.198.195 from VM ctest-vn1-vm1-30482819 passed 2025-11-05 15:54:49,584 - INFO - Deleting interface with subnet_id 1f553498-df18-46b9-847b-b1c587563fad, port_id None from router 413abfee-d7c0-408d-8b9a-e84525ff70bf 2025-11-05 15:54:49,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:49,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.3.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-11-05 15:54:49,728 - DEBUG - ping -s 56 -c 3 -W 1 89.3.198.195 2025-11-05 15:54:52,961 - DEBUG - PING 89.3.198.195 (89.3.198.195): 56 data bytes --- 89.3.198.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 15:54:52,961 - WARNING - Ping to IP 89.3.198.195 from VM ctest-vn1-vm1-30482819 failed 2025-11-05 15:54:52,961 - INFO - Adding interface with subnet_id 1f553498-df18-46b9-847b-b1c587563fad, port_id None to router 413abfee-d7c0-408d-8b9a-e84525ff70bf 2025-11-05 15:54:53,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:53,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.3.198.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-11-05 15:54:53,235 - DEBUG - ping -s 56 -c 3 -W 1 89.3.198.195 2025-11-05 15:54:55,488 - DEBUG - PING 89.3.198.195 (89.3.198.195): 56 data bytes 64 bytes from 89.3.198.195: seq=0 ttl=63 time=1.839 ms 64 bytes from 89.3.198.195: seq=1 ttl=63 time=1.060 ms 64 bytes from 89.3.198.195: seq=2 ttl=63 time=1.102 ms --- 89.3.198.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/1.333/1.839 ms 2025-11-05 15:54:55,488 - INFO - Ping to IP 89.3.198.195 from VM ctest-vn1-vm1-30482819 passed 2025-11-05 15:54:55,488 - INFO - Deleting interface with subnet_id b209c95a-0750-4bac-af42-6e81c2f63ea7, port_id None from router 413abfee-d7c0-408d-8b9a-e84525ff70bf 2025-11-05 15:54:55,608 - INFO - Deleting interface with subnet_id 1f553498-df18-46b9-847b-b1c587563fad, port_id None from router 413abfee-d7c0-408d-8b9a-e84525ff70bf 2025-11-05 15:54:55,805 - INFO - Deleting VM ctest-vn2-vm1-20475802 2025-11-05 15:54:55,882 - INFO - Deleting VM ctest-vn1-vm1-30482819 2025-11-05 15:54:55,956 - INFO - Deleting VN ctest-vn2-22899874 2025-11-05 15:54:55,995 - DEBUG - VN f94c2683-3894-4b29-af18-4b5dde412e47 still in use: Unable to complete operation on network f94c2683-3894-4b29-af18-4b5dde412e47. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-663a7630-e876-4394-8264-5a0214f0468a'] 2025-11-05 15:54:55,995 - WARNING - Deleting VN ctest-vn2-22899874 failed..Will retry 2025-11-05 15:54:58,103 - DEBUG - Response for deleting network () 2025-11-05 15:54:58,103 - INFO - Deleting VN ctest-vn1-58130525 2025-11-05 15:54:58,198 - DEBUG - Response for deleting network () 2025-11-05 15:54:58,452 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 15:54:58,452 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-11-05 15:54:58,452 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:54:59,165 - INFO - Deleted project: ctest-TestRouters-42305094, ID : 0ab17b40-1059-4bf8-9fa3-0ea7e23e3168