2025-10-30 14:48:36,601 - INFO - Domain Default found not creating 2025-10-30 14:48:36,756 - INFO - Project ctest-TestRouters-47814415 not found, creating it 2025-10-30 14:48:37,204 - INFO - Created Project:ctest-TestRouters-47814415, ID : d6a68e87-ad41-4f23-9e0b-317ef117b339 2025-10-30 14:48:38,802 - INFO - ================================================================================ 2025-10-30 14:48:38,802 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 14:48:38,802 - 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-30 14:48:39,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 14:48:39,059 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:48:39,059 - INFO - 2025-10-30 14:48:39,605 - DEBUG - Response for create_network : {'network': {'id': 'ca5dcbe3-fe9f-4661-add6-59e7410cf89e', 'name': 'ctest-vn1-75688602', 'tenant_id': 'd6a68e87ad414f239e0b317ef117b339', 'project_id': 'd6a68e87ad414f239e0b317ef117b339', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47814415', 'ctest-vn1-75688602'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:48:39,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2e8287a-38c2-447d-bed6-b1227114b303', 'name': '', 'tenant_id': 'd6a68e87ad414f239e0b317ef117b339', 'network_id': 'ca5dcbe3-fe9f-4661-add6-59e7410cf89e', 'ip_version': 4, 'cidr': '102.75.126.0/26', 'allocation_pools': [{'start': '102.75.126.2', 'end': '102.75.126.62'}], 'gateway_ip': '102.75.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.75.126.2', 'tags': [], 'project_id': 'd6a68e87ad414f239e0b317ef117b339'}} 2025-10-30 14:48:39,870 - INFO - Created VN ctest-vn1-75688602 2025-10-30 14:48:39,922 - DEBUG - VN ctest-vn1-75688602 UUID is ca5dcbe3-fe9f-4661-add6-59e7410cf89e 2025-10-30 14:48:40,253 - DEBUG - Response for create_network : {'network': {'id': 'e0f7c8e1-97b3-4c06-b7db-982aa4e8ab27', 'name': 'ctest-vn2-66490376', 'tenant_id': 'd6a68e87ad414f239e0b317ef117b339', 'project_id': 'd6a68e87ad414f239e0b317ef117b339', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47814415', 'ctest-vn2-66490376'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:48:40,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffc939d5-89bf-4dbd-a33b-141fd30555dd', 'name': '', 'tenant_id': 'd6a68e87ad414f239e0b317ef117b339', 'network_id': 'e0f7c8e1-97b3-4c06-b7db-982aa4e8ab27', 'ip_version': 4, 'cidr': '162.209.63.64/26', 'allocation_pools': [{'start': '162.209.63.66', 'end': '162.209.63.126'}], 'gateway_ip': '162.209.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.209.63.66', 'tags': [], 'project_id': 'd6a68e87ad414f239e0b317ef117b339'}} 2025-10-30 14:48:40,441 - INFO - Created VN ctest-vn2-66490376 2025-10-30 14:48:40,494 - DEBUG - VN ctest-vn2-66490376 UUID is e0f7c8e1-97b3-4c06-b7db-982aa4e8ab27 2025-10-30 14:48:40,696 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:48:41,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4546-1) 2025-10-30 14:48:43,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4546-1) 2025-10-30 14:48:43,080 - INFO - Adding interface with subnet_id e2e8287a-38c2-447d-bed6-b1227114b303, port_id None to router bbe2b31e-42d6-4a5c-9eaf-5491aef78c9e 2025-10-30 14:48:43,343 - INFO - Waiting for VM ctest-vn1-vm1-80470330 to be up.. 2025-10-30 14:48:43,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:48:48,526 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:48:48,526 - INFO - VM name : ctest-vn1-vm1-80470330 2025-10-30 14:48:48,605 - DEBUG - VM ctest-vn1-vm1-80470330 ID is e6a366f5-f120-4f44-9c62-97ce8b907d5c 2025-10-30 14:48:48,625 - DEBUG - VM ctest-vn1-vm1-80470330 launched on Node cn-jenkins-deploy-platform-ansible-os-4546-1 2025-10-30 14:48:48,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e6a366f5-f120-4f44-9c62-97ce8b907d5c 2025-10-30 14:48:49,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e6a366f5-f120-4f44-9c62-97ce8b907d5c 2025-10-30 14:48:49,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/03b3eff0-5eb4-4fd6-a618-fcb27866028c 2025-10-30 14:48:52,306 - 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-10-30 14:48:52,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80470330 failed! 2025-10-30 14:48:52,362 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47814415:ctest-vn1-75688602 is 102.75.126.1 and allocation pool is NOT set 2025-10-30 14:48:54,422 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/1.694/2.895/1.200 ms') 2025-10-30 14:48:54,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80470330 passed 2025-10-30 14:48:54,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:48:54,574 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80470330, IP 102.75.126.3, Port 22 2025-10-30 14:48:54,729 - DEBUG - VM ctest-vn1-vm1-80470330 is ready for SSH connections 2025-10-30 14:48:54,729 - INFO - Waiting for VM ctest-vn2-vm1-02948272 to be up.. 2025-10-30 14:48:54,796 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:48:54,796 - INFO - VM name : ctest-vn2-vm1-02948272 2025-10-30 14:48:54,867 - DEBUG - VM ctest-vn2-vm1-02948272 ID is 123abc98-f228-4a9a-ba56-917966160a39 2025-10-30 14:48:54,867 - DEBUG - VM ctest-vn2-vm1-02948272 launched on Node cn-jenkins-deploy-platform-ansible-os-4546-1 2025-10-30 14:48:54,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/123abc98-f228-4a9a-ba56-917966160a39 2025-10-30 14:48:54,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e6f16495-e8d5-41d2-a475-991233442f09 2025-10-30 14:48:56,188 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.628/2.829/1.200 ms') 2025-10-30 14:48:56,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02948272 passed 2025-10-30 14:48:56,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:48:56,342 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02948272, IP 162.209.63.67, Port 22 2025-10-30 14:48:56,497 - DEBUG - VM ctest-vn2-vm1-02948272 is ready for SSH connections 2025-10-30 14:48:56,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:48:56,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.209.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:48:56,498 - DEBUG - ping -s 56 -c 3 -W 1 162.209.63.67 2025-10-30 14:49:01,508 - DEBUG - PING 162.209.63.67 (162.209.63.67): 56 data bytes --- 162.209.63.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 14:49:01,508 - WARNING - Ping to IP 162.209.63.67 from VM ctest-vn1-vm1-80470330 failed 2025-10-30 14:49:01,508 - INFO - Adding interface with subnet_id ffc939d5-89bf-4dbd-a33b-141fd30555dd, port_id None to router bbe2b31e-42d6-4a5c-9eaf-5491aef78c9e 2025-10-30 14:49:01,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:49:01,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.209.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:49:01,758 - DEBUG - ping -s 56 -c 3 -W 1 162.209.63.67 2025-10-30 14:49:03,971 - DEBUG - PING 162.209.63.67 (162.209.63.67): 56 data bytes 64 bytes from 162.209.63.67: seq=0 ttl=63 time=3.480 ms 64 bytes from 162.209.63.67: seq=1 ttl=63 time=0.862 ms 64 bytes from 162.209.63.67: seq=2 ttl=63 time=0.824 ms --- 162.209.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.722/3.480 ms 2025-10-30 14:49:03,971 - INFO - Ping to IP 162.209.63.67 from VM ctest-vn1-vm1-80470330 passed 2025-10-30 14:49:03,971 - INFO - Deleting interface with subnet_id e2e8287a-38c2-447d-bed6-b1227114b303, port_id None from router bbe2b31e-42d6-4a5c-9eaf-5491aef78c9e 2025-10-30 14:49:04,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:49:04,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.209.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:49:04,083 - DEBUG - ping -s 56 -c 3 -W 1 162.209.63.67 2025-10-30 14:49:07,295 - DEBUG - PING 162.209.63.67 (162.209.63.67): 56 data bytes --- 162.209.63.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 14:49:07,295 - WARNING - Ping to IP 162.209.63.67 from VM ctest-vn1-vm1-80470330 failed 2025-10-30 14:49:07,295 - INFO - Adding interface with subnet_id e2e8287a-38c2-447d-bed6-b1227114b303, port_id None to router bbe2b31e-42d6-4a5c-9eaf-5491aef78c9e 2025-10-30 14:49:07,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:49:07,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.209.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:49:07,531 - DEBUG - ping -s 56 -c 3 -W 1 162.209.63.67 2025-10-30 14:49:09,771 - DEBUG - PING 162.209.63.67 (162.209.63.67): 56 data bytes 64 bytes from 162.209.63.67: seq=0 ttl=63 time=1.426 ms 64 bytes from 162.209.63.67: seq=1 ttl=63 time=0.855 ms 64 bytes from 162.209.63.67: seq=2 ttl=63 time=0.797 ms --- 162.209.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.026/1.426 ms 2025-10-30 14:49:09,771 - INFO - Ping to IP 162.209.63.67 from VM ctest-vn1-vm1-80470330 passed 2025-10-30 14:49:09,771 - INFO - Deleting interface with subnet_id ffc939d5-89bf-4dbd-a33b-141fd30555dd, port_id None from router bbe2b31e-42d6-4a5c-9eaf-5491aef78c9e 2025-10-30 14:49:09,930 - INFO - Deleting interface with subnet_id e2e8287a-38c2-447d-bed6-b1227114b303, port_id None from router bbe2b31e-42d6-4a5c-9eaf-5491aef78c9e 2025-10-30 14:49:10,172 - INFO - Deleting VM ctest-vn2-vm1-02948272 2025-10-30 14:49:10,243 - INFO - Deleting VM ctest-vn1-vm1-80470330 2025-10-30 14:49:10,320 - INFO - Deleting VN ctest-vn2-66490376 2025-10-30 14:49:10,370 - DEBUG - VN e0f7c8e1-97b3-4c06-b7db-982aa4e8ab27 still in use: Unable to complete operation on network e0f7c8e1-97b3-4c06-b7db-982aa4e8ab27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-343743b0-771d-4371-a2a6-c7e1c4f430e8'] 2025-10-30 14:49:10,370 - WARNING - Deleting VN ctest-vn2-66490376 failed..Will retry 2025-10-30 14:49:12,476 - DEBUG - Response for deleting network () 2025-10-30 14:49:12,476 - INFO - Deleting VN ctest-vn1-75688602 2025-10-30 14:49:12,580 - DEBUG - Response for deleting network () 2025-10-30 14:49:12,835 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 14:49:12,835 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34] 2025-10-30 14:49:12,835 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:49:13,543 - INFO - Deleted project: ctest-TestRouters-47814415, ID : d6a68e87-ad41-4f23-9e0b-317ef117b339