2025-09-21 15:05:00,232 - INFO - Domain Default found not creating 2025-09-21 15:05:00,379 - INFO - Project ctest-TestRouters-98268207 not found, creating it 2025-09-21 15:05:00,837 - INFO - Created Project:ctest-TestRouters-98268207, ID : 120986bd-796d-46e5-a502-b001fd90fe37 2025-09-21 15:05:02,423 - INFO - ================================================================================ 2025-09-21 15:05:02,423 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-21 15:05:02,423 - 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-21 15:05:02,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-21 15:05:02,678 - INFO - Initial checks done. Running the testcase now 2025-09-21 15:05:02,678 - INFO - 2025-09-21 15:05:03,230 - DEBUG - Response for create_network : {'network': {'id': '876027f1-50ad-42e3-b93a-9f74457cd28e', 'name': 'ctest-vn1-79641634', 'tenant_id': '120986bd796d46e5a502b001fd90fe37', 'project_id': '120986bd796d46e5a502b001fd90fe37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-98268207', 'ctest-vn1-79641634'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:05:03,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a9160a6-1eba-4087-a1b5-a239e531d204', 'name': '', 'tenant_id': '120986bd796d46e5a502b001fd90fe37', 'network_id': '876027f1-50ad-42e3-b93a-9f74457cd28e', 'ip_version': 4, 'cidr': '59.46.142.192/26', 'allocation_pools': [{'start': '59.46.142.194', 'end': '59.46.142.254'}], 'gateway_ip': '59.46.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.46.142.194', 'tags': [], 'project_id': '120986bd796d46e5a502b001fd90fe37'}} 2025-09-21 15:05:03,492 - INFO - Created VN ctest-vn1-79641634 2025-09-21 15:05:03,549 - DEBUG - VN ctest-vn1-79641634 UUID is 876027f1-50ad-42e3-b93a-9f74457cd28e 2025-09-21 15:05:03,899 - DEBUG - Response for create_network : {'network': {'id': '3b23b6cc-4990-43d9-81c9-f005d567b4ea', 'name': 'ctest-vn2-19012031', 'tenant_id': '120986bd796d46e5a502b001fd90fe37', 'project_id': '120986bd796d46e5a502b001fd90fe37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-98268207', 'ctest-vn2-19012031'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:05:04,079 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1a11007-b3e4-4ea6-aa59-306fb94e7345', 'name': '', 'tenant_id': '120986bd796d46e5a502b001fd90fe37', 'network_id': '3b23b6cc-4990-43d9-81c9-f005d567b4ea', 'ip_version': 4, 'cidr': '83.236.208.0/26', 'allocation_pools': [{'start': '83.236.208.2', 'end': '83.236.208.62'}], 'gateway_ip': '83.236.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.236.208.2', 'tags': [], 'project_id': '120986bd796d46e5a502b001fd90fe37'}} 2025-09-21 15:05:04,097 - INFO - Created VN ctest-vn2-19012031 2025-09-21 15:05:04,153 - DEBUG - VN ctest-vn2-19012031 UUID is 3b23b6cc-4990-43d9-81c9-f005d567b4ea 2025-09-21 15:05:04,325 - DEBUG - Services list from nova: [, , ] 2025-09-21 15:05:05,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4158-1) 2025-09-21 15:05:06,628 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4158-1) 2025-09-21 15:05:06,693 - INFO - Adding interface with subnet_id 2a9160a6-1eba-4087-a1b5-a239e531d204, port_id None to router e4fe2cab-32a4-4874-b288-b39050288506 2025-09-21 15:05:07,028 - INFO - Waiting for VM ctest-vn1-vm1-86267919 to be up.. 2025-09-21 15:05:07,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 15:05:12,218 - DEBUG - VM is in ACTIVE state now 2025-09-21 15:05:12,218 - INFO - VM name : ctest-vn1-vm1-86267919 2025-09-21 15:05:12,303 - DEBUG - VM ctest-vn1-vm1-86267919 ID is 0b3b629c-8a27-431d-851b-9ddb7ebf5d50 2025-09-21 15:05:12,324 - DEBUG - VM ctest-vn1-vm1-86267919 launched on Node cn-jenkins-deploy-platform-ansible-os-4158-1 2025-09-21 15:05:12,402 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0b3b629c-8a27-431d-851b-9ddb7ebf5d50 2025-09-21 15:05:12,698 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0b3b629c-8a27-431d-851b-9ddb7ebf5d50 2025-09-21 15:05:12,733 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/7951e29b-c2a4-4121-81eb-7d5316518bdd 2025-09-21 15:05:15,992 - 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-09-21 15:05:15,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86267919 failed! 2025-09-21 15:05:16,053 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-98268207:ctest-vn1-79641634 is 59.46.142.193 and allocation pool is NOT set 2025-09-21 15:05:18,116 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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.382/1.684/2.987/1.302 ms') 2025-09-21 15:05:18,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86267919 passed 2025-09-21 15:05:18,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:05:18,265 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86267919, IP 59.46.142.195, Port 22 2025-09-21 15:05:18,424 - DEBUG - VM ctest-vn1-vm1-86267919 is ready for SSH connections 2025-09-21 15:05:18,424 - INFO - Waiting for VM ctest-vn2-vm1-24576449 to be up.. 2025-09-21 15:05:18,502 - DEBUG - VM is in ACTIVE state now 2025-09-21 15:05:18,502 - INFO - VM name : ctest-vn2-vm1-24576449 2025-09-21 15:05:18,577 - DEBUG - VM ctest-vn2-vm1-24576449 ID is c2670501-8cc0-4efc-818a-fccb56509f92 2025-09-21 15:05:18,577 - DEBUG - VM ctest-vn2-vm1-24576449 launched on Node cn-jenkins-deploy-platform-ansible-os-4158-1 2025-09-21 15:05:18,648 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c2670501-8cc0-4efc-818a-fccb56509f92 2025-09-21 15:05:18,657 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/750edc68-1d0d-4be4-9e2e-041f3ca5c28f 2025-09-21 15:05:19,893 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.684 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.684/1.805/2.926/1.121 ms') 2025-09-21 15:05:19,893 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-24576449 passed 2025-09-21 15:05:20,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:05:20,041 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24576449, IP 83.236.208.3, Port 22 2025-09-21 15:05:20,196 - DEBUG - VM ctest-vn2-vm1-24576449 is ready for SSH connections 2025-09-21 15:05:20,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:05:20,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.236.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:05:20,197 - DEBUG - ping -s 56 -c 3 -W 1 83.236.208.3 2025-09-21 15:05:24,846 - DEBUG - PING 83.236.208.3 (83.236.208.3): 56 data bytes --- 83.236.208.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-21 15:05:24,847 - WARNING - Ping to IP 83.236.208.3 from VM ctest-vn1-vm1-86267919 failed 2025-09-21 15:05:24,847 - INFO - Adding interface with subnet_id a1a11007-b3e4-4ea6-aa59-306fb94e7345, port_id None to router e4fe2cab-32a4-4874-b288-b39050288506 2025-09-21 15:05:25,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:05:25,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.236.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:05:25,094 - DEBUG - ping -s 56 -c 3 -W 1 83.236.208.3 2025-09-21 15:05:27,298 - DEBUG - PING 83.236.208.3 (83.236.208.3): 56 data bytes 64 bytes from 83.236.208.3: seq=0 ttl=63 time=2.659 ms 64 bytes from 83.236.208.3: seq=1 ttl=63 time=0.906 ms 64 bytes from 83.236.208.3: seq=2 ttl=63 time=0.948 ms --- 83.236.208.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.504/2.659 ms 2025-09-21 15:05:27,298 - INFO - Ping to IP 83.236.208.3 from VM ctest-vn1-vm1-86267919 passed 2025-09-21 15:05:27,298 - INFO - Deleting interface with subnet_id 2a9160a6-1eba-4087-a1b5-a239e531d204, port_id None from router e4fe2cab-32a4-4874-b288-b39050288506 2025-09-21 15:05:27,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:05:27,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.236.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:05:27,420 - DEBUG - ping -s 56 -c 3 -W 1 83.236.208.3 2025-09-21 15:05:30,630 - DEBUG - PING 83.236.208.3 (83.236.208.3): 56 data bytes --- 83.236.208.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-21 15:05:30,630 - WARNING - Ping to IP 83.236.208.3 from VM ctest-vn1-vm1-86267919 failed 2025-09-21 15:05:30,630 - INFO - Adding interface with subnet_id 2a9160a6-1eba-4087-a1b5-a239e531d204, port_id None to router e4fe2cab-32a4-4874-b288-b39050288506 2025-09-21 15:05:30,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:05:30,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.236.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:05:30,831 - DEBUG - ping -s 56 -c 3 -W 1 83.236.208.3 2025-09-21 15:05:34,041 - DEBUG - PING 83.236.208.3 (83.236.208.3): 56 data bytes 64 bytes from 83.236.208.3: seq=1 ttl=63 time=1.718 ms 64 bytes from 83.236.208.3: seq=2 ttl=63 time=0.808 ms --- 83.236.208.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.808/1.263/1.718 ms 2025-09-21 15:05:34,041 - WARNING - Ping to IP 83.236.208.3 from VM ctest-vn1-vm1-86267919 failed 2025-09-21 15:05:35,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.236.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:05:35,042 - DEBUG - ping -s 56 -c 3 -W 1 83.236.208.3 2025-09-21 15:05:37,272 - DEBUG - PING 83.236.208.3 (83.236.208.3): 56 data bytes 64 bytes from 83.236.208.3: seq=0 ttl=63 time=1.467 ms 64 bytes from 83.236.208.3: seq=1 ttl=63 time=0.849 ms 64 bytes from 83.236.208.3: seq=2 ttl=63 time=0.922 ms --- 83.236.208.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.079/1.467 ms 2025-09-21 15:05:37,272 - INFO - Ping to IP 83.236.208.3 from VM ctest-vn1-vm1-86267919 passed 2025-09-21 15:05:37,272 - INFO - Deleting interface with subnet_id a1a11007-b3e4-4ea6-aa59-306fb94e7345, port_id None from router e4fe2cab-32a4-4874-b288-b39050288506 2025-09-21 15:05:37,383 - INFO - Deleting interface with subnet_id 2a9160a6-1eba-4087-a1b5-a239e531d204, port_id None from router e4fe2cab-32a4-4874-b288-b39050288506 2025-09-21 15:05:37,593 - INFO - Deleting VM ctest-vn2-vm1-24576449 2025-09-21 15:05:37,667 - INFO - Deleting VM ctest-vn1-vm1-86267919 2025-09-21 15:05:37,743 - INFO - Deleting VN ctest-vn2-19012031 2025-09-21 15:05:37,781 - DEBUG - VN 3b23b6cc-4990-43d9-81c9-f005d567b4ea still in use: Unable to complete operation on network 3b23b6cc-4990-43d9-81c9-f005d567b4ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6acad49-7cf1-49f4-b5f7-9f8042387075'] 2025-09-21 15:05:37,781 - WARNING - Deleting VN ctest-vn2-19012031 failed..Will retry 2025-09-21 15:05:39,888 - DEBUG - Response for deleting network () 2025-09-21 15:05:39,888 - INFO - Deleting VN ctest-vn1-79641634 2025-09-21 15:05:39,994 - DEBUG - Response for deleting network () 2025-09-21 15:05:40,246 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 15:05:40,246 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-21 15:05:40,246 - INFO - -------------------------------------------------------------------------------- 2025-09-21 15:05:40,939 - INFO - Deleted project: ctest-TestRouters-98268207, ID : 120986bd-796d-46e5-a502-b001fd90fe37