2025-08-10 20:53:13,161 - INFO - Domain Default found not creating 2025-08-10 20:53:13,275 - INFO - Project ctest-TestRouters-84428237 not found, creating it 2025-08-10 20:53:13,779 - INFO - Created Project:ctest-TestRouters-84428237, ID : 16c4dce5-f012-4af3-b7dc-f93066b3dcf4 2025-08-10 20:53:15,100 - INFO - ================================================================================ 2025-08-10 20:53:15,100 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-10 20:53:15,100 - 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-10 20:53:16,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-08-10 20:53:16,368 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:53:16,368 - INFO - 2025-08-10 20:53:17,010 - DEBUG - Response for create_network : {'network': {'id': '52ba371b-bdee-4b94-bb9b-f3e9dbe59aa5', 'name': 'ctest-vn1-35641839', 'tenant_id': '16c4dce5f0124af3b7dcf93066b3dcf4', 'project_id': '16c4dce5f0124af3b7dcf93066b3dcf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84428237', 'ctest-vn1-35641839'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:53:17,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ab8b3be-c8ab-4140-8027-b3750de20116', 'name': '', 'tenant_id': '16c4dce5f0124af3b7dcf93066b3dcf4', 'network_id': '52ba371b-bdee-4b94-bb9b-f3e9dbe59aa5', 'ip_version': 4, 'cidr': '85.89.64.192/26', 'allocation_pools': [{'start': '85.89.64.194', 'end': '85.89.64.254'}], 'gateway_ip': '85.89.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.89.64.194', 'tags': [], 'project_id': '16c4dce5f0124af3b7dcf93066b3dcf4'}} 2025-08-10 20:53:17,299 - INFO - Created VN ctest-vn1-35641839 2025-08-10 20:53:17,310 - DEBUG - VN ctest-vn1-35641839 UUID is 52ba371b-bdee-4b94-bb9b-f3e9dbe59aa5 2025-08-10 20:53:17,660 - DEBUG - Response for create_network : {'network': {'id': '41948a6c-2cdd-4df4-8102-30ce81bbf5e6', 'name': 'ctest-vn2-19999786', 'tenant_id': '16c4dce5f0124af3b7dcf93066b3dcf4', 'project_id': '16c4dce5f0124af3b7dcf93066b3dcf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84428237', 'ctest-vn2-19999786'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:53:17,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d2890ca-ce4d-4ebb-853c-74ffb5344555', 'name': '', 'tenant_id': '16c4dce5f0124af3b7dcf93066b3dcf4', 'network_id': '41948a6c-2cdd-4df4-8102-30ce81bbf5e6', 'ip_version': 4, 'cidr': '216.243.39.0/26', 'allocation_pools': [{'start': '216.243.39.2', 'end': '216.243.39.62'}], 'gateway_ip': '216.243.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.243.39.2', 'tags': [], 'project_id': '16c4dce5f0124af3b7dcf93066b3dcf4'}} 2025-08-10 20:53:17,916 - INFO - Created VN ctest-vn2-19999786 2025-08-10 20:53:17,928 - DEBUG - VN ctest-vn2-19999786 UUID is 41948a6c-2cdd-4df4-8102-30ce81bbf5e6 2025-08-10 20:53:18,075 - DEBUG - Services list from nova: [, , , ] 2025-08-10 20:53:18,998 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3790-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3790-1) 2025-08-10 20:53:20,125 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3790-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3790-2) 2025-08-10 20:53:20,237 - INFO - Adding interface with subnet_id 1ab8b3be-c8ab-4140-8027-b3750de20116, port_id None to router df67c196-04c3-49c9-b1d7-cbfa7eb798f7 2025-08-10 20:53:20,619 - INFO - Waiting for VM ctest-vn1-vm1-27769035 to be up.. 2025-08-10 20:53:20,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 20:53:25,835 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:53:25,835 - INFO - VM name : ctest-vn1-vm1-27769035 2025-08-10 20:53:25,898 - DEBUG - VM ctest-vn1-vm1-27769035 ID is 7deb3215-8a84-4cda-8d8f-1dc89bb5e0b3 2025-08-10 20:53:25,919 - DEBUG - VM ctest-vn1-vm1-27769035 launched on Node an-jenkins-deploy-platform-ansible-os-3790-1 2025-08-10 20:53:25,982 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7deb3215-8a84-4cda-8d8f-1dc89bb5e0b3 2025-08-10 20:53:26,275 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7deb3215-8a84-4cda-8d8f-1dc89bb5e0b3 2025-08-10 20:53:26,306 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/dcc5081e-a125-4c05-b27f-57739cf8b0cf 2025-08-10 20:53:29,514 - 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 1007ms') 2025-08-10 20:53:29,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27769035 failed! 2025-08-10 20:53:29,527 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84428237:ctest-vn1-35641839 is 85.89.64.193 and allocation pool is NOT set 2025-08-10 20:53:31,592 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.847 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.847/2.718/4.589/1.871 ms') 2025-08-10 20:53:31,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27769035 passed 2025-08-10 20:53:31,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:31,699 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27769035, IP 85.89.64.195, Port 22 2025-08-10 20:53:31,883 - DEBUG - VM ctest-vn1-vm1-27769035 is ready for SSH connections 2025-08-10 20:53:31,883 - INFO - Waiting for VM ctest-vn2-vm1-57903513 to be up.. 2025-08-10 20:53:31,965 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:53:31,965 - INFO - VM name : ctest-vn2-vm1-57903513 2025-08-10 20:53:32,045 - DEBUG - VM ctest-vn2-vm1-57903513 ID is 54332d3c-ec01-45cd-a50a-e3cb972f67c0 2025-08-10 20:53:32,045 - DEBUG - VM ctest-vn2-vm1-57903513 launched on Node an-jenkins-deploy-platform-ansible-os-3790-2 2025-08-10 20:53:32,118 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/54332d3c-ec01-45cd-a50a-e3cb972f67c0 2025-08-10 20:53:32,128 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/385b19ec-28ac-449d-a015-6dcc08a44a02 2025-08-10 20:53:33,343 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.325 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.325/1.201/2.078/0.876 ms') 2025-08-10 20:53:33,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-57903513 passed 2025-08-10 20:53:33,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:33,451 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-57903513, IP 216.243.39.3, Port 22 2025-08-10 20:53:33,624 - DEBUG - VM ctest-vn2-vm1-57903513 is ready for SSH connections 2025-08-10 20:53:33,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:33,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.243.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-10 20:53:33,624 - DEBUG - ping -s 56 -c 3 -W 1 216.243.39.3 2025-08-10 20:53:37,484 - DEBUG - PING 216.243.39.3 (216.243.39.3): 56 data bytes --- 216.243.39.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 20:53:37,485 - WARNING - Ping to IP 216.243.39.3 from VM ctest-vn1-vm1-27769035 failed 2025-08-10 20:53:37,485 - INFO - Adding interface with subnet_id 7d2890ca-ce4d-4ebb-853c-74ffb5344555, port_id None to router df67c196-04c3-49c9-b1d7-cbfa7eb798f7 2025-08-10 20:53:37,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:37,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.243.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-10 20:53:37,837 - DEBUG - ping -s 56 -c 3 -W 1 216.243.39.3 2025-08-10 20:53:40,046 - DEBUG - PING 216.243.39.3 (216.243.39.3): 56 data bytes 64 bytes from 216.243.39.3: seq=0 ttl=63 time=9.612 ms 64 bytes from 216.243.39.3: seq=1 ttl=63 time=0.969 ms 64 bytes from 216.243.39.3: seq=2 ttl=63 time=1.056 ms --- 216.243.39.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/3.879/9.612 ms 2025-08-10 20:53:40,046 - INFO - Ping to IP 216.243.39.3 from VM ctest-vn1-vm1-27769035 passed 2025-08-10 20:53:40,046 - INFO - Deleting interface with subnet_id 1ab8b3be-c8ab-4140-8027-b3750de20116, port_id None from router df67c196-04c3-49c9-b1d7-cbfa7eb798f7 2025-08-10 20:53:40,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:40,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.243.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-10 20:53:40,201 - DEBUG - ping -s 56 -c 3 -W 1 216.243.39.3 2025-08-10 20:53:43,404 - DEBUG - PING 216.243.39.3 (216.243.39.3): 56 data bytes --- 216.243.39.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 20:53:43,404 - WARNING - Ping to IP 216.243.39.3 from VM ctest-vn1-vm1-27769035 failed 2025-08-10 20:53:43,404 - INFO - Adding interface with subnet_id 1ab8b3be-c8ab-4140-8027-b3750de20116, port_id None to router df67c196-04c3-49c9-b1d7-cbfa7eb798f7 2025-08-10 20:53:43,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:43,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.243.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-10 20:53:43,657 - DEBUG - ping -s 56 -c 3 -W 1 216.243.39.3 2025-08-10 20:53:45,854 - DEBUG - PING 216.243.39.3 (216.243.39.3): 56 data bytes 64 bytes from 216.243.39.3: seq=0 ttl=63 time=2.131 ms 64 bytes from 216.243.39.3: seq=1 ttl=63 time=0.806 ms 64 bytes from 216.243.39.3: seq=2 ttl=63 time=0.750 ms --- 216.243.39.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.229/2.131 ms 2025-08-10 20:53:45,854 - INFO - Ping to IP 216.243.39.3 from VM ctest-vn1-vm1-27769035 passed 2025-08-10 20:53:45,855 - INFO - Deleting interface with subnet_id 7d2890ca-ce4d-4ebb-853c-74ffb5344555, port_id None from router df67c196-04c3-49c9-b1d7-cbfa7eb798f7 2025-08-10 20:53:46,132 - INFO - Deleting interface with subnet_id 1ab8b3be-c8ab-4140-8027-b3750de20116, port_id None from router df67c196-04c3-49c9-b1d7-cbfa7eb798f7 2025-08-10 20:53:46,391 - INFO - Deleting VM ctest-vn2-vm1-57903513 2025-08-10 20:53:46,469 - INFO - Deleting VM ctest-vn1-vm1-27769035 2025-08-10 20:53:46,530 - INFO - Deleting VN ctest-vn2-19999786 2025-08-10 20:53:46,570 - DEBUG - VN 41948a6c-2cdd-4df4-8102-30ce81bbf5e6 still in use: Unable to complete operation on network 41948a6c-2cdd-4df4-8102-30ce81bbf5e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-db882b5a-6540-472e-af90-6a4f6a13c2bc'] 2025-08-10 20:53:46,570 - WARNING - Deleting VN ctest-vn2-19999786 failed..Will retry 2025-08-10 20:53:48,695 - DEBUG - Response for deleting network () 2025-08-10 20:53:48,696 - INFO - Deleting VN ctest-vn1-35641839 2025-08-10 20:53:48,879 - DEBUG - Response for deleting network () 2025-08-10 20:53:50,134 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 20:53:50,134 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:35]
2025-08-10 20:53:50,135 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:53:51,286 - INFO - Deleted project: ctest-TestRouters-84428237, ID : 16c4dce5-f012-4af3-b7dc-f93066b3dcf4