2025-10-21 21:26:33,838 - INFO - Domain Default found not creating 2025-10-21 21:26:33,993 - INFO - Project ctest-TestRouters-13088532 not found, creating it 2025-10-21 21:26:34,474 - INFO - Created Project:ctest-TestRouters-13088532, ID : bf0a64f1-7321-42d6-897d-18c24f547108 2025-10-21 21:26:36,103 - INFO - ================================================================================ 2025-10-21 21:26:36,104 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 21:26:36,105 - 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-21 21:26:36,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 21:26:36,364 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:26:36,365 - INFO - 2025-10-21 21:26:36,923 - DEBUG - Response for create_network : {'network': {'id': '52c9c558-0514-40fc-a4e6-2442eb80b07a', 'name': 'ctest-vn1-83135599', 'tenant_id': 'bf0a64f1732142d6897d18c24f547108', 'project_id': 'bf0a64f1732142d6897d18c24f547108', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13088532', 'ctest-vn1-83135599'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:26:37,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '06670ba4-fe95-4125-9e2a-d65d699ad3a8', 'name': '', 'tenant_id': 'bf0a64f1732142d6897d18c24f547108', 'network_id': '52c9c558-0514-40fc-a4e6-2442eb80b07a', 'ip_version': 4, 'cidr': '113.150.62.128/26', 'allocation_pools': [{'start': '113.150.62.130', 'end': '113.150.62.190'}], 'gateway_ip': '113.150.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.150.62.130', 'tags': [], 'project_id': 'bf0a64f1732142d6897d18c24f547108'}} 2025-10-21 21:26:37,185 - INFO - Created VN ctest-vn1-83135599 2025-10-21 21:26:37,239 - DEBUG - VN ctest-vn1-83135599 UUID is 52c9c558-0514-40fc-a4e6-2442eb80b07a 2025-10-21 21:26:37,569 - DEBUG - Response for create_network : {'network': {'id': 'cbdbc61f-8890-4b3b-b213-64c7b254c16f', 'name': 'ctest-vn2-97071711', 'tenant_id': 'bf0a64f1732142d6897d18c24f547108', 'project_id': 'bf0a64f1732142d6897d18c24f547108', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13088532', 'ctest-vn2-97071711'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:26:37,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8974898-e522-4d9d-8275-1d566c4c3ffd', 'name': '', 'tenant_id': 'bf0a64f1732142d6897d18c24f547108', 'network_id': 'cbdbc61f-8890-4b3b-b213-64c7b254c16f', 'ip_version': 4, 'cidr': '196.52.157.128/26', 'allocation_pools': [{'start': '196.52.157.130', 'end': '196.52.157.190'}], 'gateway_ip': '196.52.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.52.157.130', 'tags': [], 'project_id': 'bf0a64f1732142d6897d18c24f547108'}} 2025-10-21 21:26:37,800 - INFO - Created VN ctest-vn2-97071711 2025-10-21 21:26:37,855 - DEBUG - VN ctest-vn2-97071711 UUID is cbdbc61f-8890-4b3b-b213-64c7b254c16f 2025-10-21 21:26:38,060 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:26:39,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:26:40,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:26:40,371 - INFO - Adding interface with subnet_id 06670ba4-fe95-4125-9e2a-d65d699ad3a8, port_id None to router 4db115a5-bd29-4f91-b2ae-72f8cab5f838 2025-10-21 21:26:40,625 - INFO - Waiting for VM ctest-vn1-vm1-35323496 to be up.. 2025-10-21 21:26:40,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:26:45,796 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:26:45,796 - INFO - VM name : ctest-vn1-vm1-35323496 2025-10-21 21:26:45,885 - DEBUG - VM ctest-vn1-vm1-35323496 ID is 685a9087-e7de-4e21-8f7c-ab994ffae616 2025-10-21 21:26:45,905 - DEBUG - VM ctest-vn1-vm1-35323496 launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:26:45,989 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/685a9087-e7de-4e21-8f7c-ab994ffae616 2025-10-21 21:26:46,286 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/685a9087-e7de-4e21-8f7c-ab994ffae616 2025-10-21 21:26:46,319 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/362a3eed-5aae-47cd-9e50-80c94eb2b2be 2025-10-21 21:26:49,584 - 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 1021ms') 2025-10-21 21:26:49,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35323496 failed! 2025-10-21 21:26:49,639 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-13088532:ctest-vn1-83135599 is 113.150.62.129 and allocation pool is NOT set 2025-10-21 21:26:51,699 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/2.409/4.351/1.942 ms') 2025-10-21 21:26:51,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35323496 passed 2025-10-21 21:26:51,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:26:51,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35323496, IP 113.150.62.131, Port 22 2025-10-21 21:26:52,022 - DEBUG - VM ctest-vn1-vm1-35323496 is ready for SSH connections 2025-10-21 21:26:52,022 - INFO - Waiting for VM ctest-vn2-vm1-14927951 to be up.. 2025-10-21 21:26:52,101 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:26:52,101 - INFO - VM name : ctest-vn2-vm1-14927951 2025-10-21 21:26:52,191 - DEBUG - VM ctest-vn2-vm1-14927951 ID is e2816479-b2b2-4e68-9030-3ada0bcab928 2025-10-21 21:26:52,191 - DEBUG - VM ctest-vn2-vm1-14927951 launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:26:52,276 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e2816479-b2b2-4e68-9030-3ada0bcab928 2025-10-21 21:26:52,286 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/545009cd-dc99-437c-95a8-997185987496 2025-10-21 21:26:53,535 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/2.242/4.066/1.824 ms') 2025-10-21 21:26:53,535 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14927951 passed 2025-10-21 21:26:53,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:26:53,695 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14927951, IP 196.52.157.131, Port 22 2025-10-21 21:26:53,854 - DEBUG - VM ctest-vn2-vm1-14927951 is ready for SSH connections 2025-10-21 21:26:53,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:26:53,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.52.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:26:53,854 - DEBUG - ping -s 56 -c 3 -W 1 196.52.157.131 2025-10-21 21:26:58,532 - DEBUG - PING 196.52.157.131 (196.52.157.131): 56 data bytes --- 196.52.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 21:26:58,533 - WARNING - Ping to IP 196.52.157.131 from VM ctest-vn1-vm1-35323496 failed 2025-10-21 21:26:58,533 - INFO - Adding interface with subnet_id f8974898-e522-4d9d-8275-1d566c4c3ffd, port_id None to router 4db115a5-bd29-4f91-b2ae-72f8cab5f838 2025-10-21 21:26:58,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:26:58,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.52.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:26:58,828 - DEBUG - ping -s 56 -c 3 -W 1 196.52.157.131 2025-10-21 21:27:02,036 - DEBUG - PING 196.52.157.131 (196.52.157.131): 56 data bytes 64 bytes from 196.52.157.131: seq=1 ttl=63 time=3.296 ms 64 bytes from 196.52.157.131: seq=2 ttl=63 time=0.946 ms --- 196.52.157.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.946/2.121/3.296 ms 2025-10-21 21:27:02,036 - WARNING - Ping to IP 196.52.157.131 from VM ctest-vn1-vm1-35323496 failed 2025-10-21 21:27:03,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.52.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:27:03,037 - DEBUG - ping -s 56 -c 3 -W 1 196.52.157.131 2025-10-21 21:27:05,255 - DEBUG - PING 196.52.157.131 (196.52.157.131): 56 data bytes 64 bytes from 196.52.157.131: seq=0 ttl=63 time=1.413 ms 64 bytes from 196.52.157.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 196.52.157.131: seq=2 ttl=63 time=1.037 ms --- 196.52.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.108/1.413 ms 2025-10-21 21:27:05,255 - INFO - Ping to IP 196.52.157.131 from VM ctest-vn1-vm1-35323496 passed 2025-10-21 21:27:05,255 - INFO - Deleting interface with subnet_id 06670ba4-fe95-4125-9e2a-d65d699ad3a8, port_id None from router 4db115a5-bd29-4f91-b2ae-72f8cab5f838 2025-10-21 21:27:05,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:27:05,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.52.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:27:05,398 - DEBUG - ping -s 56 -c 3 -W 1 196.52.157.131 2025-10-21 21:27:08,608 - DEBUG - PING 196.52.157.131 (196.52.157.131): 56 data bytes --- 196.52.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 21:27:08,609 - WARNING - Ping to IP 196.52.157.131 from VM ctest-vn1-vm1-35323496 failed 2025-10-21 21:27:08,609 - INFO - Adding interface with subnet_id 06670ba4-fe95-4125-9e2a-d65d699ad3a8, port_id None to router 4db115a5-bd29-4f91-b2ae-72f8cab5f838 2025-10-21 21:27:08,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:27:08,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.52.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:27:08,844 - DEBUG - ping -s 56 -c 3 -W 1 196.52.157.131 2025-10-21 21:27:11,046 - DEBUG - PING 196.52.157.131 (196.52.157.131): 56 data bytes 64 bytes from 196.52.157.131: seq=0 ttl=63 time=1.529 ms 64 bytes from 196.52.157.131: seq=1 ttl=63 time=1.736 ms 64 bytes from 196.52.157.131: seq=2 ttl=63 time=1.092 ms --- 196.52.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.092/1.452/1.736 ms 2025-10-21 21:27:11,046 - INFO - Ping to IP 196.52.157.131 from VM ctest-vn1-vm1-35323496 passed 2025-10-21 21:27:11,047 - INFO - Deleting interface with subnet_id f8974898-e522-4d9d-8275-1d566c4c3ffd, port_id None from router 4db115a5-bd29-4f91-b2ae-72f8cab5f838 2025-10-21 21:27:11,177 - INFO - Deleting interface with subnet_id 06670ba4-fe95-4125-9e2a-d65d699ad3a8, port_id None from router 4db115a5-bd29-4f91-b2ae-72f8cab5f838 2025-10-21 21:27:11,365 - INFO - Deleting VM ctest-vn2-vm1-14927951 2025-10-21 21:27:11,441 - INFO - Deleting VM ctest-vn1-vm1-35323496 2025-10-21 21:27:11,524 - INFO - Deleting VN ctest-vn2-97071711 2025-10-21 21:27:11,566 - DEBUG - VN cbdbc61f-8890-4b3b-b213-64c7b254c16f still in use: Unable to complete operation on network cbdbc61f-8890-4b3b-b213-64c7b254c16f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4dc85888-7234-42fe-a32a-56c63b08b858'] 2025-10-21 21:27:11,566 - WARNING - Deleting VN ctest-vn2-97071711 failed..Will retry 2025-10-21 21:27:13,664 - DEBUG - Response for deleting network () 2025-10-21 21:27:13,664 - INFO - Deleting VN ctest-vn1-83135599 2025-10-21 21:27:13,759 - DEBUG - Response for deleting network () 2025-10-21 21:27:14,012 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 21:27:14,012 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-21 21:27:14,012 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:27:14,702 - INFO - Deleted project: ctest-TestRouters-13088532, ID : bf0a64f1-7321-42d6-897d-18c24f547108