2025-09-01 17:23:21,316 - INFO - Domain Default found not creating 2025-09-01 17:23:21,451 - INFO - Project ctest-TestRouters-77529639 not found, creating it 2025-09-01 17:23:21,890 - INFO - Created Project:ctest-TestRouters-77529639, ID : a9d9906a-886e-4201-a1ee-79a3c315e1c8 2025-09-01 17:23:23,290 - INFO - ================================================================================ 2025-09-01 17:23:23,290 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-01 17:23:23,290 - 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-01 17:23:23,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-01 17:23:23,558 - INFO - Initial checks done. Running the testcase now 2025-09-01 17:23:23,558 - INFO - 2025-09-01 17:23:24,090 - DEBUG - Response for create_network : {'network': {'id': '63a39b80-32b8-4753-abc6-528d0e9835ed', 'name': 'ctest-vn1-57625693', 'tenant_id': 'a9d9906a886e4201a1ee79a3c315e1c8', 'project_id': 'a9d9906a886e4201a1ee79a3c315e1c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77529639', 'ctest-vn1-57625693'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:23:24,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bb9c23d-653c-4056-8e8c-9a87cd39cda2', 'name': '', 'tenant_id': 'a9d9906a886e4201a1ee79a3c315e1c8', 'network_id': '63a39b80-32b8-4753-abc6-528d0e9835ed', 'ip_version': 4, 'cidr': '182.7.102.0/26', 'allocation_pools': [{'start': '182.7.102.2', 'end': '182.7.102.62'}], 'gateway_ip': '182.7.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.7.102.2', 'tags': [], 'project_id': 'a9d9906a886e4201a1ee79a3c315e1c8'}} 2025-09-01 17:23:24,268 - INFO - Created VN ctest-vn1-57625693 2025-09-01 17:23:24,321 - DEBUG - VN ctest-vn1-57625693 UUID is 63a39b80-32b8-4753-abc6-528d0e9835ed 2025-09-01 17:23:24,641 - DEBUG - Response for create_network : {'network': {'id': '9515feaa-963b-4fc3-9898-f8b240c032bb', 'name': 'ctest-vn2-21035645', 'tenant_id': 'a9d9906a886e4201a1ee79a3c315e1c8', 'project_id': 'a9d9906a886e4201a1ee79a3c315e1c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77529639', 'ctest-vn2-21035645'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:23:24,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '16357c63-00cf-4356-9dc4-b88d3e86a831', 'name': '', 'tenant_id': 'a9d9906a886e4201a1ee79a3c315e1c8', 'network_id': '9515feaa-963b-4fc3-9898-f8b240c032bb', 'ip_version': 4, 'cidr': '124.88.131.192/26', 'allocation_pools': [{'start': '124.88.131.194', 'end': '124.88.131.254'}], 'gateway_ip': '124.88.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.88.131.194', 'tags': [], 'project_id': 'a9d9906a886e4201a1ee79a3c315e1c8'}} 2025-09-01 17:23:24,802 - INFO - Created VN ctest-vn2-21035645 2025-09-01 17:23:24,853 - DEBUG - VN ctest-vn2-21035645 UUID is 9515feaa-963b-4fc3-9898-f8b240c032bb 2025-09-01 17:23:25,086 - DEBUG - Services list from nova: [, , ] 2025-09-01 17:23:26,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1) 2025-09-01 17:23:27,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1) 2025-09-01 17:23:27,233 - INFO - Adding interface with subnet_id 6bb9c23d-653c-4056-8e8c-9a87cd39cda2, port_id None to router 85ee0889-58bd-4463-bf9d-ab3588ac85b6 2025-09-01 17:23:27,468 - INFO - Waiting for VM ctest-vn1-vm1-25418519 to be up.. 2025-09-01 17:23:27,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-01 17:23:32,629 - DEBUG - VM is in ACTIVE state now 2025-09-01 17:23:32,629 - INFO - VM name : ctest-vn1-vm1-25418519 2025-09-01 17:23:32,689 - DEBUG - VM ctest-vn1-vm1-25418519 ID is 60c4d547-3c5f-45e6-8b1e-53c2434ea8f0 2025-09-01 17:23:32,706 - DEBUG - VM ctest-vn1-vm1-25418519 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1 2025-09-01 17:23:32,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/60c4d547-3c5f-45e6-8b1e-53c2434ea8f0 2025-09-01 17:23:33,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/60c4d547-3c5f-45e6-8b1e-53c2434ea8f0 2025-09-01 17:23:33,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0cf0cd3b-8742-4843-9dba-b9daa2878977 2025-09-01 17:23:36,353 - 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 1023ms') 2025-09-01 17:23:36,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25418519 failed! 2025-09-01 17:23:36,405 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77529639:ctest-vn1-57625693 is 182.7.102.1 and allocation pool is NOT set 2025-09-01 17:23:38,467 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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.370/1.890/3.411/1.520 ms') 2025-09-01 17:23:38,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25418519 passed 2025-09-01 17:23:38,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:23:38,614 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25418519, IP 182.7.102.3, Port 22 2025-09-01 17:23:38,764 - DEBUG - VM ctest-vn1-vm1-25418519 is ready for SSH connections 2025-09-01 17:23:38,765 - INFO - Waiting for VM ctest-vn2-vm1-18525316 to be up.. 2025-09-01 17:23:38,830 - DEBUG - VM is in ACTIVE state now 2025-09-01 17:23:38,830 - INFO - VM name : ctest-vn2-vm1-18525316 2025-09-01 17:23:38,894 - DEBUG - VM ctest-vn2-vm1-18525316 ID is d5e4a643-d6a0-4443-ba81-9a25b23256f4 2025-09-01 17:23:38,894 - DEBUG - VM ctest-vn2-vm1-18525316 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1 2025-09-01 17:23:38,955 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d5e4a643-d6a0-4443-ba81-9a25b23256f4 2025-09-01 17:23:38,961 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9e00edf3-fe49-44d8-9ba5-46de04035ac9 2025-09-01 17:23:40,190 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.701 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.701/1.805/2.909/1.104 ms') 2025-09-01 17:23:40,190 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-18525316 passed 2025-09-01 17:23:40,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:23:40,337 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-18525316, IP 124.88.131.195, Port 22 2025-09-01 17:23:40,489 - DEBUG - VM ctest-vn2-vm1-18525316 is ready for SSH connections 2025-09-01 17:23:40,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:23:40,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.88.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:23:40,489 - DEBUG - ping -s 56 -c 3 -W 1 124.88.131.195 2025-09-01 17:23:45,121 - DEBUG - PING 124.88.131.195 (124.88.131.195): 56 data bytes --- 124.88.131.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-01 17:23:45,121 - WARNING - Ping to IP 124.88.131.195 from VM ctest-vn1-vm1-25418519 failed 2025-09-01 17:23:45,122 - INFO - Adding interface with subnet_id 16357c63-00cf-4356-9dc4-b88d3e86a831, port_id None to router 85ee0889-58bd-4463-bf9d-ab3588ac85b6 2025-09-01 17:23:45,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:23:45,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.88.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:23:45,351 - DEBUG - ping -s 56 -c 3 -W 1 124.88.131.195 2025-09-01 17:23:47,547 - DEBUG - PING 124.88.131.195 (124.88.131.195): 56 data bytes 64 bytes from 124.88.131.195: seq=0 ttl=63 time=2.377 ms 64 bytes from 124.88.131.195: seq=1 ttl=63 time=0.865 ms 64 bytes from 124.88.131.195: seq=2 ttl=63 time=0.754 ms --- 124.88.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.332/2.377 ms 2025-09-01 17:23:47,547 - INFO - Ping to IP 124.88.131.195 from VM ctest-vn1-vm1-25418519 passed 2025-09-01 17:23:47,547 - INFO - Deleting interface with subnet_id 6bb9c23d-653c-4056-8e8c-9a87cd39cda2, port_id None from router 85ee0889-58bd-4463-bf9d-ab3588ac85b6 2025-09-01 17:23:47,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:23:47,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.88.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:23:47,644 - DEBUG - ping -s 56 -c 3 -W 1 124.88.131.195 2025-09-01 17:23:50,837 - DEBUG - PING 124.88.131.195 (124.88.131.195): 56 data bytes --- 124.88.131.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-01 17:23:50,837 - WARNING - Ping to IP 124.88.131.195 from VM ctest-vn1-vm1-25418519 failed 2025-09-01 17:23:50,837 - INFO - Adding interface with subnet_id 6bb9c23d-653c-4056-8e8c-9a87cd39cda2, port_id None to router 85ee0889-58bd-4463-bf9d-ab3588ac85b6 2025-09-01 17:23:51,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:23:51,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.88.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:23:51,028 - DEBUG - ping -s 56 -c 3 -W 1 124.88.131.195 2025-09-01 17:23:54,222 - DEBUG - PING 124.88.131.195 (124.88.131.195): 56 data bytes 64 bytes from 124.88.131.195: seq=1 ttl=63 time=1.556 ms 64 bytes from 124.88.131.195: seq=2 ttl=63 time=1.013 ms --- 124.88.131.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.013/1.284/1.556 ms 2025-09-01 17:23:54,222 - WARNING - Ping to IP 124.88.131.195 from VM ctest-vn1-vm1-25418519 failed 2025-09-01 17:23:55,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.88.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:23:55,223 - DEBUG - ping -s 56 -c 3 -W 1 124.88.131.195 2025-09-01 17:23:57,430 - DEBUG - PING 124.88.131.195 (124.88.131.195): 56 data bytes 64 bytes from 124.88.131.195: seq=0 ttl=63 time=1.226 ms 64 bytes from 124.88.131.195: seq=1 ttl=63 time=0.692 ms 64 bytes from 124.88.131.195: seq=2 ttl=63 time=0.706 ms --- 124.88.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.692/0.874/1.226 ms 2025-09-01 17:23:57,430 - INFO - Ping to IP 124.88.131.195 from VM ctest-vn1-vm1-25418519 passed 2025-09-01 17:23:57,430 - INFO - Deleting interface with subnet_id 16357c63-00cf-4356-9dc4-b88d3e86a831, port_id None from router 85ee0889-58bd-4463-bf9d-ab3588ac85b6 2025-09-01 17:23:57,523 - INFO - Deleting interface with subnet_id 6bb9c23d-653c-4056-8e8c-9a87cd39cda2, port_id None from router 85ee0889-58bd-4463-bf9d-ab3588ac85b6 2025-09-01 17:23:57,674 - INFO - Deleting VM ctest-vn2-vm1-18525316 2025-09-01 17:23:57,737 - INFO - Deleting VM ctest-vn1-vm1-25418519 2025-09-01 17:23:57,797 - INFO - Deleting VN ctest-vn2-21035645 2025-09-01 17:23:57,830 - DEBUG - VN 9515feaa-963b-4fc3-9898-f8b240c032bb still in use: Unable to complete operation on network 9515feaa-963b-4fc3-9898-f8b240c032bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a92f0b7-2e11-4a49-81cf-19b08adcc306'] 2025-09-01 17:23:57,830 - WARNING - Deleting VN ctest-vn2-21035645 failed..Will retry 2025-09-01 17:23:59,915 - DEBUG - Response for deleting network () 2025-09-01 17:23:59,915 - INFO - Deleting VN ctest-vn1-57625693 2025-09-01 17:23:59,995 - DEBUG - Response for deleting network () 2025-09-01 17:24:00,254 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 17:24:00,254 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-01 17:24:00,254 - INFO - -------------------------------------------------------------------------------- 2025-09-01 17:24:00,883 - INFO - Deleted project: ctest-TestRouters-77529639, ID : a9d9906a-886e-4201-a1ee-79a3c315e1c8