2025-10-09 20:32:14,911 - INFO - Domain Default found not creating 2025-10-09 20:32:15,054 - INFO - Project ctest-TestRouters-92636112 not found, creating it 2025-10-09 20:32:15,489 - INFO - Created Project:ctest-TestRouters-92636112, ID : 08a597c5-15b7-419d-af84-1487471ea414 2025-10-09 20:32:16,920 - INFO - ================================================================================ 2025-10-09 20:32:16,920 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 20:32:16,920 - 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-09 20:32:17,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-09 20:32:17,173 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:32:17,174 - INFO - 2025-10-09 20:32:17,706 - DEBUG - Response for create_network : {'network': {'id': '02843681-2e0a-4831-8f39-982ccecb350b', 'name': 'ctest-vn1-56103099', 'tenant_id': '08a597c515b7419daf841487471ea414', 'project_id': '08a597c515b7419daf841487471ea414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92636112', 'ctest-vn1-56103099'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:32:17,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '919ccf69-74d8-46f2-8e4a-c383504c1aa7', 'name': '', 'tenant_id': '08a597c515b7419daf841487471ea414', 'network_id': '02843681-2e0a-4831-8f39-982ccecb350b', 'ip_version': 4, 'cidr': '221.120.71.128/26', 'allocation_pools': [{'start': '221.120.71.130', 'end': '221.120.71.190'}], 'gateway_ip': '221.120.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.120.71.130', 'tags': [], 'project_id': '08a597c515b7419daf841487471ea414'}} 2025-10-09 20:32:17,865 - INFO - Created VN ctest-vn1-56103099 2025-10-09 20:32:17,917 - DEBUG - VN ctest-vn1-56103099 UUID is 02843681-2e0a-4831-8f39-982ccecb350b 2025-10-09 20:32:18,246 - DEBUG - Response for create_network : {'network': {'id': 'a4c9a4a6-0e2e-4e1a-bb9f-38f01caad7dd', 'name': 'ctest-vn2-03367098', 'tenant_id': '08a597c515b7419daf841487471ea414', 'project_id': '08a597c515b7419daf841487471ea414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92636112', 'ctest-vn2-03367098'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:32:18,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f2f023c-3bc4-49a6-93eb-be63f2a00672', 'name': '', 'tenant_id': '08a597c515b7419daf841487471ea414', 'network_id': 'a4c9a4a6-0e2e-4e1a-bb9f-38f01caad7dd', 'ip_version': 4, 'cidr': '213.51.59.64/26', 'allocation_pools': [{'start': '213.51.59.66', 'end': '213.51.59.126'}], 'gateway_ip': '213.51.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.51.59.66', 'tags': [], 'project_id': '08a597c515b7419daf841487471ea414'}} 2025-10-09 20:32:18,511 - INFO - Created VN ctest-vn2-03367098 2025-10-09 20:32:18,561 - DEBUG - VN ctest-vn2-03367098 UUID is a4c9a4a6-0e2e-4e1a-bb9f-38f01caad7dd 2025-10-09 20:32:18,760 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:32:19,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1) 2025-10-09 20:32:21,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1) 2025-10-09 20:32:21,141 - INFO - Adding interface with subnet_id 919ccf69-74d8-46f2-8e4a-c383504c1aa7, port_id None to router 60f0c6e1-c2d3-4c07-b6f2-abcc4002b744 2025-10-09 20:32:21,413 - INFO - Waiting for VM ctest-vn1-vm1-98802717 to be up.. 2025-10-09 20:32:21,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:32:26,581 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:32:26,581 - INFO - VM name : ctest-vn1-vm1-98802717 2025-10-09 20:32:26,649 - DEBUG - VM ctest-vn1-vm1-98802717 ID is e3167c4a-9737-42af-817a-8d7146a6a6a9 2025-10-09 20:32:26,669 - DEBUG - VM ctest-vn1-vm1-98802717 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1 2025-10-09 20:32:26,755 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e3167c4a-9737-42af-817a-8d7146a6a6a9 2025-10-09 20:32:27,046 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e3167c4a-9737-42af-817a-8d7146a6a6a9 2025-10-09 20:32:27,072 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/94a92292-c99a-415e-b256-93c731283b7c 2025-10-09 20:32:30,314 - 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-09 20:32:30,314 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98802717 failed! 2025-10-09 20:32:30,371 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92636112:ctest-vn1-56103099 is 221.120.71.129 and allocation pool is NOT set 2025-10-09 20:32:32,431 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/1.793/3.182/1.389 ms') 2025-10-09 20:32:32,431 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98802717 passed 2025-10-09 20:32:32,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:32:32,577 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98802717, IP 221.120.71.131, Port 22 2025-10-09 20:32:32,754 - DEBUG - VM ctest-vn1-vm1-98802717 is ready for SSH connections 2025-10-09 20:32:32,755 - INFO - Waiting for VM ctest-vn2-vm1-41978794 to be up.. 2025-10-09 20:32:32,821 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:32:32,821 - INFO - VM name : ctest-vn2-vm1-41978794 2025-10-09 20:32:32,901 - DEBUG - VM ctest-vn2-vm1-41978794 ID is 6d0ad4dc-c68e-4ef3-a148-333b0181a273 2025-10-09 20:32:32,901 - DEBUG - VM ctest-vn2-vm1-41978794 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1 2025-10-09 20:32:32,968 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/6d0ad4dc-c68e-4ef3-a148-333b0181a273 2025-10-09 20:32:32,976 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/3c71096e-ea7e-419f-a93d-4483c24ac5fa 2025-10-09 20:32:34,206 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.729/3.111/1.381 ms') 2025-10-09 20:32:34,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-41978794 passed 2025-10-09 20:32:34,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:32:34,357 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-41978794, IP 213.51.59.67, Port 22 2025-10-09 20:32:34,512 - DEBUG - VM ctest-vn2-vm1-41978794 is ready for SSH connections 2025-10-09 20:32:34,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:32:34,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:32:34,512 - DEBUG - ping -s 56 -c 3 -W 1 213.51.59.67 2025-10-09 20:32:39,164 - DEBUG - PING 213.51.59.67 (213.51.59.67): 56 data bytes --- 213.51.59.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:32:39,165 - WARNING - Ping to IP 213.51.59.67 from VM ctest-vn1-vm1-98802717 failed 2025-10-09 20:32:39,165 - INFO - Adding interface with subnet_id 0f2f023c-3bc4-49a6-93eb-be63f2a00672, port_id None to router 60f0c6e1-c2d3-4c07-b6f2-abcc4002b744 2025-10-09 20:32:39,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:32:39,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:32:39,407 - DEBUG - ping -s 56 -c 3 -W 1 213.51.59.67 2025-10-09 20:32:42,610 - DEBUG - PING 213.51.59.67 (213.51.59.67): 56 data bytes 64 bytes from 213.51.59.67: seq=1 ttl=63 time=2.833 ms 64 bytes from 213.51.59.67: seq=2 ttl=63 time=0.828 ms --- 213.51.59.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.828/1.830/2.833 ms 2025-10-09 20:32:42,610 - WARNING - Ping to IP 213.51.59.67 from VM ctest-vn1-vm1-98802717 failed 2025-10-09 20:32:43,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:32:43,611 - DEBUG - ping -s 56 -c 3 -W 1 213.51.59.67 2025-10-09 20:32:45,814 - DEBUG - PING 213.51.59.67 (213.51.59.67): 56 data bytes 64 bytes from 213.51.59.67: seq=0 ttl=63 time=1.429 ms 64 bytes from 213.51.59.67: seq=1 ttl=63 time=0.996 ms 64 bytes from 213.51.59.67: seq=2 ttl=63 time=0.793 ms --- 213.51.59.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.072/1.429 ms 2025-10-09 20:32:45,814 - INFO - Ping to IP 213.51.59.67 from VM ctest-vn1-vm1-98802717 passed 2025-10-09 20:32:45,814 - INFO - Deleting interface with subnet_id 919ccf69-74d8-46f2-8e4a-c383504c1aa7, port_id None from router 60f0c6e1-c2d3-4c07-b6f2-abcc4002b744 2025-10-09 20:32:45,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:32:45,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:32:45,951 - DEBUG - ping -s 56 -c 3 -W 1 213.51.59.67 2025-10-09 20:32:49,157 - DEBUG - PING 213.51.59.67 (213.51.59.67): 56 data bytes --- 213.51.59.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:32:49,157 - WARNING - Ping to IP 213.51.59.67 from VM ctest-vn1-vm1-98802717 failed 2025-10-09 20:32:49,157 - INFO - Adding interface with subnet_id 919ccf69-74d8-46f2-8e4a-c383504c1aa7, port_id None to router 60f0c6e1-c2d3-4c07-b6f2-abcc4002b744 2025-10-09 20:32:49,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:32:49,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:32:49,350 - DEBUG - ping -s 56 -c 3 -W 1 213.51.59.67 2025-10-09 20:32:51,556 - DEBUG - PING 213.51.59.67 (213.51.59.67): 56 data bytes 64 bytes from 213.51.59.67: seq=0 ttl=63 time=1.337 ms 64 bytes from 213.51.59.67: seq=1 ttl=63 time=0.872 ms 64 bytes from 213.51.59.67: seq=2 ttl=63 time=0.787 ms --- 213.51.59.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/0.998/1.337 ms 2025-10-09 20:32:51,556 - INFO - Ping to IP 213.51.59.67 from VM ctest-vn1-vm1-98802717 passed 2025-10-09 20:32:51,556 - INFO - Deleting interface with subnet_id 0f2f023c-3bc4-49a6-93eb-be63f2a00672, port_id None from router 60f0c6e1-c2d3-4c07-b6f2-abcc4002b744 2025-10-09 20:32:51,666 - INFO - Deleting interface with subnet_id 919ccf69-74d8-46f2-8e4a-c383504c1aa7, port_id None from router 60f0c6e1-c2d3-4c07-b6f2-abcc4002b744 2025-10-09 20:32:51,832 - INFO - Deleting VM ctest-vn2-vm1-41978794 2025-10-09 20:32:51,902 - INFO - Deleting VM ctest-vn1-vm1-98802717 2025-10-09 20:32:51,970 - INFO - Deleting VN ctest-vn2-03367098 2025-10-09 20:32:52,005 - DEBUG - VN a4c9a4a6-0e2e-4e1a-bb9f-38f01caad7dd still in use: Unable to complete operation on network a4c9a4a6-0e2e-4e1a-bb9f-38f01caad7dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55b6b24c-b9b9-4512-a708-c0991ecc84b0'] 2025-10-09 20:32:52,005 - WARNING - Deleting VN ctest-vn2-03367098 failed..Will retry 2025-10-09 20:32:54,100 - DEBUG - Response for deleting network () 2025-10-09 20:32:54,100 - INFO - Deleting VN ctest-vn1-56103099 2025-10-09 20:32:54,205 - DEBUG - Response for deleting network () 2025-10-09 20:32:54,465 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:32:54,465 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-09 20:32:54,465 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:32:55,128 - INFO - Deleted project: ctest-TestRouters-92636112, ID : 08a597c5-15b7-419d-af84-1487471ea414