2025-08-11 12:14:33,929 - INFO - Domain Default found not creating
2025-08-11 12:14:34,047 - INFO - Project ctest-TestRouters-55477657 not found, creating it
2025-08-11 12:14:34,595 - INFO - Created Project:ctest-TestRouters-55477657, ID : 039a608a-aeb0-4d08-a4b3-8e36532068c7
2025-08-11 12:14:35,940 - INFO - ================================================================================
2025-08-11 12:14:35,941 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-11 12:14:35,941 - 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-08-11 12:14:36,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-08-11 12:14:36,196 - INFO - Initial checks done. Running the testcase now
2025-08-11 12:14:36,196 - INFO -
2025-08-11 12:14:36,751 - DEBUG - Response for create_network : {'network': {'id': 'f87ab0d3-d964-43fb-a598-d033503cd5e9', 'name': 'ctest-vn1-41084224', 'tenant_id': '039a608aaeb04d08a4b38e36532068c7', 'project_id': '039a608aaeb04d08a4b38e36532068c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55477657', 'ctest-vn1-41084224'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 12:14:36,966 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a283cd19-2ef8-4b36-9963-ad3f09935104', 'name': '', 'tenant_id': '039a608aaeb04d08a4b38e36532068c7', 'network_id': 'f87ab0d3-d964-43fb-a598-d033503cd5e9', 'ip_version': 4, 'cidr': '64.22.140.0/26', 'allocation_pools': [{'start': '64.22.140.2', 'end': '64.22.140.62'}], 'gateway_ip': '64.22.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.22.140.2', 'tags': [], 'project_id': '039a608aaeb04d08a4b38e36532068c7'}}
2025-08-11 12:14:36,987 - INFO - Created VN ctest-vn1-41084224
2025-08-11 12:14:37,039 - DEBUG - VN ctest-vn1-41084224 UUID is f87ab0d3-d964-43fb-a598-d033503cd5e9
2025-08-11 12:14:37,374 - DEBUG - Response for create_network : {'network': {'id': '71058881-c667-405f-b62e-5b667a97b13a', 'name': 'ctest-vn2-64066544', 'tenant_id': '039a608aaeb04d08a4b38e36532068c7', 'project_id': '039a608aaeb04d08a4b38e36532068c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55477657', 'ctest-vn2-64066544'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 12:14:37,558 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9c2d8cd-46be-42a5-b281-1a34eedc2f05', 'name': '', 'tenant_id': '039a608aaeb04d08a4b38e36532068c7', 'network_id': '71058881-c667-405f-b62e-5b667a97b13a', 'ip_version': 4, 'cidr': '159.234.112.0/26', 'allocation_pools': [{'start': '159.234.112.2', 'end': '159.234.112.62'}], 'gateway_ip': '159.234.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.234.112.2', 'tags': [], 'project_id': '039a608aaeb04d08a4b38e36532068c7'}}
2025-08-11 12:14:37,590 - INFO - Created VN ctest-vn2-64066544
2025-08-11 12:14:37,651 - DEBUG - VN ctest-vn2-64066544 UUID is 71058881-c667-405f-b62e-5b667a97b13a
2025-08-11 12:14:37,886 - DEBUG - Services list from nova: [, , ]
2025-08-11 12:14:38,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1)
2025-08-11 12:14:40,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1)
2025-08-11 12:14:40,169 - INFO - Adding interface with subnet_id a283cd19-2ef8-4b36-9963-ad3f09935104, port_id None to router 25c5c9fb-5d9d-4bfd-8e8f-e7b4c6177b24
2025-08-11 12:14:40,428 - INFO - Waiting for VM ctest-vn1-vm1-18522668 to be up..
2025-08-11 12:14:40,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 12:14:45,568 - DEBUG - VM is in ACTIVE state now
2025-08-11 12:14:45,568 - INFO - VM name : ctest-vn1-vm1-18522668
2025-08-11 12:14:45,629 - DEBUG - VM ctest-vn1-vm1-18522668 ID is 160ee497-9077-4715-be4e-0efff4e12a49
2025-08-11 12:14:45,646 - DEBUG - VM ctest-vn1-vm1-18522668 launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1
2025-08-11 12:14:45,706 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/160ee497-9077-4715-be4e-0efff4e12a49
2025-08-11 12:14:45,992 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/160ee497-9077-4715-be4e-0efff4e12a49
2025-08-11 12:14:46,020 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/abe34dd8-3a50-456a-91fe-5537000e5aef
2025-08-11 12:14:49,286 - 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 1036ms')
2025-08-11 12:14:49,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18522668 failed!
2025-08-11 12:14:49,339 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55477657:ctest-vn1-41084224 is 64.22.140.1 and allocation pool is NOT set
2025-08-11 12:14:51,394 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.319 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.319/1.539/2.759/1.220 ms')
2025-08-11 12:14:51,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18522668 passed
2025-08-11 12:14:51,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 12:14:51,547 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18522668, IP 64.22.140.3, Port 22
2025-08-11 12:14:51,706 - DEBUG - VM ctest-vn1-vm1-18522668 is ready for SSH connections
2025-08-11 12:14:51,706 - INFO - Waiting for VM ctest-vn2-vm1-67767602 to be up..
2025-08-11 12:14:51,769 - DEBUG - VM is in ACTIVE state now
2025-08-11 12:14:51,769 - INFO - VM name : ctest-vn2-vm1-67767602
2025-08-11 12:14:51,828 - DEBUG - VM ctest-vn2-vm1-67767602 ID is 709e6316-d223-4685-8833-39b6c7825eee
2025-08-11 12:14:51,828 - DEBUG - VM ctest-vn2-vm1-67767602 launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1
2025-08-11 12:14:51,886 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/709e6316-d223-4685-8833-39b6c7825eee
2025-08-11 12:14:51,893 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/609abe89-5873-46ae-b668-626d5593d3b9
2025-08-11 12:14:53,113 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.337 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.337/1.484/2.632/1.147 ms')
2025-08-11 12:14:53,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-67767602 passed
2025-08-11 12:14:53,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 12:14:53,259 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-67767602, IP 159.234.112.3, Port 22
2025-08-11 12:14:53,418 - DEBUG - VM ctest-vn2-vm1-67767602 is ready for SSH connections
2025-08-11 12:14:53,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 12:14:53,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.234.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-11 12:14:53,419 - DEBUG - ping -s 56 -c 3 -W 1 159.234.112.3
2025-08-11 12:14:58,035 - DEBUG - PING 159.234.112.3 (159.234.112.3): 56 data bytes
--- 159.234.112.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-11 12:14:58,035 - WARNING - Ping to IP 159.234.112.3 from VM ctest-vn1-vm1-18522668 failed
2025-08-11 12:14:58,035 - INFO - Adding interface with subnet_id a9c2d8cd-46be-42a5-b281-1a34eedc2f05, port_id None to router 25c5c9fb-5d9d-4bfd-8e8f-e7b4c6177b24
2025-08-11 12:14:58,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 12:14:58,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.234.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-11 12:14:58,253 - DEBUG - ping -s 56 -c 3 -W 1 159.234.112.3
2025-08-11 12:15:00,438 - DEBUG - PING 159.234.112.3 (159.234.112.3): 56 data bytes
64 bytes from 159.234.112.3: seq=0 ttl=63 time=2.160 ms
64 bytes from 159.234.112.3: seq=1 ttl=63 time=0.709 ms
64 bytes from 159.234.112.3: seq=2 ttl=63 time=0.741 ms
--- 159.234.112.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.709/1.203/2.160 ms
2025-08-11 12:15:00,438 - INFO - Ping to IP 159.234.112.3 from VM ctest-vn1-vm1-18522668 passed
2025-08-11 12:15:00,438 - INFO - Deleting interface with subnet_id a283cd19-2ef8-4b36-9963-ad3f09935104, port_id None from router 25c5c9fb-5d9d-4bfd-8e8f-e7b4c6177b24
2025-08-11 12:15:00,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 12:15:00,542 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.234.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-11 12:15:00,542 - DEBUG - ping -s 56 -c 3 -W 1 159.234.112.3
2025-08-11 12:15:03,727 - DEBUG - PING 159.234.112.3 (159.234.112.3): 56 data bytes
--- 159.234.112.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-11 12:15:03,727 - WARNING - Ping to IP 159.234.112.3 from VM ctest-vn1-vm1-18522668 failed
2025-08-11 12:15:03,727 - INFO - Adding interface with subnet_id a283cd19-2ef8-4b36-9963-ad3f09935104, port_id None to router 25c5c9fb-5d9d-4bfd-8e8f-e7b4c6177b24
2025-08-11 12:15:03,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 12:15:03,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.234.112.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-11 12:15:03,928 - DEBUG - ping -s 56 -c 3 -W 1 159.234.112.3
2025-08-11 12:15:06,112 - DEBUG - PING 159.234.112.3 (159.234.112.3): 56 data bytes
64 bytes from 159.234.112.3: seq=0 ttl=63 time=1.171 ms
64 bytes from 159.234.112.3: seq=1 ttl=63 time=0.690 ms
64 bytes from 159.234.112.3: seq=2 ttl=63 time=0.769 ms
--- 159.234.112.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.690/0.876/1.171 ms
2025-08-11 12:15:06,112 - INFO - Ping to IP 159.234.112.3 from VM ctest-vn1-vm1-18522668 passed
2025-08-11 12:15:06,113 - INFO - Deleting interface with subnet_id a9c2d8cd-46be-42a5-b281-1a34eedc2f05, port_id None from router 25c5c9fb-5d9d-4bfd-8e8f-e7b4c6177b24
2025-08-11 12:15:06,242 - INFO - Deleting interface with subnet_id a283cd19-2ef8-4b36-9963-ad3f09935104, port_id None from router 25c5c9fb-5d9d-4bfd-8e8f-e7b4c6177b24
2025-08-11 12:15:06,415 - INFO - Deleting VM ctest-vn2-vm1-67767602
2025-08-11 12:15:06,472 - INFO - Deleting VM ctest-vn1-vm1-18522668
2025-08-11 12:15:06,528 - INFO - Deleting VN ctest-vn2-64066544
2025-08-11 12:15:06,561 - DEBUG - VN 71058881-c667-405f-b62e-5b667a97b13a still in use: Unable to complete operation on network 71058881-c667-405f-b62e-5b667a97b13a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-69381ef0-b2bf-4789-9c69-27332bb45518']
2025-08-11 12:15:06,561 - WARNING - Deleting VN ctest-vn2-64066544 failed..Will retry
2025-08-11 12:15:08,653 - DEBUG - Response for deleting network ()
2025-08-11 12:15:08,653 - INFO - Deleting VN ctest-vn1-41084224
2025-08-11 12:15:08,749 - DEBUG - Response for deleting network ()
2025-08-11 12:15:09,000 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 12:15:09,000 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34]
2025-08-11 12:15:09,000 - INFO - --------------------------------------------------------------------------------
2025-08-11 12:15:09,635 - INFO - Deleted project: ctest-TestRouters-55477657, ID : 039a608a-aeb0-4d08-a4b3-8e36532068c7