2025-10-13 12:31:34,662 - INFO - Domain Default found not creating 2025-10-13 12:31:34,842 - INFO - Project ctest-TestRouters-79082616 not found, creating it 2025-10-13 12:31:35,399 - INFO - Created Project:ctest-TestRouters-79082616, ID : 0d5a865f-7722-49c6-8134-0ab0d7f775a8 2025-10-13 12:31:37,542 - INFO - ================================================================================ 2025-10-13 12:31:37,542 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-13 12:31:37,542 - 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-10-13 12:31:37,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 12:31:37,824 - INFO - Initial checks done. Running the testcase now 2025-10-13 12:31:37,824 - INFO - 2025-10-13 12:31:38,486 - DEBUG - Response for create_network : {'network': {'id': '9fee979f-c0ea-465b-a72e-30bdcb8d0671', 'name': 'ctest-vn1-33160725', 'tenant_id': '0d5a865f772249c681340ab0d7f775a8', 'project_id': '0d5a865f772249c681340ab0d7f775a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79082616', 'ctest-vn1-33160725'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:31:38,682 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ac05520-cec4-4dcf-90eb-1f55a622ab64', 'name': '', 'tenant_id': '0d5a865f772249c681340ab0d7f775a8', 'network_id': '9fee979f-c0ea-465b-a72e-30bdcb8d0671', 'ip_version': 4, 'cidr': '13.43.230.192/26', 'allocation_pools': [{'start': '13.43.230.194', 'end': '13.43.230.254'}], 'gateway_ip': '13.43.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.43.230.194', 'tags': [], 'project_id': '0d5a865f772249c681340ab0d7f775a8'}} 2025-10-13 12:31:38,706 - INFO - Created VN ctest-vn1-33160725 2025-10-13 12:31:38,766 - DEBUG - VN ctest-vn1-33160725 UUID is 9fee979f-c0ea-465b-a72e-30bdcb8d0671 2025-10-13 12:31:39,088 - DEBUG - Response for create_network : {'network': {'id': '49589fd8-dd33-436f-9888-8db51b5453a4', 'name': 'ctest-vn2-62110775', 'tenant_id': '0d5a865f772249c681340ab0d7f775a8', 'project_id': '0d5a865f772249c681340ab0d7f775a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79082616', 'ctest-vn2-62110775'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:31:39,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '086d7135-a1c4-42d1-b7ee-eada63c4a41f', 'name': '', 'tenant_id': '0d5a865f772249c681340ab0d7f775a8', 'network_id': '49589fd8-dd33-436f-9888-8db51b5453a4', 'ip_version': 4, 'cidr': '123.247.99.64/26', 'allocation_pools': [{'start': '123.247.99.66', 'end': '123.247.99.126'}], 'gateway_ip': '123.247.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.247.99.66', 'tags': [], 'project_id': '0d5a865f772249c681340ab0d7f775a8'}} 2025-10-13 12:31:39,334 - INFO - Created VN ctest-vn2-62110775 2025-10-13 12:31:39,389 - DEBUG - VN ctest-vn2-62110775 UUID is 49589fd8-dd33-436f-9888-8db51b5453a4 2025-10-13 12:31:39,565 - DEBUG - Services list from nova: [, , ] 2025-10-13 12:31:40,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4302-1) 2025-10-13 12:31:41,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4302-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4302-1) 2025-10-13 12:31:41,985 - INFO - Adding interface with subnet_id 9ac05520-cec4-4dcf-90eb-1f55a622ab64, port_id None to router abfbe682-4644-4b83-aa77-6d12a3a8d160 2025-10-13 12:31:42,315 - INFO - Waiting for VM ctest-vn1-vm1-50274934 to be up.. 2025-10-13 12:31:42,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 12:31:47,500 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:31:47,500 - INFO - VM name : ctest-vn1-vm1-50274934 2025-10-13 12:31:47,579 - DEBUG - VM ctest-vn1-vm1-50274934 ID is 714a7967-9492-4ff3-976a-5ed9a0bd1a11 2025-10-13 12:31:47,602 - DEBUG - VM ctest-vn1-vm1-50274934 launched on Node cn-jenkins-deploy-platform-ansible-os-4302-1 2025-10-13 12:31:47,697 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/714a7967-9492-4ff3-976a-5ed9a0bd1a11 2025-10-13 12:31:48,005 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/714a7967-9492-4ff3-976a-5ed9a0bd1a11 2025-10-13 12:31:48,043 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6eb6f392-1866-4b5a-8ad2-a12d9b22da33 2025-10-13 12:31:51,308 - 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 1014ms') 2025-10-13 12:31:51,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50274934 failed! 2025-10-13 12:31:51,361 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-79082616:ctest-vn1-33160725 is 13.43.230.193 and allocation pool is NOT set 2025-10-13 12:31:53,418 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.408/2.437/3.466/1.029 ms') 2025-10-13 12:31:53,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50274934 passed 2025-10-13 12:31:53,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:31:53,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50274934, IP 13.43.230.195, Port 22 2025-10-13 12:31:53,639 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-13 12:31:53,716 - DEBUG - VM ctest-vn1-vm1-50274934 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 12:31:58,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:31:58,716 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50274934, IP 13.43.230.195, Port 22 2025-10-13 12:31:58,884 - DEBUG - VM ctest-vn1-vm1-50274934 is ready for SSH connections 2025-10-13 12:31:58,884 - INFO - Waiting for VM ctest-vn2-vm1-12391095 to be up.. 2025-10-13 12:31:58,957 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:31:58,957 - INFO - VM name : ctest-vn2-vm1-12391095 2025-10-13 12:31:59,028 - DEBUG - VM ctest-vn2-vm1-12391095 ID is e1e9f526-3d72-4085-a3a8-04596b631eb4 2025-10-13 12:31:59,029 - DEBUG - VM ctest-vn2-vm1-12391095 launched on Node cn-jenkins-deploy-platform-ansible-os-4302-1 2025-10-13 12:31:59,105 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e1e9f526-3d72-4085-a3a8-04596b631eb4 2025-10-13 12:31:59,113 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ba39f7a5-49c7-408c-a4a2-38057d01d368 2025-10-13 12:32:00,348 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.703/2.972/1.268 ms') 2025-10-13 12:32:00,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12391095 passed 2025-10-13 12:32:00,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:00,497 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12391095, IP 123.247.99.67, Port 22 2025-10-13 12:32:00,657 - DEBUG - VM ctest-vn2-vm1-12391095 is ready for SSH connections 2025-10-13 12:32:00,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:00,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.247.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 12:32:00,657 - DEBUG - ping -s 56 -c 3 -W 1 123.247.99.67 2025-10-13 12:32:05,676 - DEBUG - PING 123.247.99.67 (123.247.99.67): 56 data bytes --- 123.247.99.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 12:32:05,676 - WARNING - Ping to IP 123.247.99.67 from VM ctest-vn1-vm1-50274934 failed 2025-10-13 12:32:05,676 - INFO - Adding interface with subnet_id 086d7135-a1c4-42d1-b7ee-eada63c4a41f, port_id None to router abfbe682-4644-4b83-aa77-6d12a3a8d160 2025-10-13 12:32:05,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:05,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.247.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 12:32:05,964 - DEBUG - ping -s 56 -c 3 -W 1 123.247.99.67 2025-10-13 12:32:09,175 - DEBUG - PING 123.247.99.67 (123.247.99.67): 56 data bytes 64 bytes from 123.247.99.67: seq=1 ttl=63 time=2.602 ms 64 bytes from 123.247.99.67: seq=2 ttl=63 time=0.857 ms --- 123.247.99.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.857/1.729/2.602 ms 2025-10-13 12:32:09,175 - WARNING - Ping to IP 123.247.99.67 from VM ctest-vn1-vm1-50274934 failed 2025-10-13 12:32:10,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.247.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 12:32:10,175 - DEBUG - ping -s 56 -c 3 -W 1 123.247.99.67 2025-10-13 12:32:12,379 - DEBUG - PING 123.247.99.67 (123.247.99.67): 56 data bytes 64 bytes from 123.247.99.67: seq=0 ttl=63 time=1.387 ms 64 bytes from 123.247.99.67: seq=1 ttl=63 time=1.042 ms 64 bytes from 123.247.99.67: seq=2 ttl=63 time=0.823 ms --- 123.247.99.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.084/1.387 ms 2025-10-13 12:32:12,379 - INFO - Ping to IP 123.247.99.67 from VM ctest-vn1-vm1-50274934 passed 2025-10-13 12:32:12,379 - INFO - Deleting interface with subnet_id 9ac05520-cec4-4dcf-90eb-1f55a622ab64, port_id None from router abfbe682-4644-4b83-aa77-6d12a3a8d160 2025-10-13 12:32:12,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:12,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.247.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 12:32:12,509 - DEBUG - ping -s 56 -c 3 -W 1 123.247.99.67 2025-10-13 12:32:15,722 - DEBUG - PING 123.247.99.67 (123.247.99.67): 56 data bytes --- 123.247.99.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 12:32:15,722 - WARNING - Ping to IP 123.247.99.67 from VM ctest-vn1-vm1-50274934 failed 2025-10-13 12:32:15,722 - INFO - Adding interface with subnet_id 9ac05520-cec4-4dcf-90eb-1f55a622ab64, port_id None to router abfbe682-4644-4b83-aa77-6d12a3a8d160 2025-10-13 12:32:15,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:32:15,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.247.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 12:32:15,937 - DEBUG - ping -s 56 -c 3 -W 1 123.247.99.67 2025-10-13 12:32:18,144 - DEBUG - PING 123.247.99.67 (123.247.99.67): 56 data bytes 64 bytes from 123.247.99.67: seq=0 ttl=63 time=1.437 ms 64 bytes from 123.247.99.67: seq=1 ttl=63 time=1.025 ms 64 bytes from 123.247.99.67: seq=2 ttl=63 time=0.800 ms --- 123.247.99.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/1.087/1.437 ms 2025-10-13 12:32:18,144 - INFO - Ping to IP 123.247.99.67 from VM ctest-vn1-vm1-50274934 passed 2025-10-13 12:32:18,144 - INFO - Deleting interface with subnet_id 086d7135-a1c4-42d1-b7ee-eada63c4a41f, port_id None from router abfbe682-4644-4b83-aa77-6d12a3a8d160 2025-10-13 12:32:18,272 - INFO - Deleting interface with subnet_id 9ac05520-cec4-4dcf-90eb-1f55a622ab64, port_id None from router abfbe682-4644-4b83-aa77-6d12a3a8d160 2025-10-13 12:32:18,465 - INFO - Deleting VM ctest-vn2-vm1-12391095 2025-10-13 12:32:18,556 - INFO - Deleting VM ctest-vn1-vm1-50274934 2025-10-13 12:32:18,630 - INFO - Deleting VN ctest-vn2-62110775 2025-10-13 12:32:18,668 - DEBUG - VN 49589fd8-dd33-436f-9888-8db51b5453a4 still in use: Unable to complete operation on network 49589fd8-dd33-436f-9888-8db51b5453a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcc2743d-ca86-4b90-9f69-b47a5dff4490'] 2025-10-13 12:32:18,668 - WARNING - Deleting VN ctest-vn2-62110775 failed..Will retry 2025-10-13 12:32:20,788 - DEBUG - Response for deleting network () 2025-10-13 12:32:20,788 - INFO - Deleting VN ctest-vn1-33160725 2025-10-13 12:32:20,886 - DEBUG - Response for deleting network () 2025-10-13 12:32:21,146 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 12:32:21,146 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-13 12:32:21,146 - INFO - -------------------------------------------------------------------------------- 2025-10-13 12:32:21,837 - INFO - Deleted project: ctest-TestRouters-79082616, ID : 0d5a865f-7722-49c6-8134-0ab0d7f775a8