2025-08-26 00:18:11,253 - INFO - Domain Default found not creating
2025-08-26 00:18:11,417 - INFO - Project ctest-TestRouters-64901358 not found, creating it
2025-08-26 00:18:11,945 - INFO - Created Project:ctest-TestRouters-64901358, ID : 9c4e4a07-d848-4b34-bcbc-4ffb39a31298
2025-08-26 00:18:13,489 - INFO - ================================================================================
2025-08-26 00:18:13,489 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-26 00:18:13,490 - 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-26 00:18:13,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with
2025-08-26 00:18:13,761 - INFO - Initial checks done. Running the testcase now
2025-08-26 00:18:13,761 - INFO -
2025-08-26 00:18:14,415 - DEBUG - Response for create_network : {'network': {'id': '1416a559-d3e3-4da4-8354-bdf62f8a0d41', 'name': 'ctest-vn1-92498378', 'tenant_id': '9c4e4a07d8484b34bcbc4ffb39a31298', 'project_id': '9c4e4a07d8484b34bcbc4ffb39a31298', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64901358', 'ctest-vn1-92498378'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 00:18:14,620 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1a6b748-3b00-42a3-af16-3ec01efb98ad', 'name': '', 'tenant_id': '9c4e4a07d8484b34bcbc4ffb39a31298', 'network_id': '1416a559-d3e3-4da4-8354-bdf62f8a0d41', 'ip_version': 4, 'cidr': '180.114.96.0/26', 'allocation_pools': [{'start': '180.114.96.2', 'end': '180.114.96.62'}], 'gateway_ip': '180.114.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.114.96.2', 'tags': [], 'project_id': '9c4e4a07d8484b34bcbc4ffb39a31298'}}
2025-08-26 00:18:14,642 - INFO - Created VN ctest-vn1-92498378
2025-08-26 00:18:14,699 - DEBUG - VN ctest-vn1-92498378 UUID is 1416a559-d3e3-4da4-8354-bdf62f8a0d41
2025-08-26 00:18:15,055 - DEBUG - Response for create_network : {'network': {'id': 'd38c325e-01b0-4a9c-93fd-fe275f3315b7', 'name': 'ctest-vn2-16094615', 'tenant_id': '9c4e4a07d8484b34bcbc4ffb39a31298', 'project_id': '9c4e4a07d8484b34bcbc4ffb39a31298', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64901358', 'ctest-vn2-16094615'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 00:18:15,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '31162616-8e27-447f-8a62-cf226717d22c', 'name': '', 'tenant_id': '9c4e4a07d8484b34bcbc4ffb39a31298', 'network_id': 'd38c325e-01b0-4a9c-93fd-fe275f3315b7', 'ip_version': 4, 'cidr': '222.164.132.64/26', 'allocation_pools': [{'start': '222.164.132.66', 'end': '222.164.132.126'}], 'gateway_ip': '222.164.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.164.132.66', 'tags': [], 'project_id': '9c4e4a07d8484b34bcbc4ffb39a31298'}}
2025-08-26 00:18:15,333 - INFO - Created VN ctest-vn2-16094615
2025-08-26 00:18:15,387 - DEBUG - VN ctest-vn2-16094615 UUID is d38c325e-01b0-4a9c-93fd-fe275f3315b7
2025-08-26 00:18:15,573 - DEBUG - Services list from nova: [, , ]
2025-08-26 00:18:16,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1)
2025-08-26 00:18:18,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1)
2025-08-26 00:18:18,122 - INFO - Adding interface with subnet_id b1a6b748-3b00-42a3-af16-3ec01efb98ad, port_id None to router 63fe68e9-5179-4c72-8d8f-363e076f2fc6
2025-08-26 00:18:18,947 - INFO - Waiting for VM ctest-vn1-vm1-80665987 to be up..
2025-08-26 00:18:19,209 - DEBUG - VM is in ACTIVE state now
2025-08-26 00:18:19,209 - INFO - VM name : ctest-vn1-vm1-80665987
2025-08-26 00:18:19,433 - DEBUG - VM ctest-vn1-vm1-80665987 ID is b695b51f-5825-4bc3-8d6f-0f1a6fe916a4
2025-08-26 00:18:19,488 - DEBUG - VM ctest-vn1-vm1-80665987 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1
2025-08-26 00:18:19,683 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b695b51f-5825-4bc3-8d6f-0f1a6fe916a4
2025-08-26 00:18:20,116 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b695b51f-5825-4bc3-8d6f-0f1a6fe916a4
2025-08-26 00:18:20,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f9ee913b-0b02-45f9-b295-d610ebc8e0cf
2025-08-26 00:18:23,541 - 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 1023ms')
2025-08-26 00:18:23,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80665987 failed!
2025-08-26 00:18:23,599 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-64901358:ctest-vn1-92498378 is 180.114.96.1 and allocation pool is NOT set
2025-08-26 00:18:27,666 - 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 1010ms')
2025-08-26 00:18:27,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80665987 failed!
2025-08-26 00:18:27,728 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-64901358:ctest-vn1-92498378 is 180.114.96.1 and allocation pool is NOT set
2025-08-26 00:18:29,788 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.496/1.753/3.011/1.257 ms')
2025-08-26 00:18:29,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80665987 passed
2025-08-26 00:18:29,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:29,944 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80665987, IP 180.114.96.3, Port 22
2025-08-26 00:18:30,100 - DEBUG - VM ctest-vn1-vm1-80665987 is ready for SSH connections
2025-08-26 00:18:30,100 - INFO - Waiting for VM ctest-vn2-vm1-02641079 to be up..
2025-08-26 00:18:30,189 - DEBUG - VM is in ACTIVE state now
2025-08-26 00:18:30,189 - INFO - VM name : ctest-vn2-vm1-02641079
2025-08-26 00:18:30,282 - DEBUG - VM ctest-vn2-vm1-02641079 ID is efd7aeaa-60f3-42ad-b5a0-d93b3b5e1654
2025-08-26 00:18:30,282 - DEBUG - VM ctest-vn2-vm1-02641079 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1
2025-08-26 00:18:30,380 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/efd7aeaa-60f3-42ad-b5a0-d93b3b5e1654
2025-08-26 00:18:30,391 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1bc4f24f-f57c-4f33-a408-7b78768f7e2f
2025-08-26 00:18:31,649 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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.360/2.741/4.123/1.381 ms')
2025-08-26 00:18:31,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02641079 passed
2025-08-26 00:18:31,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:31,808 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02641079, IP 222.164.132.67, Port 22
2025-08-26 00:18:31,874 - 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-08-26 00:18:31,959 - DEBUG - VM ctest-vn2-vm1-02641079 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 00:18:36,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:36,963 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02641079, IP 222.164.132.67, Port 22
2025-08-26 00:18:37,131 - DEBUG - VM ctest-vn2-vm1-02641079 is ready for SSH connections
2025-08-26 00:18:37,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:37,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.164.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-26 00:18:37,131 - DEBUG - ping -s 56 -c 3 -W 1 222.164.132.67
2025-08-26 00:18:42,323 - DEBUG - PING 222.164.132.67 (222.164.132.67): 56 data bytes
--- 222.164.132.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-26 00:18:42,323 - WARNING - Ping to IP 222.164.132.67 from VM ctest-vn1-vm1-80665987 failed
2025-08-26 00:18:42,323 - INFO - Adding interface with subnet_id 31162616-8e27-447f-8a62-cf226717d22c, port_id None to router 63fe68e9-5179-4c72-8d8f-363e076f2fc6
2025-08-26 00:18:42,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:42,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.164.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-26 00:18:42,698 - DEBUG - ping -s 56 -c 3 -W 1 222.164.132.67
2025-08-26 00:18:45,994 - DEBUG - PING 222.164.132.67 (222.164.132.67): 56 data bytes
64 bytes from 222.164.132.67: seq=1 ttl=63 time=3.252 ms
64 bytes from 222.164.132.67: seq=2 ttl=63 time=1.084 ms
--- 222.164.132.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.084/2.168/3.252 ms
2025-08-26 00:18:45,994 - WARNING - Ping to IP 222.164.132.67 from VM ctest-vn1-vm1-80665987 failed
2025-08-26 00:18:46,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.164.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-26 00:18:46,996 - DEBUG - ping -s 56 -c 3 -W 1 222.164.132.67
2025-08-26 00:18:49,283 - DEBUG - PING 222.164.132.67 (222.164.132.67): 56 data bytes
64 bytes from 222.164.132.67: seq=0 ttl=63 time=2.619 ms
64 bytes from 222.164.132.67: seq=1 ttl=63 time=1.368 ms
64 bytes from 222.164.132.67: seq=2 ttl=63 time=1.472 ms
--- 222.164.132.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.368/1.819/2.619 ms
2025-08-26 00:18:49,283 - INFO - Ping to IP 222.164.132.67 from VM ctest-vn1-vm1-80665987 passed
2025-08-26 00:18:49,284 - INFO - Deleting interface with subnet_id b1a6b748-3b00-42a3-af16-3ec01efb98ad, port_id None from router 63fe68e9-5179-4c72-8d8f-363e076f2fc6
2025-08-26 00:18:49,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:49,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.164.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-26 00:18:49,428 - DEBUG - ping -s 56 -c 3 -W 1 222.164.132.67
2025-08-26 00:18:52,716 - DEBUG - PING 222.164.132.67 (222.164.132.67): 56 data bytes
--- 222.164.132.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-26 00:18:52,716 - WARNING - Ping to IP 222.164.132.67 from VM ctest-vn1-vm1-80665987 failed
2025-08-26 00:18:52,716 - INFO - Adding interface with subnet_id b1a6b748-3b00-42a3-af16-3ec01efb98ad, port_id None to router 63fe68e9-5179-4c72-8d8f-363e076f2fc6
2025-08-26 00:18:52,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:18:52,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.164.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-26 00:18:52,979 - DEBUG - ping -s 56 -c 3 -W 1 222.164.132.67
2025-08-26 00:18:55,266 - DEBUG - PING 222.164.132.67 (222.164.132.67): 56 data bytes
64 bytes from 222.164.132.67: seq=0 ttl=63 time=2.142 ms
64 bytes from 222.164.132.67: seq=1 ttl=63 time=1.224 ms
64 bytes from 222.164.132.67: seq=2 ttl=63 time=1.450 ms
--- 222.164.132.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.224/1.605/2.142 ms
2025-08-26 00:18:55,266 - INFO - Ping to IP 222.164.132.67 from VM ctest-vn1-vm1-80665987 passed
2025-08-26 00:18:55,266 - INFO - Deleting interface with subnet_id 31162616-8e27-447f-8a62-cf226717d22c, port_id None from router 63fe68e9-5179-4c72-8d8f-363e076f2fc6
2025-08-26 00:18:55,403 - INFO - Deleting interface with subnet_id b1a6b748-3b00-42a3-af16-3ec01efb98ad, port_id None from router 63fe68e9-5179-4c72-8d8f-363e076f2fc6
2025-08-26 00:18:55,604 - INFO - Deleting VM ctest-vn2-vm1-02641079
2025-08-26 00:18:55,683 - INFO - Deleting VM ctest-vn1-vm1-80665987
2025-08-26 00:18:55,760 - INFO - Deleting VN ctest-vn2-16094615
2025-08-26 00:18:55,816 - DEBUG - VN d38c325e-01b0-4a9c-93fd-fe275f3315b7 still in use: Unable to complete operation on network d38c325e-01b0-4a9c-93fd-fe275f3315b7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bde70e15-5ca6-4f90-9d38-045ab21c8262']
2025-08-26 00:18:55,816 - WARNING - Deleting VN ctest-vn2-16094615 failed..Will retry
2025-08-26 00:18:57,934 - DEBUG - Response for deleting network ()
2025-08-26 00:18:57,934 - INFO - Deleting VN ctest-vn1-92498378
2025-08-26 00:18:58,068 - DEBUG - Response for deleting network ()
2025-08-26 00:18:58,322 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:18:58,322 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-08-26 00:18:58,322 - INFO - --------------------------------------------------------------------------------
2025-08-26 00:18:59,030 - INFO - Deleted project: ctest-TestRouters-64901358, ID : 9c4e4a07-d848-4b34-bcbc-4ffb39a31298