2025-08-10 15:55:29,761 - INFO - Domain Default found not creating 2025-08-10 15:55:29,881 - INFO - Project ctest-TestRouters-62773613 not found, creating it 2025-08-10 15:55:30,313 - INFO - Created Project:ctest-TestRouters-62773613, ID : 7458ecd3-be49-4055-9f3b-c9f209f352df 2025-08-10 15:55:31,636 - INFO - ================================================================================ 2025-08-10 15:55:31,636 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-10 15:55:31,636 - 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-10 15:55:31,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-08-10 15:55:31,896 - INFO - Initial checks done. Running the testcase now 2025-08-10 15:55:31,897 - INFO - 2025-08-10 15:55:32,451 - DEBUG - Response for create_network : {'network': {'id': '901dacde-6fe6-48e4-8e9a-2dae60d7c41a', 'name': 'ctest-vn1-87008716', 'tenant_id': '7458ecd3be4940559f3bc9f209f352df', 'project_id': '7458ecd3be4940559f3bc9f209f352df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62773613', 'ctest-vn1-87008716'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 15:55:32,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a196cee-75c4-4798-b4b1-ccc469bdc7da', 'name': '', 'tenant_id': '7458ecd3be4940559f3bc9f209f352df', 'network_id': '901dacde-6fe6-48e4-8e9a-2dae60d7c41a', 'ip_version': 4, 'cidr': '27.232.38.0/26', 'allocation_pools': [{'start': '27.232.38.2', 'end': '27.232.38.62'}], 'gateway_ip': '27.232.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.232.38.2', 'tags': [], 'project_id': '7458ecd3be4940559f3bc9f209f352df'}} 2025-08-10 15:55:32,640 - INFO - Created VN ctest-vn1-87008716 2025-08-10 15:55:32,691 - DEBUG - VN ctest-vn1-87008716 UUID is 901dacde-6fe6-48e4-8e9a-2dae60d7c41a 2025-08-10 15:55:32,995 - DEBUG - Response for create_network : {'network': {'id': 'd269a1d5-8410-49dc-a859-e014842d77ea', 'name': 'ctest-vn2-75248460', 'tenant_id': '7458ecd3be4940559f3bc9f209f352df', 'project_id': '7458ecd3be4940559f3bc9f209f352df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62773613', 'ctest-vn2-75248460'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 15:55:33,174 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b817c28f-b3ce-4967-ac15-0baacf33dbf6', 'name': '', 'tenant_id': '7458ecd3be4940559f3bc9f209f352df', 'network_id': 'd269a1d5-8410-49dc-a859-e014842d77ea', 'ip_version': 4, 'cidr': '101.203.1.64/26', 'allocation_pools': [{'start': '101.203.1.66', 'end': '101.203.1.126'}], 'gateway_ip': '101.203.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.203.1.66', 'tags': [], 'project_id': '7458ecd3be4940559f3bc9f209f352df'}} 2025-08-10 15:55:33,190 - INFO - Created VN ctest-vn2-75248460 2025-08-10 15:55:33,247 - DEBUG - VN ctest-vn2-75248460 UUID is d269a1d5-8410-49dc-a859-e014842d77ea 2025-08-10 15:55:33,483 - DEBUG - Services list from nova: [, , ] 2025-08-10 15:55:34,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3788-1) 2025-08-10 15:55:35,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3788-1) 2025-08-10 15:55:35,623 - INFO - Adding interface with subnet_id 3a196cee-75c4-4798-b4b1-ccc469bdc7da, port_id None to router 570d59dd-a684-4805-812f-fdf00baf258c 2025-08-10 15:55:35,866 - INFO - Waiting for VM ctest-vn1-vm1-92105263 to be up.. 2025-08-10 15:55:35,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 15:55:41,018 - DEBUG - VM is in ACTIVE state now 2025-08-10 15:55:41,018 - INFO - VM name : ctest-vn1-vm1-92105263 2025-08-10 15:55:41,134 - DEBUG - VM ctest-vn1-vm1-92105263 ID is 19df2afd-99d5-4ffe-a042-384c01b24ef0 2025-08-10 15:55:41,152 - DEBUG - VM ctest-vn1-vm1-92105263 launched on Node cn-jenkins-deploy-platform-ansible-os-3788-1 2025-08-10 15:55:41,284 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/19df2afd-99d5-4ffe-a042-384c01b24ef0 2025-08-10 15:55:41,683 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/19df2afd-99d5-4ffe-a042-384c01b24ef0 2025-08-10 15:55:41,746 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/040baabc-63ea-413c-961d-4bc7b6165c3c 2025-08-10 15:55:45,052 - 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=2 ttl=63 time=3.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 3.408/3.408/3.408/0.000 ms') 2025-08-10 15:55:45,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92105263 passed 2025-08-10 15:55:45,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:45,199 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92105263, IP 27.232.38.3, Port 22 2025-08-10 15:55:45,359 - DEBUG - VM ctest-vn1-vm1-92105263 is ready for SSH connections 2025-08-10 15:55:45,359 - INFO - Waiting for VM ctest-vn2-vm1-62101637 to be up.. 2025-08-10 15:55:45,423 - DEBUG - VM is in ACTIVE state now 2025-08-10 15:55:45,423 - INFO - VM name : ctest-vn2-vm1-62101637 2025-08-10 15:55:45,480 - DEBUG - VM ctest-vn2-vm1-62101637 ID is ebf173ed-9684-4b31-a2d8-9acd9408d2cb 2025-08-10 15:55:45,480 - DEBUG - VM ctest-vn2-vm1-62101637 launched on Node cn-jenkins-deploy-platform-ansible-os-3788-1 2025-08-10 15:55:45,538 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ebf173ed-9684-4b31-a2d8-9acd9408d2cb 2025-08-10 15:55:45,545 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e4619d32-1fcb-4637-bd51-66b2fbbf017b 2025-08-10 15:55:46,783 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.275/2.335/3.396/1.060 ms') 2025-08-10 15:55:46,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-62101637 passed 2025-08-10 15:55:46,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:46,927 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-62101637, IP 101.203.1.67, Port 22 2025-08-10 15:55:47,086 - DEBUG - VM ctest-vn2-vm1-62101637 is ready for SSH connections 2025-08-10 15:55:47,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:47,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.203.1.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 15:55:47,087 - DEBUG - ping -s 56 -c 3 -W 1 101.203.1.67 2025-08-10 15:55:51,687 - DEBUG - PING 101.203.1.67 (101.203.1.67): 56 data bytes --- 101.203.1.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 15:55:51,687 - WARNING - Ping to IP 101.203.1.67 from VM ctest-vn1-vm1-92105263 failed 2025-08-10 15:55:51,687 - INFO - Adding interface with subnet_id b817c28f-b3ce-4967-ac15-0baacf33dbf6, port_id None to router 570d59dd-a684-4805-812f-fdf00baf258c 2025-08-10 15:55:51,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:51,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.203.1.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 15:55:51,966 - DEBUG - ping -s 56 -c 3 -W 1 101.203.1.67 2025-08-10 15:55:54,162 - DEBUG - PING 101.203.1.67 (101.203.1.67): 56 data bytes 64 bytes from 101.203.1.67: seq=0 ttl=63 time=2.418 ms 64 bytes from 101.203.1.67: seq=1 ttl=63 time=0.737 ms 64 bytes from 101.203.1.67: seq=2 ttl=63 time=0.671 ms --- 101.203.1.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/1.275/2.418 ms 2025-08-10 15:55:54,162 - INFO - Ping to IP 101.203.1.67 from VM ctest-vn1-vm1-92105263 passed 2025-08-10 15:55:54,162 - INFO - Deleting interface with subnet_id 3a196cee-75c4-4798-b4b1-ccc469bdc7da, port_id None from router 570d59dd-a684-4805-812f-fdf00baf258c 2025-08-10 15:55:54,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:54,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.203.1.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 15:55:54,271 - DEBUG - ping -s 56 -c 3 -W 1 101.203.1.67 2025-08-10 15:55:57,456 - DEBUG - PING 101.203.1.67 (101.203.1.67): 56 data bytes --- 101.203.1.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 15:55:57,456 - WARNING - Ping to IP 101.203.1.67 from VM ctest-vn1-vm1-92105263 failed 2025-08-10 15:55:57,456 - INFO - Adding interface with subnet_id 3a196cee-75c4-4798-b4b1-ccc469bdc7da, port_id None to router 570d59dd-a684-4805-812f-fdf00baf258c 2025-08-10 15:55:57,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:57,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.203.1.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 15:55:57,644 - DEBUG - ping -s 56 -c 3 -W 1 101.203.1.67 2025-08-10 15:55:59,842 - DEBUG - PING 101.203.1.67 (101.203.1.67): 56 data bytes 64 bytes from 101.203.1.67: seq=0 ttl=63 time=1.259 ms 64 bytes from 101.203.1.67: seq=1 ttl=63 time=0.656 ms 64 bytes from 101.203.1.67: seq=2 ttl=63 time=0.712 ms --- 101.203.1.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.656/0.875/1.259 ms 2025-08-10 15:55:59,842 - INFO - Ping to IP 101.203.1.67 from VM ctest-vn1-vm1-92105263 passed 2025-08-10 15:55:59,842 - INFO - Deleting interface with subnet_id b817c28f-b3ce-4967-ac15-0baacf33dbf6, port_id None from router 570d59dd-a684-4805-812f-fdf00baf258c 2025-08-10 15:55:59,966 - INFO - Deleting interface with subnet_id 3a196cee-75c4-4798-b4b1-ccc469bdc7da, port_id None from router 570d59dd-a684-4805-812f-fdf00baf258c 2025-08-10 15:56:00,134 - INFO - Deleting VM ctest-vn2-vm1-62101637 2025-08-10 15:56:00,203 - INFO - Deleting VM ctest-vn1-vm1-92105263 2025-08-10 15:56:00,267 - INFO - Deleting VN ctest-vn2-75248460 2025-08-10 15:56:00,303 - DEBUG - VN d269a1d5-8410-49dc-a859-e014842d77ea still in use: Unable to complete operation on network d269a1d5-8410-49dc-a859-e014842d77ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe794032-8f96-4049-b436-76f7c6cf0c30'] 2025-08-10 15:56:00,303 - WARNING - Deleting VN ctest-vn2-75248460 failed..Will retry 2025-08-10 15:56:02,391 - DEBUG - Response for deleting network () 2025-08-10 15:56:02,391 - INFO - Deleting VN ctest-vn1-87008716 2025-08-10 15:56:02,480 - DEBUG - Response for deleting network () 2025-08-10 15:56:02,728 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 15:56:02,728 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-08-10 15:56:02,728 - INFO - -------------------------------------------------------------------------------- 2025-08-10 15:56:03,357 - INFO - Deleted project: ctest-TestRouters-62773613, ID : 7458ecd3-be49-4055-9f3b-c9f209f352df