2025-08-11 15:53:32,934 - INFO - Domain Default found not creating 2025-08-11 15:53:33,063 - INFO - Project ctest-TestRouters-01621388 not found, creating it 2025-08-11 15:53:33,609 - INFO - Created Project:ctest-TestRouters-01621388, ID : fa0951c9-a89a-4e7b-8fb8-f7b81ffc4452 2025-08-11 15:53:35,008 - INFO - ================================================================================ 2025-08-11 15:53:35,009 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 15:53:35,014 - 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-11 15:53:35,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 15:53:35,264 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:53:35,264 - INFO - 2025-08-11 15:53:35,850 - DEBUG - Response for create_network : {'network': {'id': '1de81d8d-dc8a-4007-ba08-36043e986a08', 'name': 'ctest-vn1-12753853', 'tenant_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452', 'project_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01621388', 'ctest-vn1-12753853'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:53:36,043 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df410e3a-878c-4fcc-abd5-c2da42889699', 'name': '', 'tenant_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452', 'network_id': '1de81d8d-dc8a-4007-ba08-36043e986a08', 'ip_version': 4, 'cidr': '35.198.229.128/26', 'allocation_pools': [{'start': '35.198.229.130', 'end': '35.198.229.190'}], 'gateway_ip': '35.198.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.198.229.130', 'tags': [], 'project_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452'}} 2025-08-11 15:53:36,069 - INFO - Created VN ctest-vn1-12753853 2025-08-11 15:53:36,123 - DEBUG - VN ctest-vn1-12753853 UUID is 1de81d8d-dc8a-4007-ba08-36043e986a08 2025-08-11 15:53:36,484 - DEBUG - Response for create_network : {'network': {'id': '14a5d195-ce11-4121-ab56-60efcb7956f5', 'name': 'ctest-vn2-49237918', 'tenant_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452', 'project_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01621388', 'ctest-vn2-49237918'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:53:36,699 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e36e268a-2102-4ce7-b216-bcb13661c85a', 'name': '', 'tenant_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452', 'network_id': '14a5d195-ce11-4121-ab56-60efcb7956f5', 'ip_version': 4, 'cidr': '183.225.22.0/26', 'allocation_pools': [{'start': '183.225.22.2', 'end': '183.225.22.62'}], 'gateway_ip': '183.225.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.225.22.2', 'tags': [], 'project_id': 'fa0951c9a89a4e7b8fb8f7b81ffc4452'}} 2025-08-11 15:53:36,714 - INFO - Created VN ctest-vn2-49237918 2025-08-11 15:53:36,767 - DEBUG - VN ctest-vn2-49237918 UUID is 14a5d195-ce11-4121-ab56-60efcb7956f5 2025-08-11 15:53:36,965 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:53:37,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:53:39,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:53:39,105 - INFO - Adding interface with subnet_id df410e3a-878c-4fcc-abd5-c2da42889699, port_id None to router 2037a5de-07b5-4872-a8ac-18d11c85ee2e 2025-08-11 15:53:39,384 - INFO - Waiting for VM ctest-vn1-vm1-68451176 to be up.. 2025-08-11 15:53:39,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:53:44,565 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:53:44,565 - INFO - VM name : ctest-vn1-vm1-68451176 2025-08-11 15:53:44,627 - DEBUG - VM ctest-vn1-vm1-68451176 ID is c7e2411c-707e-41f1-a210-c340a2760b99 2025-08-11 15:53:44,643 - DEBUG - VM ctest-vn1-vm1-68451176 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:53:44,704 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c7e2411c-707e-41f1-a210-c340a2760b99 2025-08-11 15:53:44,997 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c7e2411c-707e-41f1-a210-c340a2760b99 2025-08-11 15:53:45,024 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8056d274-9f14-4bf1-86fb-3375c6bb62ec 2025-08-11 15:53:48,290 - 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=9.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 9.074/9.074/9.074/0.000 ms') 2025-08-11 15:53:48,290 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68451176 passed 2025-08-11 15:53:48,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:48,439 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68451176, IP 35.198.229.131, Port 22 2025-08-11 15:53:48,494 - 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-08-11 15:53:48,557 - DEBUG - VM ctest-vn1-vm1-68451176 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 15:53:53,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:53,558 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68451176, IP 35.198.229.131, Port 22 2025-08-11 15:53:53,710 - DEBUG - VM ctest-vn1-vm1-68451176 is ready for SSH connections 2025-08-11 15:53:53,710 - INFO - Waiting for VM ctest-vn2-vm1-29248508 to be up.. 2025-08-11 15:53:53,773 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:53:53,773 - INFO - VM name : ctest-vn2-vm1-29248508 2025-08-11 15:53:53,835 - DEBUG - VM ctest-vn2-vm1-29248508 ID is 09b25686-90ae-4865-b2b7-37609fbb0aac 2025-08-11 15:53:53,835 - DEBUG - VM ctest-vn2-vm1-29248508 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:53:53,902 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/09b25686-90ae-4865-b2b7-37609fbb0aac 2025-08-11 15:53:53,913 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/187624e5-918d-4ef6-a393-fe3b8f0151d4 2025-08-11 15:53:55,149 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.323 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.323/1.684/3.045/1.361 ms') 2025-08-11 15:53:55,149 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-29248508 passed 2025-08-11 15:53:55,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:55,303 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-29248508, IP 183.225.22.3, Port 22 2025-08-11 15:53:55,454 - DEBUG - VM ctest-vn2-vm1-29248508 is ready for SSH connections 2025-08-11 15:53:55,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:55,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.225.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:53:55,455 - DEBUG - ping -s 56 -c 3 -W 1 183.225.22.3 2025-08-11 15:54:00,073 - DEBUG - PING 183.225.22.3 (183.225.22.3): 56 data bytes --- 183.225.22.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 15:54:00,073 - WARNING - Ping to IP 183.225.22.3 from VM ctest-vn1-vm1-68451176 failed 2025-08-11 15:54:00,073 - INFO - Adding interface with subnet_id e36e268a-2102-4ce7-b216-bcb13661c85a, port_id None to router 2037a5de-07b5-4872-a8ac-18d11c85ee2e 2025-08-11 15:54:00,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:54:00,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.225.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:54:00,301 - DEBUG - ping -s 56 -c 3 -W 1 183.225.22.3 2025-08-11 15:54:02,501 - DEBUG - PING 183.225.22.3 (183.225.22.3): 56 data bytes 64 bytes from 183.225.22.3: seq=0 ttl=63 time=2.311 ms 64 bytes from 183.225.22.3: seq=1 ttl=63 time=0.647 ms 64 bytes from 183.225.22.3: seq=2 ttl=63 time=0.645 ms --- 183.225.22.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.645/1.201/2.311 ms 2025-08-11 15:54:02,502 - INFO - Ping to IP 183.225.22.3 from VM ctest-vn1-vm1-68451176 passed 2025-08-11 15:54:02,502 - INFO - Deleting interface with subnet_id df410e3a-878c-4fcc-abd5-c2da42889699, port_id None from router 2037a5de-07b5-4872-a8ac-18d11c85ee2e 2025-08-11 15:54:02,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:54:02,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.225.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:54:02,610 - DEBUG - ping -s 56 -c 3 -W 1 183.225.22.3 2025-08-11 15:54:05,802 - DEBUG - PING 183.225.22.3 (183.225.22.3): 56 data bytes --- 183.225.22.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 15:54:05,802 - WARNING - Ping to IP 183.225.22.3 from VM ctest-vn1-vm1-68451176 failed 2025-08-11 15:54:05,802 - INFO - Adding interface with subnet_id df410e3a-878c-4fcc-abd5-c2da42889699, port_id None to router 2037a5de-07b5-4872-a8ac-18d11c85ee2e 2025-08-11 15:54:06,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:54:06,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.225.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:54:06,011 - DEBUG - ping -s 56 -c 3 -W 1 183.225.22.3 2025-08-11 15:54:09,200 - DEBUG - PING 183.225.22.3 (183.225.22.3): 56 data bytes 64 bytes from 183.225.22.3: seq=1 ttl=63 time=1.295 ms 64 bytes from 183.225.22.3: seq=2 ttl=63 time=0.674 ms --- 183.225.22.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.674/0.984/1.295 ms 2025-08-11 15:54:09,200 - WARNING - Ping to IP 183.225.22.3 from VM ctest-vn1-vm1-68451176 failed 2025-08-11 15:54:10,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.225.22.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:54:10,202 - DEBUG - ping -s 56 -c 3 -W 1 183.225.22.3 2025-08-11 15:54:12,400 - DEBUG - PING 183.225.22.3 (183.225.22.3): 56 data bytes 64 bytes from 183.225.22.3: seq=0 ttl=63 time=1.258 ms 64 bytes from 183.225.22.3: seq=1 ttl=63 time=0.702 ms 64 bytes from 183.225.22.3: seq=2 ttl=63 time=0.742 ms --- 183.225.22.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.702/0.900/1.258 ms 2025-08-11 15:54:12,400 - INFO - Ping to IP 183.225.22.3 from VM ctest-vn1-vm1-68451176 passed 2025-08-11 15:54:12,400 - INFO - Deleting interface with subnet_id e36e268a-2102-4ce7-b216-bcb13661c85a, port_id None from router 2037a5de-07b5-4872-a8ac-18d11c85ee2e 2025-08-11 15:54:12,530 - INFO - Deleting interface with subnet_id df410e3a-878c-4fcc-abd5-c2da42889699, port_id None from router 2037a5de-07b5-4872-a8ac-18d11c85ee2e 2025-08-11 15:54:12,691 - INFO - Deleting VM ctest-vn2-vm1-29248508 2025-08-11 15:54:12,755 - INFO - Deleting VM ctest-vn1-vm1-68451176 2025-08-11 15:54:12,828 - INFO - Deleting VN ctest-vn2-49237918 2025-08-11 15:54:12,863 - DEBUG - VN 14a5d195-ce11-4121-ab56-60efcb7956f5 still in use: Unable to complete operation on network 14a5d195-ce11-4121-ab56-60efcb7956f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb099da2-9c4e-439d-8a1b-9bc43cf9f760'] 2025-08-11 15:54:12,863 - WARNING - Deleting VN ctest-vn2-49237918 failed..Will retry 2025-08-11 15:54:14,955 - DEBUG - Response for deleting network () 2025-08-11 15:54:14,955 - INFO - Deleting VN ctest-vn1-12753853 2025-08-11 15:54:15,045 - DEBUG - Response for deleting network () 2025-08-11 15:54:15,295 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 15:54:15,296 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-08-11 15:54:15,296 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:54:15,947 - INFO - Deleted project: ctest-TestRouters-01621388, ID : fa0951c9-a89a-4e7b-8fb8-f7b81ffc4452