2025-07-30 20:20:38,242 - INFO - Domain Default found not creating
2025-07-30 20:20:38,437 - INFO - Project ctest-TestRouters-02066014 not found, creating it
2025-07-30 20:20:39,019 - INFO - Created Project:ctest-TestRouters-02066014, ID : 5fa40f9f-6811-4533-bbc7-dc8110d6767b
2025-07-30 20:20:40,741 - INFO - ================================================================================
2025-07-30 20:20:40,741 - INFO - STARTING TEST : test_basic_router_behavior
2025-07-30 20:20:40,741 - 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-07-30 20:20:41,062 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-07-30 20:20:41,062 - INFO - Initial checks done. Running the testcase now
2025-07-30 20:20:41,062 - INFO -
2025-07-30 20:20:41,800 - DEBUG - Response for create_network : {'network': {'id': 'c3d21832-e911-42cb-9442-4f438c28e9a9', 'name': 'ctest-vn1-44650768', 'tenant_id': '5fa40f9f68114533bbc7dc8110d6767b', 'project_id': '5fa40f9f68114533bbc7dc8110d6767b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02066014', 'ctest-vn1-44650768'], 'port_security_enabled': True, 'description': ''}}
2025-07-30 20:20:42,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '6800adf0-070b-4cbc-ab75-3454b76d97bb', 'name': '', 'tenant_id': '5fa40f9f68114533bbc7dc8110d6767b', 'network_id': 'c3d21832-e911-42cb-9442-4f438c28e9a9', 'ip_version': 4, 'cidr': '214.14.241.128/26', 'allocation_pools': [{'start': '214.14.241.130', 'end': '214.14.241.190'}], 'gateway_ip': '214.14.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.14.241.130', 'tags': [], 'project_id': '5fa40f9f68114533bbc7dc8110d6767b'}}
2025-07-30 20:20:42,071 - INFO - Created VN ctest-vn1-44650768
2025-07-30 20:20:42,128 - DEBUG - VN ctest-vn1-44650768 UUID is c3d21832-e911-42cb-9442-4f438c28e9a9
2025-07-30 20:20:42,721 - DEBUG - Response for create_network : {'network': {'id': '40d9e88d-9d12-4204-9fc3-c2dbf9c52a7e', 'name': 'ctest-vn2-01548087', 'tenant_id': '5fa40f9f68114533bbc7dc8110d6767b', 'project_id': '5fa40f9f68114533bbc7dc8110d6767b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-02066014', 'ctest-vn2-01548087'], 'port_security_enabled': True, 'description': ''}}
2025-07-30 20:20:42,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb292941-5709-49ed-8bff-f914a6188ed8', 'name': '', 'tenant_id': '5fa40f9f68114533bbc7dc8110d6767b', 'network_id': '40d9e88d-9d12-4204-9fc3-c2dbf9c52a7e', 'ip_version': 4, 'cidr': '219.98.204.64/26', 'allocation_pools': [{'start': '219.98.204.66', 'end': '219.98.204.126'}], 'gateway_ip': '219.98.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.98.204.66', 'tags': [], 'project_id': '5fa40f9f68114533bbc7dc8110d6767b'}}
2025-07-30 20:20:42,938 - INFO - Created VN ctest-vn2-01548087
2025-07-30 20:20:42,996 - DEBUG - VN ctest-vn2-01548087 UUID is 40d9e88d-9d12-4204-9fc3-c2dbf9c52a7e
2025-07-30 20:20:43,305 - DEBUG - Services list from nova: [, , ]
2025-07-30 20:20:44,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1)
2025-07-30 20:20:46,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1)
2025-07-30 20:20:46,899 - INFO - Adding interface with subnet_id 6800adf0-070b-4cbc-ab75-3454b76d97bb, port_id None to router 96afae8e-dec9-4fa0-957c-89941f7995ad
2025-07-30 20:20:47,187 - INFO - Waiting for VM ctest-vn1-vm1-95738524 to be up..
2025-07-30 20:20:47,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-30 20:20:52,448 - DEBUG - VM is in ACTIVE state now
2025-07-30 20:20:52,448 - INFO - VM name : ctest-vn1-vm1-95738524
2025-07-30 20:20:52,562 - DEBUG - VM ctest-vn1-vm1-95738524 ID is d3f939fa-8cf1-40db-a750-862b1180d34b
2025-07-30 20:20:52,582 - DEBUG - VM ctest-vn1-vm1-95738524 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1
2025-07-30 20:20:52,736 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d3f939fa-8cf1-40db-a750-862b1180d34b
2025-07-30 20:20:53,054 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d3f939fa-8cf1-40db-a750-862b1180d34b
2025-07-30 20:20:53,087 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6cd8cc36-eba0-4c6f-a293-97156be79d6f
2025-07-30 20:20:56,420 - 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 1031ms')
2025-07-30 20:20:56,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95738524 failed!
2025-07-30 20:20:56,476 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-02066014:ctest-vn1-44650768 is 214.14.241.129 and allocation pool is NOT set
2025-07-30 20:20:58,546 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.815 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.815/3.028/5.241/2.213 ms')
2025-07-30 20:20:58,547 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95738524 passed
2025-07-30 20:20:58,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 20:20:58,744 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95738524, IP 214.14.241.131, Port 22
2025-07-30 20:20:58,946 - DEBUG - VM ctest-vn1-vm1-95738524 is ready for SSH connections
2025-07-30 20:20:58,947 - INFO - Waiting for VM ctest-vn2-vm1-06808189 to be up..
2025-07-30 20:20:59,125 - DEBUG - VM is in ACTIVE state now
2025-07-30 20:20:59,125 - INFO - VM name : ctest-vn2-vm1-06808189
2025-07-30 20:20:59,270 - DEBUG - VM ctest-vn2-vm1-06808189 ID is 550d5232-e1ba-44f8-b93b-b5f073087b19
2025-07-30 20:20:59,271 - DEBUG - VM ctest-vn2-vm1-06808189 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1
2025-07-30 20:20:59,411 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/550d5232-e1ba-44f8-b93b-b5f073087b19
2025-07-30 20:20:59,425 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b16ebc83-3459-424c-a5af-86de7fd97f51
2025-07-30 20:21:00,735 - 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=8.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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 = 2.141/5.169/8.197/3.028 ms')
2025-07-30 20:21:00,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-06808189 passed
2025-07-30 20:21:00,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 20:21:00,933 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-06808189, IP 219.98.204.67, Port 22
2025-07-30 20:21:01,133 - DEBUG - VM ctest-vn2-vm1-06808189 is ready for SSH connections
2025-07-30 20:21:01,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 20:21:01,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.98.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-30 20:21:01,134 - DEBUG - ping -s 56 -c 3 -W 1 219.98.204.67
2025-07-30 20:21:06,593 - DEBUG - PING 219.98.204.67 (219.98.204.67): 56 data bytes
--- 219.98.204.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-30 20:21:06,593 - WARNING - Ping to IP 219.98.204.67 from VM ctest-vn1-vm1-95738524 failed
2025-07-30 20:21:06,593 - INFO - Adding interface with subnet_id bb292941-5709-49ed-8bff-f914a6188ed8, port_id None to router 96afae8e-dec9-4fa0-957c-89941f7995ad
2025-07-30 20:21:07,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 20:21:07,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.98.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-30 20:21:07,009 - DEBUG - ping -s 56 -c 3 -W 1 219.98.204.67
2025-07-30 20:21:09,235 - DEBUG - PING 219.98.204.67 (219.98.204.67): 56 data bytes
64 bytes from 219.98.204.67: seq=0 ttl=63 time=2.634 ms
64 bytes from 219.98.204.67: seq=1 ttl=63 time=1.807 ms
64 bytes from 219.98.204.67: seq=2 ttl=63 time=1.892 ms
--- 219.98.204.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.807/2.111/2.634 ms
2025-07-30 20:21:09,236 - INFO - Ping to IP 219.98.204.67 from VM ctest-vn1-vm1-95738524 passed
2025-07-30 20:21:09,236 - INFO - Deleting interface with subnet_id 6800adf0-070b-4cbc-ab75-3454b76d97bb, port_id None from router 96afae8e-dec9-4fa0-957c-89941f7995ad
2025-07-30 20:21:09,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 20:21:09,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.98.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-30 20:21:09,478 - DEBUG - ping -s 56 -c 3 -W 1 219.98.204.67
2025-07-30 20:21:12,771 - DEBUG - PING 219.98.204.67 (219.98.204.67): 56 data bytes
--- 219.98.204.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-30 20:21:12,771 - WARNING - Ping to IP 219.98.204.67 from VM ctest-vn1-vm1-95738524 failed
2025-07-30 20:21:12,771 - INFO - Adding interface with subnet_id 6800adf0-070b-4cbc-ab75-3454b76d97bb, port_id None to router 96afae8e-dec9-4fa0-957c-89941f7995ad
2025-07-30 20:21:13,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-30 20:21:13,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.98.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-30 20:21:13,097 - DEBUG - ping -s 56 -c 3 -W 1 219.98.204.67
2025-07-30 20:21:15,381 - DEBUG - PING 219.98.204.67 (219.98.204.67): 56 data bytes
64 bytes from 219.98.204.67: seq=0 ttl=63 time=1.509 ms
64 bytes from 219.98.204.67: seq=1 ttl=63 time=1.871 ms
64 bytes from 219.98.204.67: seq=2 ttl=63 time=2.602 ms
--- 219.98.204.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.509/1.994/2.602 ms
2025-07-30 20:21:15,382 - INFO - Ping to IP 219.98.204.67 from VM ctest-vn1-vm1-95738524 passed
2025-07-30 20:21:15,382 - INFO - Deleting interface with subnet_id bb292941-5709-49ed-8bff-f914a6188ed8, port_id None from router 96afae8e-dec9-4fa0-957c-89941f7995ad
2025-07-30 20:21:15,650 - INFO - Deleting interface with subnet_id 6800adf0-070b-4cbc-ab75-3454b76d97bb, port_id None from router 96afae8e-dec9-4fa0-957c-89941f7995ad
2025-07-30 20:21:15,905 - INFO - Deleting VM ctest-vn2-vm1-06808189
2025-07-30 20:21:16,036 - INFO - Deleting VM ctest-vn1-vm1-95738524
2025-07-30 20:21:16,179 - INFO - Deleting VN ctest-vn2-01548087
2025-07-30 20:21:16,281 - DEBUG - VN 40d9e88d-9d12-4204-9fc3-c2dbf9c52a7e still in use: Unable to complete operation on network 40d9e88d-9d12-4204-9fc3-c2dbf9c52a7e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a2c86991-3750-4015-8cf5-c0474098d416']
2025-07-30 20:21:16,282 - WARNING - Deleting VN ctest-vn2-01548087 failed..Will retry
2025-07-30 20:21:18,552 - DEBUG - Response for deleting network ()
2025-07-30 20:21:18,552 - INFO - Deleting VN ctest-vn1-44650768
2025-07-30 20:21:18,707 - DEBUG - Response for deleting network ()
2025-07-30 20:21:19,018 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 20:21:19,018 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-07-30 20:21:19,018 - INFO - --------------------------------------------------------------------------------
2025-07-30 20:21:19,920 - INFO - Deleted project: ctest-TestRouters-02066014, ID : 5fa40f9f-6811-4533-bbc7-dc8110d6767b