2025-09-16 20:05:51,042 - INFO - Domain Default found not creating 2025-09-16 20:05:51,315 - INFO - Project ctest-TestRouters-50348004 not found, creating it 2025-09-16 20:05:51,780 - INFO - Created Project:ctest-TestRouters-50348004, ID : 0b7fde4a-54f3-4fd2-b6de-36ba2c4cc530 2025-09-16 20:05:53,175 - INFO - ================================================================================ 2025-09-16 20:05:53,176 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-16 20:05:53,176 - 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-16 20:05:53,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-16 20:05:53,434 - INFO - Initial checks done. Running the testcase now 2025-09-16 20:05:53,434 - INFO - 2025-09-16 20:05:53,997 - DEBUG - Response for create_network : {'network': {'id': 'a622e128-31a0-45fd-8d5b-e5dfb00242db', 'name': 'ctest-vn1-92195480', 'tenant_id': '0b7fde4a54f34fd2b6de36ba2c4cc530', 'project_id': '0b7fde4a54f34fd2b6de36ba2c4cc530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50348004', 'ctest-vn1-92195480'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:05:54,160 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9accf99-29e8-4730-a550-0702c33a75e6', 'name': '', 'tenant_id': '0b7fde4a54f34fd2b6de36ba2c4cc530', 'network_id': 'a622e128-31a0-45fd-8d5b-e5dfb00242db', 'ip_version': 4, 'cidr': '203.228.9.64/26', 'allocation_pools': [{'start': '203.228.9.66', 'end': '203.228.9.126'}], 'gateway_ip': '203.228.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.228.9.66', 'tags': [], 'project_id': '0b7fde4a54f34fd2b6de36ba2c4cc530'}} 2025-09-16 20:05:54,176 - INFO - Created VN ctest-vn1-92195480 2025-09-16 20:05:54,229 - DEBUG - VN ctest-vn1-92195480 UUID is a622e128-31a0-45fd-8d5b-e5dfb00242db 2025-09-16 20:05:54,550 - DEBUG - Response for create_network : {'network': {'id': '0999b9d2-4914-465b-81f1-b29c78083d2f', 'name': 'ctest-vn2-48502066', 'tenant_id': '0b7fde4a54f34fd2b6de36ba2c4cc530', 'project_id': '0b7fde4a54f34fd2b6de36ba2c4cc530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50348004', 'ctest-vn2-48502066'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:05:54,758 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a96808e4-4243-41ae-ac76-1a28b419a0f7', 'name': '', 'tenant_id': '0b7fde4a54f34fd2b6de36ba2c4cc530', 'network_id': '0999b9d2-4914-465b-81f1-b29c78083d2f', 'ip_version': 4, 'cidr': '61.139.178.128/26', 'allocation_pools': [{'start': '61.139.178.130', 'end': '61.139.178.190'}], 'gateway_ip': '61.139.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.139.178.130', 'tags': [], 'project_id': '0b7fde4a54f34fd2b6de36ba2c4cc530'}} 2025-09-16 20:05:54,780 - INFO - Created VN ctest-vn2-48502066 2025-09-16 20:05:54,833 - DEBUG - VN ctest-vn2-48502066 UUID is 0999b9d2-4914-465b-81f1-b29c78083d2f 2025-09-16 20:05:55,071 - DEBUG - Services list from nova: [, , ] 2025-09-16 20:05:56,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1) 2025-09-16 20:05:57,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1) 2025-09-16 20:05:57,290 - INFO - Adding interface with subnet_id a9accf99-29e8-4730-a550-0702c33a75e6, port_id None to router 2a5553f8-71dd-4cc4-94b8-56a53177167b 2025-09-16 20:05:57,552 - INFO - Waiting for VM ctest-vn1-vm1-54181321 to be up.. 2025-09-16 20:05:57,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 20:06:02,744 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:06:02,744 - INFO - VM name : ctest-vn1-vm1-54181321 2025-09-16 20:06:02,813 - DEBUG - VM ctest-vn1-vm1-54181321 ID is b53e4d57-cc31-45a1-9bd6-fe77a026fda5 2025-09-16 20:06:02,831 - DEBUG - VM ctest-vn1-vm1-54181321 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1 2025-09-16 20:06:02,903 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b53e4d57-cc31-45a1-9bd6-fe77a026fda5 2025-09-16 20:06:03,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b53e4d57-cc31-45a1-9bd6-fe77a026fda5 2025-09-16 20:06:03,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/48ec2641-74d0-4db5-ae4b-c221c64a1936 2025-09-16 20:06:06,495 - 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 1019ms') 2025-09-16 20:06:06,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54181321 failed! 2025-09-16 20:06:06,553 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-50348004:ctest-vn1-92195480 is 203.228.9.65 and allocation pool is NOT set 2025-09-16 20:06:08,609 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 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.384/2.228/4.072/1.844 ms') 2025-09-16 20:06:08,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54181321 passed 2025-09-16 20:06:08,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:08,761 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54181321, IP 203.228.9.67, Port 22 2025-09-16 20:06:08,916 - DEBUG - VM ctest-vn1-vm1-54181321 is ready for SSH connections 2025-09-16 20:06:08,916 - INFO - Waiting for VM ctest-vn2-vm1-94714589 to be up.. 2025-09-16 20:06:08,984 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:06:08,984 - INFO - VM name : ctest-vn2-vm1-94714589 2025-09-16 20:06:09,050 - DEBUG - VM ctest-vn2-vm1-94714589 ID is cb6d606e-ef91-41aa-8348-0616bcea421e 2025-09-16 20:06:09,050 - DEBUG - VM ctest-vn2-vm1-94714589 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1 2025-09-16 20:06:09,116 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cb6d606e-ef91-41aa-8348-0616bcea421e 2025-09-16 20:06:09,124 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e0763e5c-391c-48af-bc78-3dff70596088 2025-09-16 20:06:10,349 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/2.102/3.809/1.707 ms') 2025-09-16 20:06:10,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94714589 passed 2025-09-16 20:06:10,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:10,497 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94714589, IP 61.139.178.131, Port 22 2025-09-16 20:06:10,665 - DEBUG - VM ctest-vn2-vm1-94714589 is ready for SSH connections 2025-09-16 20:06:10,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:10,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.139.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:06:10,665 - DEBUG - ping -s 56 -c 3 -W 1 61.139.178.131 2025-09-16 20:06:15,306 - DEBUG - PING 61.139.178.131 (61.139.178.131): 56 data bytes --- 61.139.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 20:06:15,306 - WARNING - Ping to IP 61.139.178.131 from VM ctest-vn1-vm1-54181321 failed 2025-09-16 20:06:15,306 - INFO - Adding interface with subnet_id a96808e4-4243-41ae-ac76-1a28b419a0f7, port_id None to router 2a5553f8-71dd-4cc4-94b8-56a53177167b 2025-09-16 20:06:15,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:15,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.139.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:06:15,540 - DEBUG - ping -s 56 -c 3 -W 1 61.139.178.131 2025-09-16 20:06:18,742 - DEBUG - PING 61.139.178.131 (61.139.178.131): 56 data bytes 64 bytes from 61.139.178.131: seq=1 ttl=63 time=3.420 ms 64 bytes from 61.139.178.131: seq=2 ttl=63 time=0.860 ms --- 61.139.178.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.860/2.140/3.420 ms 2025-09-16 20:06:18,742 - WARNING - Ping to IP 61.139.178.131 from VM ctest-vn1-vm1-54181321 failed 2025-09-16 20:06:19,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.139.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:06:19,743 - DEBUG - ping -s 56 -c 3 -W 1 61.139.178.131 2025-09-16 20:06:21,957 - DEBUG - PING 61.139.178.131 (61.139.178.131): 56 data bytes 64 bytes from 61.139.178.131: seq=0 ttl=63 time=1.587 ms 64 bytes from 61.139.178.131: seq=1 ttl=63 time=0.871 ms 64 bytes from 61.139.178.131: seq=2 ttl=63 time=0.932 ms --- 61.139.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.130/1.587 ms 2025-09-16 20:06:21,957 - INFO - Ping to IP 61.139.178.131 from VM ctest-vn1-vm1-54181321 passed 2025-09-16 20:06:21,957 - INFO - Deleting interface with subnet_id a9accf99-29e8-4730-a550-0702c33a75e6, port_id None from router 2a5553f8-71dd-4cc4-94b8-56a53177167b 2025-09-16 20:06:22,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:22,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.139.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:06:22,072 - DEBUG - ping -s 56 -c 3 -W 1 61.139.178.131 2025-09-16 20:06:25,276 - DEBUG - PING 61.139.178.131 (61.139.178.131): 56 data bytes --- 61.139.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 20:06:25,276 - WARNING - Ping to IP 61.139.178.131 from VM ctest-vn1-vm1-54181321 failed 2025-09-16 20:06:25,277 - INFO - Adding interface with subnet_id a9accf99-29e8-4730-a550-0702c33a75e6, port_id None to router 2a5553f8-71dd-4cc4-94b8-56a53177167b 2025-09-16 20:06:25,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:06:25,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.139.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:06:25,471 - DEBUG - ping -s 56 -c 3 -W 1 61.139.178.131 2025-09-16 20:06:27,668 - DEBUG - PING 61.139.178.131 (61.139.178.131): 56 data bytes 64 bytes from 61.139.178.131: seq=0 ttl=63 time=1.536 ms 64 bytes from 61.139.178.131: seq=1 ttl=63 time=0.937 ms 64 bytes from 61.139.178.131: seq=2 ttl=63 time=0.716 ms --- 61.139.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/1.063/1.536 ms 2025-09-16 20:06:27,668 - INFO - Ping to IP 61.139.178.131 from VM ctest-vn1-vm1-54181321 passed 2025-09-16 20:06:27,669 - INFO - Deleting interface with subnet_id a96808e4-4243-41ae-ac76-1a28b419a0f7, port_id None from router 2a5553f8-71dd-4cc4-94b8-56a53177167b 2025-09-16 20:06:27,815 - INFO - Deleting interface with subnet_id a9accf99-29e8-4730-a550-0702c33a75e6, port_id None from router 2a5553f8-71dd-4cc4-94b8-56a53177167b 2025-09-16 20:06:27,996 - INFO - Deleting VM ctest-vn2-vm1-94714589 2025-09-16 20:06:28,064 - INFO - Deleting VM ctest-vn1-vm1-54181321 2025-09-16 20:06:28,134 - INFO - Deleting VN ctest-vn2-48502066 2025-09-16 20:06:28,167 - DEBUG - VN 0999b9d2-4914-465b-81f1-b29c78083d2f still in use: Unable to complete operation on network 0999b9d2-4914-465b-81f1-b29c78083d2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b873e0f4-e3bd-4b6c-bcd3-91d6ea006f1f'] 2025-09-16 20:06:28,167 - WARNING - Deleting VN ctest-vn2-48502066 failed..Will retry 2025-09-16 20:06:30,263 - DEBUG - Response for deleting network () 2025-09-16 20:06:30,263 - INFO - Deleting VN ctest-vn1-92195480 2025-09-16 20:06:30,356 - DEBUG - Response for deleting network () 2025-09-16 20:06:30,610 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 20:06:30,610 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-16 20:06:30,610 - INFO - -------------------------------------------------------------------------------- 2025-09-16 20:06:31,278 - INFO - Deleted project: ctest-TestRouters-50348004, ID : 0b7fde4a-54f3-4fd2-b6de-36ba2c4cc530