2025-08-13 20:07:46,198 - INFO - Domain Default found not creating 2025-08-13 20:07:46,316 - INFO - Project ctest-TestRouters-22457010 not found, creating it 2025-08-13 20:07:46,800 - INFO - Created Project:ctest-TestRouters-22457010, ID : 1c2abb91-6a3e-49d6-b251-aa17575b6bd7 2025-08-13 20:07:48,180 - INFO - ================================================================================ 2025-08-13 20:07:48,180 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-13 20:07:48,180 - 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-13 20:07:48,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 20:07:48,445 - INFO - Initial checks done. Running the testcase now 2025-08-13 20:07:48,446 - INFO - 2025-08-13 20:07:48,999 - DEBUG - Response for create_network : {'network': {'id': '776b73d5-b46b-4062-bc9b-cf91c23603ec', 'name': 'ctest-vn1-32852710', 'tenant_id': '1c2abb916a3e49d6b251aa17575b6bd7', 'project_id': '1c2abb916a3e49d6b251aa17575b6bd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-22457010', 'ctest-vn1-32852710'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:07:49,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f6c14df-536a-4c55-a188-0033b2c472bb', 'name': '', 'tenant_id': '1c2abb916a3e49d6b251aa17575b6bd7', 'network_id': '776b73d5-b46b-4062-bc9b-cf91c23603ec', 'ip_version': 4, 'cidr': '220.63.126.0/26', 'allocation_pools': [{'start': '220.63.126.2', 'end': '220.63.126.62'}], 'gateway_ip': '220.63.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.63.126.2', 'tags': [], 'project_id': '1c2abb916a3e49d6b251aa17575b6bd7'}} 2025-08-13 20:07:49,234 - INFO - Created VN ctest-vn1-32852710 2025-08-13 20:07:49,288 - DEBUG - VN ctest-vn1-32852710 UUID is 776b73d5-b46b-4062-bc9b-cf91c23603ec 2025-08-13 20:07:49,637 - DEBUG - Response for create_network : {'network': {'id': '41d8ec87-00ea-4bda-aafe-7c8c1f1c30e1', 'name': 'ctest-vn2-95225479', 'tenant_id': '1c2abb916a3e49d6b251aa17575b6bd7', 'project_id': '1c2abb916a3e49d6b251aa17575b6bd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-22457010', 'ctest-vn2-95225479'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:07:49,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcffd8d7-b39c-4264-9fc6-8e20e6264f8f', 'name': '', 'tenant_id': '1c2abb916a3e49d6b251aa17575b6bd7', 'network_id': '41d8ec87-00ea-4bda-aafe-7c8c1f1c30e1', 'ip_version': 4, 'cidr': '66.155.213.192/26', 'allocation_pools': [{'start': '66.155.213.194', 'end': '66.155.213.254'}], 'gateway_ip': '66.155.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.155.213.194', 'tags': [], 'project_id': '1c2abb916a3e49d6b251aa17575b6bd7'}} 2025-08-13 20:07:49,870 - INFO - Created VN ctest-vn2-95225479 2025-08-13 20:07:49,924 - DEBUG - VN ctest-vn2-95225479 UUID is 41d8ec87-00ea-4bda-aafe-7c8c1f1c30e1 2025-08-13 20:07:50,141 - DEBUG - Services list from nova: [, , ] 2025-08-13 20:07:51,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:07:52,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:07:52,488 - INFO - Adding interface with subnet_id 7f6c14df-536a-4c55-a188-0033b2c472bb, port_id None to router 98156d17-eb42-4bdf-ac30-c9e469ecf975 2025-08-13 20:07:52,739 - INFO - Waiting for VM ctest-vn1-vm1-28977947 to be up.. 2025-08-13 20:07:52,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 20:07:57,938 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:07:57,938 - INFO - VM name : ctest-vn1-vm1-28977947 2025-08-13 20:07:58,015 - DEBUG - VM ctest-vn1-vm1-28977947 ID is e9d6266e-6bd5-4fc4-b019-258811dc015b 2025-08-13 20:07:58,035 - DEBUG - VM ctest-vn1-vm1-28977947 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:07:58,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e9d6266e-6bd5-4fc4-b019-258811dc015b 2025-08-13 20:07:58,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e9d6266e-6bd5-4fc4-b019-258811dc015b 2025-08-13 20:07:58,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/35af388e-b0e8-42e2-be9d-deb4ca6a7fee 2025-08-13 20:08:01,669 - 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 1010ms') 2025-08-13 20:08:01,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28977947 failed! 2025-08-13 20:08:01,724 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-22457010:ctest-vn1-32852710 is 220.63.126.1 and allocation pool is NOT set 2025-08-13 20:08:03,782 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/1.530/2.583/1.053 ms') 2025-08-13 20:08:03,782 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28977947 passed 2025-08-13 20:08:03,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:03,936 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28977947, IP 220.63.126.3, Port 22 2025-08-13 20:08:04,095 - DEBUG - VM ctest-vn1-vm1-28977947 is ready for SSH connections 2025-08-13 20:08:04,095 - INFO - Waiting for VM ctest-vn2-vm1-81022455 to be up.. 2025-08-13 20:08:04,165 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:08:04,165 - INFO - VM name : ctest-vn2-vm1-81022455 2025-08-13 20:08:04,228 - DEBUG - VM ctest-vn2-vm1-81022455 ID is a4fbfb5c-8ec8-449d-8d8b-b9aea9d4171b 2025-08-13 20:08:04,228 - DEBUG - VM ctest-vn2-vm1-81022455 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:08:04,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a4fbfb5c-8ec8-449d-8d8b-b9aea9d4171b 2025-08-13 20:08:04,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4df95efb-dda1-4b02-9ec3-607f3f865cf8 2025-08-13 20:08:05,538 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/1.717/2.912/1.194 ms') 2025-08-13 20:08:05,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-81022455 passed 2025-08-13 20:08:05,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:05,692 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81022455, IP 66.155.213.195, Port 22 2025-08-13 20:08:05,843 - DEBUG - VM ctest-vn2-vm1-81022455 is ready for SSH connections 2025-08-13 20:08:05,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:05,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.155.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:08:05,843 - DEBUG - ping -s 56 -c 3 -W 1 66.155.213.195 2025-08-13 20:08:10,740 - DEBUG - PING 66.155.213.195 (66.155.213.195): 56 data bytes --- 66.155.213.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 20:08:10,740 - WARNING - Ping to IP 66.155.213.195 from VM ctest-vn1-vm1-28977947 failed 2025-08-13 20:08:10,740 - INFO - Adding interface with subnet_id bcffd8d7-b39c-4264-9fc6-8e20e6264f8f, port_id None to router 98156d17-eb42-4bdf-ac30-c9e469ecf975 2025-08-13 20:08:10,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:10,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.155.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:08:10,966 - DEBUG - ping -s 56 -c 3 -W 1 66.155.213.195 2025-08-13 20:08:13,152 - DEBUG - PING 66.155.213.195 (66.155.213.195): 56 data bytes 64 bytes from 66.155.213.195: seq=0 ttl=63 time=2.399 ms 64 bytes from 66.155.213.195: seq=1 ttl=63 time=0.734 ms 64 bytes from 66.155.213.195: seq=2 ttl=63 time=0.791 ms --- 66.155.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.308/2.399 ms 2025-08-13 20:08:13,152 - INFO - Ping to IP 66.155.213.195 from VM ctest-vn1-vm1-28977947 passed 2025-08-13 20:08:13,152 - INFO - Deleting interface with subnet_id 7f6c14df-536a-4c55-a188-0033b2c472bb, port_id None from router 98156d17-eb42-4bdf-ac30-c9e469ecf975 2025-08-13 20:08:13,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:13,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.155.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:08:13,261 - DEBUG - ping -s 56 -c 3 -W 1 66.155.213.195 2025-08-13 20:08:16,454 - DEBUG - PING 66.155.213.195 (66.155.213.195): 56 data bytes --- 66.155.213.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 20:08:16,454 - WARNING - Ping to IP 66.155.213.195 from VM ctest-vn1-vm1-28977947 failed 2025-08-13 20:08:16,454 - INFO - Adding interface with subnet_id 7f6c14df-536a-4c55-a188-0033b2c472bb, port_id None to router 98156d17-eb42-4bdf-ac30-c9e469ecf975 2025-08-13 20:08:16,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:08:16,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.155.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:08:16,675 - DEBUG - ping -s 56 -c 3 -W 1 66.155.213.195 2025-08-13 20:08:19,864 - DEBUG - PING 66.155.213.195 (66.155.213.195): 56 data bytes 64 bytes from 66.155.213.195: seq=1 ttl=63 time=1.296 ms 64 bytes from 66.155.213.195: seq=2 ttl=63 time=0.735 ms --- 66.155.213.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.735/1.015/1.296 ms 2025-08-13 20:08:19,864 - WARNING - Ping to IP 66.155.213.195 from VM ctest-vn1-vm1-28977947 failed 2025-08-13 20:08:20,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.155.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:08:20,865 - DEBUG - ping -s 56 -c 3 -W 1 66.155.213.195 2025-08-13 20:08:23,067 - DEBUG - PING 66.155.213.195 (66.155.213.195): 56 data bytes 64 bytes from 66.155.213.195: seq=0 ttl=63 time=1.514 ms 64 bytes from 66.155.213.195: seq=1 ttl=63 time=1.025 ms 64 bytes from 66.155.213.195: seq=2 ttl=63 time=0.828 ms --- 66.155.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.122/1.514 ms 2025-08-13 20:08:23,067 - INFO - Ping to IP 66.155.213.195 from VM ctest-vn1-vm1-28977947 passed 2025-08-13 20:08:23,068 - INFO - Deleting interface with subnet_id bcffd8d7-b39c-4264-9fc6-8e20e6264f8f, port_id None from router 98156d17-eb42-4bdf-ac30-c9e469ecf975 2025-08-13 20:08:23,183 - INFO - Deleting interface with subnet_id 7f6c14df-536a-4c55-a188-0033b2c472bb, port_id None from router 98156d17-eb42-4bdf-ac30-c9e469ecf975 2025-08-13 20:08:23,354 - INFO - Deleting VM ctest-vn2-vm1-81022455 2025-08-13 20:08:23,417 - INFO - Deleting VM ctest-vn1-vm1-28977947 2025-08-13 20:08:23,489 - INFO - Deleting VN ctest-vn2-95225479 2025-08-13 20:08:23,526 - DEBUG - VN 41d8ec87-00ea-4bda-aafe-7c8c1f1c30e1 still in use: Unable to complete operation on network 41d8ec87-00ea-4bda-aafe-7c8c1f1c30e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03e492bc-9857-4c28-841c-b8c60075d929'] 2025-08-13 20:08:23,527 - WARNING - Deleting VN ctest-vn2-95225479 failed..Will retry 2025-08-13 20:08:25,624 - DEBUG - Response for deleting network () 2025-08-13 20:08:25,625 - INFO - Deleting VN ctest-vn1-32852710 2025-08-13 20:08:25,731 - DEBUG - Response for deleting network () 2025-08-13 20:08:25,984 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 20:08:25,984 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-13 20:08:25,984 - INFO - -------------------------------------------------------------------------------- 2025-08-13 20:08:26,622 - INFO - Deleted project: ctest-TestRouters-22457010, ID : 1c2abb91-6a3e-49d6-b251-aa17575b6bd7