2025-08-11 10:00:03,424 - INFO - Domain Default found not creating 2025-08-11 10:00:03,567 - INFO - Project ctest-TestRouters-10163825 not found, creating it 2025-08-11 10:00:04,101 - INFO - Created Project:ctest-TestRouters-10163825, ID : 0034e621-9f1a-442f-ac13-be2fd42a15db 2025-08-11 10:00:05,666 - INFO - ================================================================================ 2025-08-11 10:00:05,667 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 10:00:05,667 - 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 10:00:05,933 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 10:00:05,933 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:00:05,934 - INFO - 2025-08-11 10:00:06,565 - DEBUG - Response for create_network : {'network': {'id': 'fd00463d-0504-4bd0-84f7-ed33197464d7', 'name': 'ctest-vn1-34065794', 'tenant_id': '0034e6219f1a442fac13be2fd42a15db', 'project_id': '0034e6219f1a442fac13be2fd42a15db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10163825', 'ctest-vn1-34065794'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:00:06,805 - DEBUG - Response for create_subnet : {'subnet': {'id': '4248711b-238d-4e05-9ddd-1fe84ee067b8', 'name': '', 'tenant_id': '0034e6219f1a442fac13be2fd42a15db', 'network_id': 'fd00463d-0504-4bd0-84f7-ed33197464d7', 'ip_version': 4, 'cidr': '116.202.195.64/26', 'allocation_pools': [{'start': '116.202.195.66', 'end': '116.202.195.126'}], 'gateway_ip': '116.202.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.202.195.66', 'tags': [], 'project_id': '0034e6219f1a442fac13be2fd42a15db'}} 2025-08-11 10:00:06,825 - INFO - Created VN ctest-vn1-34065794 2025-08-11 10:00:06,886 - DEBUG - VN ctest-vn1-34065794 UUID is fd00463d-0504-4bd0-84f7-ed33197464d7 2025-08-11 10:00:07,190 - DEBUG - Response for create_network : {'network': {'id': '2d8324ed-2e7f-4bf2-87ea-066d228b2220', 'name': 'ctest-vn2-03260533', 'tenant_id': '0034e6219f1a442fac13be2fd42a15db', 'project_id': '0034e6219f1a442fac13be2fd42a15db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10163825', 'ctest-vn2-03260533'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:00:07,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '42f82fcb-bbd1-472a-9a6a-87fe8dd33973', 'name': '', 'tenant_id': '0034e6219f1a442fac13be2fd42a15db', 'network_id': '2d8324ed-2e7f-4bf2-87ea-066d228b2220', 'ip_version': 4, 'cidr': '104.173.23.64/26', 'allocation_pools': [{'start': '104.173.23.66', 'end': '104.173.23.126'}], 'gateway_ip': '104.173.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.173.23.66', 'tags': [], 'project_id': '0034e6219f1a442fac13be2fd42a15db'}} 2025-08-11 10:00:07,364 - INFO - Created VN ctest-vn2-03260533 2025-08-11 10:00:07,417 - DEBUG - VN ctest-vn2-03260533 UUID is 2d8324ed-2e7f-4bf2-87ea-066d228b2220 2025-08-11 10:00:07,612 - DEBUG - Services list from nova: [, , ] 2025-08-11 10:00:08,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1) 2025-08-11 10:00:10,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1) 2025-08-11 10:00:10,259 - INFO - Adding interface with subnet_id 4248711b-238d-4e05-9ddd-1fe84ee067b8, port_id None to router 8a441289-54ac-402e-8f44-d884ce9e430a 2025-08-11 10:00:10,574 - INFO - Waiting for VM ctest-vn1-vm1-51814942 to be up.. 2025-08-11 10:00:10,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 10:00:15,789 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:00:15,789 - INFO - VM name : ctest-vn1-vm1-51814942 2025-08-11 10:00:15,868 - DEBUG - VM ctest-vn1-vm1-51814942 ID is 258154b9-b2bc-4b3f-88e9-361a665e9375 2025-08-11 10:00:15,890 - DEBUG - VM ctest-vn1-vm1-51814942 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1 2025-08-11 10:00:15,964 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/258154b9-b2bc-4b3f-88e9-361a665e9375 2025-08-11 10:00:16,298 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/258154b9-b2bc-4b3f-88e9-361a665e9375 2025-08-11 10:00:16,334 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/75322240-1b1b-4fa3-af61-ccac403aca46 2025-08-11 10:00:19,594 - 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 1021ms') 2025-08-11 10:00:19,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51814942 failed! 2025-08-11 10:00:19,653 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10163825:ctest-vn1-34065794 is 116.202.195.65 and allocation pool is NOT set 2025-08-11 10:00:21,717 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.961 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.961/2.792/4.623/1.831 ms') 2025-08-11 10:00:21,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51814942 passed 2025-08-11 10:00:21,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:00:21,869 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51814942, IP 116.202.195.67, Port 22 2025-08-11 10:00:22,024 - DEBUG - VM ctest-vn1-vm1-51814942 is ready for SSH connections 2025-08-11 10:00:22,024 - INFO - Waiting for VM ctest-vn2-vm1-87308526 to be up.. 2025-08-11 10:00:22,106 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:00:22,106 - INFO - VM name : ctest-vn2-vm1-87308526 2025-08-11 10:00:22,174 - DEBUG - VM ctest-vn2-vm1-87308526 ID is 8edbc26c-8bf6-49ab-a3b3-c536d4efa1b7 2025-08-11 10:00:22,175 - DEBUG - VM ctest-vn2-vm1-87308526 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1 2025-08-11 10:00:22,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8edbc26c-8bf6-49ab-a3b3-c536d4efa1b7 2025-08-11 10:00:22,253 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6536bcd2-6aa4-416e-ab13-cef486340a6e 2025-08-11 10:00:23,497 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.567/2.723/1.156 ms') 2025-08-11 10:00:23,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87308526 passed 2025-08-11 10:00:23,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:00:23,653 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87308526, IP 104.173.23.67, Port 22 2025-08-11 10:00:23,813 - DEBUG - VM ctest-vn2-vm1-87308526 is ready for SSH connections 2025-08-11 10:00:23,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:00:23,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.173.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:00:23,813 - DEBUG - ping -s 56 -c 3 -W 1 104.173.23.67 2025-08-11 10:00:28,834 - DEBUG - PING 104.173.23.67 (104.173.23.67): 56 data bytes --- 104.173.23.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 10:00:28,834 - WARNING - Ping to IP 104.173.23.67 from VM ctest-vn1-vm1-51814942 failed 2025-08-11 10:00:28,834 - INFO - Adding interface with subnet_id 42f82fcb-bbd1-472a-9a6a-87fe8dd33973, port_id None to router 8a441289-54ac-402e-8f44-d884ce9e430a 2025-08-11 10:00:29,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:00:29,152 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.173.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:00:29,152 - DEBUG - ping -s 56 -c 3 -W 1 104.173.23.67 2025-08-11 10:00:32,368 - DEBUG - PING 104.173.23.67 (104.173.23.67): 56 data bytes 64 bytes from 104.173.23.67: seq=1 ttl=63 time=14.828 ms 64 bytes from 104.173.23.67: seq=2 ttl=63 time=1.533 ms --- 104.173.23.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.533/8.180/14.828 ms 2025-08-11 10:00:32,368 - WARNING - Ping to IP 104.173.23.67 from VM ctest-vn1-vm1-51814942 failed 2025-08-11 10:00:33,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.173.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:00:33,370 - DEBUG - ping -s 56 -c 3 -W 1 104.173.23.67 2025-08-11 10:00:35,580 - DEBUG - PING 104.173.23.67 (104.173.23.67): 56 data bytes 64 bytes from 104.173.23.67: seq=0 ttl=63 time=1.918 ms 64 bytes from 104.173.23.67: seq=1 ttl=63 time=0.772 ms 64 bytes from 104.173.23.67: seq=2 ttl=63 time=0.790 ms --- 104.173.23.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.160/1.918 ms 2025-08-11 10:00:35,580 - INFO - Ping to IP 104.173.23.67 from VM ctest-vn1-vm1-51814942 passed 2025-08-11 10:00:35,581 - INFO - Deleting interface with subnet_id 4248711b-238d-4e05-9ddd-1fe84ee067b8, port_id None from router 8a441289-54ac-402e-8f44-d884ce9e430a 2025-08-11 10:00:35,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:00:35,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.173.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:00:35,717 - DEBUG - ping -s 56 -c 3 -W 1 104.173.23.67 2025-08-11 10:00:38,930 - DEBUG - PING 104.173.23.67 (104.173.23.67): 56 data bytes --- 104.173.23.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 10:00:38,930 - WARNING - Ping to IP 104.173.23.67 from VM ctest-vn1-vm1-51814942 failed 2025-08-11 10:00:38,930 - INFO - Adding interface with subnet_id 4248711b-238d-4e05-9ddd-1fe84ee067b8, port_id None to router 8a441289-54ac-402e-8f44-d884ce9e430a 2025-08-11 10:00:39,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:00:39,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.173.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:00:39,150 - DEBUG - ping -s 56 -c 3 -W 1 104.173.23.67 2025-08-11 10:00:41,370 - DEBUG - PING 104.173.23.67 (104.173.23.67): 56 data bytes 64 bytes from 104.173.23.67: seq=0 ttl=63 time=1.986 ms 64 bytes from 104.173.23.67: seq=1 ttl=63 time=1.047 ms 64 bytes from 104.173.23.67: seq=2 ttl=63 time=0.905 ms --- 104.173.23.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/1.312/1.986 ms 2025-08-11 10:00:41,370 - INFO - Ping to IP 104.173.23.67 from VM ctest-vn1-vm1-51814942 passed 2025-08-11 10:00:41,370 - INFO - Deleting interface with subnet_id 42f82fcb-bbd1-472a-9a6a-87fe8dd33973, port_id None from router 8a441289-54ac-402e-8f44-d884ce9e430a 2025-08-11 10:00:41,490 - INFO - Deleting interface with subnet_id 4248711b-238d-4e05-9ddd-1fe84ee067b8, port_id None from router 8a441289-54ac-402e-8f44-d884ce9e430a 2025-08-11 10:00:41,678 - INFO - Deleting VM ctest-vn2-vm1-87308526 2025-08-11 10:00:41,755 - INFO - Deleting VM ctest-vn1-vm1-51814942 2025-08-11 10:00:41,830 - INFO - Deleting VN ctest-vn2-03260533 2025-08-11 10:00:41,867 - DEBUG - VN 2d8324ed-2e7f-4bf2-87ea-066d228b2220 still in use: Unable to complete operation on network 2d8324ed-2e7f-4bf2-87ea-066d228b2220. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-243ad3c4-3b4b-4117-91e8-6bb70a7176ab'] 2025-08-11 10:00:41,867 - WARNING - Deleting VN ctest-vn2-03260533 failed..Will retry 2025-08-11 10:00:43,984 - DEBUG - Response for deleting network () 2025-08-11 10:00:43,984 - INFO - Deleting VN ctest-vn1-34065794 2025-08-11 10:00:44,082 - DEBUG - Response for deleting network () 2025-08-11 10:00:44,339 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 10:00:44,340 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-11 10:00:44,340 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:00:45,063 - INFO - Deleted project: ctest-TestRouters-10163825, ID : 0034e621-9f1a-442f-ac13-be2fd42a15db