2025-08-18 09:45:01,406 - INFO - Domain Default found not creating 2025-08-18 09:45:01,525 - INFO - Project ctest-TestRouters-29764182 not found, creating it 2025-08-18 09:45:01,958 - INFO - Created Project:ctest-TestRouters-29764182, ID : 6df7bc05-4f8d-4c91-8aac-5055aeea43ae 2025-08-18 09:45:03,307 - INFO - ================================================================================ 2025-08-18 09:45:03,307 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-18 09:45:03,307 - 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-18 09:45:03,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-18 09:45:03,559 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:45:03,559 - INFO - 2025-08-18 09:45:04,101 - DEBUG - Response for create_network : {'network': {'id': 'c19ced1a-bf70-4468-9f39-1763be4f6dda', 'name': 'ctest-vn1-37723653', 'tenant_id': '6df7bc054f8d4c918aac5055aeea43ae', 'project_id': '6df7bc054f8d4c918aac5055aeea43ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29764182', 'ctest-vn1-37723653'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:45:04,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0813e1d-b46a-4f11-973e-ff2c5c9c5774', 'name': '', 'tenant_id': '6df7bc054f8d4c918aac5055aeea43ae', 'network_id': 'c19ced1a-bf70-4468-9f39-1763be4f6dda', 'ip_version': 4, 'cidr': '191.76.57.128/26', 'allocation_pools': [{'start': '191.76.57.130', 'end': '191.76.57.190'}], 'gateway_ip': '191.76.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.76.57.130', 'tags': [], 'project_id': '6df7bc054f8d4c918aac5055aeea43ae'}} 2025-08-18 09:45:04,349 - INFO - Created VN ctest-vn1-37723653 2025-08-18 09:45:04,398 - DEBUG - VN ctest-vn1-37723653 UUID is c19ced1a-bf70-4468-9f39-1763be4f6dda 2025-08-18 09:45:04,700 - DEBUG - Response for create_network : {'network': {'id': '2c93be93-4ca9-4d52-91b1-183249147353', 'name': 'ctest-vn2-98154486', 'tenant_id': '6df7bc054f8d4c918aac5055aeea43ae', 'project_id': '6df7bc054f8d4c918aac5055aeea43ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29764182', 'ctest-vn2-98154486'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:45:04,896 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df19d3c8-be35-4195-a98c-5c28cd1e0870', 'name': '', 'tenant_id': '6df7bc054f8d4c918aac5055aeea43ae', 'network_id': '2c93be93-4ca9-4d52-91b1-183249147353', 'ip_version': 4, 'cidr': '111.47.227.128/26', 'allocation_pools': [{'start': '111.47.227.130', 'end': '111.47.227.190'}], 'gateway_ip': '111.47.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.47.227.130', 'tags': [], 'project_id': '6df7bc054f8d4c918aac5055aeea43ae'}} 2025-08-18 09:45:04,912 - INFO - Created VN ctest-vn2-98154486 2025-08-18 09:45:04,970 - DEBUG - VN ctest-vn2-98154486 UUID is 2c93be93-4ca9-4d52-91b1-183249147353 2025-08-18 09:45:05,203 - DEBUG - Services list from nova: [, , ] 2025-08-18 09:45:06,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1) 2025-08-18 09:45:07,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1) 2025-08-18 09:45:07,272 - INFO - Adding interface with subnet_id a0813e1d-b46a-4f11-973e-ff2c5c9c5774, port_id None to router 226f2575-a7ac-4144-b303-47afe4522d0e 2025-08-18 09:45:07,502 - INFO - Waiting for VM ctest-vn1-vm1-16839327 to be up.. 2025-08-18 09:45:07,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 09:45:12,645 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:45:12,645 - INFO - VM name : ctest-vn1-vm1-16839327 2025-08-18 09:45:12,715 - DEBUG - VM ctest-vn1-vm1-16839327 ID is 7ba2b218-5fca-4492-b164-54ad0dcc1366 2025-08-18 09:45:12,733 - DEBUG - VM ctest-vn1-vm1-16839327 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1 2025-08-18 09:45:12,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7ba2b218-5fca-4492-b164-54ad0dcc1366 2025-08-18 09:45:13,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7ba2b218-5fca-4492-b164-54ad0dcc1366 2025-08-18 09:45:13,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/22b921dc-c3df-4dc6-950d-e473d831e419 2025-08-18 09:45:16,347 - 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=2 ttl=63 time=8.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 8.021/8.021/8.021/0.000 ms') 2025-08-18 09:45:16,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16839327 passed 2025-08-18 09:45:16,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:45:16,490 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16839327, IP 191.76.57.131, Port 22 2025-08-18 09:45:16,642 - DEBUG - VM ctest-vn1-vm1-16839327 is ready for SSH connections 2025-08-18 09:45:16,642 - INFO - Waiting for VM ctest-vn2-vm1-89790866 to be up.. 2025-08-18 09:45:16,705 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:45:16,705 - INFO - VM name : ctest-vn2-vm1-89790866 2025-08-18 09:45:16,765 - DEBUG - VM ctest-vn2-vm1-89790866 ID is 89a076f4-62f8-4664-9793-533972ac8947 2025-08-18 09:45:16,765 - DEBUG - VM ctest-vn2-vm1-89790866 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1 2025-08-18 09:45:16,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/89a076f4-62f8-4664-9793-533972ac8947 2025-08-18 09:45:16,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4806c8b6-56d7-4e6e-a0bb-f3f4893f5982 2025-08-18 09:45:18,064 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.95 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 = 1.953/3.507/5.061/1.554 ms') 2025-08-18 09:45:18,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89790866 passed 2025-08-18 09:45:18,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:45:18,214 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89790866, IP 111.47.227.131, Port 22 2025-08-18 09:45:18,369 - DEBUG - VM ctest-vn2-vm1-89790866 is ready for SSH connections 2025-08-18 09:45:18,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:45:18,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.47.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:45:18,369 - DEBUG - ping -s 56 -c 3 -W 1 111.47.227.131 2025-08-18 09:45:22,993 - DEBUG - PING 111.47.227.131 (111.47.227.131): 56 data bytes --- 111.47.227.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 09:45:22,993 - WARNING - Ping to IP 111.47.227.131 from VM ctest-vn1-vm1-16839327 failed 2025-08-18 09:45:22,994 - INFO - Adding interface with subnet_id df19d3c8-be35-4195-a98c-5c28cd1e0870, port_id None to router 226f2575-a7ac-4144-b303-47afe4522d0e 2025-08-18 09:45:23,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:45:23,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.47.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:45:23,240 - DEBUG - ping -s 56 -c 3 -W 1 111.47.227.131 2025-08-18 09:45:25,428 - DEBUG - PING 111.47.227.131 (111.47.227.131): 56 data bytes 64 bytes from 111.47.227.131: seq=0 ttl=63 time=2.656 ms 64 bytes from 111.47.227.131: seq=1 ttl=63 time=0.710 ms 64 bytes from 111.47.227.131: seq=2 ttl=63 time=0.689 ms --- 111.47.227.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.689/1.351/2.656 ms 2025-08-18 09:45:25,428 - INFO - Ping to IP 111.47.227.131 from VM ctest-vn1-vm1-16839327 passed 2025-08-18 09:45:25,428 - INFO - Deleting interface with subnet_id a0813e1d-b46a-4f11-973e-ff2c5c9c5774, port_id None from router 226f2575-a7ac-4144-b303-47afe4522d0e 2025-08-18 09:45:25,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:45:25,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.47.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:45:25,552 - DEBUG - ping -s 56 -c 3 -W 1 111.47.227.131 2025-08-18 09:45:28,739 - DEBUG - PING 111.47.227.131 (111.47.227.131): 56 data bytes --- 111.47.227.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 09:45:28,739 - WARNING - Ping to IP 111.47.227.131 from VM ctest-vn1-vm1-16839327 failed 2025-08-18 09:45:28,739 - INFO - Adding interface with subnet_id a0813e1d-b46a-4f11-973e-ff2c5c9c5774, port_id None to router 226f2575-a7ac-4144-b303-47afe4522d0e 2025-08-18 09:45:28,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:45:28,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.47.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:45:28,950 - DEBUG - ping -s 56 -c 3 -W 1 111.47.227.131 2025-08-18 09:45:32,146 - DEBUG - PING 111.47.227.131 (111.47.227.131): 56 data bytes 64 bytes from 111.47.227.131: seq=1 ttl=63 time=1.268 ms 64 bytes from 111.47.227.131: seq=2 ttl=63 time=0.591 ms --- 111.47.227.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.591/0.929/1.268 ms 2025-08-18 09:45:32,146 - WARNING - Ping to IP 111.47.227.131 from VM ctest-vn1-vm1-16839327 failed 2025-08-18 09:45:33,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.47.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 09:45:33,147 - DEBUG - ping -s 56 -c 3 -W 1 111.47.227.131 2025-08-18 09:45:35,337 - DEBUG - PING 111.47.227.131 (111.47.227.131): 56 data bytes 64 bytes from 111.47.227.131: seq=0 ttl=63 time=1.140 ms 64 bytes from 111.47.227.131: seq=1 ttl=63 time=0.633 ms 64 bytes from 111.47.227.131: seq=2 ttl=63 time=0.646 ms --- 111.47.227.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.633/0.806/1.140 ms 2025-08-18 09:45:35,337 - INFO - Ping to IP 111.47.227.131 from VM ctest-vn1-vm1-16839327 passed 2025-08-18 09:45:35,337 - INFO - Deleting interface with subnet_id df19d3c8-be35-4195-a98c-5c28cd1e0870, port_id None from router 226f2575-a7ac-4144-b303-47afe4522d0e 2025-08-18 09:45:35,455 - INFO - Deleting interface with subnet_id a0813e1d-b46a-4f11-973e-ff2c5c9c5774, port_id None from router 226f2575-a7ac-4144-b303-47afe4522d0e 2025-08-18 09:45:35,619 - INFO - Deleting VM ctest-vn2-vm1-89790866 2025-08-18 09:45:35,678 - INFO - Deleting VM ctest-vn1-vm1-16839327 2025-08-18 09:45:35,734 - INFO - Deleting VN ctest-vn2-98154486 2025-08-18 09:45:35,768 - DEBUG - VN 2c93be93-4ca9-4d52-91b1-183249147353 still in use: Unable to complete operation on network 2c93be93-4ca9-4d52-91b1-183249147353. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29a70590-f6c6-4666-8533-c0da299fbee2'] 2025-08-18 09:45:35,768 - WARNING - Deleting VN ctest-vn2-98154486 failed..Will retry 2025-08-18 09:45:37,855 - DEBUG - Response for deleting network () 2025-08-18 09:45:37,855 - INFO - Deleting VN ctest-vn1-37723653 2025-08-18 09:45:37,943 - DEBUG - Response for deleting network () 2025-08-18 09:45:38,195 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 09:45:38,195 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:35] 2025-08-18 09:45:38,195 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:45:38,833 - INFO - Deleted project: ctest-TestRouters-29764182, ID : 6df7bc05-4f8d-4c91-8aac-5055aeea43ae