2025-07-23 13:33:11,372 - INFO - Domain Default found not creating 2025-07-23 13:33:11,578 - INFO - Project ctest-TestRouters-36504128 not found, creating it 2025-07-23 13:33:12,133 - INFO - Created Project:ctest-TestRouters-36504128, ID : c1538352-1410-4a57-9dd0-bd09aa541ac7 2025-07-23 13:33:14,367 - INFO - ================================================================================ 2025-07-23 13:33:14,368 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 13:33:14,368 - 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-07-23 13:33:14,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.209': '0'}} with 2025-07-23 13:33:14,630 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:33:14,630 - INFO - 2025-07-23 13:33:15,301 - DEBUG - Response for create_network : {'network': {'id': '27bcd4bb-a5dd-44b0-89c1-477e9cd57660', 'name': 'ctest-vn1-64984941', 'tenant_id': 'c153835214104a579dd0bd09aa541ac7', 'project_id': 'c153835214104a579dd0bd09aa541ac7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36504128', 'ctest-vn1-64984941'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:33:15,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef48c82b-129b-4a3c-ac94-ee701b8feab3', 'name': '', 'tenant_id': 'c153835214104a579dd0bd09aa541ac7', 'network_id': '27bcd4bb-a5dd-44b0-89c1-477e9cd57660', 'ip_version': 4, 'cidr': '92.49.74.0/26', 'allocation_pools': [{'start': '92.49.74.2', 'end': '92.49.74.62'}], 'gateway_ip': '92.49.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.49.74.2', 'tags': [], 'project_id': 'c153835214104a579dd0bd09aa541ac7'}} 2025-07-23 13:33:15,575 - INFO - Created VN ctest-vn1-64984941 2025-07-23 13:33:15,634 - DEBUG - VN ctest-vn1-64984941 UUID is 27bcd4bb-a5dd-44b0-89c1-477e9cd57660 2025-07-23 13:33:15,988 - DEBUG - Response for create_network : {'network': {'id': 'a831ac40-800e-4e05-a68a-41c1689ca0e1', 'name': 'ctest-vn2-30848532', 'tenant_id': 'c153835214104a579dd0bd09aa541ac7', 'project_id': 'c153835214104a579dd0bd09aa541ac7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36504128', 'ctest-vn2-30848532'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:33:16,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a5618dd-64fd-4394-ae4e-415e8443936e', 'name': '', 'tenant_id': 'c153835214104a579dd0bd09aa541ac7', 'network_id': 'a831ac40-800e-4e05-a68a-41c1689ca0e1', 'ip_version': 4, 'cidr': '193.236.6.128/26', 'allocation_pools': [{'start': '193.236.6.130', 'end': '193.236.6.190'}], 'gateway_ip': '193.236.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.236.6.130', 'tags': [], 'project_id': 'c153835214104a579dd0bd09aa541ac7'}} 2025-07-23 13:33:16,225 - INFO - Created VN ctest-vn2-30848532 2025-07-23 13:33:16,282 - DEBUG - VN ctest-vn2-30848532 UUID is a831ac40-800e-4e05-a68a-41c1689ca0e1 2025-07-23 13:33:16,475 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:33:17,612 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:33:19,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:33:19,182 - INFO - Adding interface with subnet_id ef48c82b-129b-4a3c-ac94-ee701b8feab3, port_id None to router daa7759a-0898-4846-a06a-ba30c31bffec 2025-07-23 13:33:19,550 - INFO - Waiting for VM ctest-vn1-vm1-51323721 to be up.. 2025-07-23 13:33:19,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:33:24,806 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:33:24,806 - INFO - VM name : ctest-vn1-vm1-51323721 2025-07-23 13:33:24,932 - DEBUG - VM ctest-vn1-vm1-51323721 ID is 2d10237c-fc85-404a-8a7a-5c1aacdff391 2025-07-23 13:33:24,955 - DEBUG - VM ctest-vn1-vm1-51323721 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:33:25,051 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/2d10237c-fc85-404a-8a7a-5c1aacdff391 2025-07-23 13:33:25,361 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/2d10237c-fc85-404a-8a7a-5c1aacdff391 2025-07-23 13:33:25,402 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c89ca139-1af0-4013-a139-004f58c57ee9 2025-07-23 13:33:28,702 - 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 1028ms') 2025-07-23 13:33:28,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51323721 failed! 2025-07-23 13:33:28,766 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-36504128:ctest-vn1-64984941 is 92.49.74.1 and allocation pool is NOT set 2025-07-23 13:33:30,838 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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.531/2.354/4.177/1.823 ms') 2025-07-23 13:33:30,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51323721 passed 2025-07-23 13:33:30,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:30,998 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51323721, IP 92.49.74.3, Port 22 2025-07-23 13:33:31,158 - DEBUG - VM ctest-vn1-vm1-51323721 is ready for SSH connections 2025-07-23 13:33:31,158 - INFO - Waiting for VM ctest-vn2-vm1-71595257 to be up.. 2025-07-23 13:33:31,259 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:33:31,259 - INFO - VM name : ctest-vn2-vm1-71595257 2025-07-23 13:33:31,355 - DEBUG - VM ctest-vn2-vm1-71595257 ID is f12a5120-1b97-4c8d-90e2-7602572c5ed2 2025-07-23 13:33:31,356 - DEBUG - VM ctest-vn2-vm1-71595257 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:33:31,451 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/f12a5120-1b97-4c8d-90e2-7602572c5ed2 2025-07-23 13:33:31,463 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/fd2250e6-ad7a-4fd7-a302-3ee7d79728a8 2025-07-23 13:33:32,726 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.638 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.638/2.149/3.660/1.511 ms') 2025-07-23 13:33:32,726 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-71595257 passed 2025-07-23 13:33:32,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:32,890 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-71595257, IP 193.236.6.131, Port 22 2025-07-23 13:33:33,069 - DEBUG - VM ctest-vn2-vm1-71595257 is ready for SSH connections 2025-07-23 13:33:33,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:33,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.236.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:33:33,069 - DEBUG - ping -s 56 -c 3 -W 1 193.236.6.131 2025-07-23 13:33:38,174 - DEBUG - PING 193.236.6.131 (193.236.6.131): 56 data bytes --- 193.236.6.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:33:38,175 - WARNING - Ping to IP 193.236.6.131 from VM ctest-vn1-vm1-51323721 failed 2025-07-23 13:33:38,175 - INFO - Adding interface with subnet_id 2a5618dd-64fd-4394-ae4e-415e8443936e, port_id None to router daa7759a-0898-4846-a06a-ba30c31bffec 2025-07-23 13:33:38,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:38,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.236.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:33:38,511 - DEBUG - ping -s 56 -c 3 -W 1 193.236.6.131 2025-07-23 13:33:41,744 - DEBUG - PING 193.236.6.131 (193.236.6.131): 56 data bytes 64 bytes from 193.236.6.131: seq=1 ttl=63 time=3.602 ms 64 bytes from 193.236.6.131: seq=2 ttl=63 time=1.033 ms --- 193.236.6.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.033/2.317/3.602 ms 2025-07-23 13:33:41,744 - WARNING - Ping to IP 193.236.6.131 from VM ctest-vn1-vm1-51323721 failed 2025-07-23 13:33:42,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.236.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:33:42,746 - DEBUG - ping -s 56 -c 3 -W 1 193.236.6.131 2025-07-23 13:33:45,006 - DEBUG - PING 193.236.6.131 (193.236.6.131): 56 data bytes 64 bytes from 193.236.6.131: seq=0 ttl=63 time=2.345 ms 64 bytes from 193.236.6.131: seq=1 ttl=63 time=1.238 ms 64 bytes from 193.236.6.131: seq=2 ttl=63 time=1.101 ms --- 193.236.6.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.101/1.561/2.345 ms 2025-07-23 13:33:45,006 - INFO - Ping to IP 193.236.6.131 from VM ctest-vn1-vm1-51323721 passed 2025-07-23 13:33:45,006 - INFO - Deleting interface with subnet_id ef48c82b-129b-4a3c-ac94-ee701b8feab3, port_id None from router daa7759a-0898-4846-a06a-ba30c31bffec 2025-07-23 13:33:45,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:45,169 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.236.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:33:45,170 - DEBUG - ping -s 56 -c 3 -W 1 193.236.6.131 2025-07-23 13:33:48,409 - DEBUG - PING 193.236.6.131 (193.236.6.131): 56 data bytes --- 193.236.6.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:33:48,410 - WARNING - Ping to IP 193.236.6.131 from VM ctest-vn1-vm1-51323721 failed 2025-07-23 13:33:48,410 - INFO - Adding interface with subnet_id ef48c82b-129b-4a3c-ac94-ee701b8feab3, port_id None to router daa7759a-0898-4846-a06a-ba30c31bffec 2025-07-23 13:33:48,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:48,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.236.6.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:33:48,697 - DEBUG - ping -s 56 -c 3 -W 1 193.236.6.131 2025-07-23 13:33:50,935 - DEBUG - PING 193.236.6.131 (193.236.6.131): 56 data bytes 64 bytes from 193.236.6.131: seq=0 ttl=63 time=1.879 ms 64 bytes from 193.236.6.131: seq=1 ttl=63 time=1.396 ms 64 bytes from 193.236.6.131: seq=2 ttl=63 time=1.351 ms --- 193.236.6.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.351/1.542/1.879 ms 2025-07-23 13:33:50,935 - INFO - Ping to IP 193.236.6.131 from VM ctest-vn1-vm1-51323721 passed 2025-07-23 13:33:50,935 - INFO - Deleting interface with subnet_id 2a5618dd-64fd-4394-ae4e-415e8443936e, port_id None from router daa7759a-0898-4846-a06a-ba30c31bffec 2025-07-23 13:33:51,084 - INFO - Deleting interface with subnet_id ef48c82b-129b-4a3c-ac94-ee701b8feab3, port_id None from router daa7759a-0898-4846-a06a-ba30c31bffec 2025-07-23 13:33:51,318 - INFO - Deleting VM ctest-vn2-vm1-71595257 2025-07-23 13:33:51,421 - INFO - Deleting VM ctest-vn1-vm1-51323721 2025-07-23 13:33:51,502 - INFO - Deleting VN ctest-vn2-30848532 2025-07-23 13:33:51,565 - DEBUG - VN a831ac40-800e-4e05-a68a-41c1689ca0e1 still in use: Unable to complete operation on network a831ac40-800e-4e05-a68a-41c1689ca0e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8dc37230-c1eb-4938-8896-c284744a5dee'] 2025-07-23 13:33:51,565 - WARNING - Deleting VN ctest-vn2-30848532 failed..Will retry 2025-07-23 13:33:53,703 - DEBUG - Response for deleting network () 2025-07-23 13:33:53,703 - INFO - Deleting VN ctest-vn1-64984941 2025-07-23 13:33:53,840 - DEBUG - Response for deleting network () 2025-07-23 13:33:54,101 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 13:33:54,101 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-07-23 13:33:54,102 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:33:54,874 - INFO - Deleted project: ctest-TestRouters-36504128, ID : c1538352-1410-4a57-9dd0-bd09aa541ac7