2025-07-18 18:30:46,912 - INFO - Domain Default found not creating 2025-07-18 18:30:47,053 - INFO - Project ctest-TestRoutersBasic-82772556 not found, creating it 2025-07-18 18:30:47,530 - INFO - Created Project:ctest-TestRoutersBasic-82772556, ID : 8a7e654c-545c-4506-a7c3-dcbcb8e412ee 2025-07-18 18:30:49,074 - INFO - ================================================================================ 2025-07-18 18:30:49,075 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-18 18:30:49,075 - 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-07-18 18:30:49,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-18 18:30:49,331 - INFO - Initial checks done. Running the testcase now 2025-07-18 18:30:49,331 - INFO - 2025-07-18 18:30:50,107 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82772556 2025-07-18 18:30:50,204 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82772556 2025-07-18 18:30:50,528 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82772556', 'default']} 2025-07-18 18:30:50,824 - DEBUG - Response for create_network : {'network': {'id': '38bae241-c8e9-4b1c-9ac0-16a32c32f11f', 'name': 'ctest-vn-93990116', 'tenant_id': '8a7e654c545c4506a7c3dcbcb8e412ee', 'project_id': '8a7e654c545c4506a7c3dcbcb8e412ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82772556', 'ctest-vn-93990116'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 18:30:51,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '702db970-c582-4e95-9706-cb6abcd4f0e5', 'name': '', 'tenant_id': '8a7e654c545c4506a7c3dcbcb8e412ee', 'network_id': '38bae241-c8e9-4b1c-9ac0-16a32c32f11f', 'ip_version': 4, 'cidr': '217.7.237.192/26', 'allocation_pools': [{'start': '217.7.237.194', 'end': '217.7.237.254'}], 'gateway_ip': '217.7.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.7.237.194', 'tags': [], 'project_id': '8a7e654c545c4506a7c3dcbcb8e412ee'}} 2025-07-18 18:30:51,043 - INFO - Created VN ctest-vn-93990116 2025-07-18 18:30:51,096 - DEBUG - VN ctest-vn-93990116 UUID is 38bae241-c8e9-4b1c-9ac0-16a32c32f11f 2025-07-18 18:30:51,412 - DEBUG - Response for create_network : {'network': {'id': '0f504e2a-844d-4b17-a9fe-5fceabd85da0', 'name': 'ctest-ext_vn-66403379', 'tenant_id': '8a7e654c545c4506a7c3dcbcb8e412ee', 'project_id': '8a7e654c545c4506a7c3dcbcb8e412ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82772556', 'ctest-ext_vn-66403379'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 18:30:51,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '114995bc-45ae-44c3-9ef2-8b3605705894', 'name': '', 'tenant_id': '8a7e654c545c4506a7c3dcbcb8e412ee', 'network_id': '0f504e2a-844d-4b17-a9fe-5fceabd85da0', 'ip_version': 4, 'cidr': '163.151.137.128/26', 'allocation_pools': [{'start': '163.151.137.130', 'end': '163.151.137.190'}], 'gateway_ip': '163.151.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.151.137.130', 'tags': [], 'project_id': '8a7e654c545c4506a7c3dcbcb8e412ee'}} 2025-07-18 18:30:51,596 - INFO - Created VN ctest-ext_vn-66403379 2025-07-18 18:30:51,648 - DEBUG - VN ctest-ext_vn-66403379 UUID is 0f504e2a-844d-4b17-a9fe-5fceabd85da0 2025-07-18 18:30:51,817 - DEBUG - Services list from nova: [, , ] 2025-07-18 18:30:52,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3663-1) 2025-07-18 18:30:54,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3663-1) 2025-07-18 18:30:54,213 - INFO - Setting gateway for router 7e811803-a871-4719-b266-360a7c32ed9f to network 0f504e2a-844d-4b17-a9fe-5fceabd85da0 2025-07-18 18:30:54,271 - INFO - Adding interface with subnet_id 702db970-c582-4e95-9706-cb6abcd4f0e5, port_id None to router 7e811803-a871-4719-b266-360a7c32ed9f 2025-07-18 18:30:54,836 - INFO - Waiting for VM ctest-TestRoutersBasic-82772556-71171364 to be up.. 2025-07-18 18:30:54,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-18 18:31:00,055 - DEBUG - VM is in ACTIVE state now 2025-07-18 18:31:00,056 - INFO - VM name : ctest-TestRoutersBasic-82772556-71171364 2025-07-18 18:31:00,138 - DEBUG - VM ctest-TestRoutersBasic-82772556-71171364 ID is 8a42a4a2-c443-41f3-b918-be05f0146214 2025-07-18 18:31:00,158 - DEBUG - VM ctest-TestRoutersBasic-82772556-71171364 launched on Node cn-jenkins-deploy-platform-ansible-os-3663-1 2025-07-18 18:31:00,250 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8a42a4a2-c443-41f3-b918-be05f0146214 2025-07-18 18:31:00,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8a42a4a2-c443-41f3-b918-be05f0146214 2025-07-18 18:31:00,618 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78660d63-25f3-47d3-8e7e-06e48376855e 2025-07-18 18:31:03,868 - 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-07-18 18:31:03,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82772556-71171364 failed! 2025-07-18 18:31:03,924 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82772556:ctest-vn-93990116 is 217.7.237.193 and allocation pool is NOT set 2025-07-18 18:31:05,988 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.373/1.951/3.530/1.578 ms') 2025-07-18 18:31:05,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82772556-71171364 passed 2025-07-18 18:31:06,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:06,136 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82772556-71171364, IP 217.7.237.195, Port 22 2025-07-18 18:31:06,291 - DEBUG - VM ctest-TestRoutersBasic-82772556-71171364 is ready for SSH connections 2025-07-18 18:31:06,291 - INFO - Waiting for VM ctest-TestRoutersBasic-82772556-51485752 to be up.. 2025-07-18 18:31:06,369 - DEBUG - VM is in ACTIVE state now 2025-07-18 18:31:06,369 - INFO - VM name : ctest-TestRoutersBasic-82772556-51485752 2025-07-18 18:31:06,449 - DEBUG - VM ctest-TestRoutersBasic-82772556-51485752 ID is 8bd7de36-e4f5-44d0-9c04-2f07a3c58929 2025-07-18 18:31:06,450 - DEBUG - VM ctest-TestRoutersBasic-82772556-51485752 launched on Node cn-jenkins-deploy-platform-ansible-os-3663-1 2025-07-18 18:31:06,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8bd7de36-e4f5-44d0-9c04-2f07a3c58929 2025-07-18 18:31:06,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0066c660-1044-4df8-8c3b-9c97da810095 2025-07-18 18:31:07,801 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.520/3.174/4.829/1.654 ms') 2025-07-18 18:31:07,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82772556-51485752 passed 2025-07-18 18:31:07,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:07,952 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82772556-51485752, IP 163.151.137.131, Port 22 2025-07-18 18:31:08,108 - DEBUG - VM ctest-TestRoutersBasic-82772556-51485752 is ready for SSH connections 2025-07-18 18:31:08,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:08,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.151.137.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-18 18:31:08,108 - DEBUG - ping -s 56 -c 3 -W 1 163.151.137.131 2025-07-18 18:31:11,839 - DEBUG - PING 163.151.137.131 (163.151.137.131): 56 data bytes 64 bytes from 163.151.137.131: seq=0 ttl=62 time=5.600 ms 64 bytes from 163.151.137.131: seq=1 ttl=62 time=1.013 ms 64 bytes from 163.151.137.131: seq=2 ttl=62 time=0.843 ms --- 163.151.137.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/2.485/5.600 ms 2025-07-18 18:31:11,839 - INFO - Ping to IP 163.151.137.131 from VM ctest-TestRoutersBasic-82772556-71171364 passed 2025-07-18 18:31:11,839 - INFO - Deleting interface with subnet_id 702db970-c582-4e95-9706-cb6abcd4f0e5, port_id None from router 7e811803-a871-4719-b266-360a7c32ed9f 2025-07-18 18:31:12,023 - INFO - Deleting VM ctest-TestRoutersBasic-82772556-51485752 2025-07-18 18:31:12,085 - INFO - Deleting VM ctest-TestRoutersBasic-82772556-71171364 2025-07-18 18:31:12,158 - INFO - Deleting VN ctest-ext_vn-66403379 2025-07-18 18:31:12,229 - DEBUG - VN 0f504e2a-844d-4b17-a9fe-5fceabd85da0 still in use: Unable to complete operation on network 0f504e2a-844d-4b17-a9fe-5fceabd85da0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4779e90-98c5-47e3-8d3b-342df35baed9'] 2025-07-18 18:31:12,229 - WARNING - Deleting VN ctest-ext_vn-66403379 failed..Will retry 2025-07-18 18:31:14,336 - DEBUG - Response for deleting network () 2025-07-18 18:31:14,336 - INFO - Deleting VN ctest-vn-93990116 2025-07-18 18:31:14,455 - DEBUG - Response for deleting network () 2025-07-18 18:31:14,720 - DEBUG - No XMPP flaps were noticed during the test
2025-07-18 18:31:14,721 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-18 18:31:14,721 - INFO - -------------------------------------------------------------------------------- 2025-07-18 18:31:15,441 - INFO - Deleted project: ctest-TestRoutersBasic-82772556, ID : 8a7e654c-545c-4506-a7c3-dcbcb8e412ee