2025-10-07 18:19:42,188 - INFO - Domain Default found not creating
2025-10-07 18:19:42,531 - INFO - Project ctest-TestRouters-44546223 not found, creating it
2025-10-07 18:19:43,178 - INFO - Created Project:ctest-TestRouters-44546223, ID : ddf11b0e-97e0-40e4-8c57-d7ab3e928f94
2025-10-07 18:19:45,051 - INFO - ================================================================================
2025-10-07 18:19:45,051 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-07 18:19:45,051 - 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-07 18:19:45,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with
2025-10-07 18:19:45,329 - INFO - Initial checks done. Running the testcase now
2025-10-07 18:19:45,330 - INFO -
2025-10-07 18:19:46,117 - DEBUG - Response for create_network : {'network': {'id': '4ba25ece-ff72-4d8e-af4f-f6a11d46bfd9', 'name': 'ctest-vn1-84660866', 'tenant_id': 'ddf11b0e97e040e48c57d7ab3e928f94', 'project_id': 'ddf11b0e97e040e48c57d7ab3e928f94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44546223', 'ctest-vn1-84660866'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 18:19:46,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '67719c78-2933-4f4f-b735-186927038e48', 'name': '', 'tenant_id': 'ddf11b0e97e040e48c57d7ab3e928f94', 'network_id': '4ba25ece-ff72-4d8e-af4f-f6a11d46bfd9', 'ip_version': 4, 'cidr': '130.35.171.0/26', 'allocation_pools': [{'start': '130.35.171.2', 'end': '130.35.171.62'}], 'gateway_ip': '130.35.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.35.171.2', 'tags': [], 'project_id': 'ddf11b0e97e040e48c57d7ab3e928f94'}}
2025-10-07 18:19:46,335 - INFO - Created VN ctest-vn1-84660866
2025-10-07 18:19:46,392 - DEBUG - VN ctest-vn1-84660866 UUID is 4ba25ece-ff72-4d8e-af4f-f6a11d46bfd9
2025-10-07 18:19:46,755 - DEBUG - Response for create_network : {'network': {'id': '629688b3-5286-4138-9e67-d956c4728df6', 'name': 'ctest-vn2-87650603', 'tenant_id': 'ddf11b0e97e040e48c57d7ab3e928f94', 'project_id': 'ddf11b0e97e040e48c57d7ab3e928f94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44546223', 'ctest-vn2-87650603'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 18:19:46,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dff47f0-9f08-477c-9015-584fcfcf9112', 'name': '', 'tenant_id': 'ddf11b0e97e040e48c57d7ab3e928f94', 'network_id': '629688b3-5286-4138-9e67-d956c4728df6', 'ip_version': 4, 'cidr': '117.94.63.64/26', 'allocation_pools': [{'start': '117.94.63.66', 'end': '117.94.63.126'}], 'gateway_ip': '117.94.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.94.63.66', 'tags': [], 'project_id': 'ddf11b0e97e040e48c57d7ab3e928f94'}}
2025-10-07 18:19:47,025 - INFO - Created VN ctest-vn2-87650603
2025-10-07 18:19:47,080 - DEBUG - VN ctest-vn2-87650603 UUID is 629688b3-5286-4138-9e67-d956c4728df6
2025-10-07 18:19:47,387 - DEBUG - Services list from nova: [, , ]
2025-10-07 18:19:48,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4231-1)
2025-10-07 18:19:50,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4231-1)
2025-10-07 18:19:50,637 - INFO - Adding interface with subnet_id 67719c78-2933-4f4f-b735-186927038e48, port_id None to router 5b795ba5-319d-4db0-b855-8390aa4a52e1
2025-10-07 18:19:50,972 - INFO - Waiting for VM ctest-vn1-vm1-16590515 to be up..
2025-10-07 18:19:51,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-07 18:19:56,250 - DEBUG - VM is in ACTIVE state now
2025-10-07 18:19:56,250 - INFO - VM name : ctest-vn1-vm1-16590515
2025-10-07 18:19:56,425 - DEBUG - VM ctest-vn1-vm1-16590515 ID is adc9f2aa-11ee-466c-97c5-5f948478b54f
2025-10-07 18:19:56,468 - DEBUG - VM ctest-vn1-vm1-16590515 launched on Node cn-jenkins-deploy-platform-ansible-os-4231-1
2025-10-07 18:19:56,602 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/adc9f2aa-11ee-466c-97c5-5f948478b54f
2025-10-07 18:19:56,949 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/adc9f2aa-11ee-466c-97c5-5f948478b54f
2025-10-07 18:19:57,019 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/67d0ce6e-de39-4f58-8dfe-44f1ff334c4d
2025-10-07 18:20:00,354 - 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 1009ms')
2025-10-07 18:20:00,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16590515 failed!
2025-10-07 18:20:00,415 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-44546223:ctest-vn1-84660866 is 130.35.171.1 and allocation pool is NOT set
2025-10-07 18:20:02,476 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.597 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.597/2.449/4.301/1.852 ms')
2025-10-07 18:20:02,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16590515 passed
2025-10-07 18:20:02,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:20:02,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16590515, IP 130.35.171.3, Port 22
2025-10-07 18:20:02,830 - DEBUG - VM ctest-vn1-vm1-16590515 is ready for SSH connections
2025-10-07 18:20:02,830 - INFO - Waiting for VM ctest-vn2-vm1-38741618 to be up..
2025-10-07 18:20:02,963 - DEBUG - VM is in ACTIVE state now
2025-10-07 18:20:02,963 - INFO - VM name : ctest-vn2-vm1-38741618
2025-10-07 18:20:03,087 - DEBUG - VM ctest-vn2-vm1-38741618 ID is 3222cb88-fda3-48aa-908d-14063ca37bdf
2025-10-07 18:20:03,087 - DEBUG - VM ctest-vn2-vm1-38741618 launched on Node cn-jenkins-deploy-platform-ansible-os-4231-1
2025-10-07 18:20:03,197 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/3222cb88-fda3-48aa-908d-14063ca37bdf
2025-10-07 18:20:03,216 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/198ba0a5-4872-4a95-8b61-53d67f7d6fe7
2025-10-07 18:20:04,509 - 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=9.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.55 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 = 1.549/5.304/9.060/3.755 ms')
2025-10-07 18:20:04,509 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-38741618 passed
2025-10-07 18:20:04,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:20:04,687 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-38741618, IP 117.94.63.67, Port 22
2025-10-07 18:20:04,885 - DEBUG - VM ctest-vn2-vm1-38741618 is ready for SSH connections
2025-10-07 18:20:04,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:20:04,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.94.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-10-07 18:20:04,886 - DEBUG - ping -s 56 -c 3 -W 1 117.94.63.67
2025-10-07 18:20:10,211 - DEBUG - PING 117.94.63.67 (117.94.63.67): 56 data bytes
--- 117.94.63.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-07 18:20:10,211 - WARNING - Ping to IP 117.94.63.67 from VM ctest-vn1-vm1-16590515 failed
2025-10-07 18:20:10,211 - INFO - Adding interface with subnet_id 2dff47f0-9f08-477c-9015-584fcfcf9112, port_id None to router 5b795ba5-319d-4db0-b855-8390aa4a52e1
2025-10-07 18:20:10,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:20:10,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.94.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-10-07 18:20:10,574 - DEBUG - ping -s 56 -c 3 -W 1 117.94.63.67
2025-10-07 18:20:12,860 - DEBUG - PING 117.94.63.67 (117.94.63.67): 56 data bytes
64 bytes from 117.94.63.67: seq=0 ttl=63 time=6.961 ms
64 bytes from 117.94.63.67: seq=1 ttl=63 time=1.916 ms
64 bytes from 117.94.63.67: seq=2 ttl=63 time=1.619 ms
--- 117.94.63.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.619/3.498/6.961 ms
2025-10-07 18:20:12,860 - INFO - Ping to IP 117.94.63.67 from VM ctest-vn1-vm1-16590515 passed
2025-10-07 18:20:12,861 - INFO - Deleting interface with subnet_id 67719c78-2933-4f4f-b735-186927038e48, port_id None from router 5b795ba5-319d-4db0-b855-8390aa4a52e1
2025-10-07 18:20:13,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:20:13,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.94.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-10-07 18:20:13,098 - DEBUG - ping -s 56 -c 3 -W 1 117.94.63.67
2025-10-07 18:20:16,357 - DEBUG - PING 117.94.63.67 (117.94.63.67): 56 data bytes
--- 117.94.63.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-07 18:20:16,357 - WARNING - Ping to IP 117.94.63.67 from VM ctest-vn1-vm1-16590515 failed
2025-10-07 18:20:16,357 - INFO - Adding interface with subnet_id 67719c78-2933-4f4f-b735-186927038e48, port_id None to router 5b795ba5-319d-4db0-b855-8390aa4a52e1
2025-10-07 18:20:16,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 18:20:16,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.94.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-10-07 18:20:16,614 - DEBUG - ping -s 56 -c 3 -W 1 117.94.63.67
2025-10-07 18:20:18,831 - DEBUG - PING 117.94.63.67 (117.94.63.67): 56 data bytes
64 bytes from 117.94.63.67: seq=0 ttl=63 time=1.996 ms
64 bytes from 117.94.63.67: seq=1 ttl=63 time=1.802 ms
64 bytes from 117.94.63.67: seq=2 ttl=63 time=1.676 ms
--- 117.94.63.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.676/1.824/1.996 ms
2025-10-07 18:20:18,832 - INFO - Ping to IP 117.94.63.67 from VM ctest-vn1-vm1-16590515 passed
2025-10-07 18:20:18,832 - INFO - Deleting interface with subnet_id 2dff47f0-9f08-477c-9015-584fcfcf9112, port_id None from router 5b795ba5-319d-4db0-b855-8390aa4a52e1
2025-10-07 18:20:19,041 - INFO - Deleting interface with subnet_id 67719c78-2933-4f4f-b735-186927038e48, port_id None from router 5b795ba5-319d-4db0-b855-8390aa4a52e1
2025-10-07 18:20:19,258 - INFO - Deleting VM ctest-vn2-vm1-38741618
2025-10-07 18:20:19,337 - INFO - Deleting VM ctest-vn1-vm1-16590515
2025-10-07 18:20:19,453 - INFO - Deleting VN ctest-vn2-87650603
2025-10-07 18:20:19,520 - DEBUG - VN 629688b3-5286-4138-9e67-d956c4728df6 still in use: Unable to complete operation on network 629688b3-5286-4138-9e67-d956c4728df6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9cbd8113-6f49-407b-a0b0-db0db2a1da46']
2025-10-07 18:20:19,520 - WARNING - Deleting VN ctest-vn2-87650603 failed..Will retry
2025-10-07 18:20:21,731 - DEBUG - Response for deleting network ()
2025-10-07 18:20:21,731 - INFO - Deleting VN ctest-vn1-84660866
2025-10-07 18:20:21,869 - DEBUG - Response for deleting network ()
2025-10-07 18:20:22,186 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 18:20:22,186 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-07 18:20:22,187 - INFO - --------------------------------------------------------------------------------
2025-10-07 18:20:23,593 - INFO - Deleted project: ctest-TestRouters-44546223, ID : ddf11b0e-97e0-40e4-8c57-d7ab3e928f94