2025-12-09 18:48:23,467 - INFO - Domain Default found not creating 2025-12-09 18:48:23,644 - INFO - Project ctest-TestRouters-97024820 not found, creating it 2025-12-09 18:48:24,141 - INFO - Created Project:ctest-TestRouters-97024820, ID : b0329447-f54c-479e-ac39-edbc2a1de13b 2025-12-09 18:48:25,686 - INFO - ================================================================================ 2025-12-09 18:48:25,686 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-09 18:48:25,687 - 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-12-09 18:48:25,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 18:48:25,942 - INFO - Initial checks done. Running the testcase now 2025-12-09 18:48:25,942 - INFO - 2025-12-09 18:48:26,562 - DEBUG - Response for create_network : {'network': {'id': '27d06397-94e6-4715-831e-2eb3be10cfef', 'name': 'ctest-vn1-05315946', 'tenant_id': 'b0329447f54c479eac39edbc2a1de13b', 'project_id': 'b0329447f54c479eac39edbc2a1de13b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97024820', 'ctest-vn1-05315946'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 18:48:26,775 - DEBUG - Response for create_subnet : {'subnet': {'id': '5df8a154-74d0-4959-ac17-3d4f6a9ae45e', 'name': '', 'tenant_id': 'b0329447f54c479eac39edbc2a1de13b', 'network_id': '27d06397-94e6-4715-831e-2eb3be10cfef', 'ip_version': 4, 'cidr': '172.147.40.0/26', 'allocation_pools': [{'start': '172.147.40.2', 'end': '172.147.40.62'}], 'gateway_ip': '172.147.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.147.40.2', 'tags': [], 'project_id': 'b0329447f54c479eac39edbc2a1de13b'}} 2025-12-09 18:48:26,793 - INFO - Created VN ctest-vn1-05315946 2025-12-09 18:48:26,844 - DEBUG - VN ctest-vn1-05315946 UUID is 27d06397-94e6-4715-831e-2eb3be10cfef 2025-12-09 18:48:27,159 - DEBUG - Response for create_network : {'network': {'id': 'db7a3df7-b3d4-481c-985d-91facfaba5f2', 'name': 'ctest-vn2-05845328', 'tenant_id': 'b0329447f54c479eac39edbc2a1de13b', 'project_id': 'b0329447f54c479eac39edbc2a1de13b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97024820', 'ctest-vn2-05845328'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 18:48:27,352 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4379a31-47bc-4783-9646-ec71ba68888a', 'name': '', 'tenant_id': 'b0329447f54c479eac39edbc2a1de13b', 'network_id': 'db7a3df7-b3d4-481c-985d-91facfaba5f2', 'ip_version': 4, 'cidr': '214.149.74.0/26', 'allocation_pools': [{'start': '214.149.74.2', 'end': '214.149.74.62'}], 'gateway_ip': '214.149.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.149.74.2', 'tags': [], 'project_id': 'b0329447f54c479eac39edbc2a1de13b'}} 2025-12-09 18:48:27,373 - INFO - Created VN ctest-vn2-05845328 2025-12-09 18:48:27,428 - DEBUG - VN ctest-vn2-05845328 UUID is db7a3df7-b3d4-481c-985d-91facfaba5f2 2025-12-09 18:48:27,629 - DEBUG - Services list from nova: [, , ] 2025-12-09 18:48:28,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4872-1) 2025-12-09 18:48:29,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4872-1) 2025-12-09 18:48:29,945 - INFO - Adding interface with subnet_id 5df8a154-74d0-4959-ac17-3d4f6a9ae45e, port_id None to router 71415a86-a11d-4aee-9766-d2277c2c72a6 2025-12-09 18:48:30,168 - INFO - Waiting for VM ctest-vn1-vm1-15179239 to be up.. 2025-12-09 18:48:30,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 18:48:35,338 - DEBUG - VM is in ACTIVE state now 2025-12-09 18:48:35,338 - INFO - VM name : ctest-vn1-vm1-15179239 2025-12-09 18:48:35,417 - DEBUG - VM ctest-vn1-vm1-15179239 ID is 80076b12-c6ce-49fb-953a-d691ae594199 2025-12-09 18:48:35,445 - DEBUG - VM ctest-vn1-vm1-15179239 launched on Node cn-jenkins-deploy-platform-ansible-os-4872-1 2025-12-09 18:48:35,526 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/80076b12-c6ce-49fb-953a-d691ae594199 2025-12-09 18:48:35,820 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/80076b12-c6ce-49fb-953a-d691ae594199 2025-12-09 18:48:35,853 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8f6f09bc-e2d2-4d05-9268-ee5ea06350fe 2025-12-09 18:48:39,101 - 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 1014ms') 2025-12-09 18:48:39,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15179239 failed! 2025-12-09 18:48:39,156 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-97024820:ctest-vn1-05315946 is 172.147.40.1 and allocation pool is NOT set 2025-12-09 18:48:41,222 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.974 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.974/2.006/3.038/1.032 ms') 2025-12-09 18:48:41,222 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15179239 passed 2025-12-09 18:48:41,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:48:41,368 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15179239, IP 172.147.40.3, Port 22 2025-12-09 18:48:41,528 - DEBUG - VM ctest-vn1-vm1-15179239 is ready for SSH connections 2025-12-09 18:48:41,528 - INFO - Waiting for VM ctest-vn2-vm1-43641119 to be up.. 2025-12-09 18:48:41,600 - DEBUG - VM is in ACTIVE state now 2025-12-09 18:48:41,600 - INFO - VM name : ctest-vn2-vm1-43641119 2025-12-09 18:48:41,673 - DEBUG - VM ctest-vn2-vm1-43641119 ID is c245c07d-8520-4d5c-9fee-3ccfb791a838 2025-12-09 18:48:41,673 - DEBUG - VM ctest-vn2-vm1-43641119 launched on Node cn-jenkins-deploy-platform-ansible-os-4872-1 2025-12-09 18:48:41,743 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c245c07d-8520-4d5c-9fee-3ccfb791a838 2025-12-09 18:48:41,750 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f6dec6a2-09a9-4ab5-b170-f2cb8f38e600 2025-12-09 18:48:42,986 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.562/2.738/1.176 ms') 2025-12-09 18:48:42,986 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43641119 passed 2025-12-09 18:48:43,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:48:43,140 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43641119, IP 214.149.74.3, Port 22 2025-12-09 18:48:43,308 - DEBUG - VM ctest-vn2-vm1-43641119 is ready for SSH connections 2025-12-09 18:48:43,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:48:43,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.149.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:48:43,308 - DEBUG - ping -s 56 -c 3 -W 1 214.149.74.3 2025-12-09 18:48:48,301 - DEBUG - PING 214.149.74.3 (214.149.74.3): 56 data bytes --- 214.149.74.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 18:48:48,301 - WARNING - Ping to IP 214.149.74.3 from VM ctest-vn1-vm1-15179239 failed 2025-12-09 18:48:48,301 - INFO - Adding interface with subnet_id f4379a31-47bc-4783-9646-ec71ba68888a, port_id None to router 71415a86-a11d-4aee-9766-d2277c2c72a6 2025-12-09 18:48:48,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:48:48,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.149.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:48:48,547 - DEBUG - ping -s 56 -c 3 -W 1 214.149.74.3 2025-12-09 18:48:50,745 - DEBUG - PING 214.149.74.3 (214.149.74.3): 56 data bytes 64 bytes from 214.149.74.3: seq=0 ttl=63 time=2.825 ms 64 bytes from 214.149.74.3: seq=1 ttl=63 time=1.175 ms 64 bytes from 214.149.74.3: seq=2 ttl=63 time=0.999 ms --- 214.149.74.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.999/1.666/2.825 ms 2025-12-09 18:48:50,745 - INFO - Ping to IP 214.149.74.3 from VM ctest-vn1-vm1-15179239 passed 2025-12-09 18:48:50,745 - INFO - Deleting interface with subnet_id 5df8a154-74d0-4959-ac17-3d4f6a9ae45e, port_id None from router 71415a86-a11d-4aee-9766-d2277c2c72a6 2025-12-09 18:48:50,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:48:50,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.149.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:48:50,852 - DEBUG - ping -s 56 -c 3 -W 1 214.149.74.3 2025-12-09 18:48:54,062 - DEBUG - PING 214.149.74.3 (214.149.74.3): 56 data bytes --- 214.149.74.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 18:48:54,062 - WARNING - Ping to IP 214.149.74.3 from VM ctest-vn1-vm1-15179239 failed 2025-12-09 18:48:54,062 - INFO - Adding interface with subnet_id 5df8a154-74d0-4959-ac17-3d4f6a9ae45e, port_id None to router 71415a86-a11d-4aee-9766-d2277c2c72a6 2025-12-09 18:48:54,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 18:48:54,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.149.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:48:54,319 - DEBUG - ping -s 56 -c 3 -W 1 214.149.74.3 2025-12-09 18:48:57,533 - DEBUG - PING 214.149.74.3 (214.149.74.3): 56 data bytes 64 bytes from 214.149.74.3: seq=1 ttl=63 time=2.003 ms 64 bytes from 214.149.74.3: seq=2 ttl=63 time=0.900 ms --- 214.149.74.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.900/1.451/2.003 ms 2025-12-09 18:48:57,533 - WARNING - Ping to IP 214.149.74.3 from VM ctest-vn1-vm1-15179239 failed 2025-12-09 18:48:58,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.149.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 18:48:58,534 - DEBUG - ping -s 56 -c 3 -W 1 214.149.74.3 2025-12-09 18:49:00,732 - DEBUG - PING 214.149.74.3 (214.149.74.3): 56 data bytes 64 bytes from 214.149.74.3: seq=0 ttl=63 time=1.414 ms 64 bytes from 214.149.74.3: seq=1 ttl=63 time=0.922 ms 64 bytes from 214.149.74.3: seq=2 ttl=63 time=0.832 ms --- 214.149.74.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.056/1.414 ms 2025-12-09 18:49:00,732 - INFO - Ping to IP 214.149.74.3 from VM ctest-vn1-vm1-15179239 passed 2025-12-09 18:49:00,733 - INFO - Deleting interface with subnet_id f4379a31-47bc-4783-9646-ec71ba68888a, port_id None from router 71415a86-a11d-4aee-9766-d2277c2c72a6 2025-12-09 18:49:00,849 - INFO - Deleting interface with subnet_id 5df8a154-74d0-4959-ac17-3d4f6a9ae45e, port_id None from router 71415a86-a11d-4aee-9766-d2277c2c72a6 2025-12-09 18:49:01,001 - INFO - Deleting VM ctest-vn2-vm1-43641119 2025-12-09 18:49:01,083 - INFO - Deleting VM ctest-vn1-vm1-15179239 2025-12-09 18:49:01,175 - INFO - Deleting VN ctest-vn2-05845328 2025-12-09 18:49:01,211 - DEBUG - VN db7a3df7-b3d4-481c-985d-91facfaba5f2 still in use: Unable to complete operation on network db7a3df7-b3d4-481c-985d-91facfaba5f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22051894-5d96-4b56-ae09-faeda6a883af'] 2025-12-09 18:49:01,211 - WARNING - Deleting VN ctest-vn2-05845328 failed..Will retry 2025-12-09 18:49:03,311 - DEBUG - Response for deleting network () 2025-12-09 18:49:03,311 - INFO - Deleting VN ctest-vn1-05315946 2025-12-09 18:49:03,402 - DEBUG - Response for deleting network () 2025-12-09 18:49:03,661 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 18:49:03,661 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-12-09 18:49:03,661 - INFO - -------------------------------------------------------------------------------- 2025-12-09 18:49:04,334 - INFO - Deleted project: ctest-TestRouters-97024820, ID : b0329447-f54c-479e-ac39-edbc2a1de13b