2025-09-09 20:49:51,596 - INFO - Domain Default found not creating 2025-09-09 20:49:51,713 - INFO - Project ctest-TestRouters-06944095 not found, creating it 2025-09-09 20:49:52,134 - INFO - Created Project:ctest-TestRouters-06944095, ID : dffec207-e876-43a4-8b48-941391bb453a 2025-09-09 20:49:53,506 - INFO - ================================================================================ 2025-09-09 20:49:53,506 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-09 20:49:53,506 - 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-09-09 20:49:53,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-09 20:49:53,760 - INFO - Initial checks done. Running the testcase now 2025-09-09 20:49:53,761 - INFO - 2025-09-09 20:49:54,283 - DEBUG - Response for create_network : {'network': {'id': 'ce5c941b-9834-4d67-a226-152cea03c15f', 'name': 'ctest-vn1-61422694', 'tenant_id': 'dffec207e87643a48b48941391bb453a', 'project_id': 'dffec207e87643a48b48941391bb453a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06944095', 'ctest-vn1-61422694'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 20:49:54,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ec406f0-0f10-4e4f-920d-730dc34a1483', 'name': '', 'tenant_id': 'dffec207e87643a48b48941391bb453a', 'network_id': 'ce5c941b-9834-4d67-a226-152cea03c15f', 'ip_version': 4, 'cidr': '124.171.139.0/26', 'allocation_pools': [{'start': '124.171.139.2', 'end': '124.171.139.62'}], 'gateway_ip': '124.171.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.171.139.2', 'tags': [], 'project_id': 'dffec207e87643a48b48941391bb453a'}} 2025-09-09 20:49:54,442 - INFO - Created VN ctest-vn1-61422694 2025-09-09 20:49:54,492 - DEBUG - VN ctest-vn1-61422694 UUID is ce5c941b-9834-4d67-a226-152cea03c15f 2025-09-09 20:49:54,798 - DEBUG - Response for create_network : {'network': {'id': 'd3300361-b872-49aa-8046-750998f89897', 'name': 'ctest-vn2-26102979', 'tenant_id': 'dffec207e87643a48b48941391bb453a', 'project_id': 'dffec207e87643a48b48941391bb453a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06944095', 'ctest-vn2-26102979'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 20:49:54,960 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db5e74c3-55f1-434e-9a5a-fa7118b6de26', 'name': '', 'tenant_id': 'dffec207e87643a48b48941391bb453a', 'network_id': 'd3300361-b872-49aa-8046-750998f89897', 'ip_version': 4, 'cidr': '83.26.145.192/26', 'allocation_pools': [{'start': '83.26.145.194', 'end': '83.26.145.254'}], 'gateway_ip': '83.26.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.26.145.194', 'tags': [], 'project_id': 'dffec207e87643a48b48941391bb453a'}} 2025-09-09 20:49:54,976 - INFO - Created VN ctest-vn2-26102979 2025-09-09 20:49:55,024 - DEBUG - VN ctest-vn2-26102979 UUID is d3300361-b872-49aa-8046-750998f89897 2025-09-09 20:49:55,269 - DEBUG - Services list from nova: [, , ] 2025-09-09 20:49:56,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4062-1) 2025-09-09 20:49:57,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4062-1) 2025-09-09 20:49:57,449 - INFO - Adding interface with subnet_id 9ec406f0-0f10-4e4f-920d-730dc34a1483, port_id None to router 9c5df856-fd07-4257-969c-4031c1956d38 2025-09-09 20:49:57,677 - INFO - Waiting for VM ctest-vn1-vm1-13747025 to be up.. 2025-09-09 20:49:57,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 20:50:02,833 - DEBUG - VM is in ACTIVE state now 2025-09-09 20:50:02,833 - INFO - VM name : ctest-vn1-vm1-13747025 2025-09-09 20:50:02,901 - DEBUG - VM ctest-vn1-vm1-13747025 ID is a81e286f-b3bb-4bd8-b6ac-584c4209b71a 2025-09-09 20:50:02,918 - DEBUG - VM ctest-vn1-vm1-13747025 launched on Node cn-jenkins-deploy-platform-ansible-os-4062-1 2025-09-09 20:50:02,987 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a81e286f-b3bb-4bd8-b6ac-584c4209b71a 2025-09-09 20:50:03,275 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a81e286f-b3bb-4bd8-b6ac-584c4209b71a 2025-09-09 20:50:03,302 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a6398ac9-912d-4781-8f53-a2bc1597a915 2025-09-09 20:50:06,547 - 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 1012ms') 2025-09-09 20:50:06,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13747025 failed! 2025-09-09 20:50:06,600 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06944095:ctest-vn1-61422694 is 124.171.139.1 and allocation pool is NOT set 2025-09-09 20:50:08,658 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.565/2.768/1.203 ms') 2025-09-09 20:50:08,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13747025 passed 2025-09-09 20:50:08,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:08,804 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13747025, IP 124.171.139.3, Port 22 2025-09-09 20:50:08,956 - DEBUG - VM ctest-vn1-vm1-13747025 is ready for SSH connections 2025-09-09 20:50:08,956 - INFO - Waiting for VM ctest-vn2-vm1-30430442 to be up.. 2025-09-09 20:50:09,021 - DEBUG - VM is in ACTIVE state now 2025-09-09 20:50:09,021 - INFO - VM name : ctest-vn2-vm1-30430442 2025-09-09 20:50:09,084 - DEBUG - VM ctest-vn2-vm1-30430442 ID is 118ee13e-6b15-4830-a329-7c96cbaf38d1 2025-09-09 20:50:09,085 - DEBUG - VM ctest-vn2-vm1-30430442 launched on Node cn-jenkins-deploy-platform-ansible-os-4062-1 2025-09-09 20:50:09,152 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/118ee13e-6b15-4830-a329-7c96cbaf38d1 2025-09-09 20:50:09,159 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/02ccf3bd-950e-4b32-9254-44f0fa54ff26 2025-09-09 20:50:10,395 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.829/3.281/1.452 ms') 2025-09-09 20:50:10,395 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-30430442 passed 2025-09-09 20:50:10,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:10,503 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-30430442, IP 83.26.145.195, Port 22 2025-09-09 20:50:10,664 - DEBUG - VM ctest-vn2-vm1-30430442 is ready for SSH connections 2025-09-09 20:50:10,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:10,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.26.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:50:10,664 - DEBUG - ping -s 56 -c 3 -W 1 83.26.145.195 2025-09-09 20:50:15,359 - DEBUG - PING 83.26.145.195 (83.26.145.195): 56 data bytes --- 83.26.145.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 20:50:15,360 - WARNING - Ping to IP 83.26.145.195 from VM ctest-vn1-vm1-13747025 failed 2025-09-09 20:50:15,360 - INFO - Adding interface with subnet_id db5e74c3-55f1-434e-9a5a-fa7118b6de26, port_id None to router 9c5df856-fd07-4257-969c-4031c1956d38 2025-09-09 20:50:15,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:15,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.26.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:50:15,579 - DEBUG - ping -s 56 -c 3 -W 1 83.26.145.195 2025-09-09 20:50:17,820 - DEBUG - PING 83.26.145.195 (83.26.145.195): 56 data bytes 64 bytes from 83.26.145.195: seq=0 ttl=63 time=2.562 ms 64 bytes from 83.26.145.195: seq=1 ttl=63 time=0.806 ms 64 bytes from 83.26.145.195: seq=2 ttl=63 time=1.016 ms --- 83.26.145.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.461/2.562 ms 2025-09-09 20:50:17,820 - INFO - Ping to IP 83.26.145.195 from VM ctest-vn1-vm1-13747025 passed 2025-09-09 20:50:17,820 - INFO - Deleting interface with subnet_id 9ec406f0-0f10-4e4f-920d-730dc34a1483, port_id None from router 9c5df856-fd07-4257-969c-4031c1956d38 2025-09-09 20:50:17,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:17,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.26.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:50:17,924 - DEBUG - ping -s 56 -c 3 -W 1 83.26.145.195 2025-09-09 20:50:21,121 - DEBUG - PING 83.26.145.195 (83.26.145.195): 56 data bytes --- 83.26.145.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 20:50:21,121 - WARNING - Ping to IP 83.26.145.195 from VM ctest-vn1-vm1-13747025 failed 2025-09-09 20:50:21,121 - INFO - Adding interface with subnet_id 9ec406f0-0f10-4e4f-920d-730dc34a1483, port_id None to router 9c5df856-fd07-4257-969c-4031c1956d38 2025-09-09 20:50:21,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:21,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.26.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:50:21,329 - DEBUG - ping -s 56 -c 3 -W 1 83.26.145.195 2025-09-09 20:50:24,520 - DEBUG - PING 83.26.145.195 (83.26.145.195): 56 data bytes 64 bytes from 83.26.145.195: seq=1 ttl=63 time=1.866 ms 64 bytes from 83.26.145.195: seq=2 ttl=63 time=0.933 ms --- 83.26.145.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.933/1.399/1.866 ms 2025-09-09 20:50:24,520 - WARNING - Ping to IP 83.26.145.195 from VM ctest-vn1-vm1-13747025 failed 2025-09-09 20:50:25,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.26.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:50:25,521 - DEBUG - ping -s 56 -c 3 -W 1 83.26.145.195 2025-09-09 20:50:27,712 - DEBUG - PING 83.26.145.195 (83.26.145.195): 56 data bytes 64 bytes from 83.26.145.195: seq=0 ttl=63 time=1.286 ms 64 bytes from 83.26.145.195: seq=1 ttl=63 time=0.783 ms 64 bytes from 83.26.145.195: seq=2 ttl=63 time=0.893 ms --- 83.26.145.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/0.987/1.286 ms 2025-09-09 20:50:27,712 - INFO - Ping to IP 83.26.145.195 from VM ctest-vn1-vm1-13747025 passed 2025-09-09 20:50:27,712 - INFO - Deleting interface with subnet_id db5e74c3-55f1-434e-9a5a-fa7118b6de26, port_id None from router 9c5df856-fd07-4257-969c-4031c1956d38 2025-09-09 20:50:27,814 - INFO - Deleting interface with subnet_id 9ec406f0-0f10-4e4f-920d-730dc34a1483, port_id None from router 9c5df856-fd07-4257-969c-4031c1956d38 2025-09-09 20:50:27,980 - INFO - Deleting VM ctest-vn2-vm1-30430442 2025-09-09 20:50:28,045 - INFO - Deleting VM ctest-vn1-vm1-13747025 2025-09-09 20:50:28,110 - INFO - Deleting VN ctest-vn2-26102979 2025-09-09 20:50:28,141 - DEBUG - VN d3300361-b872-49aa-8046-750998f89897 still in use: Unable to complete operation on network d3300361-b872-49aa-8046-750998f89897. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b108712-ca30-43dd-8cab-755e70f49287'] 2025-09-09 20:50:28,141 - WARNING - Deleting VN ctest-vn2-26102979 failed..Will retry 2025-09-09 20:50:30,240 - DEBUG - Response for deleting network () 2025-09-09 20:50:30,241 - INFO - Deleting VN ctest-vn1-61422694 2025-09-09 20:50:30,341 - DEBUG - Response for deleting network () 2025-09-09 20:50:30,597 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 20:50:30,597 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-09 20:50:30,597 - INFO - -------------------------------------------------------------------------------- 2025-09-09 20:50:31,256 - INFO - Deleted project: ctest-TestRouters-06944095, ID : dffec207-e876-43a4-8b48-941391bb453a