2025-08-11 20:51:47,051 - INFO - Domain Default found not creating 2025-08-11 20:51:47,179 - INFO - Project ctest-TestRouters-20443490 not found, creating it 2025-08-11 20:51:47,628 - INFO - Created Project:ctest-TestRouters-20443490, ID : 0e6eedff-d8b4-4276-b66b-93fd7b5c3ecb 2025-08-11 20:51:49,042 - INFO - ================================================================================ 2025-08-11 20:51:49,042 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 20:51:49,043 - 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-11 20:51:49,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-11 20:51:49,303 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:51:49,303 - INFO - 2025-08-11 20:51:49,840 - DEBUG - Response for create_network : {'network': {'id': 'bd028eca-0818-4984-8eaa-c40e9e3d419f', 'name': 'ctest-vn1-42553440', 'tenant_id': '0e6eedffd8b44276b66b93fd7b5c3ecb', 'project_id': '0e6eedffd8b44276b66b93fd7b5c3ecb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20443490', 'ctest-vn1-42553440'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:51:50,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '970fef18-9489-4397-ac4d-18ad8764d54a', 'name': '', 'tenant_id': '0e6eedffd8b44276b66b93fd7b5c3ecb', 'network_id': 'bd028eca-0818-4984-8eaa-c40e9e3d419f', 'ip_version': 4, 'cidr': '121.253.45.128/26', 'allocation_pools': [{'start': '121.253.45.130', 'end': '121.253.45.190'}], 'gateway_ip': '121.253.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.253.45.130', 'tags': [], 'project_id': '0e6eedffd8b44276b66b93fd7b5c3ecb'}} 2025-08-11 20:51:50,086 - INFO - Created VN ctest-vn1-42553440 2025-08-11 20:51:50,137 - DEBUG - VN ctest-vn1-42553440 UUID is bd028eca-0818-4984-8eaa-c40e9e3d419f 2025-08-11 20:51:50,470 - DEBUG - Response for create_network : {'network': {'id': '54817360-1d83-4bb3-9441-a67bf8e42afc', 'name': 'ctest-vn2-64908966', 'tenant_id': '0e6eedffd8b44276b66b93fd7b5c3ecb', 'project_id': '0e6eedffd8b44276b66b93fd7b5c3ecb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20443490', 'ctest-vn2-64908966'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:51:50,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '5185bd9c-8a84-41f8-8626-7f2a201d0d99', 'name': '', 'tenant_id': '0e6eedffd8b44276b66b93fd7b5c3ecb', 'network_id': '54817360-1d83-4bb3-9441-a67bf8e42afc', 'ip_version': 4, 'cidr': '153.185.44.128/26', 'allocation_pools': [{'start': '153.185.44.130', 'end': '153.185.44.190'}], 'gateway_ip': '153.185.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.185.44.130', 'tags': [], 'project_id': '0e6eedffd8b44276b66b93fd7b5c3ecb'}} 2025-08-11 20:51:50,695 - INFO - Created VN ctest-vn2-64908966 2025-08-11 20:51:50,745 - DEBUG - VN ctest-vn2-64908966 UUID is 54817360-1d83-4bb3-9441-a67bf8e42afc 2025-08-11 20:51:50,940 - DEBUG - Services list from nova: [, , ] 2025-08-11 20:51:51,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3822-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3822-1) 2025-08-11 20:51:53,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3822-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3822-1) 2025-08-11 20:51:53,090 - INFO - Adding interface with subnet_id 970fef18-9489-4397-ac4d-18ad8764d54a, port_id None to router 7bc561d4-97c3-4645-b75d-36989861994b 2025-08-11 20:51:53,344 - INFO - Waiting for VM ctest-vn1-vm1-25024721 to be up.. 2025-08-11 20:51:53,438 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 20:51:58,502 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:51:58,502 - INFO - VM name : ctest-vn1-vm1-25024721 2025-08-11 20:51:58,568 - DEBUG - VM ctest-vn1-vm1-25024721 ID is 846fdf5d-eada-4217-a543-4fd8e7ee5692 2025-08-11 20:51:58,585 - DEBUG - VM ctest-vn1-vm1-25024721 launched on Node cn-jenkins-deploy-platform-ansible-os-3822-1 2025-08-11 20:51:58,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/846fdf5d-eada-4217-a543-4fd8e7ee5692 2025-08-11 20:51:58,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/846fdf5d-eada-4217-a543-4fd8e7ee5692 2025-08-11 20:51:58,966 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f194a24-2812-4d91-ba89-52d814faff47 2025-08-11 20:52:02,230 - 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 1023ms') 2025-08-11 20:52:02,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25024721 failed! 2025-08-11 20:52:02,285 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-20443490:ctest-vn1-42553440 is 121.253.45.129 and allocation pool is NOT set 2025-08-11 20:52:04,346 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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.357/1.617/2.877/1.260 ms') 2025-08-11 20:52:04,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25024721 passed 2025-08-11 20:52:04,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:52:04,493 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25024721, IP 121.253.45.131, Port 22 2025-08-11 20:52:04,644 - DEBUG - VM ctest-vn1-vm1-25024721 is ready for SSH connections 2025-08-11 20:52:04,644 - INFO - Waiting for VM ctest-vn2-vm1-91471868 to be up.. 2025-08-11 20:52:04,709 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:52:04,710 - INFO - VM name : ctest-vn2-vm1-91471868 2025-08-11 20:52:04,773 - DEBUG - VM ctest-vn2-vm1-91471868 ID is 317f7bb4-3796-4b96-bc45-cabbf6b79441 2025-08-11 20:52:04,773 - DEBUG - VM ctest-vn2-vm1-91471868 launched on Node cn-jenkins-deploy-platform-ansible-os-3822-1 2025-08-11 20:52:04,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/317f7bb4-3796-4b96-bc45-cabbf6b79441 2025-08-11 20:52:04,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6ba2547-eab6-4281-89eb-0b79a6451edc 2025-08-11 20:52:06,077 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.294 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.294/1.490/2.686/1.196 ms') 2025-08-11 20:52:06,077 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-91471868 passed 2025-08-11 20:52:06,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:52:06,237 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-91471868, IP 153.185.44.131, Port 22 2025-08-11 20:52:06,388 - DEBUG - VM ctest-vn2-vm1-91471868 is ready for SSH connections 2025-08-11 20:52:06,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:52:06,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:52:06,389 - DEBUG - ping -s 56 -c 3 -W 1 153.185.44.131 2025-08-11 20:52:11,005 - DEBUG - PING 153.185.44.131 (153.185.44.131): 56 data bytes --- 153.185.44.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 20:52:11,005 - WARNING - Ping to IP 153.185.44.131 from VM ctest-vn1-vm1-25024721 failed 2025-08-11 20:52:11,005 - INFO - Adding interface with subnet_id 5185bd9c-8a84-41f8-8626-7f2a201d0d99, port_id None to router 7bc561d4-97c3-4645-b75d-36989861994b 2025-08-11 20:52:11,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:52:11,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:52:11,261 - DEBUG - ping -s 56 -c 3 -W 1 153.185.44.131 2025-08-11 20:52:13,455 - DEBUG - PING 153.185.44.131 (153.185.44.131): 56 data bytes 64 bytes from 153.185.44.131: seq=0 ttl=63 time=2.238 ms 64 bytes from 153.185.44.131: seq=1 ttl=63 time=0.811 ms 64 bytes from 153.185.44.131: seq=2 ttl=63 time=0.724 ms --- 153.185.44.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.724/1.257/2.238 ms 2025-08-11 20:52:13,455 - INFO - Ping to IP 153.185.44.131 from VM ctest-vn1-vm1-25024721 passed 2025-08-11 20:52:13,455 - INFO - Deleting interface with subnet_id 970fef18-9489-4397-ac4d-18ad8764d54a, port_id None from router 7bc561d4-97c3-4645-b75d-36989861994b 2025-08-11 20:52:13,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:52:13,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:52:13,561 - DEBUG - ping -s 56 -c 3 -W 1 153.185.44.131 2025-08-11 20:52:16,778 - DEBUG - PING 153.185.44.131 (153.185.44.131): 56 data bytes --- 153.185.44.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 20:52:16,778 - WARNING - Ping to IP 153.185.44.131 from VM ctest-vn1-vm1-25024721 failed 2025-08-11 20:52:16,778 - INFO - Adding interface with subnet_id 970fef18-9489-4397-ac4d-18ad8764d54a, port_id None to router 7bc561d4-97c3-4645-b75d-36989861994b 2025-08-11 20:52:16,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:52:16,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:52:16,994 - DEBUG - ping -s 56 -c 3 -W 1 153.185.44.131 2025-08-11 20:52:20,187 - DEBUG - PING 153.185.44.131 (153.185.44.131): 56 data bytes 64 bytes from 153.185.44.131: seq=1 ttl=63 time=1.250 ms 64 bytes from 153.185.44.131: seq=2 ttl=63 time=0.768 ms --- 153.185.44.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.768/1.009/1.250 ms 2025-08-11 20:52:20,187 - WARNING - Ping to IP 153.185.44.131 from VM ctest-vn1-vm1-25024721 failed 2025-08-11 20:52:21,188 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:52:21,188 - DEBUG - ping -s 56 -c 3 -W 1 153.185.44.131 2025-08-11 20:52:23,384 - DEBUG - PING 153.185.44.131 (153.185.44.131): 56 data bytes 64 bytes from 153.185.44.131: seq=0 ttl=63 time=1.179 ms 64 bytes from 153.185.44.131: seq=1 ttl=63 time=0.736 ms 64 bytes from 153.185.44.131: seq=2 ttl=63 time=0.671 ms --- 153.185.44.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/0.862/1.179 ms 2025-08-11 20:52:23,385 - INFO - Ping to IP 153.185.44.131 from VM ctest-vn1-vm1-25024721 passed 2025-08-11 20:52:23,385 - INFO - Deleting interface with subnet_id 5185bd9c-8a84-41f8-8626-7f2a201d0d99, port_id None from router 7bc561d4-97c3-4645-b75d-36989861994b 2025-08-11 20:52:23,498 - INFO - Deleting interface with subnet_id 970fef18-9489-4397-ac4d-18ad8764d54a, port_id None from router 7bc561d4-97c3-4645-b75d-36989861994b 2025-08-11 20:52:23,712 - INFO - Deleting VM ctest-vn2-vm1-91471868 2025-08-11 20:52:23,781 - INFO - Deleting VM ctest-vn1-vm1-25024721 2025-08-11 20:52:23,838 - INFO - Deleting VN ctest-vn2-64908966 2025-08-11 20:52:23,881 - DEBUG - VN 54817360-1d83-4bb3-9441-a67bf8e42afc still in use: Unable to complete operation on network 54817360-1d83-4bb3-9441-a67bf8e42afc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e93f492-39b9-4c1b-8a08-8ed24587405c'] 2025-08-11 20:52:23,881 - WARNING - Deleting VN ctest-vn2-64908966 failed..Will retry 2025-08-11 20:52:25,971 - DEBUG - Response for deleting network () 2025-08-11 20:52:25,971 - INFO - Deleting VN ctest-vn1-42553440 2025-08-11 20:52:26,063 - DEBUG - Response for deleting network () 2025-08-11 20:52:26,314 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 20:52:26,314 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-11 20:52:26,314 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:52:26,964 - INFO - Deleted project: ctest-TestRouters-20443490, ID : 0e6eedff-d8b4-4276-b66b-93fd7b5c3ecb