2025-11-12 15:29:46,546 - INFO - Domain Default found not creating 2025-11-12 15:29:46,703 - INFO - Project ctest-TestRoutersBasic-42191246 not found, creating it 2025-11-12 15:29:47,168 - INFO - Created Project:ctest-TestRoutersBasic-42191246, ID : 8eca1475-4236-4287-98aa-a07f701d3d55 2025-11-12 15:29:48,789 - INFO - ================================================================================ 2025-11-12 15:29:48,789 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-12 15:29:48,789 - 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-12 15:29:49,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 15:29:49,042 - INFO - Initial checks done. Running the testcase now 2025-11-12 15:29:49,043 - INFO - 2025-11-12 15:29:49,895 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42191246 2025-11-12 15:29:49,989 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42191246 2025-11-12 15:29:50,309 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42191246', 'default']} 2025-11-12 15:29:50,589 - DEBUG - Response for create_network : {'network': {'id': '9badc90e-03fe-45aa-82ba-6620528d6351', 'name': 'ctest-vn-74575357', 'tenant_id': '8eca14754236428798aaa07f701d3d55', 'project_id': '8eca14754236428798aaa07f701d3d55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42191246', 'ctest-vn-74575357'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:29:50,732 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb85914f-1779-4c8f-b370-49b47fc6c168', 'name': '', 'tenant_id': '8eca14754236428798aaa07f701d3d55', 'network_id': '9badc90e-03fe-45aa-82ba-6620528d6351', 'ip_version': 4, 'cidr': '206.254.213.0/26', 'allocation_pools': [{'start': '206.254.213.2', 'end': '206.254.213.62'}], 'gateway_ip': '206.254.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.254.213.2', 'tags': [], 'project_id': '8eca14754236428798aaa07f701d3d55'}} 2025-11-12 15:29:50,746 - INFO - Created VN ctest-vn-74575357 2025-11-12 15:29:50,797 - DEBUG - VN ctest-vn-74575357 UUID is 9badc90e-03fe-45aa-82ba-6620528d6351 2025-11-12 15:29:51,131 - DEBUG - Response for create_network : {'network': {'id': '7516eb76-f5a9-4097-8389-dd3e9c955be0', 'name': 'ctest-ext_vn-56801841', 'tenant_id': '8eca14754236428798aaa07f701d3d55', 'project_id': '8eca14754236428798aaa07f701d3d55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42191246', 'ctest-ext_vn-56801841'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:29:51,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b1c5f23-20b9-43fc-9345-a3ca54161eec', 'name': '', 'tenant_id': '8eca14754236428798aaa07f701d3d55', 'network_id': '7516eb76-f5a9-4097-8389-dd3e9c955be0', 'ip_version': 4, 'cidr': '52.94.142.128/26', 'allocation_pools': [{'start': '52.94.142.130', 'end': '52.94.142.190'}], 'gateway_ip': '52.94.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.94.142.130', 'tags': [], 'project_id': '8eca14754236428798aaa07f701d3d55'}} 2025-11-12 15:29:51,328 - INFO - Created VN ctest-ext_vn-56801841 2025-11-12 15:29:51,381 - DEBUG - VN ctest-ext_vn-56801841 UUID is 7516eb76-f5a9-4097-8389-dd3e9c955be0 2025-11-12 15:29:51,578 - DEBUG - Services list from nova: [, , ] 2025-11-12 15:29:52,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1) 2025-11-12 15:29:54,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1) 2025-11-12 15:29:54,129 - INFO - Setting gateway for router f6011b7f-8b0d-4c35-b239-6c3e130d100d to network 7516eb76-f5a9-4097-8389-dd3e9c955be0 2025-11-12 15:29:54,204 - INFO - Adding interface with subnet_id cb85914f-1779-4c8f-b370-49b47fc6c168, port_id None to router f6011b7f-8b0d-4c35-b239-6c3e130d100d 2025-11-12 15:29:54,786 - INFO - Waiting for VM ctest-TestRoutersBasic-42191246-23297578 to be up.. 2025-11-12 15:29:54,942 - DEBUG - VM is in ACTIVE state now 2025-11-12 15:29:54,942 - INFO - VM name : ctest-TestRoutersBasic-42191246-23297578 2025-11-12 15:29:55,073 - DEBUG - VM ctest-TestRoutersBasic-42191246-23297578 ID is 3e31c640-d396-494b-9164-b48967713933 2025-11-12 15:29:55,103 - DEBUG - VM ctest-TestRoutersBasic-42191246-23297578 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1 2025-11-12 15:29:55,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e31c640-d396-494b-9164-b48967713933 2025-11-12 15:29:55,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e31c640-d396-494b-9164-b48967713933 2025-11-12 15:29:55,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/452f5b18-e23f-42e2-9c5f-785711f8e084 2025-11-12 15:29:59,028 - 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 1017ms') 2025-11-12 15:29:59,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42191246-23297578 failed! 2025-11-12 15:29:59,085 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42191246:ctest-vn-74575357 is 206.254.213.1 and allocation pool is NOT set 2025-11-12 15:30:03,154 - 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=2 ttl=63 time=10.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.265/10.265/10.265/0.000 ms') 2025-11-12 15:30:03,154 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42191246-23297578 passed 2025-11-12 15:30:03,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:03,305 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42191246-23297578, IP 206.254.213.3, Port 22 2025-11-12 15:30:03,471 - DEBUG - VM ctest-TestRoutersBasic-42191246-23297578 is ready for SSH connections 2025-11-12 15:30:03,471 - INFO - Waiting for VM ctest-TestRoutersBasic-42191246-76376873 to be up.. 2025-11-12 15:30:03,537 - DEBUG - VM is in ACTIVE state now 2025-11-12 15:30:03,537 - INFO - VM name : ctest-TestRoutersBasic-42191246-76376873 2025-11-12 15:30:03,601 - DEBUG - VM ctest-TestRoutersBasic-42191246-76376873 ID is e1f1dd84-c736-40c5-ba27-21a53ead433e 2025-11-12 15:30:03,601 - DEBUG - VM ctest-TestRoutersBasic-42191246-76376873 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1 2025-11-12 15:30:03,667 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1f1dd84-c736-40c5-ba27-21a53ead433e 2025-11-12 15:30:03,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4737dade-29d5-410a-81b2-0f79789b3c21 2025-11-12 15:30:04,909 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.79 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 = 3.793/4.045/4.298/0.252 ms') 2025-11-12 15:30:04,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42191246-76376873 passed 2025-11-12 15:30:05,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:05,057 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42191246-76376873, IP 52.94.142.131, Port 22 2025-11-12 15:30:05,222 - DEBUG - VM ctest-TestRoutersBasic-42191246-76376873 is ready for SSH connections 2025-11-12 15:30:05,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:05,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.94.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 15:30:05,223 - DEBUG - ping -s 56 -c 3 -W 1 52.94.142.131 2025-11-12 15:30:08,840 - DEBUG - PING 52.94.142.131 (52.94.142.131): 56 data bytes 64 bytes from 52.94.142.131: seq=0 ttl=62 time=7.549 ms 64 bytes from 52.94.142.131: seq=1 ttl=62 time=0.960 ms 64 bytes from 52.94.142.131: seq=2 ttl=62 time=0.992 ms --- 52.94.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/3.167/7.549 ms 2025-11-12 15:30:08,840 - INFO - Ping to IP 52.94.142.131 from VM ctest-TestRoutersBasic-42191246-23297578 passed 2025-11-12 15:30:08,840 - INFO - Deleting interface with subnet_id cb85914f-1779-4c8f-b370-49b47fc6c168, port_id None from router f6011b7f-8b0d-4c35-b239-6c3e130d100d 2025-11-12 15:30:09,003 - INFO - Deleting VM ctest-TestRoutersBasic-42191246-76376873 2025-11-12 15:30:09,069 - INFO - Deleting VM ctest-TestRoutersBasic-42191246-23297578 2025-11-12 15:30:09,146 - INFO - Deleting VN ctest-ext_vn-56801841 2025-11-12 15:30:09,209 - DEBUG - VN 7516eb76-f5a9-4097-8389-dd3e9c955be0 still in use: Unable to complete operation on network 7516eb76-f5a9-4097-8389-dd3e9c955be0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b663550-dd08-4ce0-8a8e-09cbc1ef4025'] 2025-11-12 15:30:09,209 - WARNING - Deleting VN ctest-ext_vn-56801841 failed..Will retry 2025-11-12 15:30:11,334 - DEBUG - Response for deleting network () 2025-11-12 15:30:11,334 - INFO - Deleting VN ctest-vn-74575357 2025-11-12 15:30:11,428 - DEBUG - Response for deleting network () 2025-11-12 15:30:11,686 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 15:30:11,686 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-11-12 15:30:11,686 - INFO - -------------------------------------------------------------------------------- 2025-11-12 15:30:12,449 - INFO - Deleted project: ctest-TestRoutersBasic-42191246, ID : 8eca1475-4236-4287-98aa-a07f701d3d55