2025-11-04 14:06:44,027 - INFO - Domain Default found not creating 2025-11-04 14:06:44,250 - INFO - Project ctest-TestRouters-34273197 not found, creating it 2025-11-04 14:06:45,024 - INFO - Created Project:ctest-TestRouters-34273197, ID : d4d6efc3-aad2-4187-a701-5a5181103d6a 2025-11-04 14:06:46,652 - INFO - ================================================================================ 2025-11-04 14:06:46,652 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 14:06:46,652 - 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-11-04 14:06:46,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-11-04 14:06:46,905 - INFO - Initial checks done. Running the testcase now 2025-11-04 14:06:46,905 - INFO - 2025-11-04 14:06:47,569 - DEBUG - Response for create_network : {'network': {'id': '7dc2d141-9035-415e-b145-59d20543204f', 'name': 'ctest-vn1-96314776', 'tenant_id': 'd4d6efc3aad24187a7015a5181103d6a', 'project_id': 'd4d6efc3aad24187a7015a5181103d6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34273197', 'ctest-vn1-96314776'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:06:47,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daf19ae2-389c-492e-b760-a4dacc0fd87c', 'name': '', 'tenant_id': 'd4d6efc3aad24187a7015a5181103d6a', 'network_id': '7dc2d141-9035-415e-b145-59d20543204f', 'ip_version': 4, 'cidr': '162.156.95.0/26', 'allocation_pools': [{'start': '162.156.95.2', 'end': '162.156.95.62'}], 'gateway_ip': '162.156.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.156.95.2', 'tags': [], 'project_id': 'd4d6efc3aad24187a7015a5181103d6a'}} 2025-11-04 14:06:47,823 - INFO - Created VN ctest-vn1-96314776 2025-11-04 14:06:47,879 - DEBUG - VN ctest-vn1-96314776 UUID is 7dc2d141-9035-415e-b145-59d20543204f 2025-11-04 14:06:48,198 - DEBUG - Response for create_network : {'network': {'id': '505f028f-7e9f-4dc4-8b51-afdde3b9a1f6', 'name': 'ctest-vn2-12630713', 'tenant_id': 'd4d6efc3aad24187a7015a5181103d6a', 'project_id': 'd4d6efc3aad24187a7015a5181103d6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34273197', 'ctest-vn2-12630713'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 14:06:48,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c9ae2ad-f0f9-4844-826b-d39695b4d1c6', 'name': '', 'tenant_id': 'd4d6efc3aad24187a7015a5181103d6a', 'network_id': '505f028f-7e9f-4dc4-8b51-afdde3b9a1f6', 'ip_version': 4, 'cidr': '219.46.112.64/26', 'allocation_pools': [{'start': '219.46.112.66', 'end': '219.46.112.126'}], 'gateway_ip': '219.46.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.46.112.66', 'tags': [], 'project_id': 'd4d6efc3aad24187a7015a5181103d6a'}} 2025-11-04 14:06:48,378 - INFO - Created VN ctest-vn2-12630713 2025-11-04 14:06:48,431 - DEBUG - VN ctest-vn2-12630713 UUID is 505f028f-7e9f-4dc4-8b51-afdde3b9a1f6 2025-11-04 14:06:48,608 - DEBUG - Services list from nova: [, , ] 2025-11-04 14:06:49,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4617-1) 2025-11-04 14:06:51,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4617-1) 2025-11-04 14:06:51,439 - INFO - Adding interface with subnet_id daf19ae2-389c-492e-b760-a4dacc0fd87c, port_id None to router 369b65cf-58a1-44f0-aa40-1b09f508f230 2025-11-04 14:06:51,765 - INFO - Waiting for VM ctest-vn1-vm1-62780111 to be up.. 2025-11-04 14:06:51,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 14:06:57,025 - DEBUG - VM is in ACTIVE state now 2025-11-04 14:06:57,025 - INFO - VM name : ctest-vn1-vm1-62780111 2025-11-04 14:06:57,110 - DEBUG - VM ctest-vn1-vm1-62780111 ID is 4510418c-ca8c-4a8e-a245-cec79f99ae23 2025-11-04 14:06:57,133 - DEBUG - VM ctest-vn1-vm1-62780111 launched on Node cn-jenkins-deploy-platform-ansible-os-4617-1 2025-11-04 14:06:57,207 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4510418c-ca8c-4a8e-a245-cec79f99ae23 2025-11-04 14:06:57,543 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4510418c-ca8c-4a8e-a245-cec79f99ae23 2025-11-04 14:06:57,573 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/51c0141a-160d-48bf-9e88-fe9d9fed05ca 2025-11-04 14:07:00,833 - 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 1030ms') 2025-11-04 14:07:00,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62780111 failed! 2025-11-04 14:07:00,887 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34273197:ctest-vn1-96314776 is 162.156.95.1 and allocation pool is NOT set 2025-11-04 14:07:02,953 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.925/3.436/1.511 ms') 2025-11-04 14:07:02,953 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62780111 passed 2025-11-04 14:07:03,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:03,103 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62780111, IP 162.156.95.3, Port 22 2025-11-04 14:07:03,263 - DEBUG - VM ctest-vn1-vm1-62780111 is ready for SSH connections 2025-11-04 14:07:03,263 - INFO - Waiting for VM ctest-vn2-vm1-63907811 to be up.. 2025-11-04 14:07:03,349 - DEBUG - VM is in ACTIVE state now 2025-11-04 14:07:03,350 - INFO - VM name : ctest-vn2-vm1-63907811 2025-11-04 14:07:03,421 - DEBUG - VM ctest-vn2-vm1-63907811 ID is d1435f7e-e0f9-4163-a883-51fc7cb85ac2 2025-11-04 14:07:03,421 - DEBUG - VM ctest-vn2-vm1-63907811 launched on Node cn-jenkins-deploy-platform-ansible-os-4617-1 2025-11-04 14:07:03,495 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/d1435f7e-e0f9-4163-a883-51fc7cb85ac2 2025-11-04 14:07:03,503 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/cda626d2-36aa-478a-97a6-2e485152ac9b 2025-11-04 14:07:04,743 - 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.463 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 = 0.463/1.661/2.859/1.198 ms') 2025-11-04 14:07:04,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63907811 passed 2025-11-04 14:07:04,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:04,903 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63907811, IP 219.46.112.67, Port 22 2025-11-04 14:07:05,059 - DEBUG - VM ctest-vn2-vm1-63907811 is ready for SSH connections 2025-11-04 14:07:05,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:05,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.46.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:07:05,059 - DEBUG - ping -s 56 -c 3 -W 1 219.46.112.67 2025-11-04 14:07:10,116 - DEBUG - PING 219.46.112.67 (219.46.112.67): 56 data bytes --- 219.46.112.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 14:07:10,116 - WARNING - Ping to IP 219.46.112.67 from VM ctest-vn1-vm1-62780111 failed 2025-11-04 14:07:10,116 - INFO - Adding interface with subnet_id 6c9ae2ad-f0f9-4844-826b-d39695b4d1c6, port_id None to router 369b65cf-58a1-44f0-aa40-1b09f508f230 2025-11-04 14:07:10,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:10,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.46.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:07:10,400 - DEBUG - ping -s 56 -c 3 -W 1 219.46.112.67 2025-11-04 14:07:13,626 - DEBUG - PING 219.46.112.67 (219.46.112.67): 56 data bytes 64 bytes from 219.46.112.67: seq=1 ttl=63 time=2.993 ms 64 bytes from 219.46.112.67: seq=2 ttl=63 time=0.831 ms --- 219.46.112.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.831/1.912/2.993 ms 2025-11-04 14:07:13,626 - WARNING - Ping to IP 219.46.112.67 from VM ctest-vn1-vm1-62780111 failed 2025-11-04 14:07:14,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.46.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:07:14,628 - DEBUG - ping -s 56 -c 3 -W 1 219.46.112.67 2025-11-04 14:07:16,839 - DEBUG - PING 219.46.112.67 (219.46.112.67): 56 data bytes 64 bytes from 219.46.112.67: seq=0 ttl=63 time=1.531 ms 64 bytes from 219.46.112.67: seq=1 ttl=63 time=0.757 ms 64 bytes from 219.46.112.67: seq=2 ttl=63 time=0.784 ms --- 219.46.112.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.024/1.531 ms 2025-11-04 14:07:16,839 - INFO - Ping to IP 219.46.112.67 from VM ctest-vn1-vm1-62780111 passed 2025-11-04 14:07:16,839 - INFO - Deleting interface with subnet_id daf19ae2-389c-492e-b760-a4dacc0fd87c, port_id None from router 369b65cf-58a1-44f0-aa40-1b09f508f230 2025-11-04 14:07:16,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:16,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.46.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:07:16,945 - DEBUG - ping -s 56 -c 3 -W 1 219.46.112.67 2025-11-04 14:07:20,159 - DEBUG - PING 219.46.112.67 (219.46.112.67): 56 data bytes --- 219.46.112.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 14:07:20,159 - WARNING - Ping to IP 219.46.112.67 from VM ctest-vn1-vm1-62780111 failed 2025-11-04 14:07:20,159 - INFO - Adding interface with subnet_id daf19ae2-389c-492e-b760-a4dacc0fd87c, port_id None to router 369b65cf-58a1-44f0-aa40-1b09f508f230 2025-11-04 14:07:20,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 14:07:20,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.46.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-04 14:07:20,376 - DEBUG - ping -s 56 -c 3 -W 1 219.46.112.67 2025-11-04 14:07:22,593 - DEBUG - PING 219.46.112.67 (219.46.112.67): 56 data bytes 64 bytes from 219.46.112.67: seq=0 ttl=63 time=1.382 ms 64 bytes from 219.46.112.67: seq=1 ttl=63 time=0.863 ms 64 bytes from 219.46.112.67: seq=2 ttl=63 time=0.755 ms --- 219.46.112.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.000/1.382 ms 2025-11-04 14:07:22,593 - INFO - Ping to IP 219.46.112.67 from VM ctest-vn1-vm1-62780111 passed 2025-11-04 14:07:22,593 - INFO - Deleting interface with subnet_id 6c9ae2ad-f0f9-4844-826b-d39695b4d1c6, port_id None from router 369b65cf-58a1-44f0-aa40-1b09f508f230 2025-11-04 14:07:22,720 - INFO - Deleting interface with subnet_id daf19ae2-389c-492e-b760-a4dacc0fd87c, port_id None from router 369b65cf-58a1-44f0-aa40-1b09f508f230 2025-11-04 14:07:22,890 - INFO - Deleting VM ctest-vn2-vm1-63907811 2025-11-04 14:07:22,973 - INFO - Deleting VM ctest-vn1-vm1-62780111 2025-11-04 14:07:23,040 - INFO - Deleting VN ctest-vn2-12630713 2025-11-04 14:07:23,073 - DEBUG - VN 505f028f-7e9f-4dc4-8b51-afdde3b9a1f6 still in use: Unable to complete operation on network 505f028f-7e9f-4dc4-8b51-afdde3b9a1f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08ed90d9-5449-4b32-8d8d-db31bea5472c'] 2025-11-04 14:07:23,074 - WARNING - Deleting VN ctest-vn2-12630713 failed..Will retry 2025-11-04 14:07:25,178 - DEBUG - Response for deleting network () 2025-11-04 14:07:25,178 - INFO - Deleting VN ctest-vn1-96314776 2025-11-04 14:07:25,274 - DEBUG - Response for deleting network () 2025-11-04 14:07:25,532 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 14:07:25,532 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-04 14:07:25,532 - INFO - -------------------------------------------------------------------------------- 2025-11-04 14:07:26,230 - INFO - Deleted project: ctest-TestRouters-34273197, ID : d4d6efc3-aad2-4187-a701-5a5181103d6a