2025-10-30 09:45:48,090 - INFO - Domain Default found not creating 2025-10-30 09:45:48,228 - INFO - Project ctest-TestRoutersBasic-04455669 not found, creating it 2025-10-30 09:45:48,666 - INFO - Created Project:ctest-TestRoutersBasic-04455669, ID : 34957de7-264f-4fc3-ab1b-07ef46132652 2025-10-30 09:45:50,065 - INFO - ================================================================================ 2025-10-30 09:45:50,065 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 09:45:50,065 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-10-30 09:45:50,322 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.5': '0'}} with 2025-10-30 09:45:50,322 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:45:50,322 - INFO - 2025-10-30 09:45:51,021 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04455669 2025-10-30 09:45:51,117 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04455669 2025-10-30 09:45:51,436 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04455669', 'default']} 2025-10-30 09:45:51,719 - DEBUG - Response for create_network : {'network': {'id': '5f60b845-b905-48c7-8ece-abf9fa8abe6d', 'name': 'ctest-vn-99797336', 'tenant_id': '34957de7264f4fc3ab1b07ef46132652', 'project_id': '34957de7264f4fc3ab1b07ef46132652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04455669', 'ctest-vn-99797336'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:45:51,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bdada03-d041-4ad5-a30a-1949889cea84', 'name': '', 'tenant_id': '34957de7264f4fc3ab1b07ef46132652', 'network_id': '5f60b845-b905-48c7-8ece-abf9fa8abe6d', 'ip_version': 4, 'cidr': '67.146.112.192/26', 'allocation_pools': [{'start': '67.146.112.194', 'end': '67.146.112.254'}], 'gateway_ip': '67.146.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.146.112.194', 'tags': [], 'project_id': '34957de7264f4fc3ab1b07ef46132652'}} 2025-10-30 09:45:51,920 - INFO - Created VN ctest-vn-99797336 2025-10-30 09:45:51,973 - DEBUG - VN ctest-vn-99797336 UUID is 5f60b845-b905-48c7-8ece-abf9fa8abe6d 2025-10-30 09:45:52,310 - DEBUG - Response for create_network : {'network': {'id': '116000b7-162a-4db2-9138-25e90704ba8d', 'name': 'ctest-ext_vn-84201154', 'tenant_id': '34957de7264f4fc3ab1b07ef46132652', 'project_id': '34957de7264f4fc3ab1b07ef46132652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04455669', 'ctest-ext_vn-84201154'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:45:52,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '95779a0b-c937-4520-9278-f9899afca0a2', 'name': '', 'tenant_id': '34957de7264f4fc3ab1b07ef46132652', 'network_id': '116000b7-162a-4db2-9138-25e90704ba8d', 'ip_version': 4, 'cidr': '206.246.251.64/26', 'allocation_pools': [{'start': '206.246.251.66', 'end': '206.246.251.126'}], 'gateway_ip': '206.246.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.246.251.66', 'tags': [], 'project_id': '34957de7264f4fc3ab1b07ef46132652'}} 2025-10-30 09:45:52,545 - INFO - Created VN ctest-ext_vn-84201154 2025-10-30 09:45:52,601 - DEBUG - VN ctest-ext_vn-84201154 UUID is 116000b7-162a-4db2-9138-25e90704ba8d 2025-10-30 09:45:52,795 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:45:53,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1) 2025-10-30 09:45:54,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1) 2025-10-30 09:45:55,011 - INFO - Setting gateway for router f57efade-d3fd-4fa5-a30a-bdb8ed25b6b7 to network 116000b7-162a-4db2-9138-25e90704ba8d 2025-10-30 09:45:55,061 - INFO - Adding interface with subnet_id 4bdada03-d041-4ad5-a30a-1949889cea84, port_id None to router f57efade-d3fd-4fa5-a30a-bdb8ed25b6b7 2025-10-30 09:45:55,441 - INFO - Waiting for VM ctest-TestRoutersBasic-04455669-01698356 to be up.. 2025-10-30 09:45:55,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:46:00,678 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:46:00,678 - INFO - VM name : ctest-TestRoutersBasic-04455669-01698356 2025-10-30 09:46:00,739 - DEBUG - VM ctest-TestRoutersBasic-04455669-01698356 ID is 930fe137-08ff-489c-9d93-c3404722d4b2 2025-10-30 09:46:00,757 - DEBUG - VM ctest-TestRoutersBasic-04455669-01698356 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1 2025-10-30 09:46:00,828 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/930fe137-08ff-489c-9d93-c3404722d4b2 2025-10-30 09:46:01,125 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/930fe137-08ff-489c-9d93-c3404722d4b2 2025-10-30 09:46:01,157 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/31399a46-9105-4431-8f7b-f94327394a62 2025-10-30 09:46:04,390 - 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 1003ms') 2025-10-30 09:46:04,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04455669-01698356 failed! 2025-10-30 09:46:04,445 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04455669:ctest-vn-99797336 is 67.146.112.193 and allocation pool is NOT set 2025-10-30 09:46:06,505 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.594 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.594/2.010/3.427/1.416 ms') 2025-10-30 09:46:06,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04455669-01698356 passed 2025-10-30 09:46:06,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:06,653 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04455669-01698356, IP 67.146.112.195, Port 22 2025-10-30 09:46:06,808 - DEBUG - VM ctest-TestRoutersBasic-04455669-01698356 is ready for SSH connections 2025-10-30 09:46:06,809 - INFO - Waiting for VM ctest-TestRoutersBasic-04455669-92384534 to be up.. 2025-10-30 09:46:06,885 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:46:06,885 - INFO - VM name : ctest-TestRoutersBasic-04455669-92384534 2025-10-30 09:46:06,963 - DEBUG - VM ctest-TestRoutersBasic-04455669-92384534 ID is a8c5a26c-17bf-4031-8c71-ab3c7c106204 2025-10-30 09:46:06,963 - DEBUG - VM ctest-TestRoutersBasic-04455669-92384534 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1 2025-10-30 09:46:07,034 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a8c5a26c-17bf-4031-8c71-ab3c7c106204 2025-10-30 09:46:07,043 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3ad3b816-f45a-48c0-95b1-09174ffa1b77 2025-10-30 09:46:08,273 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.471/1.740/3.009/1.269 ms') 2025-10-30 09:46:08,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04455669-92384534 passed 2025-10-30 09:46:08,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:08,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04455669-92384534, IP 206.246.251.67, Port 22 2025-10-30 09:46:08,580 - DEBUG - VM ctest-TestRoutersBasic-04455669-92384534 is ready for SSH connections 2025-10-30 09:46:08,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:46:08,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.246.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:46:08,580 - DEBUG - ping -s 56 -c 3 -W 1 206.246.251.67 2025-10-30 09:46:12,624 - DEBUG - PING 206.246.251.67 (206.246.251.67): 56 data bytes 64 bytes from 206.246.251.67: seq=0 ttl=62 time=5.204 ms 64 bytes from 206.246.251.67: seq=1 ttl=62 time=1.043 ms 64 bytes from 206.246.251.67: seq=2 ttl=62 time=0.923 ms --- 206.246.251.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/2.390/5.204 ms 2025-10-30 09:46:12,624 - INFO - Ping to IP 206.246.251.67 from VM ctest-TestRoutersBasic-04455669-01698356 passed 2025-10-30 09:46:12,625 - INFO - Deleting interface with subnet_id 4bdada03-d041-4ad5-a30a-1949889cea84, port_id None from router f57efade-d3fd-4fa5-a30a-bdb8ed25b6b7 2025-10-30 09:46:12,810 - INFO - Deleting VM ctest-TestRoutersBasic-04455669-92384534 2025-10-30 09:46:12,890 - INFO - Deleting VM ctest-TestRoutersBasic-04455669-01698356 2025-10-30 09:46:12,974 - INFO - Deleting VN ctest-ext_vn-84201154 2025-10-30 09:46:13,043 - DEBUG - VN 116000b7-162a-4db2-9138-25e90704ba8d still in use: Unable to complete operation on network 116000b7-162a-4db2-9138-25e90704ba8d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02775fd3-da40-4e74-861b-c30619408af2'] 2025-10-30 09:46:13,043 - WARNING - Deleting VN ctest-ext_vn-84201154 failed..Will retry 2025-10-30 09:46:15,141 - DEBUG - Response for deleting network () 2025-10-30 09:46:15,142 - INFO - Deleting VN ctest-vn-99797336 2025-10-30 09:46:15,227 - DEBUG - Response for deleting network () 2025-10-30 09:46:15,489 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:46:15,489 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 09:46:15,489 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:46:16,175 - INFO - Deleted project: ctest-TestRoutersBasic-04455669, ID : 34957de7-264f-4fc3-ab1b-07ef46132652