2025-06-10 09:36:15,738 - INFO - Domain Default found not creating 2025-06-10 09:36:15,887 - INFO - Project ctest-TestRoutersBasic-30517820 not found, creating it 2025-06-10 09:36:16,365 - INFO - Created Project:ctest-TestRoutersBasic-30517820, ID : 94b7199e-7db2-478b-bc69-dcfdaa3562b0 2025-06-10 09:36:17,746 - INFO - ================================================================================ 2025-06-10 09:36:17,746 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-10 09:36:17,747 - 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-06-10 09:36:18,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-06-10 09:36:18,006 - INFO - Initial checks done. Running the testcase now 2025-06-10 09:36:18,006 - INFO - 2025-06-10 09:36:18,701 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30517820 2025-06-10 09:36:18,799 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30517820 2025-06-10 09:36:19,123 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30517820', 'default']} 2025-06-10 09:36:19,413 - DEBUG - Response for create_network : {'network': {'id': '11d53e48-0a67-453b-a676-157b19d0594a', 'name': 'ctest-vn-03087891', 'tenant_id': '94b7199e7db2478bbc69dcfdaa3562b0', 'project_id': '94b7199e7db2478bbc69dcfdaa3562b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30517820', 'ctest-vn-03087891'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 09:36:19,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fe9a4fd-24c6-426c-aa72-1edc29481813', 'name': '', 'tenant_id': '94b7199e7db2478bbc69dcfdaa3562b0', 'network_id': '11d53e48-0a67-453b-a676-157b19d0594a', 'ip_version': 4, 'cidr': '161.193.70.0/26', 'allocation_pools': [{'start': '161.193.70.2', 'end': '161.193.70.62'}], 'gateway_ip': '161.193.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.193.70.2', 'tags': [], 'project_id': '94b7199e7db2478bbc69dcfdaa3562b0'}} 2025-06-10 09:36:19,624 - INFO - Created VN ctest-vn-03087891 2025-06-10 09:36:19,679 - DEBUG - VN ctest-vn-03087891 UUID is 11d53e48-0a67-453b-a676-157b19d0594a 2025-06-10 09:36:20,029 - DEBUG - Response for create_network : {'network': {'id': '2efba967-494c-4dea-950e-69d662953497', 'name': 'ctest-ext_vn-66513913', 'tenant_id': '94b7199e7db2478bbc69dcfdaa3562b0', 'project_id': '94b7199e7db2478bbc69dcfdaa3562b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30517820', 'ctest-ext_vn-66513913'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 09:36:20,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '12552d41-f1ae-4dc0-b698-12caf9245434', 'name': '', 'tenant_id': '94b7199e7db2478bbc69dcfdaa3562b0', 'network_id': '2efba967-494c-4dea-950e-69d662953497', 'ip_version': 4, 'cidr': '184.223.240.64/26', 'allocation_pools': [{'start': '184.223.240.66', 'end': '184.223.240.126'}], 'gateway_ip': '184.223.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.223.240.66', 'tags': [], 'project_id': '94b7199e7db2478bbc69dcfdaa3562b0'}} 2025-06-10 09:36:20,271 - INFO - Created VN ctest-ext_vn-66513913 2025-06-10 09:36:20,323 - DEBUG - VN ctest-ext_vn-66513913 UUID is 2efba967-494c-4dea-950e-69d662953497 2025-06-10 09:36:20,496 - DEBUG - Services list from nova: [, , ] 2025-06-10 09:36:21,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3430-1) 2025-06-10 09:36:22,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3430-1) 2025-06-10 09:36:22,690 - INFO - Setting gateway for router a58f8c6b-9571-4eac-9d52-eb362ae2f7de to network 2efba967-494c-4dea-950e-69d662953497 2025-06-10 09:36:22,758 - INFO - Adding interface with subnet_id 2fe9a4fd-24c6-426c-aa72-1edc29481813, port_id None to router a58f8c6b-9571-4eac-9d52-eb362ae2f7de 2025-06-10 09:36:23,156 - INFO - Waiting for VM ctest-TestRoutersBasic-30517820-79223079 to be up.. 2025-06-10 09:36:23,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 09:36:28,419 - DEBUG - VM is in ACTIVE state now 2025-06-10 09:36:28,420 - INFO - VM name : ctest-TestRoutersBasic-30517820-79223079 2025-06-10 09:36:28,500 - DEBUG - VM ctest-TestRoutersBasic-30517820-79223079 ID is 9538b18a-f881-4153-867b-65f8819f7927 2025-06-10 09:36:28,518 - DEBUG - VM ctest-TestRoutersBasic-30517820-79223079 launched on Node cn-jenkins-deploy-platform-ansible-os-3430-1 2025-06-10 09:36:28,598 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9538b18a-f881-4153-867b-65f8819f7927 2025-06-10 09:36:28,891 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9538b18a-f881-4153-867b-65f8819f7927 2025-06-10 09:36:28,926 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2d763c11-1d10-483b-b044-69fe3a27dd05 2025-06-10 09:36:32,167 - 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-06-10 09:36:32,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30517820-79223079 failed! 2025-06-10 09:36:32,227 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30517820:ctest-vn-03087891 is 161.193.70.1 and allocation pool is NOT set 2025-06-10 09:36:34,292 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/1.948/3.537/1.589 ms') 2025-06-10 09:36:34,292 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30517820-79223079 passed 2025-06-10 09:36:34,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:36:34,415 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30517820-79223079, IP 161.193.70.3, Port 22 2025-06-10 09:36:34,589 - DEBUG - VM ctest-TestRoutersBasic-30517820-79223079 is ready for SSH connections 2025-06-10 09:36:34,589 - INFO - Waiting for VM ctest-TestRoutersBasic-30517820-32623323 to be up.. 2025-06-10 09:36:34,705 - DEBUG - VM is in ACTIVE state now 2025-06-10 09:36:34,705 - INFO - VM name : ctest-TestRoutersBasic-30517820-32623323 2025-06-10 09:36:34,832 - DEBUG - VM ctest-TestRoutersBasic-30517820-32623323 ID is 99e60a0b-0733-49ed-a9e6-8c562f1d4df3 2025-06-10 09:36:34,832 - DEBUG - VM ctest-TestRoutersBasic-30517820-32623323 launched on Node cn-jenkins-deploy-platform-ansible-os-3430-1 2025-06-10 09:36:34,910 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/99e60a0b-0733-49ed-a9e6-8c562f1d4df3 2025-06-10 09:36:34,918 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/42af3b4b-2b8b-435d-a884-0070c2daa903 2025-06-10 09:36:36,164 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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 = 0.378/1.574/2.770/1.196 ms') 2025-06-10 09:36:36,165 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30517820-32623323 passed 2025-06-10 09:36:36,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:36:36,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30517820-32623323, IP 184.223.240.67, Port 22 2025-06-10 09:36:36,478 - DEBUG - VM ctest-TestRoutersBasic-30517820-32623323 is ready for SSH connections 2025-06-10 09:36:36,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:36:36,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.223.240.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 09:36:36,479 - DEBUG - ping -s 56 -c 3 -W 1 184.223.240.67 2025-06-10 09:36:40,166 - DEBUG - PING 184.223.240.67 (184.223.240.67): 56 data bytes 64 bytes from 184.223.240.67: seq=0 ttl=62 time=7.626 ms 64 bytes from 184.223.240.67: seq=1 ttl=62 time=0.855 ms 64 bytes from 184.223.240.67: seq=2 ttl=62 time=0.840 ms --- 184.223.240.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/3.107/7.626 ms 2025-06-10 09:36:40,166 - INFO - Ping to IP 184.223.240.67 from VM ctest-TestRoutersBasic-30517820-79223079 passed 2025-06-10 09:36:40,166 - INFO - Deleting interface with subnet_id 2fe9a4fd-24c6-426c-aa72-1edc29481813, port_id None from router a58f8c6b-9571-4eac-9d52-eb362ae2f7de 2025-06-10 09:36:40,389 - INFO - Deleting VM ctest-TestRoutersBasic-30517820-32623323 2025-06-10 09:36:40,453 - INFO - Deleting VM ctest-TestRoutersBasic-30517820-79223079 2025-06-10 09:36:40,537 - INFO - Deleting VN ctest-ext_vn-66513913 2025-06-10 09:36:40,603 - DEBUG - VN 2efba967-494c-4dea-950e-69d662953497 still in use: Unable to complete operation on network 2efba967-494c-4dea-950e-69d662953497. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5819dd61-d0eb-4e24-8809-f2b8a8598fc4'] 2025-06-10 09:36:40,604 - WARNING - Deleting VN ctest-ext_vn-66513913 failed..Will retry 2025-06-10 09:36:42,712 - DEBUG - Response for deleting network () 2025-06-10 09:36:42,712 - INFO - Deleting VN ctest-vn-03087891 2025-06-10 09:36:42,816 - DEBUG - Response for deleting network () 2025-06-10 09:36:43,077 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 09:36:43,077 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-10 09:36:43,077 - INFO - -------------------------------------------------------------------------------- 2025-06-10 09:36:43,755 - INFO - Deleted project: ctest-TestRoutersBasic-30517820, ID : 94b7199e-7db2-478b-bc69-dcfdaa3562b0