2025-12-04 16:43:39,504 - INFO - Domain Default found not creating 2025-12-04 16:43:39,687 - INFO - Project ctest-TestRoutersBasic-38060084 not found, creating it 2025-12-04 16:43:40,167 - INFO - Created Project:ctest-TestRoutersBasic-38060084, ID : a2b71ddd-5303-49ab-935f-1411c5e20555 2025-12-04 16:43:41,789 - INFO - ================================================================================ 2025-12-04 16:43:41,790 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-04 16:43:41,790 - 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-12-04 16:43:42,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 16:43:42,045 - INFO - Initial checks done. Running the testcase now 2025-12-04 16:43:42,045 - INFO - 2025-12-04 16:43:42,871 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38060084 2025-12-04 16:43:42,971 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38060084 2025-12-04 16:43:43,303 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38060084', 'default']} 2025-12-04 16:43:43,618 - DEBUG - Response for create_network : {'network': {'id': '5174aec1-0713-44d2-9fa7-518ca01d306c', 'name': 'ctest-vn-02470694', 'tenant_id': 'a2b71ddd530349ab935f1411c5e20555', 'project_id': 'a2b71ddd530349ab935f1411c5e20555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38060084', 'ctest-vn-02470694'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:43:43,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '002204f1-56a0-498f-8170-8644b05e1e69', 'name': '', 'tenant_id': 'a2b71ddd530349ab935f1411c5e20555', 'network_id': '5174aec1-0713-44d2-9fa7-518ca01d306c', 'ip_version': 4, 'cidr': '160.161.195.192/26', 'allocation_pools': [{'start': '160.161.195.194', 'end': '160.161.195.254'}], 'gateway_ip': '160.161.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.161.195.194', 'tags': [], 'project_id': 'a2b71ddd530349ab935f1411c5e20555'}} 2025-12-04 16:43:43,820 - INFO - Created VN ctest-vn-02470694 2025-12-04 16:43:43,871 - DEBUG - VN ctest-vn-02470694 UUID is 5174aec1-0713-44d2-9fa7-518ca01d306c 2025-12-04 16:43:44,222 - DEBUG - Response for create_network : {'network': {'id': '6a787f2e-da28-4750-b9d6-a8d1cd529f5f', 'name': 'ctest-ext_vn-67434839', 'tenant_id': 'a2b71ddd530349ab935f1411c5e20555', 'project_id': 'a2b71ddd530349ab935f1411c5e20555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38060084', 'ctest-ext_vn-67434839'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:43:44,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '96cb29a3-8c2b-42a2-85f6-1208365a272d', 'name': '', 'tenant_id': 'a2b71ddd530349ab935f1411c5e20555', 'network_id': '6a787f2e-da28-4750-b9d6-a8d1cd529f5f', 'ip_version': 4, 'cidr': '179.63.208.128/26', 'allocation_pools': [{'start': '179.63.208.130', 'end': '179.63.208.190'}], 'gateway_ip': '179.63.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.63.208.130', 'tags': [], 'project_id': 'a2b71ddd530349ab935f1411c5e20555'}} 2025-12-04 16:43:44,443 - INFO - Created VN ctest-ext_vn-67434839 2025-12-04 16:43:44,495 - DEBUG - VN ctest-ext_vn-67434839 UUID is 6a787f2e-da28-4750-b9d6-a8d1cd529f5f 2025-12-04 16:43:44,665 - DEBUG - Services list from nova: [, , ] 2025-12-04 16:43:45,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:43:47,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:43:47,166 - INFO - Setting gateway for router 605dc56a-3376-426e-b9d5-e5fffac5cdd0 to network 6a787f2e-da28-4750-b9d6-a8d1cd529f5f 2025-12-04 16:43:47,220 - INFO - Adding interface with subnet_id 002204f1-56a0-498f-8170-8644b05e1e69, port_id None to router 605dc56a-3376-426e-b9d5-e5fffac5cdd0 2025-12-04 16:43:47,595 - INFO - Waiting for VM ctest-TestRoutersBasic-38060084-56469744 to be up.. 2025-12-04 16:43:47,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 16:43:52,786 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:43:52,786 - INFO - VM name : ctest-TestRoutersBasic-38060084-56469744 2025-12-04 16:43:52,865 - DEBUG - VM ctest-TestRoutersBasic-38060084-56469744 ID is 38383bbe-9d99-4a12-9f26-88ae54e05943 2025-12-04 16:43:52,883 - DEBUG - VM ctest-TestRoutersBasic-38060084-56469744 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:43:52,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/38383bbe-9d99-4a12-9f26-88ae54e05943 2025-12-04 16:43:53,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/38383bbe-9d99-4a12-9f26-88ae54e05943 2025-12-04 16:43:53,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a030e358-5e98-411f-ad4d-d8187dc4dcd1 2025-12-04 16:43:56,589 - 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 1031ms') 2025-12-04 16:43:56,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38060084-56469744 failed! 2025-12-04 16:43:56,643 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38060084:ctest-vn-02470694 is 160.161.195.193 and allocation pool is NOT set 2025-12-04 16:43:58,705 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.233 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.233/1.921/3.610/1.688 ms') 2025-12-04 16:43:58,705 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38060084-56469744 passed 2025-12-04 16:43:58,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:58,855 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38060084-56469744, IP 160.161.195.195, Port 22 2025-12-04 16:43:59,015 - DEBUG - VM ctest-TestRoutersBasic-38060084-56469744 is ready for SSH connections 2025-12-04 16:43:59,015 - INFO - Waiting for VM ctest-TestRoutersBasic-38060084-80518321 to be up.. 2025-12-04 16:43:59,093 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:43:59,093 - INFO - VM name : ctest-TestRoutersBasic-38060084-80518321 2025-12-04 16:43:59,166 - DEBUG - VM ctest-TestRoutersBasic-38060084-80518321 ID is b3353b99-e17f-40ab-ab6c-4679a94ac30d 2025-12-04 16:43:59,167 - DEBUG - VM ctest-TestRoutersBasic-38060084-80518321 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:43:59,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b3353b99-e17f-40ab-ab6c-4679a94ac30d 2025-12-04 16:43:59,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c46eeb7a-23a7-4faf-ad58-c40a672d2e60 2025-12-04 16:44:00,487 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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.071/3.419/5.767/2.348 ms') 2025-12-04 16:44:00,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38060084-80518321 passed 2025-12-04 16:44:00,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:00,635 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38060084-80518321, IP 179.63.208.131, Port 22 2025-12-04 16:44:00,798 - DEBUG - VM ctest-TestRoutersBasic-38060084-80518321 is ready for SSH connections 2025-12-04 16:44:00,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:00,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.63.208.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:44:00,799 - DEBUG - ping -s 56 -c 3 -W 1 179.63.208.131 2025-12-04 16:44:04,563 - DEBUG - PING 179.63.208.131 (179.63.208.131): 56 data bytes 64 bytes from 179.63.208.131: seq=0 ttl=62 time=5.196 ms 64 bytes from 179.63.208.131: seq=1 ttl=62 time=0.971 ms 64 bytes from 179.63.208.131: seq=2 ttl=62 time=1.096 ms --- 179.63.208.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.421/5.196 ms 2025-12-04 16:44:04,563 - INFO - Ping to IP 179.63.208.131 from VM ctest-TestRoutersBasic-38060084-56469744 passed 2025-12-04 16:44:04,563 - INFO - Deleting interface with subnet_id 002204f1-56a0-498f-8170-8644b05e1e69, port_id None from router 605dc56a-3376-426e-b9d5-e5fffac5cdd0 2025-12-04 16:44:04,749 - INFO - Deleting VM ctest-TestRoutersBasic-38060084-80518321 2025-12-04 16:44:04,823 - INFO - Deleting VM ctest-TestRoutersBasic-38060084-56469744 2025-12-04 16:44:04,934 - INFO - Deleting VN ctest-ext_vn-67434839 2025-12-04 16:44:04,989 - DEBUG - VN 6a787f2e-da28-4750-b9d6-a8d1cd529f5f still in use: Unable to complete operation on network 6a787f2e-da28-4750-b9d6-a8d1cd529f5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5bf6af8e-fa41-4e9e-80c5-3848f05edc43'] 2025-12-04 16:44:04,989 - WARNING - Deleting VN ctest-ext_vn-67434839 failed..Will retry 2025-12-04 16:44:07,092 - DEBUG - Response for deleting network () 2025-12-04 16:44:07,094 - INFO - Deleting VN ctest-vn-02470694 2025-12-04 16:44:07,204 - DEBUG - Response for deleting network () 2025-12-04 16:44:07,466 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 16:44:07,467 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-12-04 16:44:07,467 - INFO - -------------------------------------------------------------------------------- 2025-12-04 16:44:08,214 - INFO - Deleted project: ctest-TestRoutersBasic-38060084, ID : a2b71ddd-5303-49ab-935f-1411c5e20555