2025-07-31 13:55:04,897 - INFO - Domain Default found not creating 2025-07-31 13:55:05,045 - INFO - Project ctest-TestRouters-19868375 not found, creating it 2025-07-31 13:55:05,556 - INFO - Created Project:ctest-TestRouters-19868375, ID : 4dad7d24-4248-43c9-ad4a-c203cd40241f 2025-07-31 13:55:07,143 - INFO - ================================================================================ 2025-07-31 13:55:07,143 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-31 13:55:07,143 - 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-07-31 13:55:07,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-07-31 13:55:07,403 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:55:07,403 - INFO - 2025-07-31 13:55:08,018 - DEBUG - Response for create_network : {'network': {'id': '5d769480-44f0-42e1-b7e5-7ff9712c219b', 'name': 'ctest-vn1-81399287', 'tenant_id': '4dad7d24424843c9ad4ac203cd40241f', 'project_id': '4dad7d24424843c9ad4ac203cd40241f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19868375', 'ctest-vn1-81399287'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:55:08,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecc7e45d-3b98-4948-a71b-5dcf22e43d40', 'name': '', 'tenant_id': '4dad7d24424843c9ad4ac203cd40241f', 'network_id': '5d769480-44f0-42e1-b7e5-7ff9712c219b', 'ip_version': 4, 'cidr': '145.92.158.0/26', 'allocation_pools': [{'start': '145.92.158.2', 'end': '145.92.158.62'}], 'gateway_ip': '145.92.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.92.158.2', 'tags': [], 'project_id': '4dad7d24424843c9ad4ac203cd40241f'}} 2025-07-31 13:55:08,292 - INFO - Created VN ctest-vn1-81399287 2025-07-31 13:55:08,348 - DEBUG - VN ctest-vn1-81399287 UUID is 5d769480-44f0-42e1-b7e5-7ff9712c219b 2025-07-31 13:55:08,694 - DEBUG - Response for create_network : {'network': {'id': '01d4b316-9091-4073-9417-d0a8b7951ff0', 'name': 'ctest-vn2-60005975', 'tenant_id': '4dad7d24424843c9ad4ac203cd40241f', 'project_id': '4dad7d24424843c9ad4ac203cd40241f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19868375', 'ctest-vn2-60005975'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:55:08,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab90fac8-b79b-4590-b1b5-c28fbe845569', 'name': '', 'tenant_id': '4dad7d24424843c9ad4ac203cd40241f', 'network_id': '01d4b316-9091-4073-9417-d0a8b7951ff0', 'ip_version': 4, 'cidr': '67.156.39.192/26', 'allocation_pools': [{'start': '67.156.39.194', 'end': '67.156.39.254'}], 'gateway_ip': '67.156.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.156.39.194', 'tags': [], 'project_id': '4dad7d24424843c9ad4ac203cd40241f'}} 2025-07-31 13:55:08,890 - INFO - Created VN ctest-vn2-60005975 2025-07-31 13:55:08,943 - DEBUG - VN ctest-vn2-60005975 UUID is 01d4b316-9091-4073-9417-d0a8b7951ff0 2025-07-31 13:55:09,113 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:55:10,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:55:11,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:55:11,470 - INFO - Adding interface with subnet_id ecc7e45d-3b98-4948-a71b-5dcf22e43d40, port_id None to router 2053437d-0d67-4095-9c13-4898ca2ea6d6 2025-07-31 13:55:11,822 - INFO - Waiting for VM ctest-vn1-vm1-89462650 to be up.. 2025-07-31 13:55:11,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:55:17,023 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:55:17,023 - INFO - VM name : ctest-vn1-vm1-89462650 2025-07-31 13:55:17,099 - DEBUG - VM ctest-vn1-vm1-89462650 ID is d7a911df-bab8-4d3a-bb67-89b84408a5fb 2025-07-31 13:55:17,118 - DEBUG - VM ctest-vn1-vm1-89462650 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:55:17,204 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d7a911df-bab8-4d3a-bb67-89b84408a5fb 2025-07-31 13:55:17,500 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d7a911df-bab8-4d3a-bb67-89b84408a5fb 2025-07-31 13:55:17,556 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/120f4edc-1c29-4fad-8e57-46edf835270c 2025-07-31 13:55:20,837 - 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 1027ms') 2025-07-31 13:55:20,837 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89462650 failed! 2025-07-31 13:55:20,903 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19868375:ctest-vn1-81399287 is 145.92.158.1 and allocation pool is NOT set 2025-07-31 13:55:22,968 - 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=5.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/3.010/5.631/2.621 ms') 2025-07-31 13:55:22,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89462650 passed 2025-07-31 13:55:23,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:55:23,135 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89462650, IP 145.92.158.3, Port 22 2025-07-31 13:55:23,306 - DEBUG - VM ctest-vn1-vm1-89462650 is ready for SSH connections 2025-07-31 13:55:23,306 - INFO - Waiting for VM ctest-vn2-vm1-45864718 to be up.. 2025-07-31 13:55:23,392 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:55:23,392 - INFO - VM name : ctest-vn2-vm1-45864718 2025-07-31 13:55:23,481 - DEBUG - VM ctest-vn2-vm1-45864718 ID is 691d4784-efac-460c-b9a9-16515ae41152 2025-07-31 13:55:23,481 - DEBUG - VM ctest-vn2-vm1-45864718 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:55:23,575 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/691d4784-efac-460c-b9a9-16515ae41152 2025-07-31 13:55:23,585 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/7a429512-10db-47be-b7a4-4d945c78ec57 2025-07-31 13:55:24,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=3.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.909/3.402/1.493 ms') 2025-07-31 13:55:24,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45864718 passed 2025-07-31 13:55:24,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:55:24,987 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45864718, IP 67.156.39.195, Port 22 2025-07-31 13:55:25,150 - DEBUG - VM ctest-vn2-vm1-45864718 is ready for SSH connections 2025-07-31 13:55:25,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:55:25,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:55:25,151 - DEBUG - ping -s 56 -c 3 -W 1 67.156.39.195 2025-07-31 13:55:30,117 - DEBUG - PING 67.156.39.195 (67.156.39.195): 56 data bytes --- 67.156.39.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 13:55:30,118 - WARNING - Ping to IP 67.156.39.195 from VM ctest-vn1-vm1-89462650 failed 2025-07-31 13:55:30,118 - INFO - Adding interface with subnet_id ab90fac8-b79b-4590-b1b5-c28fbe845569, port_id None to router 2053437d-0d67-4095-9c13-4898ca2ea6d6 2025-07-31 13:55:30,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:55:30,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:55:30,382 - DEBUG - ping -s 56 -c 3 -W 1 67.156.39.195 2025-07-31 13:55:33,601 - DEBUG - PING 67.156.39.195 (67.156.39.195): 56 data bytes 64 bytes from 67.156.39.195: seq=1 ttl=63 time=3.674 ms 64 bytes from 67.156.39.195: seq=2 ttl=63 time=1.075 ms --- 67.156.39.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.075/2.374/3.674 ms 2025-07-31 13:55:33,601 - WARNING - Ping to IP 67.156.39.195 from VM ctest-vn1-vm1-89462650 failed 2025-07-31 13:55:34,601 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:55:34,601 - DEBUG - ping -s 56 -c 3 -W 1 67.156.39.195 2025-07-31 13:55:36,825 - DEBUG - PING 67.156.39.195 (67.156.39.195): 56 data bytes 64 bytes from 67.156.39.195: seq=0 ttl=63 time=1.287 ms 64 bytes from 67.156.39.195: seq=1 ttl=63 time=0.810 ms 64 bytes from 67.156.39.195: seq=2 ttl=63 time=0.919 ms --- 67.156.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.005/1.287 ms 2025-07-31 13:55:36,825 - INFO - Ping to IP 67.156.39.195 from VM ctest-vn1-vm1-89462650 passed 2025-07-31 13:55:36,825 - INFO - Deleting interface with subnet_id ecc7e45d-3b98-4948-a71b-5dcf22e43d40, port_id None from router 2053437d-0d67-4095-9c13-4898ca2ea6d6 2025-07-31 13:55:36,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:55:36,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:55:36,953 - DEBUG - ping -s 56 -c 3 -W 1 67.156.39.195 2025-07-31 13:55:40,165 - DEBUG - PING 67.156.39.195 (67.156.39.195): 56 data bytes --- 67.156.39.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 13:55:40,165 - WARNING - Ping to IP 67.156.39.195 from VM ctest-vn1-vm1-89462650 failed 2025-07-31 13:55:40,165 - INFO - Adding interface with subnet_id ecc7e45d-3b98-4948-a71b-5dcf22e43d40, port_id None to router 2053437d-0d67-4095-9c13-4898ca2ea6d6 2025-07-31 13:55:40,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:55:40,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:55:40,406 - DEBUG - ping -s 56 -c 3 -W 1 67.156.39.195 2025-07-31 13:55:42,622 - DEBUG - PING 67.156.39.195 (67.156.39.195): 56 data bytes 64 bytes from 67.156.39.195: seq=0 ttl=63 time=1.526 ms 64 bytes from 67.156.39.195: seq=1 ttl=63 time=0.788 ms 64 bytes from 67.156.39.195: seq=2 ttl=63 time=1.123 ms --- 67.156.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.145/1.526 ms 2025-07-31 13:55:42,622 - INFO - Ping to IP 67.156.39.195 from VM ctest-vn1-vm1-89462650 passed 2025-07-31 13:55:42,622 - INFO - Deleting interface with subnet_id ab90fac8-b79b-4590-b1b5-c28fbe845569, port_id None from router 2053437d-0d67-4095-9c13-4898ca2ea6d6 2025-07-31 13:55:42,771 - INFO - Deleting interface with subnet_id ecc7e45d-3b98-4948-a71b-5dcf22e43d40, port_id None from router 2053437d-0d67-4095-9c13-4898ca2ea6d6 2025-07-31 13:55:42,956 - INFO - Deleting VM ctest-vn2-vm1-45864718 2025-07-31 13:55:43,036 - INFO - Deleting VM ctest-vn1-vm1-89462650 2025-07-31 13:55:43,128 - INFO - Deleting VN ctest-vn2-60005975 2025-07-31 13:55:43,181 - DEBUG - VN 01d4b316-9091-4073-9417-d0a8b7951ff0 still in use: Unable to complete operation on network 01d4b316-9091-4073-9417-d0a8b7951ff0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4fba064a-e223-46c1-9b46-6048c5073e25'] 2025-07-31 13:55:43,181 - WARNING - Deleting VN ctest-vn2-60005975 failed..Will retry 2025-07-31 13:55:45,300 - DEBUG - Response for deleting network () 2025-07-31 13:55:45,300 - INFO - Deleting VN ctest-vn1-81399287 2025-07-31 13:55:45,429 - DEBUG - Response for deleting network () 2025-07-31 13:55:45,689 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 13:55:45,689 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-07-31 13:55:45,689 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:55:46,368 - INFO - Deleted project: ctest-TestRouters-19868375, ID : 4dad7d24-4248-43c9-ad4a-c203cd40241f