2025-09-04 22:43:19,512 - INFO - Domain Default found not creating 2025-09-04 22:43:19,665 - INFO - Project ctest-TestRouters-27066370 not found, creating it 2025-09-04 22:43:20,127 - INFO - Created Project:ctest-TestRouters-27066370, ID : cca9ed46-c1a1-44f0-a5bd-09f3e69720dc 2025-09-04 22:43:21,661 - INFO - ================================================================================ 2025-09-04 22:43:21,661 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 22:43:21,661 - 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-09-04 22:43:21,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 22:43:21,925 - INFO - Initial checks done. Running the testcase now 2025-09-04 22:43:21,925 - INFO - 2025-09-04 22:43:22,509 - DEBUG - Response for create_network : {'network': {'id': 'e84e52d4-ffcf-43e0-9d10-8931a57822aa', 'name': 'ctest-vn1-49749210', 'tenant_id': 'cca9ed46c1a144f0a5bd09f3e69720dc', 'project_id': 'cca9ed46c1a144f0a5bd09f3e69720dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27066370', 'ctest-vn1-49749210'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 22:43:22,732 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c352b354-fd12-4c2a-910a-d9e697c4931c', 'name': '', 'tenant_id': 'cca9ed46c1a144f0a5bd09f3e69720dc', 'network_id': 'e84e52d4-ffcf-43e0-9d10-8931a57822aa', 'ip_version': 4, 'cidr': '186.170.46.192/26', 'allocation_pools': [{'start': '186.170.46.194', 'end': '186.170.46.254'}], 'gateway_ip': '186.170.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.170.46.194', 'tags': [], 'project_id': 'cca9ed46c1a144f0a5bd09f3e69720dc'}} 2025-09-04 22:43:22,749 - INFO - Created VN ctest-vn1-49749210 2025-09-04 22:43:22,799 - DEBUG - VN ctest-vn1-49749210 UUID is e84e52d4-ffcf-43e0-9d10-8931a57822aa 2025-09-04 22:43:23,154 - DEBUG - Response for create_network : {'network': {'id': '31980de9-8ad9-4f93-8bd6-af4eb94b03c1', 'name': 'ctest-vn2-79965304', 'tenant_id': 'cca9ed46c1a144f0a5bd09f3e69720dc', 'project_id': 'cca9ed46c1a144f0a5bd09f3e69720dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27066370', 'ctest-vn2-79965304'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 22:43:23,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c358dec-16d7-4f75-b1d3-85e042ddef85', 'name': '', 'tenant_id': 'cca9ed46c1a144f0a5bd09f3e69720dc', 'network_id': '31980de9-8ad9-4f93-8bd6-af4eb94b03c1', 'ip_version': 4, 'cidr': '195.90.2.0/26', 'allocation_pools': [{'start': '195.90.2.2', 'end': '195.90.2.62'}], 'gateway_ip': '195.90.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.90.2.2', 'tags': [], 'project_id': 'cca9ed46c1a144f0a5bd09f3e69720dc'}} 2025-09-04 22:43:23,397 - INFO - Created VN ctest-vn2-79965304 2025-09-04 22:43:23,447 - DEBUG - VN ctest-vn2-79965304 UUID is 31980de9-8ad9-4f93-8bd6-af4eb94b03c1 2025-09-04 22:43:23,652 - DEBUG - Services list from nova: [, , ] 2025-09-04 22:43:24,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4021-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4021-1) 2025-09-04 22:43:25,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4021-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4021-1) 2025-09-04 22:43:26,000 - INFO - Adding interface with subnet_id c352b354-fd12-4c2a-910a-d9e697c4931c, port_id None to router 64d24dc6-c355-44c8-be3f-e89d208d29c4 2025-09-04 22:43:26,269 - INFO - Waiting for VM ctest-vn1-vm1-19037121 to be up.. 2025-09-04 22:43:26,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 22:43:31,455 - DEBUG - VM is in ACTIVE state now 2025-09-04 22:43:31,455 - INFO - VM name : ctest-vn1-vm1-19037121 2025-09-04 22:43:31,529 - DEBUG - VM ctest-vn1-vm1-19037121 ID is 98cf4377-7c9d-4bd6-83db-4f396f04908d 2025-09-04 22:43:31,546 - DEBUG - VM ctest-vn1-vm1-19037121 launched on Node cn-jenkins-deploy-platform-ansible-os-4021-1 2025-09-04 22:43:31,615 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/98cf4377-7c9d-4bd6-83db-4f396f04908d 2025-09-04 22:43:31,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/98cf4377-7c9d-4bd6-83db-4f396f04908d 2025-09-04 22:43:31,941 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2dcbc871-d60e-4779-bce5-e2f538976b1b 2025-09-04 22:43:35,200 - 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 1027ms') 2025-09-04 22:43:35,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19037121 failed! 2025-09-04 22:43:35,251 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27066370:ctest-vn1-49749210 is 186.170.46.193 and allocation pool is NOT set 2025-09-04 22:43:37,308 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.732 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.732/2.057/3.382/1.325 ms') 2025-09-04 22:43:37,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19037121 passed 2025-09-04 22:43:37,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:37,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19037121, IP 186.170.46.195, Port 22 2025-09-04 22:43:37,618 - DEBUG - VM ctest-vn1-vm1-19037121 is ready for SSH connections 2025-09-04 22:43:37,618 - INFO - Waiting for VM ctest-vn2-vm1-22136225 to be up.. 2025-09-04 22:43:37,691 - DEBUG - VM is in ACTIVE state now 2025-09-04 22:43:37,692 - INFO - VM name : ctest-vn2-vm1-22136225 2025-09-04 22:43:37,763 - DEBUG - VM ctest-vn2-vm1-22136225 ID is ac84859f-8b32-46ba-9297-456ec324d23f 2025-09-04 22:43:37,763 - DEBUG - VM ctest-vn2-vm1-22136225 launched on Node cn-jenkins-deploy-platform-ansible-os-4021-1 2025-09-04 22:43:37,833 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ac84859f-8b32-46ba-9297-456ec324d23f 2025-09-04 22:43:37,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/19697327-df3a-42d5-8bf5-568ad7efc71c 2025-09-04 22:43:39,079 - 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.420 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.420/1.693/2.967/1.273 ms') 2025-09-04 22:43:39,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-22136225 passed 2025-09-04 22:43:39,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:39,227 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-22136225, IP 195.90.2.3, Port 22 2025-09-04 22:43:39,383 - DEBUG - VM ctest-vn2-vm1-22136225 is ready for SSH connections 2025-09-04 22:43:39,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:39,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.90.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:43:39,383 - DEBUG - ping -s 56 -c 3 -W 1 195.90.2.3 2025-09-04 22:43:44,398 - DEBUG - PING 195.90.2.3 (195.90.2.3): 56 data bytes --- 195.90.2.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 22:43:44,399 - WARNING - Ping to IP 195.90.2.3 from VM ctest-vn1-vm1-19037121 failed 2025-09-04 22:43:44,399 - INFO - Adding interface with subnet_id 6c358dec-16d7-4f75-b1d3-85e042ddef85, port_id None to router 64d24dc6-c355-44c8-be3f-e89d208d29c4 2025-09-04 22:43:44,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:44,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.90.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:43:44,609 - DEBUG - ping -s 56 -c 3 -W 1 195.90.2.3 2025-09-04 22:43:47,819 - DEBUG - PING 195.90.2.3 (195.90.2.3): 56 data bytes 64 bytes from 195.90.2.3: seq=1 ttl=63 time=2.889 ms 64 bytes from 195.90.2.3: seq=2 ttl=63 time=1.082 ms --- 195.90.2.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.082/1.985/2.889 ms 2025-09-04 22:43:47,819 - WARNING - Ping to IP 195.90.2.3 from VM ctest-vn1-vm1-19037121 failed 2025-09-04 22:43:48,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.90.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:43:48,820 - DEBUG - ping -s 56 -c 3 -W 1 195.90.2.3 2025-09-04 22:43:51,023 - DEBUG - PING 195.90.2.3 (195.90.2.3): 56 data bytes 64 bytes from 195.90.2.3: seq=0 ttl=63 time=1.790 ms 64 bytes from 195.90.2.3: seq=1 ttl=63 time=0.847 ms 64 bytes from 195.90.2.3: seq=2 ttl=63 time=1.055 ms --- 195.90.2.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/1.230/1.790 ms 2025-09-04 22:43:51,024 - INFO - Ping to IP 195.90.2.3 from VM ctest-vn1-vm1-19037121 passed 2025-09-04 22:43:51,024 - INFO - Deleting interface with subnet_id c352b354-fd12-4c2a-910a-d9e697c4931c, port_id None from router 64d24dc6-c355-44c8-be3f-e89d208d29c4 2025-09-04 22:43:51,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:51,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.90.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:43:51,148 - DEBUG - ping -s 56 -c 3 -W 1 195.90.2.3 2025-09-04 22:43:54,344 - DEBUG - PING 195.90.2.3 (195.90.2.3): 56 data bytes --- 195.90.2.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 22:43:54,344 - WARNING - Ping to IP 195.90.2.3 from VM ctest-vn1-vm1-19037121 failed 2025-09-04 22:43:54,344 - INFO - Adding interface with subnet_id c352b354-fd12-4c2a-910a-d9e697c4931c, port_id None to router 64d24dc6-c355-44c8-be3f-e89d208d29c4 2025-09-04 22:43:54,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:54,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.90.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:43:54,542 - DEBUG - ping -s 56 -c 3 -W 1 195.90.2.3 2025-09-04 22:43:56,745 - DEBUG - PING 195.90.2.3 (195.90.2.3): 56 data bytes 64 bytes from 195.90.2.3: seq=0 ttl=63 time=1.389 ms 64 bytes from 195.90.2.3: seq=1 ttl=63 time=0.858 ms 64 bytes from 195.90.2.3: seq=2 ttl=63 time=0.806 ms --- 195.90.2.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.017/1.389 ms 2025-09-04 22:43:56,746 - INFO - Ping to IP 195.90.2.3 from VM ctest-vn1-vm1-19037121 passed 2025-09-04 22:43:56,746 - INFO - Deleting interface with subnet_id 6c358dec-16d7-4f75-b1d3-85e042ddef85, port_id None from router 64d24dc6-c355-44c8-be3f-e89d208d29c4 2025-09-04 22:43:56,865 - INFO - Deleting interface with subnet_id c352b354-fd12-4c2a-910a-d9e697c4931c, port_id None from router 64d24dc6-c355-44c8-be3f-e89d208d29c4 2025-09-04 22:43:57,038 - INFO - Deleting VM ctest-vn2-vm1-22136225 2025-09-04 22:43:57,114 - INFO - Deleting VM ctest-vn1-vm1-19037121 2025-09-04 22:43:57,203 - INFO - Deleting VN ctest-vn2-79965304 2025-09-04 22:43:57,236 - DEBUG - VN 31980de9-8ad9-4f93-8bd6-af4eb94b03c1 still in use: Unable to complete operation on network 31980de9-8ad9-4f93-8bd6-af4eb94b03c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25d0267f-02b6-49c8-aa15-56f7661986c3'] 2025-09-04 22:43:57,236 - WARNING - Deleting VN ctest-vn2-79965304 failed..Will retry 2025-09-04 22:43:59,340 - DEBUG - Response for deleting network () 2025-09-04 22:43:59,340 - INFO - Deleting VN ctest-vn1-49749210 2025-09-04 22:43:59,453 - DEBUG - Response for deleting network () 2025-09-04 22:43:59,710 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 22:43:59,710 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-04 22:43:59,710 - INFO - -------------------------------------------------------------------------------- 2025-09-04 22:44:00,403 - INFO - Deleted project: ctest-TestRouters-27066370, ID : cca9ed46-c1a1-44f0-a5bd-09f3e69720dc