2025-08-08 02:58:25,714 - INFO - Domain Default found not creating 2025-08-08 02:58:25,858 - INFO - Project ctest-TestRouters-60575207 not found, creating it 2025-08-08 02:58:26,328 - INFO - Created Project:ctest-TestRouters-60575207, ID : bcb0d74b-afc8-4d65-ab88-a7a217baed6e 2025-08-08 02:58:27,899 - INFO - ================================================================================ 2025-08-08 02:58:27,899 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-08 02:58:27,899 - 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-08 02:58:28,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 02:58:28,160 - INFO - Initial checks done. Running the testcase now 2025-08-08 02:58:28,160 - INFO - 2025-08-08 02:58:28,769 - DEBUG - Response for create_network : {'network': {'id': 'e75bebb5-30c4-41c1-bb43-f1433a91c08b', 'name': 'ctest-vn1-10381049', 'tenant_id': 'bcb0d74bafc84d65ab88a7a217baed6e', 'project_id': 'bcb0d74bafc84d65ab88a7a217baed6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60575207', 'ctest-vn1-10381049'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 02:58:28,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '14d4d9d8-cd35-4858-bcf3-8831c4f9c43e', 'name': '', 'tenant_id': 'bcb0d74bafc84d65ab88a7a217baed6e', 'network_id': 'e75bebb5-30c4-41c1-bb43-f1433a91c08b', 'ip_version': 4, 'cidr': '66.182.176.64/26', 'allocation_pools': [{'start': '66.182.176.66', 'end': '66.182.176.126'}], 'gateway_ip': '66.182.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.182.176.66', 'tags': [], 'project_id': 'bcb0d74bafc84d65ab88a7a217baed6e'}} 2025-08-08 02:58:29,013 - INFO - Created VN ctest-vn1-10381049 2025-08-08 02:58:29,065 - DEBUG - VN ctest-vn1-10381049 UUID is e75bebb5-30c4-41c1-bb43-f1433a91c08b 2025-08-08 02:58:29,441 - DEBUG - Response for create_network : {'network': {'id': '2087d588-74e0-4296-93ac-f9dd4ec441d2', 'name': 'ctest-vn2-87725328', 'tenant_id': 'bcb0d74bafc84d65ab88a7a217baed6e', 'project_id': 'bcb0d74bafc84d65ab88a7a217baed6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60575207', 'ctest-vn2-87725328'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 02:58:29,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '67f8e1a7-6f79-4a4d-876f-3df073acd8a2', 'name': '', 'tenant_id': 'bcb0d74bafc84d65ab88a7a217baed6e', 'network_id': '2087d588-74e0-4296-93ac-f9dd4ec441d2', 'ip_version': 4, 'cidr': '56.132.22.64/26', 'allocation_pools': [{'start': '56.132.22.66', 'end': '56.132.22.126'}], 'gateway_ip': '56.132.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.132.22.66', 'tags': [], 'project_id': 'bcb0d74bafc84d65ab88a7a217baed6e'}} 2025-08-08 02:58:29,621 - INFO - Created VN ctest-vn2-87725328 2025-08-08 02:58:29,673 - DEBUG - VN ctest-vn2-87725328 UUID is 2087d588-74e0-4296-93ac-f9dd4ec441d2 2025-08-08 02:58:29,881 - DEBUG - Services list from nova: [, , ] 2025-08-08 02:58:30,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1) 2025-08-08 02:58:32,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1) 2025-08-08 02:58:32,377 - INFO - Adding interface with subnet_id 14d4d9d8-cd35-4858-bcf3-8831c4f9c43e, port_id None to router 592e37b7-a17d-4d26-b726-38f38b03de76 2025-08-08 02:58:32,667 - INFO - Waiting for VM ctest-vn1-vm1-17525244 to be up.. 2025-08-08 02:58:32,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 02:58:37,908 - DEBUG - VM is in ACTIVE state now 2025-08-08 02:58:37,908 - INFO - VM name : ctest-vn1-vm1-17525244 2025-08-08 02:58:37,990 - DEBUG - VM ctest-vn1-vm1-17525244 ID is 8090dcbd-ec8c-4a1f-9eb5-eea5cfb8b1f7 2025-08-08 02:58:38,011 - DEBUG - VM ctest-vn1-vm1-17525244 launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1 2025-08-08 02:58:38,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8090dcbd-ec8c-4a1f-9eb5-eea5cfb8b1f7 2025-08-08 02:58:38,428 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8090dcbd-ec8c-4a1f-9eb5-eea5cfb8b1f7 2025-08-08 02:58:38,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fdefc644-5bdd-4cf7-88f3-3f2cc4ab5539 2025-08-08 02:58:41,794 - 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 1010ms') 2025-08-08 02:58:41,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17525244 failed! 2025-08-08 02:58:41,849 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-60575207:ctest-vn1-10381049 is 66.182.176.65 and allocation pool is NOT set 2025-08-08 02:58:43,906 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.041/2.631/4.222/1.590 ms') 2025-08-08 02:58:43,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17525244 passed 2025-08-08 02:58:44,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:58:44,057 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17525244, IP 66.182.176.67, Port 22 2025-08-08 02:58:44,216 - DEBUG - VM ctest-vn1-vm1-17525244 is ready for SSH connections 2025-08-08 02:58:44,216 - INFO - Waiting for VM ctest-vn2-vm1-76957759 to be up.. 2025-08-08 02:58:44,296 - DEBUG - VM is in ACTIVE state now 2025-08-08 02:58:44,296 - INFO - VM name : ctest-vn2-vm1-76957759 2025-08-08 02:58:44,375 - DEBUG - VM ctest-vn2-vm1-76957759 ID is dfdbbc3a-2307-4c99-952a-cc4b94886eeb 2025-08-08 02:58:44,375 - DEBUG - VM ctest-vn2-vm1-76957759 launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1 2025-08-08 02:58:44,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dfdbbc3a-2307-4c99-952a-cc4b94886eeb 2025-08-08 02:58:44,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4b04e59b-84c2-4fda-81fb-46aca882c5a3 2025-08-08 02:58:45,708 - 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=5.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.37 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 = 2.370/3.834/5.299/1.464 ms') 2025-08-08 02:58:45,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76957759 passed 2025-08-08 02:58:45,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:58:45,861 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76957759, IP 56.132.22.67, Port 22 2025-08-08 02:58:46,016 - DEBUG - VM ctest-vn2-vm1-76957759 is ready for SSH connections 2025-08-08 02:58:46,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:58:46,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.132.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 02:58:46,016 - DEBUG - ping -s 56 -c 3 -W 1 56.132.22.67 2025-08-08 02:58:51,101 - DEBUG - PING 56.132.22.67 (56.132.22.67): 56 data bytes --- 56.132.22.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 02:58:51,102 - WARNING - Ping to IP 56.132.22.67 from VM ctest-vn1-vm1-17525244 failed 2025-08-08 02:58:51,102 - INFO - Adding interface with subnet_id 67f8e1a7-6f79-4a4d-876f-3df073acd8a2, port_id None to router 592e37b7-a17d-4d26-b726-38f38b03de76 2025-08-08 02:58:51,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:58:51,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.132.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 02:58:51,394 - DEBUG - ping -s 56 -c 3 -W 1 56.132.22.67 2025-08-08 02:58:54,622 - DEBUG - PING 56.132.22.67 (56.132.22.67): 56 data bytes 64 bytes from 56.132.22.67: seq=1 ttl=63 time=4.905 ms 64 bytes from 56.132.22.67: seq=2 ttl=63 time=1.908 ms --- 56.132.22.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.908/3.406/4.905 ms 2025-08-08 02:58:54,623 - WARNING - Ping to IP 56.132.22.67 from VM ctest-vn1-vm1-17525244 failed 2025-08-08 02:58:55,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.132.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 02:58:55,624 - DEBUG - ping -s 56 -c 3 -W 1 56.132.22.67 2025-08-08 02:58:57,847 - DEBUG - PING 56.132.22.67 (56.132.22.67): 56 data bytes 64 bytes from 56.132.22.67: seq=0 ttl=63 time=6.307 ms 64 bytes from 56.132.22.67: seq=1 ttl=63 time=0.970 ms 64 bytes from 56.132.22.67: seq=2 ttl=63 time=1.118 ms --- 56.132.22.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/2.798/6.307 ms 2025-08-08 02:58:57,847 - INFO - Ping to IP 56.132.22.67 from VM ctest-vn1-vm1-17525244 passed 2025-08-08 02:58:57,847 - INFO - Deleting interface with subnet_id 14d4d9d8-cd35-4858-bcf3-8831c4f9c43e, port_id None from router 592e37b7-a17d-4d26-b726-38f38b03de76 2025-08-08 02:58:57,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:58:57,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.132.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 02:58:57,978 - DEBUG - ping -s 56 -c 3 -W 1 56.132.22.67 2025-08-08 02:59:01,240 - DEBUG - PING 56.132.22.67 (56.132.22.67): 56 data bytes --- 56.132.22.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 02:59:01,240 - WARNING - Ping to IP 56.132.22.67 from VM ctest-vn1-vm1-17525244 failed 2025-08-08 02:59:01,240 - INFO - Adding interface with subnet_id 14d4d9d8-cd35-4858-bcf3-8831c4f9c43e, port_id None to router 592e37b7-a17d-4d26-b726-38f38b03de76 2025-08-08 02:59:01,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:59:01,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.132.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 02:59:01,483 - DEBUG - ping -s 56 -c 3 -W 1 56.132.22.67 2025-08-08 02:59:03,712 - DEBUG - PING 56.132.22.67 (56.132.22.67): 56 data bytes 64 bytes from 56.132.22.67: seq=0 ttl=63 time=1.575 ms 64 bytes from 56.132.22.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 56.132.22.67: seq=2 ttl=63 time=0.836 ms --- 56.132.22.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.073/1.575 ms 2025-08-08 02:59:03,712 - INFO - Ping to IP 56.132.22.67 from VM ctest-vn1-vm1-17525244 passed 2025-08-08 02:59:03,712 - INFO - Deleting interface with subnet_id 67f8e1a7-6f79-4a4d-876f-3df073acd8a2, port_id None from router 592e37b7-a17d-4d26-b726-38f38b03de76 2025-08-08 02:59:03,854 - INFO - Deleting interface with subnet_id 14d4d9d8-cd35-4858-bcf3-8831c4f9c43e, port_id None from router 592e37b7-a17d-4d26-b726-38f38b03de76 2025-08-08 02:59:04,042 - INFO - Deleting VM ctest-vn2-vm1-76957759 2025-08-08 02:59:04,120 - INFO - Deleting VM ctest-vn1-vm1-17525244 2025-08-08 02:59:04,200 - INFO - Deleting VN ctest-vn2-87725328 2025-08-08 02:59:04,251 - DEBUG - VN 2087d588-74e0-4296-93ac-f9dd4ec441d2 still in use: Unable to complete operation on network 2087d588-74e0-4296-93ac-f9dd4ec441d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-432380dc-8589-42a9-947f-329f2de3c732'] 2025-08-08 02:59:04,251 - WARNING - Deleting VN ctest-vn2-87725328 failed..Will retry 2025-08-08 02:59:06,362 - DEBUG - Response for deleting network () 2025-08-08 02:59:06,362 - INFO - Deleting VN ctest-vn1-10381049 2025-08-08 02:59:06,458 - DEBUG - Response for deleting network () 2025-08-08 02:59:06,719 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 02:59:06,719 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-08-08 02:59:06,719 - INFO - -------------------------------------------------------------------------------- 2025-08-08 02:59:07,449 - INFO - Deleted project: ctest-TestRouters-60575207, ID : bcb0d74b-afc8-4d65-ab88-a7a217baed6e