2025-08-07 19:57:25,741 - INFO - Domain Default found not creating 2025-08-07 19:57:25,889 - INFO - Project ctest-TestRouters-42397219 not found, creating it 2025-08-07 19:57:26,350 - INFO - Created Project:ctest-TestRouters-42397219, ID : 841d30cf-3751-431f-a0c0-732d9665f78d 2025-08-07 19:57:27,924 - INFO - ================================================================================ 2025-08-07 19:57:27,924 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-07 19:57:27,925 - 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-07 19:57:28,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 19:57:28,178 - INFO - Initial checks done. Running the testcase now 2025-08-07 19:57:28,178 - INFO - 2025-08-07 19:57:28,767 - DEBUG - Response for create_network : {'network': {'id': 'ddd73a50-a717-4836-a89a-81bc70cc4b94', 'name': 'ctest-vn1-09373464', 'tenant_id': '841d30cf3751431fa0c0732d9665f78d', 'project_id': '841d30cf3751431fa0c0732d9665f78d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42397219', 'ctest-vn1-09373464'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:57:28,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa18d519-87c6-4ac8-88ce-e953df06391f', 'name': '', 'tenant_id': '841d30cf3751431fa0c0732d9665f78d', 'network_id': 'ddd73a50-a717-4836-a89a-81bc70cc4b94', 'ip_version': 4, 'cidr': '2.156.193.192/26', 'allocation_pools': [{'start': '2.156.193.194', 'end': '2.156.193.254'}], 'gateway_ip': '2.156.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.156.193.194', 'tags': [], 'project_id': '841d30cf3751431fa0c0732d9665f78d'}} 2025-08-07 19:57:28,954 - INFO - Created VN ctest-vn1-09373464 2025-08-07 19:57:29,007 - DEBUG - VN ctest-vn1-09373464 UUID is ddd73a50-a717-4836-a89a-81bc70cc4b94 2025-08-07 19:57:29,333 - DEBUG - Response for create_network : {'network': {'id': '3c2924d5-1e8f-4b6b-817e-552d2bb366be', 'name': 'ctest-vn2-44140562', 'tenant_id': '841d30cf3751431fa0c0732d9665f78d', 'project_id': '841d30cf3751431fa0c0732d9665f78d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42397219', 'ctest-vn2-44140562'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:57:29,556 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e05d31-d34d-4329-a07a-f7d6a25f1aa2', 'name': '', 'tenant_id': '841d30cf3751431fa0c0732d9665f78d', 'network_id': '3c2924d5-1e8f-4b6b-817e-552d2bb366be', 'ip_version': 4, 'cidr': '134.58.84.64/26', 'allocation_pools': [{'start': '134.58.84.66', 'end': '134.58.84.126'}], 'gateway_ip': '134.58.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.58.84.66', 'tags': [], 'project_id': '841d30cf3751431fa0c0732d9665f78d'}} 2025-08-07 19:57:29,574 - INFO - Created VN ctest-vn2-44140562 2025-08-07 19:57:29,627 - DEBUG - VN ctest-vn2-44140562 UUID is 3c2924d5-1e8f-4b6b-817e-552d2bb366be 2025-08-07 19:57:29,789 - DEBUG - Services list from nova: [, , ] 2025-08-07 19:57:30,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1) 2025-08-07 19:57:32,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1) 2025-08-07 19:57:32,242 - INFO - Adding interface with subnet_id aa18d519-87c6-4ac8-88ce-e953df06391f, port_id None to router 7dffc03e-f07e-432f-878d-bf17d9705f30 2025-08-07 19:57:32,562 - INFO - Waiting for VM ctest-vn1-vm1-98984758 to be up.. 2025-08-07 19:57:32,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 19:57:37,800 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:57:37,800 - INFO - VM name : ctest-vn1-vm1-98984758 2025-08-07 19:57:37,869 - DEBUG - VM ctest-vn1-vm1-98984758 ID is d8072863-bcd1-4617-8667-93253f543144 2025-08-07 19:57:37,888 - DEBUG - VM ctest-vn1-vm1-98984758 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1 2025-08-07 19:57:37,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d8072863-bcd1-4617-8667-93253f543144 2025-08-07 19:57:38,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d8072863-bcd1-4617-8667-93253f543144 2025-08-07 19:57:38,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d27d4e32-8896-4163-9ecf-1e29bac8b9af 2025-08-07 19:57:41,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 1002ms') 2025-08-07 19:57:41,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98984758 failed! 2025-08-07 19:57:41,651 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42397219:ctest-vn1-09373464 is 2.156.193.193 and allocation pool is NOT set 2025-08-07 19:57:43,716 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.537/1.669/2.802/1.132 ms') 2025-08-07 19:57:43,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98984758 passed 2025-08-07 19:57:43,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:43,872 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98984758, IP 2.156.193.195, Port 22 2025-08-07 19:57:44,027 - DEBUG - VM ctest-vn1-vm1-98984758 is ready for SSH connections 2025-08-07 19:57:44,027 - INFO - Waiting for VM ctest-vn2-vm1-02327777 to be up.. 2025-08-07 19:57:44,103 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:57:44,104 - INFO - VM name : ctest-vn2-vm1-02327777 2025-08-07 19:57:44,173 - DEBUG - VM ctest-vn2-vm1-02327777 ID is 9e56aecc-a0c6-4ad7-b3a1-6f8fa16e537a 2025-08-07 19:57:44,173 - DEBUG - VM ctest-vn2-vm1-02327777 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1 2025-08-07 19:57:44,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9e56aecc-a0c6-4ad7-b3a1-6f8fa16e537a 2025-08-07 19:57:44,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48733d8a-7105-40e1-9f95-edb738693b9f 2025-08-07 19:57:45,501 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.743 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.743/2.308/3.874/1.565 ms') 2025-08-07 19:57:45,501 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02327777 passed 2025-08-07 19:57:45,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:45,660 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02327777, IP 134.58.84.67, Port 22 2025-08-07 19:57:45,825 - DEBUG - VM ctest-vn2-vm1-02327777 is ready for SSH connections 2025-08-07 19:57:45,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:45,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.58.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:57:45,825 - DEBUG - ping -s 56 -c 3 -W 1 134.58.84.67 2025-08-07 19:57:50,522 - DEBUG - PING 134.58.84.67 (134.58.84.67): 56 data bytes --- 134.58.84.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 19:57:50,522 - WARNING - Ping to IP 134.58.84.67 from VM ctest-vn1-vm1-98984758 failed 2025-08-07 19:57:50,523 - INFO - Adding interface with subnet_id a5e05d31-d34d-4329-a07a-f7d6a25f1aa2, port_id None to router 7dffc03e-f07e-432f-878d-bf17d9705f30 2025-08-07 19:57:50,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:50,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.58.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:57:50,790 - DEBUG - ping -s 56 -c 3 -W 1 134.58.84.67 2025-08-07 19:57:54,006 - DEBUG - PING 134.58.84.67 (134.58.84.67): 56 data bytes 64 bytes from 134.58.84.67: seq=1 ttl=63 time=3.238 ms 64 bytes from 134.58.84.67: seq=2 ttl=63 time=0.782 ms --- 134.58.84.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.782/2.010/3.238 ms 2025-08-07 19:57:54,006 - WARNING - Ping to IP 134.58.84.67 from VM ctest-vn1-vm1-98984758 failed 2025-08-07 19:57:55,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.58.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:57:55,007 - DEBUG - ping -s 56 -c 3 -W 1 134.58.84.67 2025-08-07 19:57:57,221 - DEBUG - PING 134.58.84.67 (134.58.84.67): 56 data bytes 64 bytes from 134.58.84.67: seq=0 ttl=63 time=1.441 ms 64 bytes from 134.58.84.67: seq=1 ttl=63 time=0.718 ms 64 bytes from 134.58.84.67: seq=2 ttl=63 time=0.747 ms --- 134.58.84.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/0.968/1.441 ms 2025-08-07 19:57:57,222 - INFO - Ping to IP 134.58.84.67 from VM ctest-vn1-vm1-98984758 passed 2025-08-07 19:57:57,222 - INFO - Deleting interface with subnet_id aa18d519-87c6-4ac8-88ce-e953df06391f, port_id None from router 7dffc03e-f07e-432f-878d-bf17d9705f30 2025-08-07 19:57:57,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:57,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.58.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:57:57,337 - DEBUG - ping -s 56 -c 3 -W 1 134.58.84.67 2025-08-07 19:58:00,565 - DEBUG - PING 134.58.84.67 (134.58.84.67): 56 data bytes --- 134.58.84.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 19:58:00,565 - WARNING - Ping to IP 134.58.84.67 from VM ctest-vn1-vm1-98984758 failed 2025-08-07 19:58:00,566 - INFO - Adding interface with subnet_id aa18d519-87c6-4ac8-88ce-e953df06391f, port_id None to router 7dffc03e-f07e-432f-878d-bf17d9705f30 2025-08-07 19:58:00,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:58:00,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.58.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:58:00,788 - DEBUG - ping -s 56 -c 3 -W 1 134.58.84.67 2025-08-07 19:58:03,002 - DEBUG - PING 134.58.84.67 (134.58.84.67): 56 data bytes 64 bytes from 134.58.84.67: seq=0 ttl=63 time=1.337 ms 64 bytes from 134.58.84.67: seq=1 ttl=63 time=0.783 ms 64 bytes from 134.58.84.67: seq=2 ttl=63 time=0.753 ms --- 134.58.84.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/0.957/1.337 ms 2025-08-07 19:58:03,002 - INFO - Ping to IP 134.58.84.67 from VM ctest-vn1-vm1-98984758 passed 2025-08-07 19:58:03,002 - INFO - Deleting interface with subnet_id a5e05d31-d34d-4329-a07a-f7d6a25f1aa2, port_id None from router 7dffc03e-f07e-432f-878d-bf17d9705f30 2025-08-07 19:58:03,121 - INFO - Deleting interface with subnet_id aa18d519-87c6-4ac8-88ce-e953df06391f, port_id None from router 7dffc03e-f07e-432f-878d-bf17d9705f30 2025-08-07 19:58:03,306 - INFO - Deleting VM ctest-vn2-vm1-02327777 2025-08-07 19:58:03,381 - INFO - Deleting VM ctest-vn1-vm1-98984758 2025-08-07 19:58:03,453 - INFO - Deleting VN ctest-vn2-44140562 2025-08-07 19:58:03,495 - DEBUG - VN 3c2924d5-1e8f-4b6b-817e-552d2bb366be still in use: Unable to complete operation on network 3c2924d5-1e8f-4b6b-817e-552d2bb366be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee9f9aa2-b789-48d5-a6e4-7f321b39e0fa'] 2025-08-07 19:58:03,495 - WARNING - Deleting VN ctest-vn2-44140562 failed..Will retry 2025-08-07 19:58:05,601 - DEBUG - Response for deleting network () 2025-08-07 19:58:05,601 - INFO - Deleting VN ctest-vn1-09373464 2025-08-07 19:58:05,729 - DEBUG - Response for deleting network () 2025-08-07 19:58:05,982 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 19:58:05,982 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-07 19:58:05,982 - INFO - -------------------------------------------------------------------------------- 2025-08-07 19:58:07,021 - INFO - Deleted project: ctest-TestRouters-42397219, ID : 841d30cf-3751-431f-a0c0-732d9665f78d