2025-11-27 08:26:29,807 - INFO - Domain Default found not creating 2025-11-27 08:26:29,995 - INFO - Project ctest-TestRouters-76972932 not found, creating it 2025-11-27 08:26:30,512 - INFO - Created Project:ctest-TestRouters-76972932, ID : e3c8b7bb-378d-4523-8728-0a00ebdc20be 2025-11-27 08:26:32,209 - INFO - ================================================================================ 2025-11-27 08:26:32,209 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-27 08:26:32,209 - 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-11-27 08:26:32,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-27 08:26:32,475 - INFO - Initial checks done. Running the testcase now 2025-11-27 08:26:32,476 - INFO - 2025-11-27 08:26:33,119 - DEBUG - Response for create_network : {'network': {'id': '71e475a6-f67d-4e9c-9055-e70eec2ece0f', 'name': 'ctest-vn1-46537111', 'tenant_id': 'e3c8b7bb378d452387280a00ebdc20be', 'project_id': 'e3c8b7bb378d452387280a00ebdc20be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76972932', 'ctest-vn1-46537111'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:26:33,312 - DEBUG - Response for create_subnet : {'subnet': {'id': '31baa33a-ab13-4eef-af17-d4ef1f0a1aa9', 'name': '', 'tenant_id': 'e3c8b7bb378d452387280a00ebdc20be', 'network_id': '71e475a6-f67d-4e9c-9055-e70eec2ece0f', 'ip_version': 4, 'cidr': '203.6.109.64/26', 'allocation_pools': [{'start': '203.6.109.66', 'end': '203.6.109.126'}], 'gateway_ip': '203.6.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.6.109.66', 'tags': [], 'project_id': 'e3c8b7bb378d452387280a00ebdc20be'}} 2025-11-27 08:26:33,343 - INFO - Created VN ctest-vn1-46537111 2025-11-27 08:26:33,398 - DEBUG - VN ctest-vn1-46537111 UUID is 71e475a6-f67d-4e9c-9055-e70eec2ece0f 2025-11-27 08:26:33,725 - DEBUG - Response for create_network : {'network': {'id': '285f7496-ce6d-4a9c-91b2-d02a78d28b20', 'name': 'ctest-vn2-67735043', 'tenant_id': 'e3c8b7bb378d452387280a00ebdc20be', 'project_id': 'e3c8b7bb378d452387280a00ebdc20be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76972932', 'ctest-vn2-67735043'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:26:33,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '4add18c2-0f01-4fcf-b75f-6e8cfd9cda60', 'name': '', 'tenant_id': 'e3c8b7bb378d452387280a00ebdc20be', 'network_id': '285f7496-ce6d-4a9c-91b2-d02a78d28b20', 'ip_version': 4, 'cidr': '181.227.233.192/26', 'allocation_pools': [{'start': '181.227.233.194', 'end': '181.227.233.254'}], 'gateway_ip': '181.227.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.227.233.194', 'tags': [], 'project_id': 'e3c8b7bb378d452387280a00ebdc20be'}} 2025-11-27 08:26:33,932 - INFO - Created VN ctest-vn2-67735043 2025-11-27 08:26:33,986 - DEBUG - VN ctest-vn2-67735043 UUID is 285f7496-ce6d-4a9c-91b2-d02a78d28b20 2025-11-27 08:26:34,161 - DEBUG - Services list from nova: [, , ] 2025-11-27 08:26:35,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:26:36,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:26:36,815 - INFO - Adding interface with subnet_id 31baa33a-ab13-4eef-af17-d4ef1f0a1aa9, port_id None to router 051c872a-57dd-4d48-b9b4-595da4b25b54 2025-11-27 08:26:37,110 - INFO - Waiting for VM ctest-vn1-vm1-89803727 to be up.. 2025-11-27 08:26:37,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 08:26:42,296 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:26:42,296 - INFO - VM name : ctest-vn1-vm1-89803727 2025-11-27 08:26:42,380 - DEBUG - VM ctest-vn1-vm1-89803727 ID is 13ca7b99-5662-46e6-bc43-fde634035755 2025-11-27 08:26:42,401 - DEBUG - VM ctest-vn1-vm1-89803727 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:26:42,485 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/13ca7b99-5662-46e6-bc43-fde634035755 2025-11-27 08:26:42,826 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/13ca7b99-5662-46e6-bc43-fde634035755 2025-11-27 08:26:42,869 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f0afbd1c-ef8b-4dbc-a767-851f8186cf02 2025-11-27 08:26:46,128 - 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-11-27 08:26:46,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89803727 failed! 2025-11-27 08:26:46,186 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76972932:ctest-vn1-46537111 is 203.6.109.65 and allocation pool is NOT set 2025-11-27 08:26:48,242 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 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.461/2.523/4.585/2.062 ms') 2025-11-27 08:26:48,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89803727 passed 2025-11-27 08:26:48,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:48,394 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89803727, IP 203.6.109.67, Port 22 2025-11-27 08:26:48,564 - DEBUG - VM ctest-vn1-vm1-89803727 is ready for SSH connections 2025-11-27 08:26:48,564 - INFO - Waiting for VM ctest-vn2-vm1-89272461 to be up.. 2025-11-27 08:26:48,652 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:26:48,652 - INFO - VM name : ctest-vn2-vm1-89272461 2025-11-27 08:26:48,748 - DEBUG - VM ctest-vn2-vm1-89272461 ID is 2b3c88b8-c509-40fb-b69e-394b1647cbb7 2025-11-27 08:26:48,748 - DEBUG - VM ctest-vn2-vm1-89272461 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:26:48,843 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2b3c88b8-c509-40fb-b69e-394b1647cbb7 2025-11-27 08:26:48,852 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/13946799-023e-430c-9bca-a82ab72938eb 2025-11-27 08:26:50,105 - 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=5.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.110/3.340/5.571/2.230 ms') 2025-11-27 08:26:50,105 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89272461 passed 2025-11-27 08:26:50,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:50,258 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89272461, IP 181.227.233.195, Port 22 2025-11-27 08:26:50,413 - DEBUG - VM ctest-vn2-vm1-89272461 is ready for SSH connections 2025-11-27 08:26:50,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:50,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.227.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:26:50,414 - DEBUG - ping -s 56 -c 3 -W 1 181.227.233.195 2025-11-27 08:26:55,501 - DEBUG - PING 181.227.233.195 (181.227.233.195): 56 data bytes --- 181.227.233.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 08:26:55,502 - WARNING - Ping to IP 181.227.233.195 from VM ctest-vn1-vm1-89803727 failed 2025-11-27 08:26:55,502 - INFO - Adding interface with subnet_id 4add18c2-0f01-4fcf-b75f-6e8cfd9cda60, port_id None to router 051c872a-57dd-4d48-b9b4-595da4b25b54 2025-11-27 08:26:55,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:55,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.227.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:26:55,775 - DEBUG - ping -s 56 -c 3 -W 1 181.227.233.195 2025-11-27 08:26:59,001 - DEBUG - PING 181.227.233.195 (181.227.233.195): 56 data bytes 64 bytes from 181.227.233.195: seq=1 ttl=63 time=3.229 ms 64 bytes from 181.227.233.195: seq=2 ttl=63 time=0.896 ms --- 181.227.233.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.896/2.062/3.229 ms 2025-11-27 08:26:59,001 - WARNING - Ping to IP 181.227.233.195 from VM ctest-vn1-vm1-89803727 failed 2025-11-27 08:27:00,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.227.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:27:00,003 - DEBUG - ping -s 56 -c 3 -W 1 181.227.233.195 2025-11-27 08:27:02,242 - DEBUG - PING 181.227.233.195 (181.227.233.195): 56 data bytes 64 bytes from 181.227.233.195: seq=0 ttl=63 time=1.826 ms 64 bytes from 181.227.233.195: seq=1 ttl=63 time=0.814 ms 64 bytes from 181.227.233.195: seq=2 ttl=63 time=0.916 ms --- 181.227.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.185/1.826 ms 2025-11-27 08:27:02,242 - INFO - Ping to IP 181.227.233.195 from VM ctest-vn1-vm1-89803727 passed 2025-11-27 08:27:02,242 - INFO - Deleting interface with subnet_id 31baa33a-ab13-4eef-af17-d4ef1f0a1aa9, port_id None from router 051c872a-57dd-4d48-b9b4-595da4b25b54 2025-11-27 08:27:02,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:27:02,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.227.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:27:02,366 - DEBUG - ping -s 56 -c 3 -W 1 181.227.233.195 2025-11-27 08:27:05,612 - DEBUG - PING 181.227.233.195 (181.227.233.195): 56 data bytes --- 181.227.233.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 08:27:05,612 - WARNING - Ping to IP 181.227.233.195 from VM ctest-vn1-vm1-89803727 failed 2025-11-27 08:27:05,612 - INFO - Adding interface with subnet_id 31baa33a-ab13-4eef-af17-d4ef1f0a1aa9, port_id None to router 051c872a-57dd-4d48-b9b4-595da4b25b54 2025-11-27 08:27:05,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:27:05,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.227.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:27:05,834 - DEBUG - ping -s 56 -c 3 -W 1 181.227.233.195 2025-11-27 08:27:08,075 - DEBUG - PING 181.227.233.195 (181.227.233.195): 56 data bytes 64 bytes from 181.227.233.195: seq=0 ttl=63 time=1.565 ms 64 bytes from 181.227.233.195: seq=1 ttl=63 time=0.887 ms 64 bytes from 181.227.233.195: seq=2 ttl=63 time=1.152 ms --- 181.227.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.201/1.565 ms 2025-11-27 08:27:08,075 - INFO - Ping to IP 181.227.233.195 from VM ctest-vn1-vm1-89803727 passed 2025-11-27 08:27:08,075 - INFO - Deleting interface with subnet_id 4add18c2-0f01-4fcf-b75f-6e8cfd9cda60, port_id None from router 051c872a-57dd-4d48-b9b4-595da4b25b54 2025-11-27 08:27:08,196 - INFO - Deleting interface with subnet_id 31baa33a-ab13-4eef-af17-d4ef1f0a1aa9, port_id None from router 051c872a-57dd-4d48-b9b4-595da4b25b54 2025-11-27 08:27:08,411 - INFO - Deleting VM ctest-vn2-vm1-89272461 2025-11-27 08:27:08,492 - INFO - Deleting VM ctest-vn1-vm1-89803727 2025-11-27 08:27:08,568 - INFO - Deleting VN ctest-vn2-67735043 2025-11-27 08:27:08,607 - DEBUG - VN 285f7496-ce6d-4a9c-91b2-d02a78d28b20 still in use: Unable to complete operation on network 285f7496-ce6d-4a9c-91b2-d02a78d28b20. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d101142-1ff1-4ac2-acae-c219a4cc0e11'] 2025-11-27 08:27:08,608 - WARNING - Deleting VN ctest-vn2-67735043 failed..Will retry 2025-11-27 08:27:10,722 - DEBUG - Response for deleting network () 2025-11-27 08:27:10,723 - INFO - Deleting VN ctest-vn1-46537111 2025-11-27 08:27:10,837 - DEBUG - Response for deleting network () 2025-11-27 08:27:11,100 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 08:27:11,100 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-11-27 08:27:11,100 - INFO - -------------------------------------------------------------------------------- 2025-11-27 08:27:11,828 - INFO - Deleted project: ctest-TestRouters-76972932, ID : e3c8b7bb-378d-4523-8728-0a00ebdc20be