2025-09-23 15:56:50,114 - INFO - Domain Default found not creating 2025-09-23 15:56:50,251 - INFO - Project ctest-TestRouters-06650347 not found, creating it 2025-09-23 15:56:50,720 - INFO - Created Project:ctest-TestRouters-06650347, ID : 5bcadb30-e01e-4f9c-9116-30527bceecf6 2025-09-23 15:56:52,095 - INFO - ================================================================================ 2025-09-23 15:56:52,096 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-23 15:56:52,096 - 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-23 15:56:52,355 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 15:56:52,355 - INFO - Initial checks done. Running the testcase now 2025-09-23 15:56:52,355 - INFO - 2025-09-23 15:56:52,965 - DEBUG - Response for create_network : {'network': {'id': 'f40c6387-04aa-4273-8e39-ffa05a1d4d68', 'name': 'ctest-vn1-46275246', 'tenant_id': '5bcadb30e01e4f9c911630527bceecf6', 'project_id': '5bcadb30e01e4f9c911630527bceecf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06650347', 'ctest-vn1-46275246'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:56:53,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '648809d0-0105-4a58-a4ad-4e0089d6d28c', 'name': '', 'tenant_id': '5bcadb30e01e4f9c911630527bceecf6', 'network_id': 'f40c6387-04aa-4273-8e39-ffa05a1d4d68', 'ip_version': 4, 'cidr': '130.188.116.128/26', 'allocation_pools': [{'start': '130.188.116.130', 'end': '130.188.116.190'}], 'gateway_ip': '130.188.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.188.116.130', 'tags': [], 'project_id': '5bcadb30e01e4f9c911630527bceecf6'}} 2025-09-23 15:56:53,168 - INFO - Created VN ctest-vn1-46275246 2025-09-23 15:56:53,217 - DEBUG - VN ctest-vn1-46275246 UUID is f40c6387-04aa-4273-8e39-ffa05a1d4d68 2025-09-23 15:56:53,534 - DEBUG - Response for create_network : {'network': {'id': '3dd5617a-d8ca-48e7-9a83-f296f9e5b3f3', 'name': 'ctest-vn2-40025925', 'tenant_id': '5bcadb30e01e4f9c911630527bceecf6', 'project_id': '5bcadb30e01e4f9c911630527bceecf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06650347', 'ctest-vn2-40025925'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:56:53,732 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be7a20af-b229-4339-b1ca-00d5401efade', 'name': '', 'tenant_id': '5bcadb30e01e4f9c911630527bceecf6', 'network_id': '3dd5617a-d8ca-48e7-9a83-f296f9e5b3f3', 'ip_version': 4, 'cidr': '182.64.76.128/26', 'allocation_pools': [{'start': '182.64.76.130', 'end': '182.64.76.190'}], 'gateway_ip': '182.64.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.64.76.130', 'tags': [], 'project_id': '5bcadb30e01e4f9c911630527bceecf6'}} 2025-09-23 15:56:53,751 - INFO - Created VN ctest-vn2-40025925 2025-09-23 15:56:53,805 - DEBUG - VN ctest-vn2-40025925 UUID is 3dd5617a-d8ca-48e7-9a83-f296f9e5b3f3 2025-09-23 15:56:54,053 - DEBUG - Services list from nova: [, , ] 2025-09-23 15:56:55,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:56:56,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:56:56,241 - INFO - Adding interface with subnet_id 648809d0-0105-4a58-a4ad-4e0089d6d28c, port_id None to router 24dc7321-5855-402e-8d98-531d05d3359e 2025-09-23 15:56:56,507 - INFO - Waiting for VM ctest-vn1-vm1-57446587 to be up.. 2025-09-23 15:56:56,592 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 15:57:01,670 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:57:01,671 - INFO - VM name : ctest-vn1-vm1-57446587 2025-09-23 15:57:01,743 - DEBUG - VM ctest-vn1-vm1-57446587 ID is 1065518a-2acb-42db-8206-66ee0d721b8e 2025-09-23 15:57:01,762 - DEBUG - VM ctest-vn1-vm1-57446587 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:57:01,843 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1065518a-2acb-42db-8206-66ee0d721b8e 2025-09-23 15:57:02,133 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1065518a-2acb-42db-8206-66ee0d721b8e 2025-09-23 15:57:02,165 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/673d220a-b38e-411d-addc-489dfeba56c4 2025-09-23 15:57:05,423 - 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 1019ms') 2025-09-23 15:57:05,423 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57446587 failed! 2025-09-23 15:57:05,481 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06650347:ctest-vn1-46275246 is 130.188.116.129 and allocation pool is NOT set 2025-09-23 15:57:07,544 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/1.550/2.735/1.184 ms') 2025-09-23 15:57:07,544 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57446587 passed 2025-09-23 15:57:07,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:07,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57446587, IP 130.188.116.131, Port 22 2025-09-23 15:57:07,849 - DEBUG - VM ctest-vn1-vm1-57446587 is ready for SSH connections 2025-09-23 15:57:07,849 - INFO - Waiting for VM ctest-vn2-vm1-95444793 to be up.. 2025-09-23 15:57:07,916 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:57:07,916 - INFO - VM name : ctest-vn2-vm1-95444793 2025-09-23 15:57:07,978 - DEBUG - VM ctest-vn2-vm1-95444793 ID is 660c3a1e-d8ef-4086-bc55-7856d7e17aec 2025-09-23 15:57:07,979 - DEBUG - VM ctest-vn2-vm1-95444793 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:57:08,040 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/660c3a1e-d8ef-4086-bc55-7856d7e17aec 2025-09-23 15:57:08,047 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/21684dbd-1e16-4774-a077-98066097d0a3 2025-09-23 15:57:09,277 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.498/2.650/1.151 ms') 2025-09-23 15:57:09,277 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-95444793 passed 2025-09-23 15:57:09,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:09,384 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-95444793, IP 182.64.76.131, Port 22 2025-09-23 15:57:09,541 - DEBUG - VM ctest-vn2-vm1-95444793 is ready for SSH connections 2025-09-23 15:57:09,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:09,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.64.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:57:09,542 - DEBUG - ping -s 56 -c 3 -W 1 182.64.76.131 2025-09-23 15:57:14,206 - DEBUG - PING 182.64.76.131 (182.64.76.131): 56 data bytes --- 182.64.76.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 15:57:14,206 - WARNING - Ping to IP 182.64.76.131 from VM ctest-vn1-vm1-57446587 failed 2025-09-23 15:57:14,206 - INFO - Adding interface with subnet_id be7a20af-b229-4339-b1ca-00d5401efade, port_id None to router 24dc7321-5855-402e-8d98-531d05d3359e 2025-09-23 15:57:14,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:14,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.64.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:57:14,424 - DEBUG - ping -s 56 -c 3 -W 1 182.64.76.131 2025-09-23 15:57:16,625 - DEBUG - PING 182.64.76.131 (182.64.76.131): 56 data bytes 64 bytes from 182.64.76.131: seq=0 ttl=63 time=2.375 ms 64 bytes from 182.64.76.131: seq=1 ttl=63 time=0.771 ms 64 bytes from 182.64.76.131: seq=2 ttl=63 time=0.720 ms --- 182.64.76.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.720/1.288/2.375 ms 2025-09-23 15:57:16,625 - INFO - Ping to IP 182.64.76.131 from VM ctest-vn1-vm1-57446587 passed 2025-09-23 15:57:16,625 - INFO - Deleting interface with subnet_id 648809d0-0105-4a58-a4ad-4e0089d6d28c, port_id None from router 24dc7321-5855-402e-8d98-531d05d3359e 2025-09-23 15:57:16,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:16,733 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.64.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:57:16,733 - DEBUG - ping -s 56 -c 3 -W 1 182.64.76.131 2025-09-23 15:57:20,020 - DEBUG - PING 182.64.76.131 (182.64.76.131): 56 data bytes --- 182.64.76.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 15:57:20,020 - WARNING - Ping to IP 182.64.76.131 from VM ctest-vn1-vm1-57446587 failed 2025-09-23 15:57:20,020 - INFO - Adding interface with subnet_id 648809d0-0105-4a58-a4ad-4e0089d6d28c, port_id None to router 24dc7321-5855-402e-8d98-531d05d3359e 2025-09-23 15:57:20,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:20,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.64.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:57:20,219 - DEBUG - ping -s 56 -c 3 -W 1 182.64.76.131 2025-09-23 15:57:23,423 - DEBUG - PING 182.64.76.131 (182.64.76.131): 56 data bytes 64 bytes from 182.64.76.131: seq=1 ttl=63 time=1.339 ms 64 bytes from 182.64.76.131: seq=2 ttl=63 time=0.776 ms --- 182.64.76.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.776/1.057/1.339 ms 2025-09-23 15:57:23,423 - WARNING - Ping to IP 182.64.76.131 from VM ctest-vn1-vm1-57446587 failed 2025-09-23 15:57:24,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.64.76.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:57:24,425 - DEBUG - ping -s 56 -c 3 -W 1 182.64.76.131 2025-09-23 15:57:26,631 - DEBUG - PING 182.64.76.131 (182.64.76.131): 56 data bytes 64 bytes from 182.64.76.131: seq=0 ttl=63 time=1.320 ms 64 bytes from 182.64.76.131: seq=1 ttl=63 time=0.791 ms 64 bytes from 182.64.76.131: seq=2 ttl=63 time=0.681 ms --- 182.64.76.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.681/0.930/1.320 ms 2025-09-23 15:57:26,632 - INFO - Ping to IP 182.64.76.131 from VM ctest-vn1-vm1-57446587 passed 2025-09-23 15:57:26,632 - INFO - Deleting interface with subnet_id be7a20af-b229-4339-b1ca-00d5401efade, port_id None from router 24dc7321-5855-402e-8d98-531d05d3359e 2025-09-23 15:57:26,734 - INFO - Deleting interface with subnet_id 648809d0-0105-4a58-a4ad-4e0089d6d28c, port_id None from router 24dc7321-5855-402e-8d98-531d05d3359e 2025-09-23 15:57:26,878 - INFO - Deleting VM ctest-vn2-vm1-95444793 2025-09-23 15:57:26,944 - INFO - Deleting VM ctest-vn1-vm1-57446587 2025-09-23 15:57:27,013 - INFO - Deleting VN ctest-vn2-40025925 2025-09-23 15:57:27,050 - DEBUG - VN 3dd5617a-d8ca-48e7-9a83-f296f9e5b3f3 still in use: Unable to complete operation on network 3dd5617a-d8ca-48e7-9a83-f296f9e5b3f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39e37562-99d6-44d5-ba40-c9d0f4334d5b'] 2025-09-23 15:57:27,051 - WARNING - Deleting VN ctest-vn2-40025925 failed..Will retry 2025-09-23 15:57:29,144 - DEBUG - Response for deleting network () 2025-09-23 15:57:29,145 - INFO - Deleting VN ctest-vn1-46275246 2025-09-23 15:57:29,239 - DEBUG - Response for deleting network () 2025-09-23 15:57:29,494 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 15:57:29,494 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-23 15:57:29,494 - INFO - -------------------------------------------------------------------------------- 2025-09-23 15:57:30,140 - INFO - Deleted project: ctest-TestRouters-06650347, ID : 5bcadb30-e01e-4f9c-9116-30527bceecf6