2025-09-15 09:14:48,155 - INFO - Domain Default found not creating 2025-09-15 09:14:48,399 - INFO - Project ctest-TestRouters-50534209 not found, creating it 2025-09-15 09:14:48,872 - INFO - Created Project:ctest-TestRouters-50534209, ID : 92e35df6-8558-44f5-847c-b365bc8bd4db 2025-09-15 09:14:50,346 - INFO - ================================================================================ 2025-09-15 09:14:50,346 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-15 09:14:50,346 - 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-09-15 09:14:50,600 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-15 09:14:50,600 - INFO - Initial checks done. Running the testcase now 2025-09-15 09:14:50,600 - INFO - 2025-09-15 09:14:51,190 - DEBUG - Response for create_network : {'network': {'id': 'e795977d-29c2-4335-b388-9adcdbf333dd', 'name': 'ctest-vn1-98942355', 'tenant_id': '92e35df6855844f5847cb365bc8bd4db', 'project_id': '92e35df6855844f5847cb365bc8bd4db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50534209', 'ctest-vn1-98942355'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 09:14:51,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bca24e2-619a-44cf-8726-ce0a7b518f6d', 'name': '', 'tenant_id': '92e35df6855844f5847cb365bc8bd4db', 'network_id': 'e795977d-29c2-4335-b388-9adcdbf333dd', 'ip_version': 4, 'cidr': '58.204.218.192/26', 'allocation_pools': [{'start': '58.204.218.194', 'end': '58.204.218.254'}], 'gateway_ip': '58.204.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.204.218.194', 'tags': [], 'project_id': '92e35df6855844f5847cb365bc8bd4db'}} 2025-09-15 09:14:51,462 - INFO - Created VN ctest-vn1-98942355 2025-09-15 09:14:51,514 - DEBUG - VN ctest-vn1-98942355 UUID is e795977d-29c2-4335-b388-9adcdbf333dd 2025-09-15 09:14:51,862 - DEBUG - Response for create_network : {'network': {'id': '898733c9-9123-4e83-a898-88c7905853f3', 'name': 'ctest-vn2-94988381', 'tenant_id': '92e35df6855844f5847cb365bc8bd4db', 'project_id': '92e35df6855844f5847cb365bc8bd4db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50534209', 'ctest-vn2-94988381'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 09:14:52,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '84f79a47-9d2c-4608-bf1d-5eb25eab22ab', 'name': '', 'tenant_id': '92e35df6855844f5847cb365bc8bd4db', 'network_id': '898733c9-9123-4e83-a898-88c7905853f3', 'ip_version': 4, 'cidr': '144.66.123.64/26', 'allocation_pools': [{'start': '144.66.123.66', 'end': '144.66.123.126'}], 'gateway_ip': '144.66.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.66.123.66', 'tags': [], 'project_id': '92e35df6855844f5847cb365bc8bd4db'}} 2025-09-15 09:14:52,095 - INFO - Created VN ctest-vn2-94988381 2025-09-15 09:14:52,146 - DEBUG - VN ctest-vn2-94988381 UUID is 898733c9-9123-4e83-a898-88c7905853f3 2025-09-15 09:14:52,309 - DEBUG - Services list from nova: [, , ] 2025-09-15 09:14:53,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4112-1) 2025-09-15 09:14:54,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4112-1) 2025-09-15 09:14:54,679 - INFO - Adding interface with subnet_id 0bca24e2-619a-44cf-8726-ce0a7b518f6d, port_id None to router e0624df6-f1a4-4d6f-adfa-3875f37641bb 2025-09-15 09:14:54,978 - INFO - Waiting for VM ctest-vn1-vm1-49071233 to be up.. 2025-09-15 09:14:55,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 09:15:00,152 - DEBUG - VM is in ACTIVE state now 2025-09-15 09:15:00,152 - INFO - VM name : ctest-vn1-vm1-49071233 2025-09-15 09:15:00,225 - DEBUG - VM ctest-vn1-vm1-49071233 ID is 1d31b021-3435-4419-9949-57e6ecdeb05f 2025-09-15 09:15:00,245 - DEBUG - VM ctest-vn1-vm1-49071233 launched on Node cn-jenkins-deploy-platform-ansible-os-4112-1 2025-09-15 09:15:00,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1d31b021-3435-4419-9949-57e6ecdeb05f 2025-09-15 09:15:00,624 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1d31b021-3435-4419-9949-57e6ecdeb05f 2025-09-15 09:15:00,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5779724-2e47-46da-97e7-28231ee44897 2025-09-15 09:15:03,930 - 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-09-15 09:15:03,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49071233 failed! 2025-09-15 09:15:03,987 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-50534209:ctest-vn1-98942355 is 58.204.218.193 and allocation pool is NOT set 2025-09-15 09:15:06,048 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.341 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.341/1.753/3.165/1.412 ms') 2025-09-15 09:15:06,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49071233 passed 2025-09-15 09:15:06,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 09:15:06,198 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49071233, IP 58.204.218.195, Port 22 2025-09-15 09:15:06,358 - DEBUG - VM ctest-vn1-vm1-49071233 is ready for SSH connections 2025-09-15 09:15:06,358 - INFO - Waiting for VM ctest-vn2-vm1-94237841 to be up.. 2025-09-15 09:15:06,433 - DEBUG - VM is in ACTIVE state now 2025-09-15 09:15:06,433 - INFO - VM name : ctest-vn2-vm1-94237841 2025-09-15 09:15:06,510 - DEBUG - VM ctest-vn2-vm1-94237841 ID is ed37dc2f-0930-425b-ac3b-ebb6cc7814d8 2025-09-15 09:15:06,510 - DEBUG - VM ctest-vn2-vm1-94237841 launched on Node cn-jenkins-deploy-platform-ansible-os-4112-1 2025-09-15 09:15:06,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed37dc2f-0930-425b-ac3b-ebb6cc7814d8 2025-09-15 09:15:06,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7b447763-7f7b-405a-ad3d-52429ec509d9 2025-09-15 09:15:07,837 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.852 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.852/2.498/4.144/1.646 ms') 2025-09-15 09:15:07,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94237841 passed 2025-09-15 09:15:07,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 09:15:07,986 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94237841, IP 144.66.123.67, Port 22 2025-09-15 09:15:08,142 - DEBUG - VM ctest-vn2-vm1-94237841 is ready for SSH connections 2025-09-15 09:15:08,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 09:15:08,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.66.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 09:15:08,143 - DEBUG - ping -s 56 -c 3 -W 1 144.66.123.67 2025-09-15 09:15:12,809 - DEBUG - PING 144.66.123.67 (144.66.123.67): 56 data bytes --- 144.66.123.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 09:15:12,809 - WARNING - Ping to IP 144.66.123.67 from VM ctest-vn1-vm1-49071233 failed 2025-09-15 09:15:12,810 - INFO - Adding interface with subnet_id 84f79a47-9d2c-4608-bf1d-5eb25eab22ab, port_id None to router e0624df6-f1a4-4d6f-adfa-3875f37641bb 2025-09-15 09:15:13,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 09:15:13,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.66.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 09:15:13,071 - DEBUG - ping -s 56 -c 3 -W 1 144.66.123.67 2025-09-15 09:15:16,278 - DEBUG - PING 144.66.123.67 (144.66.123.67): 56 data bytes 64 bytes from 144.66.123.67: seq=1 ttl=63 time=3.020 ms 64 bytes from 144.66.123.67: seq=2 ttl=63 time=0.819 ms --- 144.66.123.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.819/1.919/3.020 ms 2025-09-15 09:15:16,278 - WARNING - Ping to IP 144.66.123.67 from VM ctest-vn1-vm1-49071233 failed 2025-09-15 09:15:17,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.66.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 09:15:17,279 - DEBUG - ping -s 56 -c 3 -W 1 144.66.123.67 2025-09-15 09:15:19,487 - DEBUG - PING 144.66.123.67 (144.66.123.67): 56 data bytes 64 bytes from 144.66.123.67: seq=0 ttl=63 time=2.023 ms 64 bytes from 144.66.123.67: seq=1 ttl=63 time=0.942 ms 64 bytes from 144.66.123.67: seq=2 ttl=63 time=0.848 ms --- 144.66.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.271/2.023 ms 2025-09-15 09:15:19,487 - INFO - Ping to IP 144.66.123.67 from VM ctest-vn1-vm1-49071233 passed 2025-09-15 09:15:19,487 - INFO - Deleting interface with subnet_id 0bca24e2-619a-44cf-8726-ce0a7b518f6d, port_id None from router e0624df6-f1a4-4d6f-adfa-3875f37641bb 2025-09-15 09:15:19,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 09:15:19,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.66.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 09:15:19,593 - DEBUG - ping -s 56 -c 3 -W 1 144.66.123.67 2025-09-15 09:15:22,841 - DEBUG - PING 144.66.123.67 (144.66.123.67): 56 data bytes --- 144.66.123.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 09:15:22,841 - WARNING - Ping to IP 144.66.123.67 from VM ctest-vn1-vm1-49071233 failed 2025-09-15 09:15:22,842 - INFO - Adding interface with subnet_id 0bca24e2-619a-44cf-8726-ce0a7b518f6d, port_id None to router e0624df6-f1a4-4d6f-adfa-3875f37641bb 2025-09-15 09:15:23,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 09:15:23,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.66.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 09:15:23,094 - DEBUG - ping -s 56 -c 3 -W 1 144.66.123.67 2025-09-15 09:15:25,309 - DEBUG - PING 144.66.123.67 (144.66.123.67): 56 data bytes 64 bytes from 144.66.123.67: seq=0 ttl=63 time=3.962 ms 64 bytes from 144.66.123.67: seq=1 ttl=63 time=1.149 ms 64 bytes from 144.66.123.67: seq=2 ttl=63 time=0.756 ms --- 144.66.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.955/3.962 ms 2025-09-15 09:15:25,309 - INFO - Ping to IP 144.66.123.67 from VM ctest-vn1-vm1-49071233 passed 2025-09-15 09:15:25,309 - INFO - Deleting interface with subnet_id 84f79a47-9d2c-4608-bf1d-5eb25eab22ab, port_id None from router e0624df6-f1a4-4d6f-adfa-3875f37641bb 2025-09-15 09:15:25,429 - INFO - Deleting interface with subnet_id 0bca24e2-619a-44cf-8726-ce0a7b518f6d, port_id None from router e0624df6-f1a4-4d6f-adfa-3875f37641bb 2025-09-15 09:15:25,599 - INFO - Deleting VM ctest-vn2-vm1-94237841 2025-09-15 09:15:25,675 - INFO - Deleting VM ctest-vn1-vm1-49071233 2025-09-15 09:15:25,751 - INFO - Deleting VN ctest-vn2-94988381 2025-09-15 09:15:25,789 - DEBUG - VN 898733c9-9123-4e83-a898-88c7905853f3 still in use: Unable to complete operation on network 898733c9-9123-4e83-a898-88c7905853f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38c71461-d532-4db5-a33f-326cc5417341'] 2025-09-15 09:15:25,789 - WARNING - Deleting VN ctest-vn2-94988381 failed..Will retry 2025-09-15 09:15:27,892 - DEBUG - Response for deleting network () 2025-09-15 09:15:27,893 - INFO - Deleting VN ctest-vn1-98942355 2025-09-15 09:15:27,985 - DEBUG - Response for deleting network () 2025-09-15 09:15:28,239 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 09:15:28,239 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-15 09:15:28,239 - INFO - -------------------------------------------------------------------------------- 2025-09-15 09:15:28,912 - INFO - Deleted project: ctest-TestRouters-50534209, ID : 92e35df6-8558-44f5-847c-b365bc8bd4db