2025-08-14 14:26:57,866 - INFO - Domain Default found not creating 2025-08-14 14:26:58,026 - INFO - Project ctest-TestRouters-65098405 not found, creating it 2025-08-14 14:26:58,523 - INFO - Created Project:ctest-TestRouters-65098405, ID : a774201e-6392-4757-91ef-b9ef4f658bd4 2025-08-14 14:27:00,112 - INFO - ================================================================================ 2025-08-14 14:27:00,113 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 14:27:00,113 - 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-08-14 14:27:00,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with 2025-08-14 14:27:00,367 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:27:00,368 - INFO - 2025-08-14 14:27:00,953 - DEBUG - Response for create_network : {'network': {'id': 'b1fdd91e-9849-41ac-bfba-55f9ac14a85e', 'name': 'ctest-vn1-32656828', 'tenant_id': 'a774201e6392475791efb9ef4f658bd4', 'project_id': 'a774201e6392475791efb9ef4f658bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65098405', 'ctest-vn1-32656828'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:27:01,141 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a70b96f5-34b5-466d-b4f4-e74d8da26f2f', 'name': '', 'tenant_id': 'a774201e6392475791efb9ef4f658bd4', 'network_id': 'b1fdd91e-9849-41ac-bfba-55f9ac14a85e', 'ip_version': 4, 'cidr': '196.216.111.192/26', 'allocation_pools': [{'start': '196.216.111.194', 'end': '196.216.111.254'}], 'gateway_ip': '196.216.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.216.111.194', 'tags': [], 'project_id': 'a774201e6392475791efb9ef4f658bd4'}} 2025-08-14 14:27:01,162 - INFO - Created VN ctest-vn1-32656828 2025-08-14 14:27:01,229 - DEBUG - VN ctest-vn1-32656828 UUID is b1fdd91e-9849-41ac-bfba-55f9ac14a85e 2025-08-14 14:27:01,588 - DEBUG - Response for create_network : {'network': {'id': '0a2ae44f-ea85-444c-8973-0a8909f1e9d4', 'name': 'ctest-vn2-31764380', 'tenant_id': 'a774201e6392475791efb9ef4f658bd4', 'project_id': 'a774201e6392475791efb9ef4f658bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65098405', 'ctest-vn2-31764380'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:27:01,809 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9803a42-f99e-49f3-af89-d2356803c7f7', 'name': '', 'tenant_id': 'a774201e6392475791efb9ef4f658bd4', 'network_id': '0a2ae44f-ea85-444c-8973-0a8909f1e9d4', 'ip_version': 4, 'cidr': '36.144.241.0/26', 'allocation_pools': [{'start': '36.144.241.2', 'end': '36.144.241.62'}], 'gateway_ip': '36.144.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.144.241.2', 'tags': [], 'project_id': 'a774201e6392475791efb9ef4f658bd4'}} 2025-08-14 14:27:01,826 - INFO - Created VN ctest-vn2-31764380 2025-08-14 14:27:01,877 - DEBUG - VN ctest-vn2-31764380 UUID is 0a2ae44f-ea85-444c-8973-0a8909f1e9d4 2025-08-14 14:27:02,119 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:27:03,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:27:04,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:27:04,636 - INFO - Adding interface with subnet_id a70b96f5-34b5-466d-b4f4-e74d8da26f2f, port_id None to router ee463c9b-7aa1-47c8-8c80-e917248b2fe0 2025-08-14 14:27:04,928 - INFO - Waiting for VM ctest-vn1-vm1-70725743 to be up.. 2025-08-14 14:27:05,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:27:10,106 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:27:10,106 - INFO - VM name : ctest-vn1-vm1-70725743 2025-08-14 14:27:10,187 - DEBUG - VM ctest-vn1-vm1-70725743 ID is 70480898-7188-4d39-8aaf-6a18c4b90a1c 2025-08-14 14:27:10,205 - DEBUG - VM ctest-vn1-vm1-70725743 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:27:10,281 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70480898-7188-4d39-8aaf-6a18c4b90a1c 2025-08-14 14:27:10,613 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70480898-7188-4d39-8aaf-6a18c4b90a1c 2025-08-14 14:27:10,644 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e47c1cff-82d3-47be-907d-3d8e4f78127c 2025-08-14 14:27:13,924 - 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 1026ms') 2025-08-14 14:27:13,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70725743 failed! 2025-08-14 14:27:13,989 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-65098405:ctest-vn1-32656828 is 196.216.111.193 and allocation pool is NOT set 2025-08-14 14:27:16,057 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.203/3.175/5.147/1.972 ms') 2025-08-14 14:27:16,057 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70725743 passed 2025-08-14 14:27:16,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:16,217 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70725743, IP 196.216.111.195, Port 22 2025-08-14 14:27:16,373 - DEBUG - VM ctest-vn1-vm1-70725743 is ready for SSH connections 2025-08-14 14:27:16,373 - INFO - Waiting for VM ctest-vn2-vm1-55877886 to be up.. 2025-08-14 14:27:16,452 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:27:16,452 - INFO - VM name : ctest-vn2-vm1-55877886 2025-08-14 14:27:16,533 - DEBUG - VM ctest-vn2-vm1-55877886 ID is 750a9a02-d03d-44cc-b6f6-246bd1204b38 2025-08-14 14:27:16,533 - DEBUG - VM ctest-vn2-vm1-55877886 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:27:16,615 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/750a9a02-d03d-44cc-b6f6-246bd1204b38 2025-08-14 14:27:16,625 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8f4dfb07-cd3d-4130-b002-2df150a3434f 2025-08-14 14:27:17,870 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/2.066/3.701/1.635 ms') 2025-08-14 14:27:17,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-55877886 passed 2025-08-14 14:27:18,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:18,037 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55877886, IP 36.144.241.3, Port 22 2025-08-14 14:27:18,203 - DEBUG - VM ctest-vn2-vm1-55877886 is ready for SSH connections 2025-08-14 14:27:18,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:18,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.144.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:27:18,203 - DEBUG - ping -s 56 -c 3 -W 1 36.144.241.3 2025-08-14 14:27:23,235 - DEBUG - PING 36.144.241.3 (36.144.241.3): 56 data bytes --- 36.144.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:27:23,236 - WARNING - Ping to IP 36.144.241.3 from VM ctest-vn1-vm1-70725743 failed 2025-08-14 14:27:23,236 - INFO - Adding interface with subnet_id e9803a42-f99e-49f3-af89-d2356803c7f7, port_id None to router ee463c9b-7aa1-47c8-8c80-e917248b2fe0 2025-08-14 14:27:23,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:23,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.144.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:27:23,539 - DEBUG - ping -s 56 -c 3 -W 1 36.144.241.3 2025-08-14 14:27:26,761 - DEBUG - PING 36.144.241.3 (36.144.241.3): 56 data bytes 64 bytes from 36.144.241.3: seq=1 ttl=63 time=3.984 ms 64 bytes from 36.144.241.3: seq=2 ttl=63 time=0.875 ms --- 36.144.241.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.875/2.429/3.984 ms 2025-08-14 14:27:26,761 - WARNING - Ping to IP 36.144.241.3 from VM ctest-vn1-vm1-70725743 failed 2025-08-14 14:27:27,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.144.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:27:27,763 - DEBUG - ping -s 56 -c 3 -W 1 36.144.241.3 2025-08-14 14:27:29,980 - DEBUG - PING 36.144.241.3 (36.144.241.3): 56 data bytes 64 bytes from 36.144.241.3: seq=0 ttl=63 time=3.792 ms 64 bytes from 36.144.241.3: seq=1 ttl=63 time=0.851 ms 64 bytes from 36.144.241.3: seq=2 ttl=63 time=0.899 ms --- 36.144.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.847/3.792 ms 2025-08-14 14:27:29,980 - INFO - Ping to IP 36.144.241.3 from VM ctest-vn1-vm1-70725743 passed 2025-08-14 14:27:29,980 - INFO - Deleting interface with subnet_id a70b96f5-34b5-466d-b4f4-e74d8da26f2f, port_id None from router ee463c9b-7aa1-47c8-8c80-e917248b2fe0 2025-08-14 14:27:30,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:30,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.144.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:27:30,125 - DEBUG - ping -s 56 -c 3 -W 1 36.144.241.3 2025-08-14 14:27:33,342 - DEBUG - PING 36.144.241.3 (36.144.241.3): 56 data bytes --- 36.144.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:27:33,342 - WARNING - Ping to IP 36.144.241.3 from VM ctest-vn1-vm1-70725743 failed 2025-08-14 14:27:33,343 - INFO - Adding interface with subnet_id a70b96f5-34b5-466d-b4f4-e74d8da26f2f, port_id None to router ee463c9b-7aa1-47c8-8c80-e917248b2fe0 2025-08-14 14:27:33,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:33,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.144.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:27:33,611 - DEBUG - ping -s 56 -c 3 -W 1 36.144.241.3 2025-08-14 14:27:35,836 - DEBUG - PING 36.144.241.3 (36.144.241.3): 56 data bytes 64 bytes from 36.144.241.3: seq=0 ttl=63 time=1.701 ms 64 bytes from 36.144.241.3: seq=1 ttl=63 time=0.917 ms 64 bytes from 36.144.241.3: seq=2 ttl=63 time=0.860 ms --- 36.144.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/1.159/1.701 ms 2025-08-14 14:27:35,837 - INFO - Ping to IP 36.144.241.3 from VM ctest-vn1-vm1-70725743 passed 2025-08-14 14:27:35,837 - INFO - Deleting interface with subnet_id e9803a42-f99e-49f3-af89-d2356803c7f7, port_id None from router ee463c9b-7aa1-47c8-8c80-e917248b2fe0 2025-08-14 14:27:35,983 - INFO - Deleting interface with subnet_id a70b96f5-34b5-466d-b4f4-e74d8da26f2f, port_id None from router ee463c9b-7aa1-47c8-8c80-e917248b2fe0 2025-08-14 14:27:36,216 - INFO - Deleting VM ctest-vn2-vm1-55877886 2025-08-14 14:27:36,281 - INFO - Deleting VM ctest-vn1-vm1-70725743 2025-08-14 14:27:36,347 - INFO - Deleting VN ctest-vn2-31764380 2025-08-14 14:27:36,388 - DEBUG - VN 0a2ae44f-ea85-444c-8973-0a8909f1e9d4 still in use: Unable to complete operation on network 0a2ae44f-ea85-444c-8973-0a8909f1e9d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8eaedb2f-8e34-42b4-9ca8-8d7afb41d8ac'] 2025-08-14 14:27:36,388 - WARNING - Deleting VN ctest-vn2-31764380 failed..Will retry 2025-08-14 14:27:38,509 - DEBUG - Response for deleting network () 2025-08-14 14:27:38,509 - INFO - Deleting VN ctest-vn1-32656828 2025-08-14 14:27:38,611 - DEBUG - Response for deleting network () 2025-08-14 14:27:38,866 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:27:38,867 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-14 14:27:38,867 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:27:39,588 - INFO - Deleted project: ctest-TestRouters-65098405, ID : a774201e-6392-4757-91ef-b9ef4f658bd4