2025-08-30 21:54:50,817 - INFO - Domain Default found not creating 2025-08-30 21:54:50,937 - INFO - Project ctest-TestRouters-41183809 not found, creating it 2025-08-30 21:54:51,374 - INFO - Created Project:ctest-TestRouters-41183809, ID : 9e227b13-fcfe-4878-bc68-3418e0a8955e 2025-08-30 21:54:52,725 - INFO - ================================================================================ 2025-08-30 21:54:52,725 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-30 21:54:52,725 - 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-30 21:54:52,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-08-30 21:54:52,979 - INFO - Initial checks done. Running the testcase now 2025-08-30 21:54:52,979 - INFO - 2025-08-30 21:54:53,497 - DEBUG - Response for create_network : {'network': {'id': '2aaa860a-468e-4afd-84ee-0a54b512dd5f', 'name': 'ctest-vn1-46254567', 'tenant_id': '9e227b13fcfe4878bc683418e0a8955e', 'project_id': '9e227b13fcfe4878bc683418e0a8955e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41183809', 'ctest-vn1-46254567'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:54:53,662 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb635228-eb3f-4948-80fe-2526b0647098', 'name': '', 'tenant_id': '9e227b13fcfe4878bc683418e0a8955e', 'network_id': '2aaa860a-468e-4afd-84ee-0a54b512dd5f', 'ip_version': 4, 'cidr': '52.188.113.0/26', 'allocation_pools': [{'start': '52.188.113.2', 'end': '52.188.113.62'}], 'gateway_ip': '52.188.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.188.113.2', 'tags': [], 'project_id': '9e227b13fcfe4878bc683418e0a8955e'}} 2025-08-30 21:54:53,676 - INFO - Created VN ctest-vn1-46254567 2025-08-30 21:54:53,725 - DEBUG - VN ctest-vn1-46254567 UUID is 2aaa860a-468e-4afd-84ee-0a54b512dd5f 2025-08-30 21:54:54,036 - DEBUG - Response for create_network : {'network': {'id': 'c2a58804-12c2-46a6-a7aa-3cedc52e7032', 'name': 'ctest-vn2-39964532', 'tenant_id': '9e227b13fcfe4878bc683418e0a8955e', 'project_id': '9e227b13fcfe4878bc683418e0a8955e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41183809', 'ctest-vn2-39964532'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:54:54,223 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba0c69ce-f41c-4305-bc96-65e92d6e8b7d', 'name': '', 'tenant_id': '9e227b13fcfe4878bc683418e0a8955e', 'network_id': 'c2a58804-12c2-46a6-a7aa-3cedc52e7032', 'ip_version': 4, 'cidr': '213.224.55.64/26', 'allocation_pools': [{'start': '213.224.55.66', 'end': '213.224.55.126'}], 'gateway_ip': '213.224.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.224.55.66', 'tags': [], 'project_id': '9e227b13fcfe4878bc683418e0a8955e'}} 2025-08-30 21:54:54,239 - INFO - Created VN ctest-vn2-39964532 2025-08-30 21:54:54,289 - DEBUG - VN ctest-vn2-39964532 UUID is c2a58804-12c2-46a6-a7aa-3cedc52e7032 2025-08-30 21:54:54,501 - DEBUG - Services list from nova: [, , ] 2025-08-30 21:54:55,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:54:56,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:54:56,702 - INFO - Adding interface with subnet_id bb635228-eb3f-4948-80fe-2526b0647098, port_id None to router b4c44ea0-45c0-4b0b-a343-c37f26f4b1eb 2025-08-30 21:54:57,039 - INFO - Waiting for VM ctest-vn1-vm1-96975329 to be up.. 2025-08-30 21:54:57,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 21:55:02,205 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:55:02,205 - INFO - VM name : ctest-vn1-vm1-96975329 2025-08-30 21:55:02,284 - DEBUG - VM ctest-vn1-vm1-96975329 ID is b9b469b5-d8b6-4d7d-985c-220608a56f82 2025-08-30 21:55:02,300 - DEBUG - VM ctest-vn1-vm1-96975329 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:55:02,369 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b9b469b5-d8b6-4d7d-985c-220608a56f82 2025-08-30 21:55:02,663 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b9b469b5-d8b6-4d7d-985c-220608a56f82 2025-08-30 21:55:02,692 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/fccaec8b-e79b-498d-a3f6-26973000d56d 2025-08-30 21:55:05,939 - 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 1007ms') 2025-08-30 21:55:05,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96975329 failed! 2025-08-30 21:55:05,993 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41183809:ctest-vn1-46254567 is 52.188.113.1 and allocation pool is NOT set 2025-08-30 21:55:08,058 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.544/2.708/1.164 ms') 2025-08-30 21:55:08,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96975329 passed 2025-08-30 21:55:08,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:08,205 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96975329, IP 52.188.113.3, Port 22 2025-08-30 21:55:08,356 - DEBUG - VM ctest-vn1-vm1-96975329 is ready for SSH connections 2025-08-30 21:55:08,357 - INFO - Waiting for VM ctest-vn2-vm1-70034287 to be up.. 2025-08-30 21:55:08,422 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:55:08,422 - INFO - VM name : ctest-vn2-vm1-70034287 2025-08-30 21:55:08,483 - DEBUG - VM ctest-vn2-vm1-70034287 ID is 6efa878b-5e2a-4194-9e1f-b2229d13771c 2025-08-30 21:55:08,483 - DEBUG - VM ctest-vn2-vm1-70034287 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:55:08,545 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6efa878b-5e2a-4194-9e1f-b2229d13771c 2025-08-30 21:55:08,552 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6eee8e16-a48d-4bf0-b1cc-4699fbee501a 2025-08-30 21:55:09,785 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.622/2.855/1.232 ms') 2025-08-30 21:55:09,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-70034287 passed 2025-08-30 21:55:09,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:09,937 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-70034287, IP 213.224.55.67, Port 22 2025-08-30 21:55:10,093 - DEBUG - VM ctest-vn2-vm1-70034287 is ready for SSH connections 2025-08-30 21:55:10,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:10,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.224.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:55:10,093 - DEBUG - ping -s 56 -c 3 -W 1 213.224.55.67 2025-08-30 21:55:14,993 - DEBUG - PING 213.224.55.67 (213.224.55.67): 56 data bytes --- 213.224.55.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-30 21:55:14,993 - WARNING - Ping to IP 213.224.55.67 from VM ctest-vn1-vm1-96975329 failed 2025-08-30 21:55:14,993 - INFO - Adding interface with subnet_id ba0c69ce-f41c-4305-bc96-65e92d6e8b7d, port_id None to router b4c44ea0-45c0-4b0b-a343-c37f26f4b1eb 2025-08-30 21:55:15,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:15,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.224.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:55:15,227 - DEBUG - ping -s 56 -c 3 -W 1 213.224.55.67 2025-08-30 21:55:17,417 - DEBUG - PING 213.224.55.67 (213.224.55.67): 56 data bytes 64 bytes from 213.224.55.67: seq=0 ttl=63 time=2.922 ms 64 bytes from 213.224.55.67: seq=1 ttl=63 time=0.853 ms 64 bytes from 213.224.55.67: seq=2 ttl=63 time=0.792 ms --- 213.224.55.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.522/2.922 ms 2025-08-30 21:55:17,417 - INFO - Ping to IP 213.224.55.67 from VM ctest-vn1-vm1-96975329 passed 2025-08-30 21:55:17,417 - INFO - Deleting interface with subnet_id bb635228-eb3f-4948-80fe-2526b0647098, port_id None from router b4c44ea0-45c0-4b0b-a343-c37f26f4b1eb 2025-08-30 21:55:17,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:17,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.224.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:55:17,523 - DEBUG - ping -s 56 -c 3 -W 1 213.224.55.67 2025-08-30 21:55:20,724 - DEBUG - PING 213.224.55.67 (213.224.55.67): 56 data bytes --- 213.224.55.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-30 21:55:20,724 - WARNING - Ping to IP 213.224.55.67 from VM ctest-vn1-vm1-96975329 failed 2025-08-30 21:55:20,724 - INFO - Adding interface with subnet_id bb635228-eb3f-4948-80fe-2526b0647098, port_id None to router b4c44ea0-45c0-4b0b-a343-c37f26f4b1eb 2025-08-30 21:55:20,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:20,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.224.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:55:20,917 - DEBUG - ping -s 56 -c 3 -W 1 213.224.55.67 2025-08-30 21:55:23,108 - DEBUG - PING 213.224.55.67 (213.224.55.67): 56 data bytes 64 bytes from 213.224.55.67: seq=0 ttl=63 time=1.428 ms 64 bytes from 213.224.55.67: seq=1 ttl=63 time=0.755 ms 64 bytes from 213.224.55.67: seq=2 ttl=63 time=0.784 ms --- 213.224.55.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/0.989/1.428 ms 2025-08-30 21:55:23,108 - INFO - Ping to IP 213.224.55.67 from VM ctest-vn1-vm1-96975329 passed 2025-08-30 21:55:23,108 - INFO - Deleting interface with subnet_id ba0c69ce-f41c-4305-bc96-65e92d6e8b7d, port_id None from router b4c44ea0-45c0-4b0b-a343-c37f26f4b1eb 2025-08-30 21:55:23,222 - INFO - Deleting interface with subnet_id bb635228-eb3f-4948-80fe-2526b0647098, port_id None from router b4c44ea0-45c0-4b0b-a343-c37f26f4b1eb 2025-08-30 21:55:23,376 - INFO - Deleting VM ctest-vn2-vm1-70034287 2025-08-30 21:55:23,438 - INFO - Deleting VM ctest-vn1-vm1-96975329 2025-08-30 21:55:23,504 - INFO - Deleting VN ctest-vn2-39964532 2025-08-30 21:55:23,536 - DEBUG - VN c2a58804-12c2-46a6-a7aa-3cedc52e7032 still in use: Unable to complete operation on network c2a58804-12c2-46a6-a7aa-3cedc52e7032. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27694b70-f813-459b-a68d-402a661ea2fc'] 2025-08-30 21:55:23,536 - WARNING - Deleting VN ctest-vn2-39964532 failed..Will retry 2025-08-30 21:55:25,630 - DEBUG - Response for deleting network () 2025-08-30 21:55:25,630 - INFO - Deleting VN ctest-vn1-46254567 2025-08-30 21:55:25,728 - DEBUG - Response for deleting network () 2025-08-30 21:55:25,981 - DEBUG - No XMPP flaps were noticed during the test 2025-08-30 21:55:25,981 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-08-30 21:55:25,982 - INFO - -------------------------------------------------------------------------------- 2025-08-30 21:55:26,623 - INFO - Deleted project: ctest-TestRouters-41183809, ID : 9e227b13-fcfe-4878-bc68-3418e0a8955e