2025-09-15 02:00:40,205 - INFO - Domain Default found not creating
2025-09-15 02:00:40,430 - INFO - Project ctest-TestRouters-19682607 not found, creating it
2025-09-15 02:00:40,899 - INFO - Created Project:ctest-TestRouters-19682607, ID : 806fdd97-a5dc-4b4f-9d7e-630de48c6521
2025-09-15 02:00:42,364 - INFO - ================================================================================
2025-09-15 02:00:42,365 - INFO - STARTING TEST : test_basic_router_behavior
2025-09-15 02:00:42,365 - 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-15 02:00:42,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-15 02:00:42,619 - INFO - Initial checks done. Running the testcase now
2025-09-15 02:00:42,619 - INFO -
2025-09-15 02:00:43,189 - DEBUG - Response for create_network : {'network': {'id': 'fa572d10-3333-424e-81df-0238c486bb5f', 'name': 'ctest-vn1-01223088', 'tenant_id': '806fdd97a5dc4b4f9d7e630de48c6521', 'project_id': '806fdd97a5dc4b4f9d7e630de48c6521', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19682607', 'ctest-vn1-01223088'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 02:00:43,350 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0a62e66-15a7-49d9-9984-9ebe985a5ad8', 'name': '', 'tenant_id': '806fdd97a5dc4b4f9d7e630de48c6521', 'network_id': 'fa572d10-3333-424e-81df-0238c486bb5f', 'ip_version': 4, 'cidr': '188.142.218.192/26', 'allocation_pools': [{'start': '188.142.218.194', 'end': '188.142.218.254'}], 'gateway_ip': '188.142.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.142.218.194', 'tags': [], 'project_id': '806fdd97a5dc4b4f9d7e630de48c6521'}}
2025-09-15 02:00:43,364 - INFO - Created VN ctest-vn1-01223088
2025-09-15 02:00:43,413 - DEBUG - VN ctest-vn1-01223088 UUID is fa572d10-3333-424e-81df-0238c486bb5f
2025-09-15 02:00:43,746 - DEBUG - Response for create_network : {'network': {'id': '0cf73f10-c647-44b1-bb72-84f0ece18fb7', 'name': 'ctest-vn2-41233677', 'tenant_id': '806fdd97a5dc4b4f9d7e630de48c6521', 'project_id': '806fdd97a5dc4b4f9d7e630de48c6521', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19682607', 'ctest-vn2-41233677'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 02:00:43,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '01899506-bcaf-491d-882c-130270d08160', 'name': '', 'tenant_id': '806fdd97a5dc4b4f9d7e630de48c6521', 'network_id': '0cf73f10-c647-44b1-bb72-84f0ece18fb7', 'ip_version': 4, 'cidr': '203.112.8.64/26', 'allocation_pools': [{'start': '203.112.8.66', 'end': '203.112.8.126'}], 'gateway_ip': '203.112.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.112.8.66', 'tags': [], 'project_id': '806fdd97a5dc4b4f9d7e630de48c6521'}}
2025-09-15 02:00:43,977 - INFO - Created VN ctest-vn2-41233677
2025-09-15 02:00:44,029 - DEBUG - VN ctest-vn2-41233677 UUID is 0cf73f10-c647-44b1-bb72-84f0ece18fb7
2025-09-15 02:00:44,226 - DEBUG - Services list from nova: [, , ]
2025-09-15 02:00:45,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1)
2025-09-15 02:00:46,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1)
2025-09-15 02:00:46,590 - INFO - Adding interface with subnet_id c0a62e66-15a7-49d9-9984-9ebe985a5ad8, port_id None to router 7cc0f7cb-8c04-48db-af31-1162bcac7f2b
2025-09-15 02:00:46,877 - INFO - Waiting for VM ctest-vn1-vm1-76570749 to be up..
2025-09-15 02:00:47,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 02:00:52,092 - DEBUG - VM is in ACTIVE state now
2025-09-15 02:00:52,092 - INFO - VM name : ctest-vn1-vm1-76570749
2025-09-15 02:00:52,168 - DEBUG - VM ctest-vn1-vm1-76570749 ID is bf88fdfa-aee2-4d90-93a0-dfefb570393e
2025-09-15 02:00:52,185 - DEBUG - VM ctest-vn1-vm1-76570749 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1
2025-09-15 02:00:52,268 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf88fdfa-aee2-4d90-93a0-dfefb570393e
2025-09-15 02:00:52,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf88fdfa-aee2-4d90-93a0-dfefb570393e
2025-09-15 02:00:52,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/62df854d-c0b3-46f8-9325-3daedc60a1cd
2025-09-15 02:00:55,849 - 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 1008ms')
2025-09-15 02:00:55,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76570749 failed!
2025-09-15 02:00:55,905 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19682607:ctest-vn1-01223088 is 188.142.218.193 and allocation pool is NOT set
2025-09-15 02:00:57,962 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/2.117/3.799/1.682 ms')
2025-09-15 02:00:57,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76570749 passed
2025-09-15 02:00:58,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:00:58,113 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76570749, IP 188.142.218.195, Port 22
2025-09-15 02:00:58,273 - DEBUG - VM ctest-vn1-vm1-76570749 is ready for SSH connections
2025-09-15 02:00:58,273 - INFO - Waiting for VM ctest-vn2-vm1-93226184 to be up..
2025-09-15 02:00:58,347 - DEBUG - VM is in ACTIVE state now
2025-09-15 02:00:58,347 - INFO - VM name : ctest-vn2-vm1-93226184
2025-09-15 02:00:58,424 - DEBUG - VM ctest-vn2-vm1-93226184 ID is d8526a65-d473-4ca1-8be8-945830266092
2025-09-15 02:00:58,424 - DEBUG - VM ctest-vn2-vm1-93226184 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1
2025-09-15 02:00:58,494 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8526a65-d473-4ca1-8be8-945830266092
2025-09-15 02:00:58,502 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/68fc334b-7426-43eb-ab92-ec876226c60a
2025-09-15 02:00:59,755 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/2.212/3.979/1.767 ms')
2025-09-15 02:00:59,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-93226184 passed
2025-09-15 02:00:59,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:00:59,909 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-93226184, IP 203.112.8.67, Port 22
2025-09-15 02:00:59,976 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-09-15 02:01:00,057 - DEBUG - VM ctest-vn2-vm1-93226184 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 02:01:05,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:01:05,058 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-93226184, IP 203.112.8.67, Port 22
2025-09-15 02:01:05,216 - DEBUG - VM ctest-vn2-vm1-93226184 is ready for SSH connections
2025-09-15 02:01:05,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:01:05,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.112.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-15 02:01:05,217 - DEBUG - ping -s 56 -c 3 -W 1 203.112.8.67
2025-09-15 02:01:09,904 - DEBUG - PING 203.112.8.67 (203.112.8.67): 56 data bytes
--- 203.112.8.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-15 02:01:09,904 - WARNING - Ping to IP 203.112.8.67 from VM ctest-vn1-vm1-76570749 failed
2025-09-15 02:01:09,905 - INFO - Adding interface with subnet_id 01899506-bcaf-491d-882c-130270d08160, port_id None to router 7cc0f7cb-8c04-48db-af31-1162bcac7f2b
2025-09-15 02:01:10,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:01:10,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.112.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-15 02:01:10,170 - DEBUG - ping -s 56 -c 3 -W 1 203.112.8.67
2025-09-15 02:01:13,403 - DEBUG - PING 203.112.8.67 (203.112.8.67): 56 data bytes
64 bytes from 203.112.8.67: seq=1 ttl=63 time=3.220 ms
64 bytes from 203.112.8.67: seq=2 ttl=63 time=0.947 ms
--- 203.112.8.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.947/2.083/3.220 ms
2025-09-15 02:01:13,403 - WARNING - Ping to IP 203.112.8.67 from VM ctest-vn1-vm1-76570749 failed
2025-09-15 02:01:14,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.112.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-15 02:01:14,404 - DEBUG - ping -s 56 -c 3 -W 1 203.112.8.67
2025-09-15 02:01:16,606 - DEBUG - PING 203.112.8.67 (203.112.8.67): 56 data bytes
64 bytes from 203.112.8.67: seq=0 ttl=63 time=1.679 ms
64 bytes from 203.112.8.67: seq=1 ttl=63 time=0.985 ms
64 bytes from 203.112.8.67: seq=2 ttl=63 time=0.982 ms
--- 203.112.8.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.982/1.215/1.679 ms
2025-09-15 02:01:16,607 - INFO - Ping to IP 203.112.8.67 from VM ctest-vn1-vm1-76570749 passed
2025-09-15 02:01:16,607 - INFO - Deleting interface with subnet_id c0a62e66-15a7-49d9-9984-9ebe985a5ad8, port_id None from router 7cc0f7cb-8c04-48db-af31-1162bcac7f2b
2025-09-15 02:01:16,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:01:16,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.112.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-15 02:01:16,732 - DEBUG - ping -s 56 -c 3 -W 1 203.112.8.67
2025-09-15 02:01:19,933 - DEBUG - PING 203.112.8.67 (203.112.8.67): 56 data bytes
--- 203.112.8.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-09-15 02:01:19,933 - WARNING - Ping to IP 203.112.8.67 from VM ctest-vn1-vm1-76570749 failed
2025-09-15 02:01:19,933 - INFO - Adding interface with subnet_id c0a62e66-15a7-49d9-9984-9ebe985a5ad8, port_id None to router 7cc0f7cb-8c04-48db-af31-1162bcac7f2b
2025-09-15 02:01:20,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:01:20,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.112.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-15 02:01:20,165 - DEBUG - ping -s 56 -c 3 -W 1 203.112.8.67
2025-09-15 02:01:22,377 - DEBUG - PING 203.112.8.67 (203.112.8.67): 56 data bytes
64 bytes from 203.112.8.67: seq=0 ttl=63 time=1.788 ms
64 bytes from 203.112.8.67: seq=1 ttl=63 time=0.924 ms
64 bytes from 203.112.8.67: seq=2 ttl=63 time=1.009 ms
--- 203.112.8.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.924/1.240/1.788 ms
2025-09-15 02:01:22,377 - INFO - Ping to IP 203.112.8.67 from VM ctest-vn1-vm1-76570749 passed
2025-09-15 02:01:22,377 - INFO - Deleting interface with subnet_id 01899506-bcaf-491d-882c-130270d08160, port_id None from router 7cc0f7cb-8c04-48db-af31-1162bcac7f2b
2025-09-15 02:01:22,497 - INFO - Deleting interface with subnet_id c0a62e66-15a7-49d9-9984-9ebe985a5ad8, port_id None from router 7cc0f7cb-8c04-48db-af31-1162bcac7f2b
2025-09-15 02:01:22,705 - INFO - Deleting VM ctest-vn2-vm1-93226184
2025-09-15 02:01:22,771 - INFO - Deleting VM ctest-vn1-vm1-76570749
2025-09-15 02:01:22,844 - INFO - Deleting VN ctest-vn2-41233677
2025-09-15 02:01:22,882 - DEBUG - VN 0cf73f10-c647-44b1-bb72-84f0ece18fb7 still in use: Unable to complete operation on network 0cf73f10-c647-44b1-bb72-84f0ece18fb7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ee0fd58c-b803-46c7-b795-d919460c1f52']
2025-09-15 02:01:22,882 - WARNING - Deleting VN ctest-vn2-41233677 failed..Will retry
2025-09-15 02:01:24,978 - DEBUG - Response for deleting network ()
2025-09-15 02:01:24,979 - INFO - Deleting VN ctest-vn1-01223088
2025-09-15 02:01:25,069 - DEBUG - Response for deleting network ()
2025-09-15 02:01:25,327 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:01:25,327 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-09-15 02:01:25,327 - INFO - --------------------------------------------------------------------------------
2025-09-15 02:01:26,020 - INFO - Deleted project: ctest-TestRouters-19682607, ID : 806fdd97-a5dc-4b4f-9d7e-630de48c6521