2025-11-21 17:06:06,302 - INFO - Domain Default found not creating
2025-11-21 17:06:06,602 - INFO - Project ctest-TestRouters-20389772 not found, creating it
2025-11-21 17:06:07,186 - INFO - Created Project:ctest-TestRouters-20389772, ID : 40e89458-c73b-428c-81a5-249998736b03
2025-11-21 17:06:09,390 - INFO - ================================================================================
2025-11-21 17:06:09,390 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-21 17:06:09,391 - 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-21 17:06:09,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with
2025-11-21 17:06:09,677 - INFO - Initial checks done. Running the testcase now
2025-11-21 17:06:09,677 - INFO -
2025-11-21 17:06:10,376 - DEBUG - Response for create_network : {'network': {'id': '25bb4b2b-8a8e-4b21-a2f3-b6faf9eda1f2', 'name': 'ctest-vn1-60663666', 'tenant_id': '40e89458c73b428c81a5249998736b03', 'project_id': '40e89458c73b428c81a5249998736b03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20389772', 'ctest-vn1-60663666'], 'port_security_enabled': True, 'description': ''}}
2025-11-21 17:06:10,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '68e950c6-a140-40c4-8e2b-0c87b8e5855d', 'name': '', 'tenant_id': '40e89458c73b428c81a5249998736b03', 'network_id': '25bb4b2b-8a8e-4b21-a2f3-b6faf9eda1f2', 'ip_version': 4, 'cidr': '102.235.133.128/26', 'allocation_pools': [{'start': '102.235.133.130', 'end': '102.235.133.190'}], 'gateway_ip': '102.235.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.235.133.130', 'tags': [], 'project_id': '40e89458c73b428c81a5249998736b03'}}
2025-11-21 17:06:10,666 - INFO - Created VN ctest-vn1-60663666
2025-11-21 17:06:10,720 - DEBUG - VN ctest-vn1-60663666 UUID is 25bb4b2b-8a8e-4b21-a2f3-b6faf9eda1f2
2025-11-21 17:06:11,193 - DEBUG - Response for create_network : {'network': {'id': '7dbaf1db-a53e-4404-b206-b330ece91bf7', 'name': 'ctest-vn2-42837773', 'tenant_id': '40e89458c73b428c81a5249998736b03', 'project_id': '40e89458c73b428c81a5249998736b03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20389772', 'ctest-vn2-42837773'], 'port_security_enabled': True, 'description': ''}}
2025-11-21 17:06:11,454 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f860d77b-6a3d-4d13-afa9-b3f4fc73a847', 'name': '', 'tenant_id': '40e89458c73b428c81a5249998736b03', 'network_id': '7dbaf1db-a53e-4404-b206-b330ece91bf7', 'ip_version': 4, 'cidr': '47.104.44.0/26', 'allocation_pools': [{'start': '47.104.44.2', 'end': '47.104.44.62'}], 'gateway_ip': '47.104.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.104.44.2', 'tags': [], 'project_id': '40e89458c73b428c81a5249998736b03'}}
2025-11-21 17:06:11,477 - INFO - Created VN ctest-vn2-42837773
2025-11-21 17:06:11,540 - DEBUG - VN ctest-vn2-42837773 UUID is 7dbaf1db-a53e-4404-b206-b330ece91bf7
2025-11-21 17:06:11,832 - DEBUG - Services list from nova: [, , ]
2025-11-21 17:06:13,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1)
2025-11-21 17:06:15,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1)
2025-11-21 17:06:15,320 - INFO - Adding interface with subnet_id 68e950c6-a140-40c4-8e2b-0c87b8e5855d, port_id None to router 8f4bcc9a-669e-476c-875d-69f57c657a75
2025-11-21 17:06:15,612 - INFO - Waiting for VM ctest-vn1-vm1-64849579 to be up..
2025-11-21 17:06:15,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-21 17:06:20,843 - DEBUG - VM is in ACTIVE state now
2025-11-21 17:06:20,844 - INFO - VM name : ctest-vn1-vm1-64849579
2025-11-21 17:06:20,942 - DEBUG - VM ctest-vn1-vm1-64849579 ID is 45512151-3cc2-4ab5-b885-4deabed5f93f
2025-11-21 17:06:20,981 - DEBUG - VM ctest-vn1-vm1-64849579 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1
2025-11-21 17:06:21,100 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/45512151-3cc2-4ab5-b885-4deabed5f93f
2025-11-21 17:06:21,427 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/45512151-3cc2-4ab5-b885-4deabed5f93f
2025-11-21 17:06:21,475 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6afdb8ad-b30b-4352-a4de-358b666495f4
2025-11-21 17:06:24,750 - 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 1019ms')
2025-11-21 17:06:24,750 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64849579 failed!
2025-11-21 17:06:24,804 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-20389772:ctest-vn1-60663666 is 102.235.133.129 and allocation pool is NOT set
2025-11-21 17:06:26,888 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.40 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 = 2.403/3.357/4.311/0.954 ms')
2025-11-21 17:06:26,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64849579 passed
2025-11-21 17:06:27,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:06:27,078 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64849579, IP 102.235.133.131, Port 22
2025-11-21 17:06:27,262 - DEBUG - VM ctest-vn1-vm1-64849579 is ready for SSH connections
2025-11-21 17:06:27,262 - INFO - Waiting for VM ctest-vn2-vm1-78218966 to be up..
2025-11-21 17:06:27,450 - DEBUG - VM is in ACTIVE state now
2025-11-21 17:06:27,450 - INFO - VM name : ctest-vn2-vm1-78218966
2025-11-21 17:06:27,631 - DEBUG - VM ctest-vn2-vm1-78218966 ID is cbae3c32-12d3-4f40-be53-b24052fd5b8e
2025-11-21 17:06:27,631 - DEBUG - VM ctest-vn2-vm1-78218966 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1
2025-11-21 17:06:27,797 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cbae3c32-12d3-4f40-be53-b24052fd5b8e
2025-11-21 17:06:27,815 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4eaa2e3d-1098-4075-9965-7d312d5c7871
2025-11-21 17:06:29,118 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.482/2.683/3.884/1.201 ms')
2025-11-21 17:06:29,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78218966 passed
2025-11-21 17:06:29,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:06:29,305 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78218966, IP 47.104.44.3, Port 22
2025-11-21 17:06:29,512 - DEBUG - VM ctest-vn2-vm1-78218966 is ready for SSH connections
2025-11-21 17:06:29,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:06:29,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.104.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-21 17:06:29,513 - DEBUG - ping -s 56 -c 3 -W 1 47.104.44.3
2025-11-21 17:06:35,018 - DEBUG - PING 47.104.44.3 (47.104.44.3): 56 data bytes
--- 47.104.44.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-21 17:06:35,019 - WARNING - Ping to IP 47.104.44.3 from VM ctest-vn1-vm1-64849579 failed
2025-11-21 17:06:35,019 - INFO - Adding interface with subnet_id f860d77b-6a3d-4d13-afa9-b3f4fc73a847, port_id None to router 8f4bcc9a-669e-476c-875d-69f57c657a75
2025-11-21 17:06:35,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:06:35,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.104.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-21 17:06:35,372 - DEBUG - ping -s 56 -c 3 -W 1 47.104.44.3
2025-11-21 17:06:37,691 - DEBUG - PING 47.104.44.3 (47.104.44.3): 56 data bytes
64 bytes from 47.104.44.3: seq=0 ttl=63 time=6.136 ms
64 bytes from 47.104.44.3: seq=1 ttl=63 time=2.316 ms
64 bytes from 47.104.44.3: seq=2 ttl=63 time=2.103 ms
--- 47.104.44.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.103/3.518/6.136 ms
2025-11-21 17:06:37,691 - INFO - Ping to IP 47.104.44.3 from VM ctest-vn1-vm1-64849579 passed
2025-11-21 17:06:37,691 - INFO - Deleting interface with subnet_id 68e950c6-a140-40c4-8e2b-0c87b8e5855d, port_id None from router 8f4bcc9a-669e-476c-875d-69f57c657a75
2025-11-21 17:06:37,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:06:37,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.104.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-21 17:06:37,924 - DEBUG - ping -s 56 -c 3 -W 1 47.104.44.3
2025-11-21 17:06:41,170 - DEBUG - PING 47.104.44.3 (47.104.44.3): 56 data bytes
--- 47.104.44.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-21 17:06:41,170 - WARNING - Ping to IP 47.104.44.3 from VM ctest-vn1-vm1-64849579 failed
2025-11-21 17:06:41,170 - INFO - Adding interface with subnet_id 68e950c6-a140-40c4-8e2b-0c87b8e5855d, port_id None to router 8f4bcc9a-669e-476c-875d-69f57c657a75
2025-11-21 17:06:41,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:06:41,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.104.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-21 17:06:41,528 - DEBUG - ping -s 56 -c 3 -W 1 47.104.44.3
2025-11-21 17:06:43,823 - DEBUG - PING 47.104.44.3 (47.104.44.3): 56 data bytes
64 bytes from 47.104.44.3: seq=0 ttl=63 time=2.250 ms
64 bytes from 47.104.44.3: seq=1 ttl=63 time=2.128 ms
64 bytes from 47.104.44.3: seq=2 ttl=63 time=1.708 ms
--- 47.104.44.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.708/2.028/2.250 ms
2025-11-21 17:06:43,824 - INFO - Ping to IP 47.104.44.3 from VM ctest-vn1-vm1-64849579 passed
2025-11-21 17:06:43,824 - INFO - Deleting interface with subnet_id f860d77b-6a3d-4d13-afa9-b3f4fc73a847, port_id None from router 8f4bcc9a-669e-476c-875d-69f57c657a75
2025-11-21 17:06:44,063 - INFO - Deleting interface with subnet_id 68e950c6-a140-40c4-8e2b-0c87b8e5855d, port_id None from router 8f4bcc9a-669e-476c-875d-69f57c657a75
2025-11-21 17:06:44,262 - INFO - Deleting VM ctest-vn2-vm1-78218966
2025-11-21 17:06:44,330 - INFO - Deleting VM ctest-vn1-vm1-64849579
2025-11-21 17:06:44,426 - INFO - Deleting VN ctest-vn2-42837773
2025-11-21 17:06:44,483 - DEBUG - VN 7dbaf1db-a53e-4404-b206-b330ece91bf7 still in use: Unable to complete operation on network 7dbaf1db-a53e-4404-b206-b330ece91bf7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-942ab13d-4fc1-4cdc-9ae3-3ec710b1104b']
2025-11-21 17:06:44,483 - WARNING - Deleting VN ctest-vn2-42837773 failed..Will retry
2025-11-21 17:06:46,725 - DEBUG - Response for deleting network ()
2025-11-21 17:06:46,725 - INFO - Deleting VN ctest-vn1-60663666
2025-11-21 17:06:46,845 - DEBUG - Response for deleting network ()
2025-11-21 17:06:47,147 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:06:47,147 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-21 17:06:47,148 - INFO - --------------------------------------------------------------------------------
2025-11-21 17:06:48,186 - INFO - Deleted project: ctest-TestRouters-20389772, ID : 40e89458-c73b-428c-81a5-249998736b03