2026-04-27 17:43:54,198 - INFO - Domain Default found not creating 2026-04-27 17:43:54,388 - INFO - Project ctest-TestRoutersBasic-01223986 not found, creating it 2026-04-27 17:43:54,897 - INFO - Created Project:ctest-TestRoutersBasic-01223986, ID : a760ade7-bb4d-4a2f-acc6-113ddefcb602 2026-04-27 17:43:56,569 - INFO - ================================================================================ 2026-04-27 17:43:56,569 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-27 17:43:56,570 - 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 2026-04-27 17:43:56,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-27 17:43:56,834 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:43:56,834 - INFO - 2026-04-27 17:43:57,594 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01223986 2026-04-27 17:43:57,695 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01223986 2026-04-27 17:43:58,023 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01223986', 'default']} 2026-04-27 17:43:58,353 - DEBUG - Response for create_network : {'network': {'id': '2cf925d6-99a2-4a57-bead-c27ff71597be', 'name': 'ctest-vn-85510314', 'tenant_id': 'a760ade7bb4d4a2facc6113ddefcb602', 'project_id': 'a760ade7bb4d4a2facc6113ddefcb602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01223986', 'ctest-vn-85510314'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:43:58,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '79ef6a7d-18e7-4aad-a2f6-0447c9ae7fea', 'name': '', 'tenant_id': 'a760ade7bb4d4a2facc6113ddefcb602', 'network_id': '2cf925d6-99a2-4a57-bead-c27ff71597be', 'ip_version': 4, 'cidr': '23.62.181.192/26', 'allocation_pools': [{'start': '23.62.181.194', 'end': '23.62.181.254'}], 'gateway_ip': '23.62.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.62.181.194', 'tags': [], 'project_id': 'a760ade7bb4d4a2facc6113ddefcb602'}} 2026-04-27 17:43:58,614 - INFO - Created VN ctest-vn-85510314 2026-04-27 17:43:58,667 - DEBUG - VN ctest-vn-85510314 UUID is 2cf925d6-99a2-4a57-bead-c27ff71597be 2026-04-27 17:43:59,005 - DEBUG - Response for create_network : {'network': {'id': '46778e47-8ffc-4302-9e35-339f4a16272f', 'name': 'ctest-ext_vn-58222945', 'tenant_id': 'a760ade7bb4d4a2facc6113ddefcb602', 'project_id': 'a760ade7bb4d4a2facc6113ddefcb602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01223986', 'ctest-ext_vn-58222945'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:43:59,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b0a5fda-0d16-4922-868f-e6bb7b27dbb3', 'name': '', 'tenant_id': 'a760ade7bb4d4a2facc6113ddefcb602', 'network_id': '46778e47-8ffc-4302-9e35-339f4a16272f', 'ip_version': 4, 'cidr': '153.215.46.128/26', 'allocation_pools': [{'start': '153.215.46.130', 'end': '153.215.46.190'}], 'gateway_ip': '153.215.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.215.46.130', 'tags': [], 'project_id': 'a760ade7bb4d4a2facc6113ddefcb602'}} 2026-04-27 17:43:59,187 - INFO - Created VN ctest-ext_vn-58222945 2026-04-27 17:43:59,243 - DEBUG - VN ctest-ext_vn-58222945 UUID is 46778e47-8ffc-4302-9e35-339f4a16272f 2026-04-27 17:43:59,436 - DEBUG - Services list from nova: [, , ] 2026-04-27 17:44:00,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5697-1) 2026-04-27 17:44:02,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5697-1) 2026-04-27 17:44:02,140 - INFO - Setting gateway for router ad8d2399-85f5-46f8-8484-f0dc6c60a9d3 to network 46778e47-8ffc-4302-9e35-339f4a16272f 2026-04-27 17:44:02,215 - INFO - Adding interface with subnet_id 79ef6a7d-18e7-4aad-a2f6-0447c9ae7fea, port_id None to router ad8d2399-85f5-46f8-8484-f0dc6c60a9d3 2026-04-27 17:44:02,666 - INFO - Waiting for VM ctest-TestRoutersBasic-01223986-04570217 to be up.. 2026-04-27 17:44:02,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 17:44:07,992 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:44:07,992 - INFO - VM name : ctest-TestRoutersBasic-01223986-04570217 2026-04-27 17:44:08,088 - DEBUG - VM ctest-TestRoutersBasic-01223986-04570217 ID is c3aa7c7c-98c8-4fdc-a0a7-4828e68592f1 2026-04-27 17:44:08,112 - DEBUG - VM ctest-TestRoutersBasic-01223986-04570217 launched on Node cn-jenkins-deploy-platform-ansible-os-5697-1 2026-04-27 17:44:08,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c3aa7c7c-98c8-4fdc-a0a7-4828e68592f1 2026-04-27 17:44:08,513 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c3aa7c7c-98c8-4fdc-a0a7-4828e68592f1 2026-04-27 17:44:08,555 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d362d207-a079-458c-9a05-0e5c0275c86e 2026-04-27 17:44:11,829 - 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 1026ms') 2026-04-27 17:44:11,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01223986-04570217 failed! 2026-04-27 17:44:11,887 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01223986:ctest-vn-85510314 is 23.62.181.193 and allocation pool is NOT set 2026-04-27 17:44:13,957 - 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=9.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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 = 2.711/6.335/9.960/3.624 ms') 2026-04-27 17:44:13,958 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01223986-04570217 passed 2026-04-27 17:44:14,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:44:14,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01223986-04570217, IP 23.62.181.195, Port 22 2026-04-27 17:44:14,273 - DEBUG - VM ctest-TestRoutersBasic-01223986-04570217 is ready for SSH connections 2026-04-27 17:44:14,273 - INFO - Waiting for VM ctest-TestRoutersBasic-01223986-21892415 to be up.. 2026-04-27 17:44:14,367 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:44:14,368 - INFO - VM name : ctest-TestRoutersBasic-01223986-21892415 2026-04-27 17:44:14,457 - DEBUG - VM ctest-TestRoutersBasic-01223986-21892415 ID is 957fdc22-a563-4899-8850-fb90722cd5bd 2026-04-27 17:44:14,457 - DEBUG - VM ctest-TestRoutersBasic-01223986-21892415 launched on Node cn-jenkins-deploy-platform-ansible-os-5697-1 2026-04-27 17:44:14,550 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/957fdc22-a563-4899-8850-fb90722cd5bd 2026-04-27 17:44:14,559 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1927f3bb-a355-466e-837f-01dc078df139 2026-04-27 17:44:15,805 - 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=6.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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.012/3.603/6.194/2.591 ms') 2026-04-27 17:44:15,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01223986-21892415 passed 2026-04-27 17:44:15,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:44:15,959 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01223986-21892415, IP 153.215.46.131, Port 22 2026-04-27 17:44:16,128 - DEBUG - VM ctest-TestRoutersBasic-01223986-21892415 is ready for SSH connections 2026-04-27 17:44:16,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:44:16,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.215.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-27 17:44:16,129 - DEBUG - ping -s 56 -c 3 -W 1 153.215.46.131 2026-04-27 17:44:19,883 - DEBUG - PING 153.215.46.131 (153.215.46.131): 56 data bytes 64 bytes from 153.215.46.131: seq=0 ttl=62 time=5.392 ms 64 bytes from 153.215.46.131: seq=1 ttl=62 time=1.150 ms 64 bytes from 153.215.46.131: seq=2 ttl=62 time=1.272 ms --- 153.215.46.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.150/2.604/5.392 ms 2026-04-27 17:44:19,883 - INFO - Ping to IP 153.215.46.131 from VM ctest-TestRoutersBasic-01223986-04570217 passed 2026-04-27 17:44:19,883 - INFO - Deleting interface with subnet_id 79ef6a7d-18e7-4aad-a2f6-0447c9ae7fea, port_id None from router ad8d2399-85f5-46f8-8484-f0dc6c60a9d3 2026-04-27 17:44:20,121 - INFO - Deleting VM ctest-TestRoutersBasic-01223986-21892415 2026-04-27 17:44:20,209 - INFO - Deleting VM ctest-TestRoutersBasic-01223986-04570217 2026-04-27 17:44:20,301 - INFO - Deleting VN ctest-ext_vn-58222945 2026-04-27 17:44:20,396 - DEBUG - VN 46778e47-8ffc-4302-9e35-339f4a16272f still in use: Unable to complete operation on network 46778e47-8ffc-4302-9e35-339f4a16272f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8825ca8d-f403-4c66-9ca3-b617addfc8a0'] 2026-04-27 17:44:20,396 - WARNING - Deleting VN ctest-ext_vn-58222945 failed..Will retry 2026-04-27 17:44:22,520 - DEBUG - Response for deleting network () 2026-04-27 17:44:22,521 - INFO - Deleting VN ctest-vn-85510314 2026-04-27 17:44:22,634 - DEBUG - Response for deleting network () 2026-04-27 17:44:22,889 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 17:44:22,889 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-04-27 17:44:22,890 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:44:23,596 - INFO - Deleted project: ctest-TestRoutersBasic-01223986, ID : a760ade7-bb4d-4a2f-acc6-113ddefcb602