2025-10-05 18:50:44,116 - INFO - Domain Default found not creating 2025-10-05 18:50:44,236 - INFO - Project ctest-TestRouters-78512746 not found, creating it 2025-10-05 18:50:44,743 - INFO - Created Project:ctest-TestRouters-78512746, ID : e453f68e-bf56-4daa-add1-0bd3bf9055c1 2025-10-05 18:50:46,137 - INFO - ================================================================================ 2025-10-05 18:50:46,138 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-05 18:50:46,138 - 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-05 18:50:46,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-05 18:50:46,396 - INFO - Initial checks done. Running the testcase now 2025-10-05 18:50:46,396 - INFO - 2025-10-05 18:50:46,922 - DEBUG - Response for create_network : {'network': {'id': '92d4c7b7-3397-42de-bc35-4d915a772dee', 'name': 'ctest-vn1-76596089', 'tenant_id': 'e453f68ebf564daaadd10bd3bf9055c1', 'project_id': 'e453f68ebf564daaadd10bd3bf9055c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78512746', 'ctest-vn1-76596089'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:50:47,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b926de0-e775-4825-9b81-0297e73fd8e4', 'name': '', 'tenant_id': 'e453f68ebf564daaadd10bd3bf9055c1', 'network_id': '92d4c7b7-3397-42de-bc35-4d915a772dee', 'ip_version': 4, 'cidr': '34.135.78.0/26', 'allocation_pools': [{'start': '34.135.78.2', 'end': '34.135.78.62'}], 'gateway_ip': '34.135.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.135.78.2', 'tags': [], 'project_id': 'e453f68ebf564daaadd10bd3bf9055c1'}} 2025-10-05 18:50:47,176 - INFO - Created VN ctest-vn1-76596089 2025-10-05 18:50:47,227 - DEBUG - VN ctest-vn1-76596089 UUID is 92d4c7b7-3397-42de-bc35-4d915a772dee 2025-10-05 18:50:47,578 - DEBUG - Response for create_network : {'network': {'id': '43bfd89a-d1e9-4ef5-ab79-02b92eb8294d', 'name': 'ctest-vn2-74293047', 'tenant_id': 'e453f68ebf564daaadd10bd3bf9055c1', 'project_id': 'e453f68ebf564daaadd10bd3bf9055c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78512746', 'ctest-vn2-74293047'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:50:47,796 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc984327-abc7-4ad7-aa47-3327a2fd9c60', 'name': '', 'tenant_id': 'e453f68ebf564daaadd10bd3bf9055c1', 'network_id': '43bfd89a-d1e9-4ef5-ab79-02b92eb8294d', 'ip_version': 4, 'cidr': '178.99.132.0/26', 'allocation_pools': [{'start': '178.99.132.2', 'end': '178.99.132.62'}], 'gateway_ip': '178.99.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.99.132.2', 'tags': [], 'project_id': 'e453f68ebf564daaadd10bd3bf9055c1'}} 2025-10-05 18:50:47,818 - INFO - Created VN ctest-vn2-74293047 2025-10-05 18:50:47,871 - DEBUG - VN ctest-vn2-74293047 UUID is 43bfd89a-d1e9-4ef5-ab79-02b92eb8294d 2025-10-05 18:50:48,054 - DEBUG - Services list from nova: [, , ] 2025-10-05 18:50:48,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:50:50,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:50:50,268 - INFO - Adding interface with subnet_id 5b926de0-e775-4825-9b81-0297e73fd8e4, port_id None to router ebe72efe-de04-4dbd-bc46-7b89637bce76 2025-10-05 18:50:50,527 - INFO - Waiting for VM ctest-vn1-vm1-98605945 to be up.. 2025-10-05 18:50:50,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 18:50:55,690 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:50:55,690 - INFO - VM name : ctest-vn1-vm1-98605945 2025-10-05 18:50:55,751 - DEBUG - VM ctest-vn1-vm1-98605945 ID is c806c009-b5bb-49e0-b923-bf187c5996e0 2025-10-05 18:50:55,767 - DEBUG - VM ctest-vn1-vm1-98605945 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:50:55,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c806c009-b5bb-49e0-b923-bf187c5996e0 2025-10-05 18:50:56,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c806c009-b5bb-49e0-b923-bf187c5996e0 2025-10-05 18:50:56,145 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/98ee6a29-bf72-4f8f-8d4d-2a76e8154b3e 2025-10-05 18:50:59,384 - 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 1011ms') 2025-10-05 18:50:59,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98605945 failed! 2025-10-05 18:50:59,439 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78512746:ctest-vn1-76596089 is 34.135.78.1 and allocation pool is NOT set 2025-10-05 18:51:01,498 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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.474/1.562/2.651/1.088 ms') 2025-10-05 18:51:01,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98605945 passed 2025-10-05 18:51:01,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:01,651 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98605945, IP 34.135.78.3, Port 22 2025-10-05 18:51:01,810 - DEBUG - VM ctest-vn1-vm1-98605945 is ready for SSH connections 2025-10-05 18:51:01,810 - INFO - Waiting for VM ctest-vn2-vm1-35799457 to be up.. 2025-10-05 18:51:01,876 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:51:01,876 - INFO - VM name : ctest-vn2-vm1-35799457 2025-10-05 18:51:01,939 - DEBUG - VM ctest-vn2-vm1-35799457 ID is 9e10bb4c-6904-44c1-aabc-6df4a33f2336 2025-10-05 18:51:01,940 - DEBUG - VM ctest-vn2-vm1-35799457 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:51:02,002 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9e10bb4c-6904-44c1-aabc-6df4a33f2336 2025-10-05 18:51:02,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6581f22a-a190-4730-9044-e9c5bfaa1c98 2025-10-05 18:51:03,243 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.590/2.745/1.154 ms') 2025-10-05 18:51:03,244 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35799457 passed 2025-10-05 18:51:03,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:03,391 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35799457, IP 178.99.132.3, Port 22 2025-10-05 18:51:03,550 - DEBUG - VM ctest-vn2-vm1-35799457 is ready for SSH connections 2025-10-05 18:51:03,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:03,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.99.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:51:03,551 - DEBUG - ping -s 56 -c 3 -W 1 178.99.132.3 2025-10-05 18:51:08,190 - DEBUG - PING 178.99.132.3 (178.99.132.3): 56 data bytes --- 178.99.132.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-05 18:51:08,190 - WARNING - Ping to IP 178.99.132.3 from VM ctest-vn1-vm1-98605945 failed 2025-10-05 18:51:08,191 - INFO - Adding interface with subnet_id fc984327-abc7-4ad7-aa47-3327a2fd9c60, port_id None to router ebe72efe-de04-4dbd-bc46-7b89637bce76 2025-10-05 18:51:08,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:08,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.99.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:51:08,418 - DEBUG - ping -s 56 -c 3 -W 1 178.99.132.3 2025-10-05 18:51:10,611 - DEBUG - PING 178.99.132.3 (178.99.132.3): 56 data bytes 64 bytes from 178.99.132.3: seq=0 ttl=63 time=2.357 ms 64 bytes from 178.99.132.3: seq=1 ttl=63 time=0.723 ms 64 bytes from 178.99.132.3: seq=2 ttl=63 time=0.707 ms --- 178.99.132.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.262/2.357 ms 2025-10-05 18:51:10,611 - INFO - Ping to IP 178.99.132.3 from VM ctest-vn1-vm1-98605945 passed 2025-10-05 18:51:10,611 - INFO - Deleting interface with subnet_id 5b926de0-e775-4825-9b81-0297e73fd8e4, port_id None from router ebe72efe-de04-4dbd-bc46-7b89637bce76 2025-10-05 18:51:10,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:10,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.99.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:51:10,703 - DEBUG - ping -s 56 -c 3 -W 1 178.99.132.3 2025-10-05 18:51:13,901 - DEBUG - PING 178.99.132.3 (178.99.132.3): 56 data bytes --- 178.99.132.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-05 18:51:13,901 - WARNING - Ping to IP 178.99.132.3 from VM ctest-vn1-vm1-98605945 failed 2025-10-05 18:51:13,901 - INFO - Adding interface with subnet_id 5b926de0-e775-4825-9b81-0297e73fd8e4, port_id None to router ebe72efe-de04-4dbd-bc46-7b89637bce76 2025-10-05 18:51:14,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:51:14,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.99.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:51:14,094 - DEBUG - ping -s 56 -c 3 -W 1 178.99.132.3 2025-10-05 18:51:17,293 - DEBUG - PING 178.99.132.3 (178.99.132.3): 56 data bytes 64 bytes from 178.99.132.3: seq=1 ttl=63 time=1.185 ms 64 bytes from 178.99.132.3: seq=2 ttl=63 time=0.723 ms --- 178.99.132.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.723/0.954/1.185 ms 2025-10-05 18:51:17,293 - WARNING - Ping to IP 178.99.132.3 from VM ctest-vn1-vm1-98605945 failed 2025-10-05 18:51:18,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.99.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:51:18,295 - DEBUG - ping -s 56 -c 3 -W 1 178.99.132.3 2025-10-05 18:51:20,492 - DEBUG - PING 178.99.132.3 (178.99.132.3): 56 data bytes 64 bytes from 178.99.132.3: seq=0 ttl=63 time=1.232 ms 64 bytes from 178.99.132.3: seq=1 ttl=63 time=0.775 ms 64 bytes from 178.99.132.3: seq=2 ttl=63 time=0.682 ms --- 178.99.132.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/0.896/1.232 ms 2025-10-05 18:51:20,492 - INFO - Ping to IP 178.99.132.3 from VM ctest-vn1-vm1-98605945 passed 2025-10-05 18:51:20,492 - INFO - Deleting interface with subnet_id fc984327-abc7-4ad7-aa47-3327a2fd9c60, port_id None from router ebe72efe-de04-4dbd-bc46-7b89637bce76 2025-10-05 18:51:20,593 - INFO - Deleting interface with subnet_id 5b926de0-e775-4825-9b81-0297e73fd8e4, port_id None from router ebe72efe-de04-4dbd-bc46-7b89637bce76 2025-10-05 18:51:20,738 - INFO - Deleting VM ctest-vn2-vm1-35799457 2025-10-05 18:51:20,812 - INFO - Deleting VM ctest-vn1-vm1-98605945 2025-10-05 18:51:20,876 - INFO - Deleting VN ctest-vn2-74293047 2025-10-05 18:51:20,909 - DEBUG - VN 43bfd89a-d1e9-4ef5-ab79-02b92eb8294d still in use: Unable to complete operation on network 43bfd89a-d1e9-4ef5-ab79-02b92eb8294d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36885398-45fa-4c75-ac29-31bdb84dcc90'] 2025-10-05 18:51:20,909 - WARNING - Deleting VN ctest-vn2-74293047 failed..Will retry 2025-10-05 18:51:22,989 - DEBUG - Response for deleting network () 2025-10-05 18:51:22,989 - INFO - Deleting VN ctest-vn1-76596089 2025-10-05 18:51:23,076 - DEBUG - Response for deleting network () 2025-10-05 18:51:23,328 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 18:51:23,328 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-05 18:51:23,328 - INFO - -------------------------------------------------------------------------------- 2025-10-05 18:51:24,006 - INFO - Deleted project: ctest-TestRouters-78512746, ID : e453f68e-bf56-4daa-add1-0bd3bf9055c1