2025-09-12 19:04:53,004 - INFO - Domain Default found not creating 2025-09-12 19:04:53,148 - INFO - Project ctest-TestRouters-69702273 not found, creating it 2025-09-12 19:04:53,603 - INFO - Created Project:ctest-TestRouters-69702273, ID : dd5c84f0-fd95-4c5e-bbf0-35299a4a6220 2025-09-12 19:04:55,146 - INFO - ================================================================================ 2025-09-12 19:04:55,147 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-12 19:04:55,147 - 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-12 19:04:55,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 19:04:55,400 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:04:55,400 - INFO - 2025-09-12 19:04:55,934 - DEBUG - Response for create_network : {'network': {'id': '0a7e7726-1aec-4963-8a15-f6dffc052f18', 'name': 'ctest-vn1-25512200', 'tenant_id': 'dd5c84f0fd954c5ebbf035299a4a6220', 'project_id': 'dd5c84f0fd954c5ebbf035299a4a6220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69702273', 'ctest-vn1-25512200'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:04:56,128 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed8c8ad6-6d3d-45cd-b064-ac2aac407964', 'name': '', 'tenant_id': 'dd5c84f0fd954c5ebbf035299a4a6220', 'network_id': '0a7e7726-1aec-4963-8a15-f6dffc052f18', 'ip_version': 4, 'cidr': '212.180.106.0/26', 'allocation_pools': [{'start': '212.180.106.2', 'end': '212.180.106.62'}], 'gateway_ip': '212.180.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.180.106.2', 'tags': [], 'project_id': 'dd5c84f0fd954c5ebbf035299a4a6220'}} 2025-09-12 19:04:56,144 - INFO - Created VN ctest-vn1-25512200 2025-09-12 19:04:56,195 - DEBUG - VN ctest-vn1-25512200 UUID is 0a7e7726-1aec-4963-8a15-f6dffc052f18 2025-09-12 19:04:56,539 - DEBUG - Response for create_network : {'network': {'id': '92e4c1f1-df03-456d-b842-766ec814128f', 'name': 'ctest-vn2-52000091', 'tenant_id': 'dd5c84f0fd954c5ebbf035299a4a6220', 'project_id': 'dd5c84f0fd954c5ebbf035299a4a6220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69702273', 'ctest-vn2-52000091'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:04:56,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '6167587d-500c-4ab3-82f8-90be11d7baaa', 'name': '', 'tenant_id': 'dd5c84f0fd954c5ebbf035299a4a6220', 'network_id': '92e4c1f1-df03-456d-b842-766ec814128f', 'ip_version': 4, 'cidr': '97.211.212.64/26', 'allocation_pools': [{'start': '97.211.212.66', 'end': '97.211.212.126'}], 'gateway_ip': '97.211.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.211.212.66', 'tags': [], 'project_id': 'dd5c84f0fd954c5ebbf035299a4a6220'}} 2025-09-12 19:04:56,754 - INFO - Created VN ctest-vn2-52000091 2025-09-12 19:04:56,802 - DEBUG - VN ctest-vn2-52000091 UUID is 92e4c1f1-df03-456d-b842-766ec814128f 2025-09-12 19:04:56,988 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:04:57,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4098-1) 2025-09-12 19:04:59,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4098-1) 2025-09-12 19:04:59,251 - INFO - Adding interface with subnet_id ed8c8ad6-6d3d-45cd-b064-ac2aac407964, port_id None to router 221eaa12-ca0f-429f-8886-cb57fa6e69a2 2025-09-12 19:04:59,545 - INFO - Waiting for VM ctest-vn1-vm1-53472123 to be up.. 2025-09-12 19:04:59,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:05:04,704 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:05:04,704 - INFO - VM name : ctest-vn1-vm1-53472123 2025-09-12 19:05:04,813 - DEBUG - VM ctest-vn1-vm1-53472123 ID is c735e97d-8d4c-47ab-9b65-8abac621030c 2025-09-12 19:05:04,829 - DEBUG - VM ctest-vn1-vm1-53472123 launched on Node cn-jenkins-deploy-platform-ansible-os-4098-1 2025-09-12 19:05:04,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c735e97d-8d4c-47ab-9b65-8abac621030c 2025-09-12 19:05:05,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c735e97d-8d4c-47ab-9b65-8abac621030c 2025-09-12 19:05:05,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/66142448-176a-4894-9deb-d83df63a6735 2025-09-12 19:05:08,480 - 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 1028ms') 2025-09-12 19:05:08,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53472123 failed! 2025-09-12 19:05:08,534 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-69702273:ctest-vn1-25512200 is 212.180.106.1 and allocation pool is NOT set 2025-09-12 19:05:10,595 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.774 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.774/2.675/4.576/1.901 ms') 2025-09-12 19:05:10,596 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53472123 passed 2025-09-12 19:05:10,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:10,750 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53472123, IP 212.180.106.3, Port 22 2025-09-12 19:05:10,902 - DEBUG - VM ctest-vn1-vm1-53472123 is ready for SSH connections 2025-09-12 19:05:10,902 - INFO - Waiting for VM ctest-vn2-vm1-50171035 to be up.. 2025-09-12 19:05:10,968 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:05:10,968 - INFO - VM name : ctest-vn2-vm1-50171035 2025-09-12 19:05:11,036 - DEBUG - VM ctest-vn2-vm1-50171035 ID is 3ec964b1-e022-419a-94bd-e6180d4e7de8 2025-09-12 19:05:11,036 - DEBUG - VM ctest-vn2-vm1-50171035 launched on Node cn-jenkins-deploy-platform-ansible-os-4098-1 2025-09-12 19:05:11,103 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3ec964b1-e022-419a-94bd-e6180d4e7de8 2025-09-12 19:05:11,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae64d799-6383-4407-80f2-1bb8764cbb62 2025-09-12 19:05:12,338 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.608/2.868/1.259 ms') 2025-09-12 19:05:12,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-50171035 passed 2025-09-12 19:05:12,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:12,487 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-50171035, IP 97.211.212.67, Port 22 2025-09-12 19:05:12,642 - DEBUG - VM ctest-vn2-vm1-50171035 is ready for SSH connections 2025-09-12 19:05:12,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:12,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.211.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:05:12,642 - DEBUG - ping -s 56 -c 3 -W 1 97.211.212.67 2025-09-12 19:05:17,295 - DEBUG - PING 97.211.212.67 (97.211.212.67): 56 data bytes --- 97.211.212.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 19:05:17,295 - WARNING - Ping to IP 97.211.212.67 from VM ctest-vn1-vm1-53472123 failed 2025-09-12 19:05:17,295 - INFO - Adding interface with subnet_id 6167587d-500c-4ab3-82f8-90be11d7baaa, port_id None to router 221eaa12-ca0f-429f-8886-cb57fa6e69a2 2025-09-12 19:05:17,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:17,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.211.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:05:17,515 - DEBUG - ping -s 56 -c 3 -W 1 97.211.212.67 2025-09-12 19:05:19,722 - DEBUG - PING 97.211.212.67 (97.211.212.67): 56 data bytes 64 bytes from 97.211.212.67: seq=0 ttl=63 time=2.281 ms 64 bytes from 97.211.212.67: seq=1 ttl=63 time=0.864 ms 64 bytes from 97.211.212.67: seq=2 ttl=63 time=0.731 ms --- 97.211.212.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.292/2.281 ms 2025-09-12 19:05:19,722 - INFO - Ping to IP 97.211.212.67 from VM ctest-vn1-vm1-53472123 passed 2025-09-12 19:05:19,722 - INFO - Deleting interface with subnet_id ed8c8ad6-6d3d-45cd-b064-ac2aac407964, port_id None from router 221eaa12-ca0f-429f-8886-cb57fa6e69a2 2025-09-12 19:05:19,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:19,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.211.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:05:19,821 - DEBUG - ping -s 56 -c 3 -W 1 97.211.212.67 2025-09-12 19:05:23,026 - DEBUG - PING 97.211.212.67 (97.211.212.67): 56 data bytes --- 97.211.212.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 19:05:23,026 - WARNING - Ping to IP 97.211.212.67 from VM ctest-vn1-vm1-53472123 failed 2025-09-12 19:05:23,026 - INFO - Adding interface with subnet_id ed8c8ad6-6d3d-45cd-b064-ac2aac407964, port_id None to router 221eaa12-ca0f-429f-8886-cb57fa6e69a2 2025-09-12 19:05:23,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:05:23,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.211.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:05:23,221 - DEBUG - ping -s 56 -c 3 -W 1 97.211.212.67 2025-09-12 19:05:26,450 - DEBUG - PING 97.211.212.67 (97.211.212.67): 56 data bytes 64 bytes from 97.211.212.67: seq=1 ttl=63 time=1.448 ms 64 bytes from 97.211.212.67: seq=2 ttl=63 time=0.731 ms --- 97.211.212.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.731/1.089/1.448 ms 2025-09-12 19:05:26,451 - WARNING - Ping to IP 97.211.212.67 from VM ctest-vn1-vm1-53472123 failed 2025-09-12 19:05:27,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.211.212.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 19:05:27,451 - DEBUG - ping -s 56 -c 3 -W 1 97.211.212.67 2025-09-12 19:05:29,650 - DEBUG - PING 97.211.212.67 (97.211.212.67): 56 data bytes 64 bytes from 97.211.212.67: seq=0 ttl=63 time=1.294 ms 64 bytes from 97.211.212.67: seq=1 ttl=63 time=0.710 ms 64 bytes from 97.211.212.67: seq=2 ttl=63 time=0.790 ms --- 97.211.212.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/0.931/1.294 ms 2025-09-12 19:05:29,650 - INFO - Ping to IP 97.211.212.67 from VM ctest-vn1-vm1-53472123 passed 2025-09-12 19:05:29,650 - INFO - Deleting interface with subnet_id 6167587d-500c-4ab3-82f8-90be11d7baaa, port_id None from router 221eaa12-ca0f-429f-8886-cb57fa6e69a2 2025-09-12 19:05:29,747 - INFO - Deleting interface with subnet_id ed8c8ad6-6d3d-45cd-b064-ac2aac407964, port_id None from router 221eaa12-ca0f-429f-8886-cb57fa6e69a2 2025-09-12 19:05:29,912 - INFO - Deleting VM ctest-vn2-vm1-50171035 2025-09-12 19:05:30,002 - INFO - Deleting VM ctest-vn1-vm1-53472123 2025-09-12 19:05:30,078 - INFO - Deleting VN ctest-vn2-52000091 2025-09-12 19:05:30,117 - DEBUG - VN 92e4c1f1-df03-456d-b842-766ec814128f still in use: Unable to complete operation on network 92e4c1f1-df03-456d-b842-766ec814128f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b30ab926-d731-4c57-9faf-68b88acf3441'] 2025-09-12 19:05:30,117 - WARNING - Deleting VN ctest-vn2-52000091 failed..Will retry 2025-09-12 19:05:32,205 - DEBUG - Response for deleting network () 2025-09-12 19:05:32,205 - INFO - Deleting VN ctest-vn1-25512200 2025-09-12 19:05:32,290 - DEBUG - Response for deleting network () 2025-09-12 19:05:32,543 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:05:32,543 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-12 19:05:32,543 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:05:33,211 - INFO - Deleted project: ctest-TestRouters-69702273, ID : dd5c84f0-fd95-4c5e-bbf0-35299a4a6220