2025-12-22 02:08:28,608 - INFO - Domain Default found not creating 2025-12-22 02:08:28,811 - INFO - Project ctest-TestRouters-41055606 not found, creating it 2025-12-22 02:08:29,327 - INFO - Created Project:ctest-TestRouters-41055606, ID : 1bb5c091-0a75-4588-8f0c-a7821143578b 2025-12-22 02:08:31,066 - INFO - ================================================================================ 2025-12-22 02:08:31,066 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-22 02:08:31,066 - 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-12-22 02:08:31,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.201': '0'}} with 2025-12-22 02:08:31,320 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:08:31,320 - INFO - 2025-12-22 02:08:31,934 - DEBUG - Response for create_network : {'network': {'id': '8772c4c0-f17b-41aa-8853-b4073ae2d610', 'name': 'ctest-vn1-89651029', 'tenant_id': '1bb5c0910a7545888f0ca7821143578b', 'project_id': '1bb5c0910a7545888f0ca7821143578b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41055606', 'ctest-vn1-89651029'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:08:32,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1060bda-7c99-412c-88ab-794943eebe64', 'name': '', 'tenant_id': '1bb5c0910a7545888f0ca7821143578b', 'network_id': '8772c4c0-f17b-41aa-8853-b4073ae2d610', 'ip_version': 4, 'cidr': '198.136.137.128/26', 'allocation_pools': [{'start': '198.136.137.130', 'end': '198.136.137.190'}], 'gateway_ip': '198.136.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.136.137.130', 'tags': [], 'project_id': '1bb5c0910a7545888f0ca7821143578b'}} 2025-12-22 02:08:32,133 - INFO - Created VN ctest-vn1-89651029 2025-12-22 02:08:32,185 - DEBUG - VN ctest-vn1-89651029 UUID is 8772c4c0-f17b-41aa-8853-b4073ae2d610 2025-12-22 02:08:32,518 - DEBUG - Response for create_network : {'network': {'id': '13f0a70c-129e-4762-99ca-43b1d2fe05fc', 'name': 'ctest-vn2-89836577', 'tenant_id': '1bb5c0910a7545888f0ca7821143578b', 'project_id': '1bb5c0910a7545888f0ca7821143578b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41055606', 'ctest-vn2-89836577'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:08:32,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e426467-3108-4f45-892d-bd7579338b8a', 'name': '', 'tenant_id': '1bb5c0910a7545888f0ca7821143578b', 'network_id': '13f0a70c-129e-4762-99ca-43b1d2fe05fc', 'ip_version': 4, 'cidr': '58.129.106.128/26', 'allocation_pools': [{'start': '58.129.106.130', 'end': '58.129.106.190'}], 'gateway_ip': '58.129.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.129.106.130', 'tags': [], 'project_id': '1bb5c0910a7545888f0ca7821143578b'}} 2025-12-22 02:08:32,781 - INFO - Created VN ctest-vn2-89836577 2025-12-22 02:08:32,837 - DEBUG - VN ctest-vn2-89836577 UUID is 13f0a70c-129e-4762-99ca-43b1d2fe05fc 2025-12-22 02:08:33,017 - DEBUG - Services list from nova: [, , ] 2025-12-22 02:08:34,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1) 2025-12-22 02:08:35,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4914-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4914-1) 2025-12-22 02:08:35,649 - INFO - Adding interface with subnet_id c1060bda-7c99-412c-88ab-794943eebe64, port_id None to router b848a78e-a82e-4eef-a701-ead9b110ef5a 2025-12-22 02:08:36,007 - INFO - Waiting for VM ctest-vn1-vm1-49463590 to be up.. 2025-12-22 02:08:36,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:08:41,222 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:08:41,222 - INFO - VM name : ctest-vn1-vm1-49463590 2025-12-22 02:08:41,302 - DEBUG - VM ctest-vn1-vm1-49463590 ID is 5b721c0f-cfdf-4649-9268-926515276290 2025-12-22 02:08:41,324 - DEBUG - VM ctest-vn1-vm1-49463590 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1 2025-12-22 02:08:41,408 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5b721c0f-cfdf-4649-9268-926515276290 2025-12-22 02:08:41,756 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5b721c0f-cfdf-4649-9268-926515276290 2025-12-22 02:08:41,794 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/26669f68-3706-4784-a2b9-0e2349e35d53 2025-12-22 02:08:45,054 - 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 1012ms') 2025-12-22 02:08:45,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49463590 failed! 2025-12-22 02:08:45,109 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41055606:ctest-vn1-89651029 is 198.136.137.129 and allocation pool is NOT set 2025-12-22 02:08:47,179 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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 = 0.453/2.209/3.966/1.756 ms') 2025-12-22 02:08:47,179 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49463590 passed 2025-12-22 02:08:47,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:08:47,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49463590, IP 198.136.137.131, Port 22 2025-12-22 02:08:47,396 - 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-12-22 02:08:47,492 - DEBUG - VM ctest-vn1-vm1-49463590 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 02:08:52,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:08:52,493 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49463590, IP 198.136.137.131, Port 22 2025-12-22 02:08:52,660 - DEBUG - VM ctest-vn1-vm1-49463590 is ready for SSH connections 2025-12-22 02:08:52,660 - INFO - Waiting for VM ctest-vn2-vm1-49421012 to be up.. 2025-12-22 02:08:52,756 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:08:52,756 - INFO - VM name : ctest-vn2-vm1-49421012 2025-12-22 02:08:52,847 - DEBUG - VM ctest-vn2-vm1-49421012 ID is 27e17581-a845-423c-a4c2-6f6dbeccc091 2025-12-22 02:08:52,847 - DEBUG - VM ctest-vn2-vm1-49421012 launched on Node cn-jenkins-deploy-platform-ansible-os-4914-1 2025-12-22 02:08:52,929 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/27e17581-a845-423c-a4c2-6f6dbeccc091 2025-12-22 02:08:52,940 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a2c89a6b-914a-4cbf-8639-9f957d7d94fe 2025-12-22 02:08:54,176 - 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=0.500 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.500/1.948/3.396/1.448 ms') 2025-12-22 02:08:54,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-49421012 passed 2025-12-22 02:08:54,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:08:54,329 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-49421012, IP 58.129.106.131, Port 22 2025-12-22 02:08:54,507 - DEBUG - VM ctest-vn2-vm1-49421012 is ready for SSH connections 2025-12-22 02:08:54,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:08:54,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.129.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:08:54,507 - DEBUG - ping -s 56 -c 3 -W 1 58.129.106.131 2025-12-22 02:08:59,661 - DEBUG - PING 58.129.106.131 (58.129.106.131): 56 data bytes --- 58.129.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:08:59,661 - WARNING - Ping to IP 58.129.106.131 from VM ctest-vn1-vm1-49463590 failed 2025-12-22 02:08:59,661 - INFO - Adding interface with subnet_id 1e426467-3108-4f45-892d-bd7579338b8a, port_id None to router b848a78e-a82e-4eef-a701-ead9b110ef5a 2025-12-22 02:08:59,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:08:59,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.129.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:08:59,933 - DEBUG - ping -s 56 -c 3 -W 1 58.129.106.131 2025-12-22 02:09:03,184 - DEBUG - PING 58.129.106.131 (58.129.106.131): 56 data bytes 64 bytes from 58.129.106.131: seq=1 ttl=63 time=3.293 ms 64 bytes from 58.129.106.131: seq=2 ttl=63 time=1.004 ms --- 58.129.106.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.004/2.148/3.293 ms 2025-12-22 02:09:03,184 - WARNING - Ping to IP 58.129.106.131 from VM ctest-vn1-vm1-49463590 failed 2025-12-22 02:09:04,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.129.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:09:04,185 - DEBUG - ping -s 56 -c 3 -W 1 58.129.106.131 2025-12-22 02:09:06,415 - DEBUG - PING 58.129.106.131 (58.129.106.131): 56 data bytes 64 bytes from 58.129.106.131: seq=0 ttl=63 time=1.552 ms 64 bytes from 58.129.106.131: seq=1 ttl=63 time=1.208 ms 64 bytes from 58.129.106.131: seq=2 ttl=63 time=1.104 ms --- 58.129.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/1.288/1.552 ms 2025-12-22 02:09:06,415 - INFO - Ping to IP 58.129.106.131 from VM ctest-vn1-vm1-49463590 passed 2025-12-22 02:09:06,415 - INFO - Deleting interface with subnet_id c1060bda-7c99-412c-88ab-794943eebe64, port_id None from router b848a78e-a82e-4eef-a701-ead9b110ef5a 2025-12-22 02:09:06,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:09:06,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.129.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:09:06,563 - DEBUG - ping -s 56 -c 3 -W 1 58.129.106.131 2025-12-22 02:09:09,794 - DEBUG - PING 58.129.106.131 (58.129.106.131): 56 data bytes --- 58.129.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:09:09,794 - WARNING - Ping to IP 58.129.106.131 from VM ctest-vn1-vm1-49463590 failed 2025-12-22 02:09:09,794 - INFO - Adding interface with subnet_id c1060bda-7c99-412c-88ab-794943eebe64, port_id None to router b848a78e-a82e-4eef-a701-ead9b110ef5a 2025-12-22 02:09:10,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:09:10,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.129.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-12-22 02:09:10,025 - DEBUG - ping -s 56 -c 3 -W 1 58.129.106.131 2025-12-22 02:09:12,281 - DEBUG - PING 58.129.106.131 (58.129.106.131): 56 data bytes 64 bytes from 58.129.106.131: seq=0 ttl=63 time=1.960 ms 64 bytes from 58.129.106.131: seq=1 ttl=63 time=1.088 ms 64 bytes from 58.129.106.131: seq=2 ttl=63 time=1.112 ms --- 58.129.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.088/1.386/1.960 ms 2025-12-22 02:09:12,281 - INFO - Ping to IP 58.129.106.131 from VM ctest-vn1-vm1-49463590 passed 2025-12-22 02:09:12,281 - INFO - Deleting interface with subnet_id 1e426467-3108-4f45-892d-bd7579338b8a, port_id None from router b848a78e-a82e-4eef-a701-ead9b110ef5a 2025-12-22 02:09:12,415 - INFO - Deleting interface with subnet_id c1060bda-7c99-412c-88ab-794943eebe64, port_id None from router b848a78e-a82e-4eef-a701-ead9b110ef5a 2025-12-22 02:09:12,597 - INFO - Deleting VM ctest-vn2-vm1-49421012 2025-12-22 02:09:12,673 - INFO - Deleting VM ctest-vn1-vm1-49463590 2025-12-22 02:09:12,756 - INFO - Deleting VN ctest-vn2-89836577 2025-12-22 02:09:12,796 - DEBUG - VN 13f0a70c-129e-4762-99ca-43b1d2fe05fc still in use: Unable to complete operation on network 13f0a70c-129e-4762-99ca-43b1d2fe05fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2196c89-cffd-4500-85df-ab8e841caa02'] 2025-12-22 02:09:12,796 - WARNING - Deleting VN ctest-vn2-89836577 failed..Will retry 2025-12-22 02:09:14,914 - DEBUG - Response for deleting network () 2025-12-22 02:09:14,914 - INFO - Deleting VN ctest-vn1-89651029 2025-12-22 02:09:15,026 - DEBUG - Response for deleting network () 2025-12-22 02:09:15,297 - DEBUG - No XMPP flaps were noticed during the test 2025-12-22 02:09:15,297 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-12-22 02:09:15,297 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:09:16,080 - INFO - Deleted project: ctest-TestRouters-41055606, ID : 1bb5c091-0a75-4588-8f0c-a7821143578b