2025-11-04 21:51:48,298 - INFO - Domain Default found not creating 2025-11-04 21:51:48,453 - INFO - Project ctest-TestRoutersBasic-70985842 not found, creating it 2025-11-04 21:51:48,932 - INFO - Created Project:ctest-TestRoutersBasic-70985842, ID : 553cc638-81f3-4f69-9a5c-14a78dcf03ed 2025-11-04 21:51:50,390 - INFO - ================================================================================ 2025-11-04 21:51:50,390 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-04 21:51:50,390 - 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-11-04 21:51:50,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-11-04 21:51:50,648 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:51:50,648 - INFO - 2025-11-04 21:51:51,445 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70985842 2025-11-04 21:51:51,539 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70985842 2025-11-04 21:51:51,855 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70985842', 'default']} 2025-11-04 21:51:52,122 - DEBUG - Response for create_network : {'network': {'id': '8b61108a-f520-4f56-9774-67138e229936', 'name': 'ctest-vn-01873255', 'tenant_id': '553cc63881f34f699a5c14a78dcf03ed', 'project_id': '553cc63881f34f699a5c14a78dcf03ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70985842', 'ctest-vn-01873255'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:52,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dc5ae28-42b1-48e7-b407-4ab4daa4a989', 'name': '', 'tenant_id': '553cc63881f34f699a5c14a78dcf03ed', 'network_id': '8b61108a-f520-4f56-9774-67138e229936', 'ip_version': 4, 'cidr': '32.79.50.64/26', 'allocation_pools': [{'start': '32.79.50.66', 'end': '32.79.50.126'}], 'gateway_ip': '32.79.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.79.50.66', 'tags': [], 'project_id': '553cc63881f34f699a5c14a78dcf03ed'}} 2025-11-04 21:51:52,364 - INFO - Created VN ctest-vn-01873255 2025-11-04 21:51:52,415 - DEBUG - VN ctest-vn-01873255 UUID is 8b61108a-f520-4f56-9774-67138e229936 2025-11-04 21:51:52,780 - DEBUG - Response for create_network : {'network': {'id': 'b5154c03-5d4e-434a-b8f4-ba4b42e3b415', 'name': 'ctest-ext_vn-29631478', 'tenant_id': '553cc63881f34f699a5c14a78dcf03ed', 'project_id': '553cc63881f34f699a5c14a78dcf03ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70985842', 'ctest-ext_vn-29631478'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:52,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebf5f9b0-510a-4eab-807b-0bf8cdeee1c9', 'name': '', 'tenant_id': '553cc63881f34f699a5c14a78dcf03ed', 'network_id': 'b5154c03-5d4e-434a-b8f4-ba4b42e3b415', 'ip_version': 4, 'cidr': '83.43.42.192/26', 'allocation_pools': [{'start': '83.43.42.194', 'end': '83.43.42.254'}], 'gateway_ip': '83.43.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.43.42.194', 'tags': [], 'project_id': '553cc63881f34f699a5c14a78dcf03ed'}} 2025-11-04 21:51:52,988 - INFO - Created VN ctest-ext_vn-29631478 2025-11-04 21:51:53,040 - DEBUG - VN ctest-ext_vn-29631478 UUID is b5154c03-5d4e-434a-b8f4-ba4b42e3b415 2025-11-04 21:51:53,238 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:51:54,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1) 2025-11-04 21:51:55,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1) 2025-11-04 21:51:55,418 - INFO - Setting gateway for router adc9f967-40cf-4b51-afef-7cb756e2ac73 to network b5154c03-5d4e-434a-b8f4-ba4b42e3b415 2025-11-04 21:51:55,473 - INFO - Adding interface with subnet_id 1dc5ae28-42b1-48e7-b407-4ab4daa4a989, port_id None to router adc9f967-40cf-4b51-afef-7cb756e2ac73 2025-11-04 21:51:55,755 - INFO - Waiting for VM ctest-TestRoutersBasic-70985842-04869385 to be up.. 2025-11-04 21:51:55,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:52:00,951 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:52:00,951 - INFO - VM name : ctest-TestRoutersBasic-70985842-04869385 2025-11-04 21:52:01,020 - DEBUG - VM ctest-TestRoutersBasic-70985842-04869385 ID is ef6fc513-c00e-4030-9939-c3653c0214b4 2025-11-04 21:52:01,041 - DEBUG - VM ctest-TestRoutersBasic-70985842-04869385 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1 2025-11-04 21:52:01,112 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ef6fc513-c00e-4030-9939-c3653c0214b4 2025-11-04 21:52:01,429 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ef6fc513-c00e-4030-9939-c3653c0214b4 2025-11-04 21:52:01,459 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6ea44599-80e0-4563-b41f-8da880b57d6c 2025-11-04 21:52:02,700 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.468/2.592/3.716/1.124 ms') 2025-11-04 21:52:02,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70985842-04869385 passed 2025-11-04 21:52:02,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:02,856 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70985842-04869385, IP 32.79.50.67, Port 22 2025-11-04 21:52:03,040 - DEBUG - VM ctest-TestRoutersBasic-70985842-04869385 is ready for SSH connections 2025-11-04 21:52:03,040 - INFO - Waiting for VM ctest-TestRoutersBasic-70985842-06549672 to be up.. 2025-11-04 21:52:03,111 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:52:03,111 - INFO - VM name : ctest-TestRoutersBasic-70985842-06549672 2025-11-04 21:52:03,176 - DEBUG - VM ctest-TestRoutersBasic-70985842-06549672 ID is f8804055-899d-4550-a89b-b1831ff39a48 2025-11-04 21:52:03,176 - DEBUG - VM ctest-TestRoutersBasic-70985842-06549672 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1 2025-11-04 21:52:03,242 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f8804055-899d-4550-a89b-b1831ff39a48 2025-11-04 21:52:03,251 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/478dfd2a-bed1-43da-8b8d-7ffcf3bd765f 2025-11-04 21:52:04,486 - 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=12.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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.857/7.257/12.658/5.400 ms') 2025-11-04 21:52:04,486 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70985842-06549672 passed 2025-11-04 21:52:04,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:04,636 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70985842-06549672, IP 83.43.42.195, Port 22 2025-11-04 21:52:04,802 - DEBUG - VM ctest-TestRoutersBasic-70985842-06549672 is ready for SSH connections 2025-11-04 21:52:04,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:04,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.43.42.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:52:04,802 - DEBUG - ping -s 56 -c 3 -W 1 83.43.42.195 2025-11-04 21:52:08,713 - DEBUG - PING 83.43.42.195 (83.43.42.195): 56 data bytes 64 bytes from 83.43.42.195: seq=0 ttl=62 time=9.902 ms 64 bytes from 83.43.42.195: seq=1 ttl=62 time=0.825 ms 64 bytes from 83.43.42.195: seq=2 ttl=62 time=0.909 ms --- 83.43.42.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/3.878/9.902 ms 2025-11-04 21:52:08,713 - INFO - Ping to IP 83.43.42.195 from VM ctest-TestRoutersBasic-70985842-04869385 passed 2025-11-04 21:52:08,713 - INFO - Deleting interface with subnet_id 1dc5ae28-42b1-48e7-b407-4ab4daa4a989, port_id None from router adc9f967-40cf-4b51-afef-7cb756e2ac73 2025-11-04 21:52:08,888 - INFO - Deleting VM ctest-TestRoutersBasic-70985842-06549672 2025-11-04 21:52:08,957 - INFO - Deleting VM ctest-TestRoutersBasic-70985842-04869385 2025-11-04 21:52:09,026 - INFO - Deleting VN ctest-ext_vn-29631478 2025-11-04 21:52:09,085 - DEBUG - VN b5154c03-5d4e-434a-b8f4-ba4b42e3b415 still in use: Unable to complete operation on network b5154c03-5d4e-434a-b8f4-ba4b42e3b415. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6451aea9-a3ae-4316-9a6b-1443aa45c63f'] 2025-11-04 21:52:09,085 - WARNING - Deleting VN ctest-ext_vn-29631478 failed..Will retry 2025-11-04 21:52:11,186 - DEBUG - Response for deleting network () 2025-11-04 21:52:11,186 - INFO - Deleting VN ctest-vn-01873255 2025-11-04 21:52:11,283 - DEBUG - Response for deleting network () 2025-11-04 21:52:11,542 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 21:52:11,543 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:21] 2025-11-04 21:52:11,543 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:52:12,225 - INFO - Deleted project: ctest-TestRoutersBasic-70985842, ID : 553cc638-81f3-4f69-9a5c-14a78dcf03ed