2025-08-15 08:14:30,881 - INFO - Domain Default found not creating 2025-08-15 08:14:31,052 - INFO - Project ctest-TestRouters-28332584 not found, creating it 2025-08-15 08:14:31,581 - INFO - Created Project:ctest-TestRouters-28332584, ID : 32345274-7afe-43a0-960c-ea561f7589fd 2025-08-15 08:14:33,287 - INFO - ================================================================================ 2025-08-15 08:14:33,288 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 08:14:33,288 - 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-15 08:14:33,546 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-08-15 08:14:33,546 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:14:33,546 - INFO - 2025-08-15 08:14:34,143 - DEBUG - Response for create_network : {'network': {'id': '0d61beba-c227-4a86-89d7-3f1e90f0e9a3', 'name': 'ctest-vn1-79574866', 'tenant_id': '323452747afe43a0960cea561f7589fd', 'project_id': '323452747afe43a0960cea561f7589fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28332584', 'ctest-vn1-79574866'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:14:34,366 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1c13dd7-9fc0-45bc-adcc-8080b52ed3a4', 'name': '', 'tenant_id': '323452747afe43a0960cea561f7589fd', 'network_id': '0d61beba-c227-4a86-89d7-3f1e90f0e9a3', 'ip_version': 4, 'cidr': '150.16.242.0/26', 'allocation_pools': [{'start': '150.16.242.2', 'end': '150.16.242.62'}], 'gateway_ip': '150.16.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.16.242.2', 'tags': [], 'project_id': '323452747afe43a0960cea561f7589fd'}} 2025-08-15 08:14:34,385 - INFO - Created VN ctest-vn1-79574866 2025-08-15 08:14:34,444 - DEBUG - VN ctest-vn1-79574866 UUID is 0d61beba-c227-4a86-89d7-3f1e90f0e9a3 2025-08-15 08:14:34,786 - DEBUG - Response for create_network : {'network': {'id': '7c07e96d-c527-4f5b-90bf-7ae7e83f2e7b', 'name': 'ctest-vn2-52801103', 'tenant_id': '323452747afe43a0960cea561f7589fd', 'project_id': '323452747afe43a0960cea561f7589fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28332584', 'ctest-vn2-52801103'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:14:34,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1d2c7d9-eaa0-494f-b180-5b168024287a', 'name': '', 'tenant_id': '323452747afe43a0960cea561f7589fd', 'network_id': '7c07e96d-c527-4f5b-90bf-7ae7e83f2e7b', 'ip_version': 4, 'cidr': '170.168.58.0/26', 'allocation_pools': [{'start': '170.168.58.2', 'end': '170.168.58.62'}], 'gateway_ip': '170.168.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.168.58.2', 'tags': [], 'project_id': '323452747afe43a0960cea561f7589fd'}} 2025-08-15 08:14:34,998 - INFO - Created VN ctest-vn2-52801103 2025-08-15 08:14:35,052 - DEBUG - VN ctest-vn2-52801103 UUID is 7c07e96d-c527-4f5b-90bf-7ae7e83f2e7b 2025-08-15 08:14:35,266 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:14:36,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:14:37,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:14:37,798 - INFO - Adding interface with subnet_id d1c13dd7-9fc0-45bc-adcc-8080b52ed3a4, port_id None to router 47073187-4ce2-4bd4-95e1-d9d9847be0ca 2025-08-15 08:14:38,116 - INFO - Waiting for VM ctest-vn1-vm1-46121635 to be up.. 2025-08-15 08:14:38,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:14:43,290 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:14:43,290 - INFO - VM name : ctest-vn1-vm1-46121635 2025-08-15 08:14:43,376 - DEBUG - VM ctest-vn1-vm1-46121635 ID is 8c0c6654-ad00-4490-9413-cd9106ca9b9b 2025-08-15 08:14:43,406 - DEBUG - VM ctest-vn1-vm1-46121635 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:14:43,483 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8c0c6654-ad00-4490-9413-cd9106ca9b9b 2025-08-15 08:14:43,821 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8c0c6654-ad00-4490-9413-cd9106ca9b9b 2025-08-15 08:14:43,853 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8a34307b-3585-4dfa-9155-1fb8d1925c33 2025-08-15 08:14:47,119 - 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-08-15 08:14:47,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46121635 failed! 2025-08-15 08:14:47,176 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-28332584:ctest-vn1-79574866 is 150.16.242.1 and allocation pool is NOT set 2025-08-15 08:14:49,237 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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.544/2.237/3.931/1.693 ms') 2025-08-15 08:14:49,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46121635 passed 2025-08-15 08:14:49,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:14:49,392 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46121635, IP 150.16.242.3, Port 22 2025-08-15 08:14:49,562 - DEBUG - VM ctest-vn1-vm1-46121635 is ready for SSH connections 2025-08-15 08:14:49,562 - INFO - Waiting for VM ctest-vn2-vm1-10705738 to be up.. 2025-08-15 08:14:49,644 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:14:49,644 - INFO - VM name : ctest-vn2-vm1-10705738 2025-08-15 08:14:49,715 - DEBUG - VM ctest-vn2-vm1-10705738 ID is e5f4c136-074b-4a36-9789-085d467db7f7 2025-08-15 08:14:49,715 - DEBUG - VM ctest-vn2-vm1-10705738 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:14:49,790 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e5f4c136-074b-4a36-9789-085d467db7f7 2025-08-15 08:14:49,799 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ef43d986-1cea-42a4-8e2c-1a67c95a6059 2025-08-15 08:14:51,048 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.827/3.209/1.381 ms') 2025-08-15 08:14:51,048 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-10705738 passed 2025-08-15 08:14:51,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:14:51,212 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-10705738, IP 170.168.58.3, Port 22 2025-08-15 08:14:51,368 - DEBUG - VM ctest-vn2-vm1-10705738 is ready for SSH connections 2025-08-15 08:14:51,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:14:51,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.168.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:14:51,369 - DEBUG - ping -s 56 -c 3 -W 1 170.168.58.3 2025-08-15 08:14:56,024 - DEBUG - PING 170.168.58.3 (170.168.58.3): 56 data bytes --- 170.168.58.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 08:14:56,024 - WARNING - Ping to IP 170.168.58.3 from VM ctest-vn1-vm1-46121635 failed 2025-08-15 08:14:56,024 - INFO - Adding interface with subnet_id d1d2c7d9-eaa0-494f-b180-5b168024287a, port_id None to router 47073187-4ce2-4bd4-95e1-d9d9847be0ca 2025-08-15 08:14:56,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:14:56,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.168.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:14:56,278 - DEBUG - ping -s 56 -c 3 -W 1 170.168.58.3 2025-08-15 08:14:59,498 - DEBUG - PING 170.168.58.3 (170.168.58.3): 56 data bytes 64 bytes from 170.168.58.3: seq=1 ttl=63 time=2.700 ms 64 bytes from 170.168.58.3: seq=2 ttl=63 time=0.832 ms --- 170.168.58.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.832/1.766/2.700 ms 2025-08-15 08:14:59,498 - WARNING - Ping to IP 170.168.58.3 from VM ctest-vn1-vm1-46121635 failed 2025-08-15 08:15:00,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.168.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:15:00,500 - DEBUG - ping -s 56 -c 3 -W 1 170.168.58.3 2025-08-15 08:15:02,715 - DEBUG - PING 170.168.58.3 (170.168.58.3): 56 data bytes 64 bytes from 170.168.58.3: seq=0 ttl=63 time=1.630 ms 64 bytes from 170.168.58.3: seq=1 ttl=63 time=0.736 ms 64 bytes from 170.168.58.3: seq=2 ttl=63 time=0.794 ms --- 170.168.58.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.736/1.053/1.630 ms 2025-08-15 08:15:02,715 - INFO - Ping to IP 170.168.58.3 from VM ctest-vn1-vm1-46121635 passed 2025-08-15 08:15:02,715 - INFO - Deleting interface with subnet_id d1c13dd7-9fc0-45bc-adcc-8080b52ed3a4, port_id None from router 47073187-4ce2-4bd4-95e1-d9d9847be0ca 2025-08-15 08:15:02,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:15:02,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.168.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:15:02,839 - DEBUG - ping -s 56 -c 3 -W 1 170.168.58.3 2025-08-15 08:15:06,052 - DEBUG - PING 170.168.58.3 (170.168.58.3): 56 data bytes --- 170.168.58.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 08:15:06,052 - WARNING - Ping to IP 170.168.58.3 from VM ctest-vn1-vm1-46121635 failed 2025-08-15 08:15:06,052 - INFO - Adding interface with subnet_id d1c13dd7-9fc0-45bc-adcc-8080b52ed3a4, port_id None to router 47073187-4ce2-4bd4-95e1-d9d9847be0ca 2025-08-15 08:15:06,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:15:06,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.168.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:15:06,280 - DEBUG - ping -s 56 -c 3 -W 1 170.168.58.3 2025-08-15 08:15:08,494 - DEBUG - PING 170.168.58.3 (170.168.58.3): 56 data bytes 64 bytes from 170.168.58.3: seq=0 ttl=63 time=1.591 ms 64 bytes from 170.168.58.3: seq=1 ttl=63 time=0.892 ms 64 bytes from 170.168.58.3: seq=2 ttl=63 time=0.735 ms --- 170.168.58.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.072/1.591 ms 2025-08-15 08:15:08,494 - INFO - Ping to IP 170.168.58.3 from VM ctest-vn1-vm1-46121635 passed 2025-08-15 08:15:08,494 - INFO - Deleting interface with subnet_id d1d2c7d9-eaa0-494f-b180-5b168024287a, port_id None from router 47073187-4ce2-4bd4-95e1-d9d9847be0ca 2025-08-15 08:15:08,638 - INFO - Deleting interface with subnet_id d1c13dd7-9fc0-45bc-adcc-8080b52ed3a4, port_id None from router 47073187-4ce2-4bd4-95e1-d9d9847be0ca 2025-08-15 08:15:08,808 - INFO - Deleting VM ctest-vn2-vm1-10705738 2025-08-15 08:15:08,877 - INFO - Deleting VM ctest-vn1-vm1-46121635 2025-08-15 08:15:08,946 - INFO - Deleting VN ctest-vn2-52801103 2025-08-15 08:15:08,985 - DEBUG - VN 7c07e96d-c527-4f5b-90bf-7ae7e83f2e7b still in use: Unable to complete operation on network 7c07e96d-c527-4f5b-90bf-7ae7e83f2e7b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee23f10e-0c95-4044-8fe0-b5571f7f4e63'] 2025-08-15 08:15:08,985 - WARNING - Deleting VN ctest-vn2-52801103 failed..Will retry 2025-08-15 08:15:11,096 - DEBUG - Response for deleting network () 2025-08-15 08:15:11,096 - INFO - Deleting VN ctest-vn1-79574866 2025-08-15 08:15:11,225 - DEBUG - Response for deleting network () 2025-08-15 08:15:11,494 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 08:15:11,495 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-15 08:15:11,495 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:15:12,258 - INFO - Deleted project: ctest-TestRouters-28332584, ID : 32345274-7afe-43a0-960c-ea561f7589fd