2025-09-04 14:32:19,896 - INFO - Domain Default found not creating 2025-09-04 14:32:20,026 - INFO - Project ctest-TestRouters-42074304 not found, creating it 2025-09-04 14:32:20,545 - INFO - Created Project:ctest-TestRouters-42074304, ID : 32c02266-68a5-4ee0-a10c-f729a7709d71 2025-09-04 14:32:21,896 - INFO - ================================================================================ 2025-09-04 14:32:21,897 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 14:32:21,897 - 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-04 14:32:22,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 14:32:22,154 - INFO - Initial checks done. Running the testcase now 2025-09-04 14:32:22,154 - INFO - 2025-09-04 14:32:22,661 - DEBUG - Response for create_network : {'network': {'id': '6674dcc2-5bb3-4e74-abb1-661e727360d4', 'name': 'ctest-vn1-41173536', 'tenant_id': '32c0226668a54ee0a10cf729a7709d71', 'project_id': '32c0226668a54ee0a10cf729a7709d71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42074304', 'ctest-vn1-41173536'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:32:22,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f731cf62-c811-4d3e-880f-98d7a42c0a56', 'name': '', 'tenant_id': '32c0226668a54ee0a10cf729a7709d71', 'network_id': '6674dcc2-5bb3-4e74-abb1-661e727360d4', 'ip_version': 4, 'cidr': '212.84.51.0/26', 'allocation_pools': [{'start': '212.84.51.2', 'end': '212.84.51.62'}], 'gateway_ip': '212.84.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.84.51.2', 'tags': [], 'project_id': '32c0226668a54ee0a10cf729a7709d71'}} 2025-09-04 14:32:22,868 - INFO - Created VN ctest-vn1-41173536 2025-09-04 14:32:22,917 - DEBUG - VN ctest-vn1-41173536 UUID is 6674dcc2-5bb3-4e74-abb1-661e727360d4 2025-09-04 14:32:23,224 - DEBUG - Response for create_network : {'network': {'id': 'b53392dd-4b43-4ba8-aced-ad789780b356', 'name': 'ctest-vn2-10714477', 'tenant_id': '32c0226668a54ee0a10cf729a7709d71', 'project_id': '32c0226668a54ee0a10cf729a7709d71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42074304', 'ctest-vn2-10714477'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:32:23,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '73245cf2-412b-42f1-a28a-f95270560075', 'name': '', 'tenant_id': '32c0226668a54ee0a10cf729a7709d71', 'network_id': 'b53392dd-4b43-4ba8-aced-ad789780b356', 'ip_version': 4, 'cidr': '20.99.4.128/26', 'allocation_pools': [{'start': '20.99.4.130', 'end': '20.99.4.190'}], 'gateway_ip': '20.99.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.99.4.130', 'tags': [], 'project_id': '32c0226668a54ee0a10cf729a7709d71'}} 2025-09-04 14:32:23,472 - INFO - Created VN ctest-vn2-10714477 2025-09-04 14:32:23,525 - DEBUG - VN ctest-vn2-10714477 UUID is b53392dd-4b43-4ba8-aced-ad789780b356 2025-09-04 14:32:23,765 - DEBUG - Services list from nova: [, , ] 2025-09-04 14:32:24,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4015-1) 2025-09-04 14:32:25,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4015-1) 2025-09-04 14:32:25,872 - INFO - Adding interface with subnet_id f731cf62-c811-4d3e-880f-98d7a42c0a56, port_id None to router e6b8540c-2601-4de2-bccc-27b2374d9f63 2025-09-04 14:32:26,096 - INFO - Waiting for VM ctest-vn1-vm1-97947835 to be up.. 2025-09-04 14:32:26,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 14:32:31,237 - DEBUG - VM is in ACTIVE state now 2025-09-04 14:32:31,237 - INFO - VM name : ctest-vn1-vm1-97947835 2025-09-04 14:32:31,301 - DEBUG - VM ctest-vn1-vm1-97947835 ID is bf936a57-78e5-4712-935a-e6cfd293d287 2025-09-04 14:32:31,320 - DEBUG - VM ctest-vn1-vm1-97947835 launched on Node cn-jenkins-deploy-platform-ansible-os-4015-1 2025-09-04 14:32:31,385 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bf936a57-78e5-4712-935a-e6cfd293d287 2025-09-04 14:32:31,677 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bf936a57-78e5-4712-935a-e6cfd293d287 2025-09-04 14:32:31,704 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f288b256-5b3d-48fe-b646-47240f332309 2025-09-04 14:32:34,952 - 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 1020ms') 2025-09-04 14:32:34,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97947835 failed! 2025-09-04 14:32:35,005 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42074304:ctest-vn1-41173536 is 212.84.51.1 and allocation pool is NOT set 2025-09-04 14:32:37,065 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.693/3.024/1.331 ms') 2025-09-04 14:32:37,066 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97947835 passed 2025-09-04 14:32:37,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:37,213 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97947835, IP 212.84.51.3, Port 22 2025-09-04 14:32:37,364 - DEBUG - VM ctest-vn1-vm1-97947835 is ready for SSH connections 2025-09-04 14:32:37,364 - INFO - Waiting for VM ctest-vn2-vm1-31278864 to be up.. 2025-09-04 14:32:37,426 - DEBUG - VM is in ACTIVE state now 2025-09-04 14:32:37,426 - INFO - VM name : ctest-vn2-vm1-31278864 2025-09-04 14:32:37,485 - DEBUG - VM ctest-vn2-vm1-31278864 ID is 717e5534-0ea9-4cf8-8976-82a7958fb0ab 2025-09-04 14:32:37,485 - DEBUG - VM ctest-vn2-vm1-31278864 launched on Node cn-jenkins-deploy-platform-ansible-os-4015-1 2025-09-04 14:32:37,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/717e5534-0ea9-4cf8-8976-82a7958fb0ab 2025-09-04 14:32:37,558 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d3d5d359-e354-4686-bb1b-09a37d7e1658 2025-09-04 14:32:38,789 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.344 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.344/1.725/3.106/1.381 ms') 2025-09-04 14:32:38,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-31278864 passed 2025-09-04 14:32:38,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:38,941 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-31278864, IP 20.99.4.131, Port 22 2025-09-04 14:32:39,096 - DEBUG - VM ctest-vn2-vm1-31278864 is ready for SSH connections 2025-09-04 14:32:39,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:39,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.99.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:32:39,096 - DEBUG - ping -s 56 -c 3 -W 1 20.99.4.131 2025-09-04 14:32:43,719 - DEBUG - PING 20.99.4.131 (20.99.4.131): 56 data bytes --- 20.99.4.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 14:32:43,720 - WARNING - Ping to IP 20.99.4.131 from VM ctest-vn1-vm1-97947835 failed 2025-09-04 14:32:43,720 - INFO - Adding interface with subnet_id 73245cf2-412b-42f1-a28a-f95270560075, port_id None to router e6b8540c-2601-4de2-bccc-27b2374d9f63 2025-09-04 14:32:43,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:43,988 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.99.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:32:43,988 - DEBUG - ping -s 56 -c 3 -W 1 20.99.4.131 2025-09-04 14:32:46,181 - DEBUG - PING 20.99.4.131 (20.99.4.131): 56 data bytes 64 bytes from 20.99.4.131: seq=0 ttl=63 time=2.304 ms 64 bytes from 20.99.4.131: seq=1 ttl=63 time=0.832 ms 64 bytes from 20.99.4.131: seq=2 ttl=63 time=0.657 ms --- 20.99.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.657/1.264/2.304 ms 2025-09-04 14:32:46,181 - INFO - Ping to IP 20.99.4.131 from VM ctest-vn1-vm1-97947835 passed 2025-09-04 14:32:46,181 - INFO - Deleting interface with subnet_id f731cf62-c811-4d3e-880f-98d7a42c0a56, port_id None from router e6b8540c-2601-4de2-bccc-27b2374d9f63 2025-09-04 14:32:46,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:46,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.99.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:32:46,283 - DEBUG - ping -s 56 -c 3 -W 1 20.99.4.131 2025-09-04 14:32:49,469 - DEBUG - PING 20.99.4.131 (20.99.4.131): 56 data bytes --- 20.99.4.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 14:32:49,469 - WARNING - Ping to IP 20.99.4.131 from VM ctest-vn1-vm1-97947835 failed 2025-09-04 14:32:49,469 - INFO - Adding interface with subnet_id f731cf62-c811-4d3e-880f-98d7a42c0a56, port_id None to router e6b8540c-2601-4de2-bccc-27b2374d9f63 2025-09-04 14:32:49,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:49,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.99.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:32:49,649 - DEBUG - ping -s 56 -c 3 -W 1 20.99.4.131 2025-09-04 14:32:51,853 - DEBUG - PING 20.99.4.131 (20.99.4.131): 56 data bytes 64 bytes from 20.99.4.131: seq=0 ttl=63 time=1.230 ms 64 bytes from 20.99.4.131: seq=1 ttl=63 time=0.732 ms 64 bytes from 20.99.4.131: seq=2 ttl=63 time=0.719 ms --- 20.99.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/0.893/1.230 ms 2025-09-04 14:32:51,853 - INFO - Ping to IP 20.99.4.131 from VM ctest-vn1-vm1-97947835 passed 2025-09-04 14:32:51,853 - INFO - Deleting interface with subnet_id 73245cf2-412b-42f1-a28a-f95270560075, port_id None from router e6b8540c-2601-4de2-bccc-27b2374d9f63 2025-09-04 14:32:51,949 - INFO - Deleting interface with subnet_id f731cf62-c811-4d3e-880f-98d7a42c0a56, port_id None from router e6b8540c-2601-4de2-bccc-27b2374d9f63 2025-09-04 14:32:52,088 - INFO - Deleting VM ctest-vn2-vm1-31278864 2025-09-04 14:32:52,148 - INFO - Deleting VM ctest-vn1-vm1-97947835 2025-09-04 14:32:52,207 - INFO - Deleting VN ctest-vn2-10714477 2025-09-04 14:32:52,240 - DEBUG - VN b53392dd-4b43-4ba8-aced-ad789780b356 still in use: Unable to complete operation on network b53392dd-4b43-4ba8-aced-ad789780b356. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55cfa88d-47c2-4259-86ba-bfdc22b621d4'] 2025-09-04 14:32:52,240 - WARNING - Deleting VN ctest-vn2-10714477 failed..Will retry 2025-09-04 14:32:54,318 - DEBUG - Response for deleting network () 2025-09-04 14:32:54,318 - INFO - Deleting VN ctest-vn1-41173536 2025-09-04 14:32:54,394 - DEBUG - Response for deleting network () 2025-09-04 14:32:54,649 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 14:32:54,649 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-09-04 14:32:54,649 - INFO - -------------------------------------------------------------------------------- 2025-09-04 14:32:55,280 - INFO - Deleted project: ctest-TestRouters-42074304, ID : 32c02266-68a5-4ee0-a10c-f729a7709d71