2025-10-10 03:50:55,503 - INFO - Domain Default found not creating 2025-10-10 03:50:55,653 - INFO - Project ctest-TestRouters-84181002 not found, creating it 2025-10-10 03:50:56,140 - INFO - Created Project:ctest-TestRouters-84181002, ID : d71b0dcd-b5d2-412a-8b5e-593b1a9389d3 2025-10-10 03:50:57,559 - INFO - ================================================================================ 2025-10-10 03:50:57,559 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-10 03:50:57,559 - 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-10 03:50:57,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-10 03:50:57,824 - INFO - Initial checks done. Running the testcase now 2025-10-10 03:50:57,824 - INFO - 2025-10-10 03:50:58,364 - DEBUG - Response for create_network : {'network': {'id': '969ca0cd-cdc9-46cf-a78c-e82bc1b7e3da', 'name': 'ctest-vn1-20692643', 'tenant_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3', 'project_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84181002', 'ctest-vn1-20692643'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:50:58,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '54b61ec3-8bf6-4d2c-9e62-dbb12c3bde31', 'name': '', 'tenant_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3', 'network_id': '969ca0cd-cdc9-46cf-a78c-e82bc1b7e3da', 'ip_version': 4, 'cidr': '90.33.240.64/26', 'allocation_pools': [{'start': '90.33.240.66', 'end': '90.33.240.126'}], 'gateway_ip': '90.33.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.33.240.66', 'tags': [], 'project_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3'}} 2025-10-10 03:50:58,553 - INFO - Created VN ctest-vn1-20692643 2025-10-10 03:50:58,604 - DEBUG - VN ctest-vn1-20692643 UUID is 969ca0cd-cdc9-46cf-a78c-e82bc1b7e3da 2025-10-10 03:50:58,948 - DEBUG - Response for create_network : {'network': {'id': 'c88b59b7-9c0d-4079-ab15-74ecbfc4ae5f', 'name': 'ctest-vn2-64605155', 'tenant_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3', 'project_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84181002', 'ctest-vn2-64605155'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:50:59,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db24ad3e-7cd3-4808-8691-65e6c8eb216a', 'name': '', 'tenant_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3', 'network_id': 'c88b59b7-9c0d-4079-ab15-74ecbfc4ae5f', 'ip_version': 4, 'cidr': '54.212.248.192/26', 'allocation_pools': [{'start': '54.212.248.194', 'end': '54.212.248.254'}], 'gateway_ip': '54.212.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.212.248.194', 'tags': [], 'project_id': 'd71b0dcdb5d2412a8b5e593b1a9389d3'}} 2025-10-10 03:50:59,164 - INFO - Created VN ctest-vn2-64605155 2025-10-10 03:50:59,216 - DEBUG - VN ctest-vn2-64605155 UUID is c88b59b7-9c0d-4079-ab15-74ecbfc4ae5f 2025-10-10 03:50:59,397 - DEBUG - Services list from nova: [, , ] 2025-10-10 03:51:00,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:51:01,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:51:01,757 - INFO - Adding interface with subnet_id 54b61ec3-8bf6-4d2c-9e62-dbb12c3bde31, port_id None to router 63c2cd47-9538-4cd6-aedd-0d50850d6d66 2025-10-10 03:51:02,085 - INFO - Waiting for VM ctest-vn1-vm1-16816495 to be up.. 2025-10-10 03:51:02,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 03:51:07,352 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:51:07,352 - INFO - VM name : ctest-vn1-vm1-16816495 2025-10-10 03:51:07,434 - DEBUG - VM ctest-vn1-vm1-16816495 ID is ecd76c39-0cad-4c1f-9832-061a4c57c1f6 2025-10-10 03:51:07,455 - DEBUG - VM ctest-vn1-vm1-16816495 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:51:07,533 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ecd76c39-0cad-4c1f-9832-061a4c57c1f6 2025-10-10 03:51:07,933 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ecd76c39-0cad-4c1f-9832-061a4c57c1f6 2025-10-10 03:51:07,979 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6787dd1d-fc16-40ab-a7f8-d264fec6bcd9 2025-10-10 03:51:11,255 - 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 1026ms') 2025-10-10 03:51:11,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16816495 failed! 2025-10-10 03:51:11,312 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84181002:ctest-vn1-20692643 is 90.33.240.65 and allocation pool is NOT set 2025-10-10 03:51:13,373 - 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=4.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/2.255/4.046/1.791 ms') 2025-10-10 03:51:13,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16816495 passed 2025-10-10 03:51:13,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:13,520 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16816495, IP 90.33.240.67, Port 22 2025-10-10 03:51:13,690 - DEBUG - VM ctest-vn1-vm1-16816495 is ready for SSH connections 2025-10-10 03:51:13,690 - INFO - Waiting for VM ctest-vn2-vm1-24179010 to be up.. 2025-10-10 03:51:13,765 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:51:13,765 - INFO - VM name : ctest-vn2-vm1-24179010 2025-10-10 03:51:13,835 - DEBUG - VM ctest-vn2-vm1-24179010 ID is a6e20bae-f11b-462b-8888-e37cb92be352 2025-10-10 03:51:13,836 - DEBUG - VM ctest-vn2-vm1-24179010 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:51:13,907 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a6e20bae-f11b-462b-8888-e37cb92be352 2025-10-10 03:51:13,916 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/599e7ef6-bfb5-4228-b23c-6324c5789323 2025-10-10 03:51:15,148 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.446/1.714/2.982/1.268 ms') 2025-10-10 03:51:15,148 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-24179010 passed 2025-10-10 03:51:15,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:15,296 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24179010, IP 54.212.248.195, Port 22 2025-10-10 03:51:15,470 - DEBUG - VM ctest-vn2-vm1-24179010 is ready for SSH connections 2025-10-10 03:51:15,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:15,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.212.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:51:15,470 - DEBUG - ping -s 56 -c 3 -W 1 54.212.248.195 2025-10-10 03:51:20,482 - DEBUG - PING 54.212.248.195 (54.212.248.195): 56 data bytes --- 54.212.248.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-10 03:51:20,482 - WARNING - Ping to IP 54.212.248.195 from VM ctest-vn1-vm1-16816495 failed 2025-10-10 03:51:20,482 - INFO - Adding interface with subnet_id db24ad3e-7cd3-4808-8691-65e6c8eb216a, port_id None to router 63c2cd47-9538-4cd6-aedd-0d50850d6d66 2025-10-10 03:51:20,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:20,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.212.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:51:20,761 - DEBUG - ping -s 56 -c 3 -W 1 54.212.248.195 2025-10-10 03:51:23,959 - DEBUG - PING 54.212.248.195 (54.212.248.195): 56 data bytes 64 bytes from 54.212.248.195: seq=1 ttl=63 time=2.730 ms 64 bytes from 54.212.248.195: seq=2 ttl=63 time=1.292 ms --- 54.212.248.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.292/2.011/2.730 ms 2025-10-10 03:51:23,959 - WARNING - Ping to IP 54.212.248.195 from VM ctest-vn1-vm1-16816495 failed 2025-10-10 03:51:24,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.212.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:51:24,960 - DEBUG - ping -s 56 -c 3 -W 1 54.212.248.195 2025-10-10 03:51:27,182 - DEBUG - PING 54.212.248.195 (54.212.248.195): 56 data bytes 64 bytes from 54.212.248.195: seq=0 ttl=63 time=1.321 ms 64 bytes from 54.212.248.195: seq=1 ttl=63 time=1.091 ms 64 bytes from 54.212.248.195: seq=2 ttl=63 time=0.833 ms --- 54.212.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.081/1.321 ms 2025-10-10 03:51:27,182 - INFO - Ping to IP 54.212.248.195 from VM ctest-vn1-vm1-16816495 passed 2025-10-10 03:51:27,182 - INFO - Deleting interface with subnet_id 54b61ec3-8bf6-4d2c-9e62-dbb12c3bde31, port_id None from router 63c2cd47-9538-4cd6-aedd-0d50850d6d66 2025-10-10 03:51:27,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:27,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.212.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:51:27,288 - DEBUG - ping -s 56 -c 3 -W 1 54.212.248.195 2025-10-10 03:51:30,501 - DEBUG - PING 54.212.248.195 (54.212.248.195): 56 data bytes --- 54.212.248.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-10 03:51:30,501 - WARNING - Ping to IP 54.212.248.195 from VM ctest-vn1-vm1-16816495 failed 2025-10-10 03:51:30,501 - INFO - Adding interface with subnet_id 54b61ec3-8bf6-4d2c-9e62-dbb12c3bde31, port_id None to router 63c2cd47-9538-4cd6-aedd-0d50850d6d66 2025-10-10 03:51:30,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:30,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.212.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:51:30,714 - DEBUG - ping -s 56 -c 3 -W 1 54.212.248.195 2025-10-10 03:51:32,925 - DEBUG - PING 54.212.248.195 (54.212.248.195): 56 data bytes 64 bytes from 54.212.248.195: seq=0 ttl=63 time=1.701 ms 64 bytes from 54.212.248.195: seq=1 ttl=63 time=0.967 ms 64 bytes from 54.212.248.195: seq=2 ttl=63 time=1.003 ms --- 54.212.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/1.223/1.701 ms 2025-10-10 03:51:32,925 - INFO - Ping to IP 54.212.248.195 from VM ctest-vn1-vm1-16816495 passed 2025-10-10 03:51:32,925 - INFO - Deleting interface with subnet_id db24ad3e-7cd3-4808-8691-65e6c8eb216a, port_id None from router 63c2cd47-9538-4cd6-aedd-0d50850d6d66 2025-10-10 03:51:33,046 - INFO - Deleting interface with subnet_id 54b61ec3-8bf6-4d2c-9e62-dbb12c3bde31, port_id None from router 63c2cd47-9538-4cd6-aedd-0d50850d6d66 2025-10-10 03:51:33,247 - INFO - Deleting VM ctest-vn2-vm1-24179010 2025-10-10 03:51:33,349 - INFO - Deleting VM ctest-vn1-vm1-16816495 2025-10-10 03:51:33,417 - INFO - Deleting VN ctest-vn2-64605155 2025-10-10 03:51:33,450 - DEBUG - VN c88b59b7-9c0d-4079-ab15-74ecbfc4ae5f still in use: Unable to complete operation on network c88b59b7-9c0d-4079-ab15-74ecbfc4ae5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3155d9d6-4cfe-4f80-9edb-04de4075e3ff'] 2025-10-10 03:51:33,450 - WARNING - Deleting VN ctest-vn2-64605155 failed..Will retry 2025-10-10 03:51:35,544 - DEBUG - Response for deleting network () 2025-10-10 03:51:35,544 - INFO - Deleting VN ctest-vn1-20692643 2025-10-10 03:51:35,640 - DEBUG - Response for deleting network () 2025-10-10 03:51:35,912 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 03:51:35,912 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-10 03:51:35,913 - INFO - -------------------------------------------------------------------------------- 2025-10-10 03:51:36,595 - INFO - Deleted project: ctest-TestRouters-84181002, ID : d71b0dcd-b5d2-412a-8b5e-593b1a9389d3