2025-10-28 18:26:42,309 - INFO - Domain Default found not creating 2025-10-28 18:26:42,467 - INFO - Project ctest-TestRouters-59631707 not found, creating it 2025-10-28 18:26:42,975 - INFO - Created Project:ctest-TestRouters-59631707, ID : af464288-a66e-4198-9b97-8e0c5c7c7b21 2025-10-28 18:26:44,500 - INFO - ================================================================================ 2025-10-28 18:26:44,501 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-28 18:26:44,501 - 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-10-28 18:26:44,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-28 18:26:44,760 - INFO - Initial checks done. Running the testcase now 2025-10-28 18:26:44,760 - INFO - 2025-10-28 18:26:45,357 - DEBUG - Response for create_network : {'network': {'id': 'd25a7787-9709-47a5-aeaa-1ee5152d8a6e', 'name': 'ctest-vn1-57671620', 'tenant_id': 'af464288a66e41989b978e0c5c7c7b21', 'project_id': 'af464288a66e41989b978e0c5c7c7b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59631707', 'ctest-vn1-57671620'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 18:26:45,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0d0b7f6-765e-42e4-8bf2-f7964cb141da', 'name': '', 'tenant_id': 'af464288a66e41989b978e0c5c7c7b21', 'network_id': 'd25a7787-9709-47a5-aeaa-1ee5152d8a6e', 'ip_version': 4, 'cidr': '141.185.191.64/26', 'allocation_pools': [{'start': '141.185.191.66', 'end': '141.185.191.126'}], 'gateway_ip': '141.185.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.185.191.66', 'tags': [], 'project_id': 'af464288a66e41989b978e0c5c7c7b21'}} 2025-10-28 18:26:45,560 - INFO - Created VN ctest-vn1-57671620 2025-10-28 18:26:45,613 - DEBUG - VN ctest-vn1-57671620 UUID is d25a7787-9709-47a5-aeaa-1ee5152d8a6e 2025-10-28 18:26:45,917 - DEBUG - Response for create_network : {'network': {'id': '030058b9-9255-4ac6-9135-b95e3ccd1759', 'name': 'ctest-vn2-93674453', 'tenant_id': 'af464288a66e41989b978e0c5c7c7b21', 'project_id': 'af464288a66e41989b978e0c5c7c7b21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59631707', 'ctest-vn2-93674453'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 18:26:46,104 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dcdb432-dced-4290-91cb-00ccfeb51f83', 'name': '', 'tenant_id': 'af464288a66e41989b978e0c5c7c7b21', 'network_id': '030058b9-9255-4ac6-9135-b95e3ccd1759', 'ip_version': 4, 'cidr': '101.35.62.0/26', 'allocation_pools': [{'start': '101.35.62.2', 'end': '101.35.62.62'}], 'gateway_ip': '101.35.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.35.62.2', 'tags': [], 'project_id': 'af464288a66e41989b978e0c5c7c7b21'}} 2025-10-28 18:26:46,127 - INFO - Created VN ctest-vn2-93674453 2025-10-28 18:26:46,177 - DEBUG - VN ctest-vn2-93674453 UUID is 030058b9-9255-4ac6-9135-b95e3ccd1759 2025-10-28 18:26:46,350 - DEBUG - Services list from nova: [, , ] 2025-10-28 18:26:47,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4515-1) 2025-10-28 18:26:48,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4515-1) 2025-10-28 18:26:48,802 - INFO - Adding interface with subnet_id b0d0b7f6-765e-42e4-8bf2-f7964cb141da, port_id None to router fd33e3f1-dfb7-451c-9f3d-39ceb5e481b4 2025-10-28 18:26:49,093 - INFO - Waiting for VM ctest-vn1-vm1-67752165 to be up.. 2025-10-28 18:26:49,187 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 18:26:54,268 - DEBUG - VM is in ACTIVE state now 2025-10-28 18:26:54,268 - INFO - VM name : ctest-vn1-vm1-67752165 2025-10-28 18:26:54,355 - DEBUG - VM ctest-vn1-vm1-67752165 ID is c1faaf2d-1575-44a6-ab45-21ddb9d27761 2025-10-28 18:26:54,376 - DEBUG - VM ctest-vn1-vm1-67752165 launched on Node cn-jenkins-deploy-platform-ansible-os-4515-1 2025-10-28 18:26:54,453 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c1faaf2d-1575-44a6-ab45-21ddb9d27761 2025-10-28 18:26:54,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c1faaf2d-1575-44a6-ab45-21ddb9d27761 2025-10-28 18:26:54,795 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/943f404b-7c03-4827-b7ce-1914bbba9fdb 2025-10-28 18:26:58,046 - 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 1018ms') 2025-10-28 18:26:58,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67752165 failed! 2025-10-28 18:26:58,109 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-59631707:ctest-vn1-57671620 is 141.185.191.65 and allocation pool is NOT set 2025-10-28 18:27:00,169 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.512 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.512/1.759/3.007/1.247 ms') 2025-10-28 18:27:00,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67752165 passed 2025-10-28 18:27:00,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:00,321 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67752165, IP 141.185.191.67, Port 22 2025-10-28 18:27:00,488 - DEBUG - VM ctest-vn1-vm1-67752165 is ready for SSH connections 2025-10-28 18:27:00,488 - INFO - Waiting for VM ctest-vn2-vm1-49533863 to be up.. 2025-10-28 18:27:00,570 - DEBUG - VM is in ACTIVE state now 2025-10-28 18:27:00,570 - INFO - VM name : ctest-vn2-vm1-49533863 2025-10-28 18:27:00,659 - DEBUG - VM ctest-vn2-vm1-49533863 ID is 75c7035f-5df2-459f-9c27-9b656dade700 2025-10-28 18:27:00,659 - DEBUG - VM ctest-vn2-vm1-49533863 launched on Node cn-jenkins-deploy-platform-ansible-os-4515-1 2025-10-28 18:27:00,752 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/75c7035f-5df2-459f-9c27-9b656dade700 2025-10-28 18:27:00,761 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7c7ca408-dd87-4cb7-b8d6-59dd45413f13 2025-10-28 18:27:02,017 - 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=3.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.722 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.722/2.152/3.583/1.430 ms') 2025-10-28 18:27:02,017 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-49533863 passed 2025-10-28 18:27:02,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:02,173 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-49533863, IP 101.35.62.3, Port 22 2025-10-28 18:27:02,343 - DEBUG - VM ctest-vn2-vm1-49533863 is ready for SSH connections 2025-10-28 18:27:02,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:02,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.35.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:27:02,344 - DEBUG - ping -s 56 -c 3 -W 1 101.35.62.3 2025-10-28 18:27:07,409 - DEBUG - PING 101.35.62.3 (101.35.62.3): 56 data bytes --- 101.35.62.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 18:27:07,409 - WARNING - Ping to IP 101.35.62.3 from VM ctest-vn1-vm1-67752165 failed 2025-10-28 18:27:07,409 - INFO - Adding interface with subnet_id 4dcdb432-dced-4290-91cb-00ccfeb51f83, port_id None to router fd33e3f1-dfb7-451c-9f3d-39ceb5e481b4 2025-10-28 18:27:07,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:07,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.35.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:27:07,694 - DEBUG - ping -s 56 -c 3 -W 1 101.35.62.3 2025-10-28 18:27:10,920 - DEBUG - PING 101.35.62.3 (101.35.62.3): 56 data bytes 64 bytes from 101.35.62.3: seq=1 ttl=63 time=3.680 ms 64 bytes from 101.35.62.3: seq=2 ttl=63 time=1.059 ms --- 101.35.62.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.059/2.369/3.680 ms 2025-10-28 18:27:10,920 - WARNING - Ping to IP 101.35.62.3 from VM ctest-vn1-vm1-67752165 failed 2025-10-28 18:27:11,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.35.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:27:11,922 - DEBUG - ping -s 56 -c 3 -W 1 101.35.62.3 2025-10-28 18:27:14,137 - DEBUG - PING 101.35.62.3 (101.35.62.3): 56 data bytes 64 bytes from 101.35.62.3: seq=0 ttl=63 time=1.780 ms 64 bytes from 101.35.62.3: seq=1 ttl=63 time=1.018 ms 64 bytes from 101.35.62.3: seq=2 ttl=63 time=1.148 ms --- 101.35.62.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.018/1.315/1.780 ms 2025-10-28 18:27:14,137 - INFO - Ping to IP 101.35.62.3 from VM ctest-vn1-vm1-67752165 passed 2025-10-28 18:27:14,137 - INFO - Deleting interface with subnet_id b0d0b7f6-765e-42e4-8bf2-f7964cb141da, port_id None from router fd33e3f1-dfb7-451c-9f3d-39ceb5e481b4 2025-10-28 18:27:14,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:14,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.35.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:27:14,284 - DEBUG - ping -s 56 -c 3 -W 1 101.35.62.3 2025-10-28 18:27:17,505 - DEBUG - PING 101.35.62.3 (101.35.62.3): 56 data bytes --- 101.35.62.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 18:27:17,506 - WARNING - Ping to IP 101.35.62.3 from VM ctest-vn1-vm1-67752165 failed 2025-10-28 18:27:17,506 - INFO - Adding interface with subnet_id b0d0b7f6-765e-42e4-8bf2-f7964cb141da, port_id None to router fd33e3f1-dfb7-451c-9f3d-39ceb5e481b4 2025-10-28 18:27:17,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:17,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.35.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:27:17,741 - DEBUG - ping -s 56 -c 3 -W 1 101.35.62.3 2025-10-28 18:27:19,952 - DEBUG - PING 101.35.62.3 (101.35.62.3): 56 data bytes 64 bytes from 101.35.62.3: seq=0 ttl=63 time=2.041 ms 64 bytes from 101.35.62.3: seq=1 ttl=63 time=0.882 ms 64 bytes from 101.35.62.3: seq=2 ttl=63 time=0.918 ms --- 101.35.62.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.280/2.041 ms 2025-10-28 18:27:19,953 - INFO - Ping to IP 101.35.62.3 from VM ctest-vn1-vm1-67752165 passed 2025-10-28 18:27:19,953 - INFO - Deleting interface with subnet_id 4dcdb432-dced-4290-91cb-00ccfeb51f83, port_id None from router fd33e3f1-dfb7-451c-9f3d-39ceb5e481b4 2025-10-28 18:27:20,075 - INFO - Deleting interface with subnet_id b0d0b7f6-765e-42e4-8bf2-f7964cb141da, port_id None from router fd33e3f1-dfb7-451c-9f3d-39ceb5e481b4 2025-10-28 18:27:20,265 - INFO - Deleting VM ctest-vn2-vm1-49533863 2025-10-28 18:27:20,352 - INFO - Deleting VM ctest-vn1-vm1-67752165 2025-10-28 18:27:20,435 - INFO - Deleting VN ctest-vn2-93674453 2025-10-28 18:27:20,472 - DEBUG - VN 030058b9-9255-4ac6-9135-b95e3ccd1759 still in use: Unable to complete operation on network 030058b9-9255-4ac6-9135-b95e3ccd1759. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67258cdb-ec81-469b-b6d8-fa3d89de35e1'] 2025-10-28 18:27:20,473 - WARNING - Deleting VN ctest-vn2-93674453 failed..Will retry 2025-10-28 18:27:22,569 - DEBUG - Response for deleting network () 2025-10-28 18:27:22,569 - INFO - Deleting VN ctest-vn1-57671620 2025-10-28 18:27:22,672 - DEBUG - Response for deleting network () 2025-10-28 18:27:22,938 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 18:27:22,938 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-28 18:27:22,938 - INFO - -------------------------------------------------------------------------------- 2025-10-28 18:27:23,610 - INFO - Deleted project: ctest-TestRouters-59631707, ID : af464288-a66e-4198-9b97-8e0c5c7c7b21