2025-10-30 18:29:24,572 - INFO - Domain Default found not creating 2025-10-30 18:29:24,864 - INFO - Project ctest-TestRouters-27194603 not found, creating it 2025-10-30 18:29:25,446 - INFO - Created Project:ctest-TestRouters-27194603, ID : 4227bf8b-51ee-451b-9c3e-5b7bdc092506 2025-10-30 18:29:27,195 - INFO - ================================================================================ 2025-10-30 18:29:27,195 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 18:29:27,195 - 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-30 18:29:27,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 18:29:27,478 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:29:27,479 - INFO - 2025-10-30 18:29:28,223 - DEBUG - Response for create_network : {'network': {'id': 'd257f344-aee5-4f1c-897f-574e6987e05c', 'name': 'ctest-vn1-15039316', 'tenant_id': '4227bf8b51ee451b9c3e5b7bdc092506', 'project_id': '4227bf8b51ee451b9c3e5b7bdc092506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27194603', 'ctest-vn1-15039316'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:29:28,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dfd0263-7bfa-479a-a8c8-b9fc4f3458dd', 'name': '', 'tenant_id': '4227bf8b51ee451b9c3e5b7bdc092506', 'network_id': 'd257f344-aee5-4f1c-897f-574e6987e05c', 'ip_version': 4, 'cidr': '54.108.41.64/26', 'allocation_pools': [{'start': '54.108.41.66', 'end': '54.108.41.126'}], 'gateway_ip': '54.108.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.108.41.66', 'tags': [], 'project_id': '4227bf8b51ee451b9c3e5b7bdc092506'}} 2025-10-30 18:29:28,438 - INFO - Created VN ctest-vn1-15039316 2025-10-30 18:29:28,493 - DEBUG - VN ctest-vn1-15039316 UUID is d257f344-aee5-4f1c-897f-574e6987e05c 2025-10-30 18:29:28,877 - DEBUG - Response for create_network : {'network': {'id': 'f403acc8-1b46-40d3-b413-63df30d4641c', 'name': 'ctest-vn2-30367442', 'tenant_id': '4227bf8b51ee451b9c3e5b7bdc092506', 'project_id': '4227bf8b51ee451b9c3e5b7bdc092506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27194603', 'ctest-vn2-30367442'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:29:29,104 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc7b71b7-f0c9-42dc-8990-7351dfac4cda', 'name': '', 'tenant_id': '4227bf8b51ee451b9c3e5b7bdc092506', 'network_id': 'f403acc8-1b46-40d3-b413-63df30d4641c', 'ip_version': 4, 'cidr': '133.230.142.128/26', 'allocation_pools': [{'start': '133.230.142.130', 'end': '133.230.142.190'}], 'gateway_ip': '133.230.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.230.142.130', 'tags': [], 'project_id': '4227bf8b51ee451b9c3e5b7bdc092506'}} 2025-10-30 18:29:29,121 - INFO - Created VN ctest-vn2-30367442 2025-10-30 18:29:29,173 - DEBUG - VN ctest-vn2-30367442 UUID is f403acc8-1b46-40d3-b413-63df30d4641c 2025-10-30 18:29:29,460 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:29:30,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4551-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4551-1) 2025-10-30 18:29:32,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4551-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4551-1) 2025-10-30 18:29:32,358 - INFO - Adding interface with subnet_id 7dfd0263-7bfa-479a-a8c8-b9fc4f3458dd, port_id None to router d97b94dc-73f5-4f05-bb74-4194a4d3328c 2025-10-30 18:29:32,641 - INFO - Waiting for VM ctest-vn1-vm1-83596787 to be up.. 2025-10-30 18:29:32,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:29:37,896 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:29:37,896 - INFO - VM name : ctest-vn1-vm1-83596787 2025-10-30 18:29:38,011 - DEBUG - VM ctest-vn1-vm1-83596787 ID is 7b34843b-cbd1-4d7c-831b-3f740513f1ee 2025-10-30 18:29:38,035 - DEBUG - VM ctest-vn1-vm1-83596787 launched on Node cn-jenkins-deploy-platform-ansible-os-4551-1 2025-10-30 18:29:38,130 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7b34843b-cbd1-4d7c-831b-3f740513f1ee 2025-10-30 18:29:38,426 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7b34843b-cbd1-4d7c-831b-3f740513f1ee 2025-10-30 18:29:38,477 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b1691726-3a60-472d-bb4e-4da5e25e077a 2025-10-30 18:29:41,751 - 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 1009ms') 2025-10-30 18:29:41,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83596787 failed! 2025-10-30 18:29:41,817 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27194603:ctest-vn1-15039316 is 54.108.41.65 and allocation pool is NOT set 2025-10-30 18:29:43,882 - 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=8.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.509 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.509/4.606/8.703/4.097 ms') 2025-10-30 18:29:43,883 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83596787 passed 2025-10-30 18:29:44,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:44,037 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83596787, IP 54.108.41.67, Port 22 2025-10-30 18:29:44,215 - DEBUG - VM ctest-vn1-vm1-83596787 is ready for SSH connections 2025-10-30 18:29:44,215 - INFO - Waiting for VM ctest-vn2-vm1-42857925 to be up.. 2025-10-30 18:29:44,306 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:29:44,306 - INFO - VM name : ctest-vn2-vm1-42857925 2025-10-30 18:29:44,404 - DEBUG - VM ctest-vn2-vm1-42857925 ID is e9528339-a58c-47a4-9136-6d6c33b6e2d5 2025-10-30 18:29:44,404 - DEBUG - VM ctest-vn2-vm1-42857925 launched on Node cn-jenkins-deploy-platform-ansible-os-4551-1 2025-10-30 18:29:44,485 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e9528339-a58c-47a4-9136-6d6c33b6e2d5 2025-10-30 18:29:44,494 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/04a2da6e-2436-4dd7-8ece-585f5710ae0e 2025-10-30 18:29:45,751 - 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=5.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.42 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.424/3.225/5.026/1.801 ms') 2025-10-30 18:29:45,752 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42857925 passed 2025-10-30 18:29:45,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:45,901 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42857925, IP 133.230.142.131, Port 22 2025-10-30 18:29:45,983 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 18:29:46,102 - DEBUG - VM ctest-vn2-vm1-42857925 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 18:29:51,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:51,103 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42857925, IP 133.230.142.131, Port 22 2025-10-30 18:29:51,293 - DEBUG - VM ctest-vn2-vm1-42857925 is ready for SSH connections 2025-10-30 18:29:51,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:51,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.230.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:29:51,293 - DEBUG - ping -s 56 -c 3 -W 1 133.230.142.131 2025-10-30 18:29:56,621 - DEBUG - PING 133.230.142.131 (133.230.142.131): 56 data bytes --- 133.230.142.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 18:29:56,621 - WARNING - Ping to IP 133.230.142.131 from VM ctest-vn1-vm1-83596787 failed 2025-10-30 18:29:56,621 - INFO - Adding interface with subnet_id dc7b71b7-f0c9-42dc-8990-7351dfac4cda, port_id None to router d97b94dc-73f5-4f05-bb74-4194a4d3328c 2025-10-30 18:29:57,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:57,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.230.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:29:57,016 - DEBUG - ping -s 56 -c 3 -W 1 133.230.142.131 2025-10-30 18:29:59,347 - DEBUG - PING 133.230.142.131 (133.230.142.131): 56 data bytes 64 bytes from 133.230.142.131: seq=0 ttl=63 time=4.916 ms 64 bytes from 133.230.142.131: seq=1 ttl=63 time=1.275 ms 64 bytes from 133.230.142.131: seq=2 ttl=63 time=2.065 ms --- 133.230.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.275/2.752/4.916 ms 2025-10-30 18:29:59,347 - INFO - Ping to IP 133.230.142.131 from VM ctest-vn1-vm1-83596787 passed 2025-10-30 18:29:59,348 - INFO - Deleting interface with subnet_id 7dfd0263-7bfa-479a-a8c8-b9fc4f3458dd, port_id None from router d97b94dc-73f5-4f05-bb74-4194a4d3328c 2025-10-30 18:29:59,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:59,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.230.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:29:59,524 - DEBUG - ping -s 56 -c 3 -W 1 133.230.142.131 2025-10-30 18:30:02,788 - DEBUG - PING 133.230.142.131 (133.230.142.131): 56 data bytes --- 133.230.142.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 18:30:02,789 - WARNING - Ping to IP 133.230.142.131 from VM ctest-vn1-vm1-83596787 failed 2025-10-30 18:30:02,789 - INFO - Adding interface with subnet_id 7dfd0263-7bfa-479a-a8c8-b9fc4f3458dd, port_id None to router d97b94dc-73f5-4f05-bb74-4194a4d3328c 2025-10-30 18:30:03,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:30:03,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.230.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:30:03,065 - DEBUG - ping -s 56 -c 3 -W 1 133.230.142.131 2025-10-30 18:30:05,306 - DEBUG - PING 133.230.142.131 (133.230.142.131): 56 data bytes 64 bytes from 133.230.142.131: seq=0 ttl=63 time=1.442 ms 64 bytes from 133.230.142.131: seq=1 ttl=63 time=1.775 ms 64 bytes from 133.230.142.131: seq=2 ttl=63 time=1.943 ms --- 133.230.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.442/1.720/1.943 ms 2025-10-30 18:30:05,306 - INFO - Ping to IP 133.230.142.131 from VM ctest-vn1-vm1-83596787 passed 2025-10-30 18:30:05,306 - INFO - Deleting interface with subnet_id dc7b71b7-f0c9-42dc-8990-7351dfac4cda, port_id None from router d97b94dc-73f5-4f05-bb74-4194a4d3328c 2025-10-30 18:30:05,490 - INFO - Deleting interface with subnet_id 7dfd0263-7bfa-479a-a8c8-b9fc4f3458dd, port_id None from router d97b94dc-73f5-4f05-bb74-4194a4d3328c 2025-10-30 18:30:05,682 - INFO - Deleting VM ctest-vn2-vm1-42857925 2025-10-30 18:30:05,756 - INFO - Deleting VM ctest-vn1-vm1-83596787 2025-10-30 18:30:05,838 - INFO - Deleting VN ctest-vn2-30367442 2025-10-30 18:30:05,896 - DEBUG - VN f403acc8-1b46-40d3-b413-63df30d4641c still in use: Unable to complete operation on network f403acc8-1b46-40d3-b413-63df30d4641c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4f426a6-9faa-4dbd-87f8-91f2fdd5458d'] 2025-10-30 18:30:05,896 - WARNING - Deleting VN ctest-vn2-30367442 failed..Will retry 2025-10-30 18:30:08,078 - DEBUG - Response for deleting network () 2025-10-30 18:30:08,078 - INFO - Deleting VN ctest-vn1-15039316 2025-10-30 18:30:08,190 - DEBUG - Response for deleting network () 2025-10-30 18:30:08,501 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 18:30:08,501 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-10-30 18:30:08,501 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:30:09,375 - INFO - Deleted project: ctest-TestRouters-27194603, ID : 4227bf8b-51ee-451b-9c3e-5b7bdc092506