2025-09-15 10:48:51,226 - INFO - Domain Default found not creating 2025-09-15 10:48:51,398 - INFO - Project ctest-TestRouters-19566010 not found, creating it 2025-09-15 10:48:51,873 - INFO - Created Project:ctest-TestRouters-19566010, ID : c1a0ff6f-fb15-45d4-a170-ab16f1a0e24e 2025-09-15 10:48:54,031 - INFO - ================================================================================ 2025-09-15 10:48:54,031 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-15 10:48:54,031 - 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-15 10:48:54,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-15 10:48:54,303 - INFO - Initial checks done. Running the testcase now 2025-09-15 10:48:54,303 - INFO - 2025-09-15 10:48:54,911 - DEBUG - Response for create_network : {'network': {'id': '4c4ffb25-e844-4e02-b256-fbbe643f68cb', 'name': 'ctest-vn1-07995044', 'tenant_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e', 'project_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19566010', 'ctest-vn1-07995044'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 10:48:55,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '6edfce97-9848-44c7-b852-9cc7df5900d2', 'name': '', 'tenant_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e', 'network_id': '4c4ffb25-e844-4e02-b256-fbbe643f68cb', 'ip_version': 4, 'cidr': '122.74.108.192/26', 'allocation_pools': [{'start': '122.74.108.194', 'end': '122.74.108.254'}], 'gateway_ip': '122.74.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.74.108.194', 'tags': [], 'project_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e'}} 2025-09-15 10:48:55,114 - INFO - Created VN ctest-vn1-07995044 2025-09-15 10:48:55,166 - DEBUG - VN ctest-vn1-07995044 UUID is 4c4ffb25-e844-4e02-b256-fbbe643f68cb 2025-09-15 10:48:55,472 - DEBUG - Response for create_network : {'network': {'id': '72a534df-ade8-4788-a315-86abf2c96023', 'name': 'ctest-vn2-83204346', 'tenant_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e', 'project_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19566010', 'ctest-vn2-83204346'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 10:48:55,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6f45b3f-487f-4d45-982c-988db096e4b7', 'name': '', 'tenant_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e', 'network_id': '72a534df-ade8-4788-a315-86abf2c96023', 'ip_version': 4, 'cidr': '89.209.173.128/26', 'allocation_pools': [{'start': '89.209.173.130', 'end': '89.209.173.190'}], 'gateway_ip': '89.209.173.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.209.173.130', 'tags': [], 'project_id': 'c1a0ff6ffb1545d4a170ab16f1a0e24e'}} 2025-09-15 10:48:55,726 - INFO - Created VN ctest-vn2-83204346 2025-09-15 10:48:55,778 - DEBUG - VN ctest-vn2-83204346 UUID is 72a534df-ade8-4788-a315-86abf2c96023 2025-09-15 10:48:55,961 - DEBUG - Services list from nova: [, , ] 2025-09-15 10:48:57,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1) 2025-09-15 10:48:58,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1) 2025-09-15 10:48:58,566 - INFO - Adding interface with subnet_id 6edfce97-9848-44c7-b852-9cc7df5900d2, port_id None to router df5d1adf-bab0-4632-9930-746e2a0c52f9 2025-09-15 10:48:58,870 - INFO - Waiting for VM ctest-vn1-vm1-84038362 to be up.. 2025-09-15 10:48:58,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 10:49:04,057 - DEBUG - VM is in ACTIVE state now 2025-09-15 10:49:04,057 - INFO - VM name : ctest-vn1-vm1-84038362 2025-09-15 10:49:04,141 - DEBUG - VM ctest-vn1-vm1-84038362 ID is 8c4b9692-0364-40b2-8239-195341acd98f 2025-09-15 10:49:04,162 - DEBUG - VM ctest-vn1-vm1-84038362 launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1 2025-09-15 10:49:04,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c4b9692-0364-40b2-8239-195341acd98f 2025-09-15 10:49:04,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c4b9692-0364-40b2-8239-195341acd98f 2025-09-15 10:49:04,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/17ae3a4e-9574-420d-ad76-cb24c5988867 2025-09-15 10:49:07,873 - 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 1006ms') 2025-09-15 10:49:07,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84038362 failed! 2025-09-15 10:49:07,930 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19566010:ctest-vn1-07995044 is 122.74.108.193 and allocation pool is NOT set 2025-09-15 10:49:09,996 - 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=3.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.463/3.088/3.713/0.625 ms') 2025-09-15 10:49:09,996 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84038362 passed 2025-09-15 10:49:10,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:10,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84038362, IP 122.74.108.195, Port 22 2025-09-15 10:49:10,316 - DEBUG - VM ctest-vn1-vm1-84038362 is ready for SSH connections 2025-09-15 10:49:10,316 - INFO - Waiting for VM ctest-vn2-vm1-26696014 to be up.. 2025-09-15 10:49:10,402 - DEBUG - VM is in ACTIVE state now 2025-09-15 10:49:10,402 - INFO - VM name : ctest-vn2-vm1-26696014 2025-09-15 10:49:10,492 - DEBUG - VM ctest-vn2-vm1-26696014 ID is 8598d002-3f9b-46d2-acf1-717303faa2c5 2025-09-15 10:49:10,492 - DEBUG - VM ctest-vn2-vm1-26696014 launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1 2025-09-15 10:49:10,578 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8598d002-3f9b-46d2-acf1-717303faa2c5 2025-09-15 10:49:10,588 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a6e08d53-18db-4a16-ac8a-00182cdff703 2025-09-15 10:49:11,838 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.659 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.659/2.005/3.351/1.346 ms') 2025-09-15 10:49:11,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-26696014 passed 2025-09-15 10:49:12,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:12,002 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-26696014, IP 89.209.173.131, Port 22 2025-09-15 10:49:12,168 - DEBUG - VM ctest-vn2-vm1-26696014 is ready for SSH connections 2025-09-15 10:49:12,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:12,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.209.173.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:49:12,168 - DEBUG - ping -s 56 -c 3 -W 1 89.209.173.131 2025-09-15 10:49:17,286 - DEBUG - PING 89.209.173.131 (89.209.173.131): 56 data bytes --- 89.209.173.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 10:49:17,287 - WARNING - Ping to IP 89.209.173.131 from VM ctest-vn1-vm1-84038362 failed 2025-09-15 10:49:17,287 - INFO - Adding interface with subnet_id f6f45b3f-487f-4d45-982c-988db096e4b7, port_id None to router df5d1adf-bab0-4632-9930-746e2a0c52f9 2025-09-15 10:49:17,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:17,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.209.173.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:49:17,565 - DEBUG - ping -s 56 -c 3 -W 1 89.209.173.131 2025-09-15 10:49:20,811 - DEBUG - PING 89.209.173.131 (89.209.173.131): 56 data bytes 64 bytes from 89.209.173.131: seq=1 ttl=63 time=3.410 ms 64 bytes from 89.209.173.131: seq=2 ttl=63 time=0.918 ms --- 89.209.173.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.918/2.164/3.410 ms 2025-09-15 10:49:20,811 - WARNING - Ping to IP 89.209.173.131 from VM ctest-vn1-vm1-84038362 failed 2025-09-15 10:49:21,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.209.173.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:49:21,812 - DEBUG - ping -s 56 -c 3 -W 1 89.209.173.131 2025-09-15 10:49:24,062 - DEBUG - PING 89.209.173.131 (89.209.173.131): 56 data bytes 64 bytes from 89.209.173.131: seq=0 ttl=63 time=1.679 ms 64 bytes from 89.209.173.131: seq=1 ttl=63 time=1.044 ms 64 bytes from 89.209.173.131: seq=2 ttl=63 time=0.934 ms --- 89.209.173.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/1.219/1.679 ms 2025-09-15 10:49:24,062 - INFO - Ping to IP 89.209.173.131 from VM ctest-vn1-vm1-84038362 passed 2025-09-15 10:49:24,062 - INFO - Deleting interface with subnet_id 6edfce97-9848-44c7-b852-9cc7df5900d2, port_id None from router df5d1adf-bab0-4632-9930-746e2a0c52f9 2025-09-15 10:49:24,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:24,176 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.209.173.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:49:24,176 - DEBUG - ping -s 56 -c 3 -W 1 89.209.173.131 2025-09-15 10:49:27,414 - DEBUG - PING 89.209.173.131 (89.209.173.131): 56 data bytes --- 89.209.173.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 10:49:27,415 - WARNING - Ping to IP 89.209.173.131 from VM ctest-vn1-vm1-84038362 failed 2025-09-15 10:49:27,415 - INFO - Adding interface with subnet_id 6edfce97-9848-44c7-b852-9cc7df5900d2, port_id None to router df5d1adf-bab0-4632-9930-746e2a0c52f9 2025-09-15 10:49:27,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:27,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.209.173.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:49:27,682 - DEBUG - ping -s 56 -c 3 -W 1 89.209.173.131 2025-09-15 10:49:29,976 - DEBUG - PING 89.209.173.131 (89.209.173.131): 56 data bytes 64 bytes from 89.209.173.131: seq=0 ttl=63 time=1.934 ms 64 bytes from 89.209.173.131: seq=1 ttl=63 time=0.975 ms 64 bytes from 89.209.173.131: seq=2 ttl=63 time=0.942 ms --- 89.209.173.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.283/1.934 ms 2025-09-15 10:49:29,976 - INFO - Ping to IP 89.209.173.131 from VM ctest-vn1-vm1-84038362 passed 2025-09-15 10:49:29,976 - INFO - Deleting interface with subnet_id f6f45b3f-487f-4d45-982c-988db096e4b7, port_id None from router df5d1adf-bab0-4632-9930-746e2a0c52f9 2025-09-15 10:49:30,128 - INFO - Deleting interface with subnet_id 6edfce97-9848-44c7-b852-9cc7df5900d2, port_id None from router df5d1adf-bab0-4632-9930-746e2a0c52f9 2025-09-15 10:49:30,336 - INFO - Deleting VM ctest-vn2-vm1-26696014 2025-09-15 10:49:30,432 - INFO - Deleting VM ctest-vn1-vm1-84038362 2025-09-15 10:49:30,514 - INFO - Deleting VN ctest-vn2-83204346 2025-09-15 10:49:30,561 - DEBUG - VN 72a534df-ade8-4788-a315-86abf2c96023 still in use: Unable to complete operation on network 72a534df-ade8-4788-a315-86abf2c96023. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e3da73a-d595-4853-a69f-0944dfeefb50'] 2025-09-15 10:49:30,561 - WARNING - Deleting VN ctest-vn2-83204346 failed..Will retry 2025-09-15 10:49:32,672 - DEBUG - Response for deleting network () 2025-09-15 10:49:32,673 - INFO - Deleting VN ctest-vn1-07995044 2025-09-15 10:49:32,782 - DEBUG - Response for deleting network () 2025-09-15 10:49:33,050 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 10:49:33,050 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-09-15 10:49:33,050 - INFO - -------------------------------------------------------------------------------- 2025-09-15 10:49:33,801 - INFO - Deleted project: ctest-TestRouters-19566010, ID : c1a0ff6f-fb15-45d4-a170-ab16f1a0e24e