2025-10-02 10:35:10,759 - INFO - Domain Default found not creating 2025-10-02 10:35:10,958 - INFO - Project ctest-TestRouters-83407620 not found, creating it 2025-10-02 10:35:11,626 - INFO - Created Project:ctest-TestRouters-83407620, ID : 187e72b8-8674-42a9-9c8e-25ade0fab8f7 2025-10-02 10:35:13,160 - INFO - ================================================================================ 2025-10-02 10:35:13,160 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-02 10:35:13,160 - 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-02 10:35:13,425 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-02 10:35:13,425 - INFO - Initial checks done. Running the testcase now 2025-10-02 10:35:13,425 - INFO - 2025-10-02 10:35:14,062 - DEBUG - Response for create_network : {'network': {'id': 'e627ca5a-2576-4f0c-a3ae-5b3b422fb03d', 'name': 'ctest-vn1-82933872', 'tenant_id': '187e72b8867442a99c8e25ade0fab8f7', 'project_id': '187e72b8867442a99c8e25ade0fab8f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83407620', 'ctest-vn1-82933872'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:35:14,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '12c195f2-87de-44cd-8bd7-1974f3d95dcc', 'name': '', 'tenant_id': '187e72b8867442a99c8e25ade0fab8f7', 'network_id': 'e627ca5a-2576-4f0c-a3ae-5b3b422fb03d', 'ip_version': 4, 'cidr': '64.172.20.64/26', 'allocation_pools': [{'start': '64.172.20.66', 'end': '64.172.20.126'}], 'gateway_ip': '64.172.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.172.20.66', 'tags': [], 'project_id': '187e72b8867442a99c8e25ade0fab8f7'}} 2025-10-02 10:35:14,323 - INFO - Created VN ctest-vn1-82933872 2025-10-02 10:35:14,380 - DEBUG - VN ctest-vn1-82933872 UUID is e627ca5a-2576-4f0c-a3ae-5b3b422fb03d 2025-10-02 10:35:14,773 - DEBUG - Response for create_network : {'network': {'id': '4c04cc6e-e632-4371-bfdc-9786e977220d', 'name': 'ctest-vn2-18298292', 'tenant_id': '187e72b8867442a99c8e25ade0fab8f7', 'project_id': '187e72b8867442a99c8e25ade0fab8f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83407620', 'ctest-vn2-18298292'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:35:14,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '0625ab23-0ad1-4c93-b4a2-3d551df1655f', 'name': '', 'tenant_id': '187e72b8867442a99c8e25ade0fab8f7', 'network_id': '4c04cc6e-e632-4371-bfdc-9786e977220d', 'ip_version': 4, 'cidr': '42.226.19.192/26', 'allocation_pools': [{'start': '42.226.19.194', 'end': '42.226.19.254'}], 'gateway_ip': '42.226.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.226.19.194', 'tags': [], 'project_id': '187e72b8867442a99c8e25ade0fab8f7'}} 2025-10-02 10:35:14,992 - INFO - Created VN ctest-vn2-18298292 2025-10-02 10:35:15,044 - DEBUG - VN ctest-vn2-18298292 UUID is 4c04cc6e-e632-4371-bfdc-9786e977220d 2025-10-02 10:35:15,225 - DEBUG - Services list from nova: [, , ] 2025-10-02 10:35:16,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:35:17,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:35:17,719 - INFO - Adding interface with subnet_id 12c195f2-87de-44cd-8bd7-1974f3d95dcc, port_id None to router e1a5f0cb-a442-41d9-babf-2e57dba48a29 2025-10-02 10:35:18,057 - INFO - Waiting for VM ctest-vn1-vm1-99057372 to be up.. 2025-10-02 10:35:18,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 10:35:23,257 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:35:23,257 - INFO - VM name : ctest-vn1-vm1-99057372 2025-10-02 10:35:23,344 - DEBUG - VM ctest-vn1-vm1-99057372 ID is 490c6da2-bb23-4145-bce9-6205db5b601d 2025-10-02 10:35:23,367 - DEBUG - VM ctest-vn1-vm1-99057372 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:35:23,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/490c6da2-bb23-4145-bce9-6205db5b601d 2025-10-02 10:35:23,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/490c6da2-bb23-4145-bce9-6205db5b601d 2025-10-02 10:35:23,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dcf8ebc4-8d43-47c3-b904-b4c25a57f626 2025-10-02 10:35:27,079 - 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 1006ms') 2025-10-02 10:35:27,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99057372 failed! 2025-10-02 10:35:27,136 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-83407620:ctest-vn1-82933872 is 64.172.20.65 and allocation pool is NOT set 2025-10-02 10:35:29,196 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.839 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.839/2.481/4.124/1.642 ms') 2025-10-02 10:35:29,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99057372 passed 2025-10-02 10:35:29,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:29,344 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99057372, IP 64.172.20.67, Port 22 2025-10-02 10:35:29,503 - DEBUG - VM ctest-vn1-vm1-99057372 is ready for SSH connections 2025-10-02 10:35:29,504 - INFO - Waiting for VM ctest-vn2-vm1-92934715 to be up.. 2025-10-02 10:35:29,592 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:35:29,592 - INFO - VM name : ctest-vn2-vm1-92934715 2025-10-02 10:35:29,682 - DEBUG - VM ctest-vn2-vm1-92934715 ID is e32f68b3-3770-4686-b457-b6f728e6a7b1 2025-10-02 10:35:29,682 - DEBUG - VM ctest-vn2-vm1-92934715 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:35:29,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e32f68b3-3770-4686-b457-b6f728e6a7b1 2025-10-02 10:35:29,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f54bc839-20f4-4c14-879b-d0dc404cc0bf 2025-10-02 10:35:31,047 - 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=4.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.09 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.090/3.392/4.695/1.302 ms') 2025-10-02 10:35:31,047 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92934715 passed 2025-10-02 10:35:31,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:31,204 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92934715, IP 42.226.19.195, Port 22 2025-10-02 10:35:31,371 - DEBUG - VM ctest-vn2-vm1-92934715 is ready for SSH connections 2025-10-02 10:35:31,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:31,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.226.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:35:31,371 - DEBUG - ping -s 56 -c 3 -W 1 42.226.19.195 2025-10-02 10:35:36,442 - DEBUG - PING 42.226.19.195 (42.226.19.195): 56 data bytes --- 42.226.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-02 10:35:36,442 - WARNING - Ping to IP 42.226.19.195 from VM ctest-vn1-vm1-99057372 failed 2025-10-02 10:35:36,443 - INFO - Adding interface with subnet_id 0625ab23-0ad1-4c93-b4a2-3d551df1655f, port_id None to router e1a5f0cb-a442-41d9-babf-2e57dba48a29 2025-10-02 10:35:36,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:36,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.226.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:35:36,726 - DEBUG - ping -s 56 -c 3 -W 1 42.226.19.195 2025-10-02 10:35:39,951 - DEBUG - PING 42.226.19.195 (42.226.19.195): 56 data bytes 64 bytes from 42.226.19.195: seq=1 ttl=63 time=3.582 ms 64 bytes from 42.226.19.195: seq=2 ttl=63 time=1.196 ms --- 42.226.19.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.196/2.389/3.582 ms 2025-10-02 10:35:39,951 - WARNING - Ping to IP 42.226.19.195 from VM ctest-vn1-vm1-99057372 failed 2025-10-02 10:35:40,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.226.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:35:40,952 - DEBUG - ping -s 56 -c 3 -W 1 42.226.19.195 2025-10-02 10:35:43,184 - DEBUG - PING 42.226.19.195 (42.226.19.195): 56 data bytes 64 bytes from 42.226.19.195: seq=0 ttl=63 time=1.931 ms 64 bytes from 42.226.19.195: seq=1 ttl=63 time=1.338 ms 64 bytes from 42.226.19.195: seq=2 ttl=63 time=0.964 ms --- 42.226.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.411/1.931 ms 2025-10-02 10:35:43,185 - INFO - Ping to IP 42.226.19.195 from VM ctest-vn1-vm1-99057372 passed 2025-10-02 10:35:43,185 - INFO - Deleting interface with subnet_id 12c195f2-87de-44cd-8bd7-1974f3d95dcc, port_id None from router e1a5f0cb-a442-41d9-babf-2e57dba48a29 2025-10-02 10:35:43,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:43,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.226.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:35:43,351 - DEBUG - ping -s 56 -c 3 -W 1 42.226.19.195 2025-10-02 10:35:46,588 - DEBUG - PING 42.226.19.195 (42.226.19.195): 56 data bytes --- 42.226.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-02 10:35:46,588 - WARNING - Ping to IP 42.226.19.195 from VM ctest-vn1-vm1-99057372 failed 2025-10-02 10:35:46,588 - INFO - Adding interface with subnet_id 12c195f2-87de-44cd-8bd7-1974f3d95dcc, port_id None to router e1a5f0cb-a442-41d9-babf-2e57dba48a29 2025-10-02 10:35:46,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:46,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.226.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:35:46,836 - DEBUG - ping -s 56 -c 3 -W 1 42.226.19.195 2025-10-02 10:35:49,060 - DEBUG - PING 42.226.19.195 (42.226.19.195): 56 data bytes 64 bytes from 42.226.19.195: seq=0 ttl=63 time=1.975 ms 64 bytes from 42.226.19.195: seq=1 ttl=63 time=1.246 ms 64 bytes from 42.226.19.195: seq=2 ttl=63 time=1.094 ms --- 42.226.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/1.438/1.975 ms 2025-10-02 10:35:49,060 - INFO - Ping to IP 42.226.19.195 from VM ctest-vn1-vm1-99057372 passed 2025-10-02 10:35:49,060 - INFO - Deleting interface with subnet_id 0625ab23-0ad1-4c93-b4a2-3d551df1655f, port_id None from router e1a5f0cb-a442-41d9-babf-2e57dba48a29 2025-10-02 10:35:49,278 - INFO - Deleting interface with subnet_id 12c195f2-87de-44cd-8bd7-1974f3d95dcc, port_id None from router e1a5f0cb-a442-41d9-babf-2e57dba48a29 2025-10-02 10:35:49,507 - INFO - Deleting VM ctest-vn2-vm1-92934715 2025-10-02 10:35:49,587 - INFO - Deleting VM ctest-vn1-vm1-99057372 2025-10-02 10:35:49,672 - INFO - Deleting VN ctest-vn2-18298292 2025-10-02 10:35:49,728 - DEBUG - VN 4c04cc6e-e632-4371-bfdc-9786e977220d still in use: Unable to complete operation on network 4c04cc6e-e632-4371-bfdc-9786e977220d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82269d9f-d4d9-42b0-a64e-bf410d992e51'] 2025-10-02 10:35:49,728 - WARNING - Deleting VN ctest-vn2-18298292 failed..Will retry 2025-10-02 10:35:51,840 - DEBUG - Response for deleting network () 2025-10-02 10:35:51,840 - INFO - Deleting VN ctest-vn1-82933872 2025-10-02 10:35:51,940 - DEBUG - Response for deleting network () 2025-10-02 10:35:52,193 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 10:35:52,193 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-02 10:35:52,193 - INFO - -------------------------------------------------------------------------------- 2025-10-02 10:35:52,937 - INFO - Deleted project: ctest-TestRouters-83407620, ID : 187e72b8-8674-42a9-9c8e-25ade0fab8f7