2025-09-04 15:18:29,120 - INFO - Domain Default found not creating 2025-09-04 15:18:29,311 - INFO - Project ctest-TestRouters-32068619 not found, creating it 2025-09-04 15:18:29,821 - INFO - Created Project:ctest-TestRouters-32068619, ID : 2f87f3bf-3ac7-47a1-a8a6-26683d3e29b3 2025-09-04 15:18:31,899 - INFO - ================================================================================ 2025-09-04 15:18:31,899 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 15:18:31,900 - 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 15:18:32,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 15:18:32,170 - INFO - Initial checks done. Running the testcase now 2025-09-04 15:18:32,171 - INFO - 2025-09-04 15:18:32,821 - DEBUG - Response for create_network : {'network': {'id': '96491457-1ae2-4f43-b702-a68d7ecce43d', 'name': 'ctest-vn1-95962740', 'tenant_id': '2f87f3bf3ac747a1a8a626683d3e29b3', 'project_id': '2f87f3bf3ac747a1a8a626683d3e29b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32068619', 'ctest-vn1-95962740'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 15:18:33,043 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c24ff73b-0ed7-41b9-a56f-1417e7d270dd', 'name': '', 'tenant_id': '2f87f3bf3ac747a1a8a626683d3e29b3', 'network_id': '96491457-1ae2-4f43-b702-a68d7ecce43d', 'ip_version': 4, 'cidr': '72.207.184.128/26', 'allocation_pools': [{'start': '72.207.184.130', 'end': '72.207.184.190'}], 'gateway_ip': '72.207.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.207.184.130', 'tags': [], 'project_id': '2f87f3bf3ac747a1a8a626683d3e29b3'}} 2025-09-04 15:18:33,062 - INFO - Created VN ctest-vn1-95962740 2025-09-04 15:18:33,117 - DEBUG - VN ctest-vn1-95962740 UUID is 96491457-1ae2-4f43-b702-a68d7ecce43d 2025-09-04 15:18:33,429 - DEBUG - Response for create_network : {'network': {'id': '05a5751d-0597-44ce-b876-b875a7c4cc2b', 'name': 'ctest-vn2-15607250', 'tenant_id': '2f87f3bf3ac747a1a8a626683d3e29b3', 'project_id': '2f87f3bf3ac747a1a8a626683d3e29b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32068619', 'ctest-vn2-15607250'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 15:18:33,635 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f136139f-72cf-4ab4-93a4-7415703cb5b7', 'name': '', 'tenant_id': '2f87f3bf3ac747a1a8a626683d3e29b3', 'network_id': '05a5751d-0597-44ce-b876-b875a7c4cc2b', 'ip_version': 4, 'cidr': '25.108.8.64/26', 'allocation_pools': [{'start': '25.108.8.66', 'end': '25.108.8.126'}], 'gateway_ip': '25.108.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.108.8.66', 'tags': [], 'project_id': '2f87f3bf3ac747a1a8a626683d3e29b3'}} 2025-09-04 15:18:33,653 - INFO - Created VN ctest-vn2-15607250 2025-09-04 15:18:33,705 - DEBUG - VN ctest-vn2-15607250 UUID is 05a5751d-0597-44ce-b876-b875a7c4cc2b 2025-09-04 15:18:33,871 - DEBUG - Services list from nova: [, , ] 2025-09-04 15:18:35,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4016-1) 2025-09-04 15:18:36,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4016-1) 2025-09-04 15:18:36,428 - INFO - Adding interface with subnet_id c24ff73b-0ed7-41b9-a56f-1417e7d270dd, port_id None to router a0fc9f25-3d8e-4659-a983-bb0c73c31a1c 2025-09-04 15:18:36,669 - INFO - Waiting for VM ctest-vn1-vm1-25866041 to be up.. 2025-09-04 15:18:36,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 15:18:41,856 - DEBUG - VM is in ACTIVE state now 2025-09-04 15:18:41,856 - INFO - VM name : ctest-vn1-vm1-25866041 2025-09-04 15:18:41,944 - DEBUG - VM ctest-vn1-vm1-25866041 ID is c79cfb6e-cdf4-4fa1-be61-32fe5a045b31 2025-09-04 15:18:41,967 - DEBUG - VM ctest-vn1-vm1-25866041 launched on Node cn-jenkins-deploy-platform-ansible-os-4016-1 2025-09-04 15:18:42,042 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c79cfb6e-cdf4-4fa1-be61-32fe5a045b31 2025-09-04 15:18:42,377 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c79cfb6e-cdf4-4fa1-be61-32fe5a045b31 2025-09-04 15:18:42,410 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c7f9fca7-2bb1-488b-bbdc-3d7c07ae3e7a 2025-09-04 15:18:45,662 - 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 1010ms') 2025-09-04 15:18:45,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25866041 failed! 2025-09-04 15:18:45,717 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-32068619:ctest-vn1-95962740 is 72.207.184.129 and allocation pool is NOT set 2025-09-04 15:18:47,787 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.691 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.691/2.263/3.835/1.572 ms') 2025-09-04 15:18:47,787 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25866041 passed 2025-09-04 15:18:47,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 15:18:47,961 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25866041, IP 72.207.184.131, Port 22 2025-09-04 15:18:48,120 - DEBUG - VM ctest-vn1-vm1-25866041 is ready for SSH connections 2025-09-04 15:18:48,121 - INFO - Waiting for VM ctest-vn2-vm1-96522138 to be up.. 2025-09-04 15:18:48,199 - DEBUG - VM is in ACTIVE state now 2025-09-04 15:18:48,199 - INFO - VM name : ctest-vn2-vm1-96522138 2025-09-04 15:18:48,279 - DEBUG - VM ctest-vn2-vm1-96522138 ID is 71cfcffb-01b5-4447-b7cb-1faed315fd12 2025-09-04 15:18:48,279 - DEBUG - VM ctest-vn2-vm1-96522138 launched on Node cn-jenkins-deploy-platform-ansible-os-4016-1 2025-09-04 15:18:48,386 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/71cfcffb-01b5-4447-b7cb-1faed315fd12 2025-09-04 15:18:48,396 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9c92162c-430a-441d-bf6d-f546d5087a2a 2025-09-04 15:18:49,644 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.626 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.626/1.744/2.862/1.118 ms') 2025-09-04 15:18:49,645 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96522138 passed 2025-09-04 15:18:49,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 15:18:49,805 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96522138, IP 25.108.8.67, Port 22 2025-09-04 15:18:49,960 - DEBUG - VM ctest-vn2-vm1-96522138 is ready for SSH connections 2025-09-04 15:18:49,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 15:18:49,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.108.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 15:18:49,961 - DEBUG - ping -s 56 -c 3 -W 1 25.108.8.67 2025-09-04 15:18:55,038 - DEBUG - PING 25.108.8.67 (25.108.8.67): 56 data bytes --- 25.108.8.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 15:18:55,038 - WARNING - Ping to IP 25.108.8.67 from VM ctest-vn1-vm1-25866041 failed 2025-09-04 15:18:55,038 - INFO - Adding interface with subnet_id f136139f-72cf-4ab4-93a4-7415703cb5b7, port_id None to router a0fc9f25-3d8e-4659-a983-bb0c73c31a1c 2025-09-04 15:18:55,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 15:18:55,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.108.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 15:18:55,298 - DEBUG - ping -s 56 -c 3 -W 1 25.108.8.67 2025-09-04 15:18:58,523 - DEBUG - PING 25.108.8.67 (25.108.8.67): 56 data bytes 64 bytes from 25.108.8.67: seq=1 ttl=63 time=3.394 ms 64 bytes from 25.108.8.67: seq=2 ttl=63 time=1.256 ms --- 25.108.8.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.256/2.325/3.394 ms 2025-09-04 15:18:58,524 - WARNING - Ping to IP 25.108.8.67 from VM ctest-vn1-vm1-25866041 failed 2025-09-04 15:18:59,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.108.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 15:18:59,526 - DEBUG - ping -s 56 -c 3 -W 1 25.108.8.67 2025-09-04 15:19:01,742 - DEBUG - PING 25.108.8.67 (25.108.8.67): 56 data bytes 64 bytes from 25.108.8.67: seq=0 ttl=63 time=1.545 ms 64 bytes from 25.108.8.67: seq=1 ttl=63 time=1.054 ms 64 bytes from 25.108.8.67: seq=2 ttl=63 time=1.002 ms --- 25.108.8.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.002/1.200/1.545 ms 2025-09-04 15:19:01,742 - INFO - Ping to IP 25.108.8.67 from VM ctest-vn1-vm1-25866041 passed 2025-09-04 15:19:01,743 - INFO - Deleting interface with subnet_id c24ff73b-0ed7-41b9-a56f-1417e7d270dd, port_id None from router a0fc9f25-3d8e-4659-a983-bb0c73c31a1c 2025-09-04 15:19:01,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 15:19:01,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.108.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 15:19:01,878 - DEBUG - ping -s 56 -c 3 -W 1 25.108.8.67 2025-09-04 15:19:05,092 - DEBUG - PING 25.108.8.67 (25.108.8.67): 56 data bytes --- 25.108.8.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 15:19:05,093 - WARNING - Ping to IP 25.108.8.67 from VM ctest-vn1-vm1-25866041 failed 2025-09-04 15:19:05,093 - INFO - Adding interface with subnet_id c24ff73b-0ed7-41b9-a56f-1417e7d270dd, port_id None to router a0fc9f25-3d8e-4659-a983-bb0c73c31a1c 2025-09-04 15:19:05,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 15:19:05,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.108.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 15:19:05,334 - DEBUG - ping -s 56 -c 3 -W 1 25.108.8.67 2025-09-04 15:19:07,552 - DEBUG - PING 25.108.8.67 (25.108.8.67): 56 data bytes 64 bytes from 25.108.8.67: seq=0 ttl=63 time=1.679 ms 64 bytes from 25.108.8.67: seq=1 ttl=63 time=0.855 ms 64 bytes from 25.108.8.67: seq=2 ttl=63 time=0.972 ms --- 25.108.8.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.168/1.679 ms 2025-09-04 15:19:07,552 - INFO - Ping to IP 25.108.8.67 from VM ctest-vn1-vm1-25866041 passed 2025-09-04 15:19:07,552 - INFO - Deleting interface with subnet_id f136139f-72cf-4ab4-93a4-7415703cb5b7, port_id None from router a0fc9f25-3d8e-4659-a983-bb0c73c31a1c 2025-09-04 15:19:07,678 - INFO - Deleting interface with subnet_id c24ff73b-0ed7-41b9-a56f-1417e7d270dd, port_id None from router a0fc9f25-3d8e-4659-a983-bb0c73c31a1c 2025-09-04 15:19:07,865 - INFO - Deleting VM ctest-vn2-vm1-96522138 2025-09-04 15:19:07,966 - INFO - Deleting VM ctest-vn1-vm1-25866041 2025-09-04 15:19:08,045 - INFO - Deleting VN ctest-vn2-15607250 2025-09-04 15:19:08,088 - DEBUG - VN 05a5751d-0597-44ce-b876-b875a7c4cc2b still in use: Unable to complete operation on network 05a5751d-0597-44ce-b876-b875a7c4cc2b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65c4086b-5dbe-4c72-b9df-e534cd91e387'] 2025-09-04 15:19:08,088 - WARNING - Deleting VN ctest-vn2-15607250 failed..Will retry 2025-09-04 15:19:10,195 - DEBUG - Response for deleting network () 2025-09-04 15:19:10,196 - INFO - Deleting VN ctest-vn1-95962740 2025-09-04 15:19:10,300 - DEBUG - Response for deleting network () 2025-09-04 15:19:10,555 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 15:19:10,555 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-09-04 15:19:10,555 - INFO - -------------------------------------------------------------------------------- 2025-09-04 15:19:11,278 - INFO - Deleted project: ctest-TestRouters-32068619, ID : 2f87f3bf-3ac7-47a1-a8a6-26683d3e29b3