2025-10-30 14:49:13,735 - INFO - Domain Default found not creating 2025-10-30 14:49:13,891 - INFO - Project ctest-TestRoutersBasic-09965731 not found, creating it 2025-10-30 14:49:14,346 - INFO - Created Project:ctest-TestRoutersBasic-09965731, ID : 575f5b6c-c6d9-43dc-adda-baca3262795f 2025-10-30 14:49:15,848 - INFO - ================================================================================ 2025-10-30 14:49:15,848 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 14:49:15,848 - 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-10-30 14:49:16,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 14:49:16,111 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:49:16,111 - INFO - 2025-10-30 14:49:16,812 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09965731 2025-10-30 14:49:16,906 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09965731 2025-10-30 14:49:17,222 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09965731', 'default']} 2025-10-30 14:49:17,512 - DEBUG - Response for create_network : {'network': {'id': '8d4359aa-39e9-4892-9ccc-7912c05988c4', 'name': 'ctest-vn-40034247', 'tenant_id': '575f5b6cc6d943dcaddabaca3262795f', 'project_id': '575f5b6cc6d943dcaddabaca3262795f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09965731', 'ctest-vn-40034247'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:49:17,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '03c0a0d9-65ca-4383-b49e-95f4d35bf2ad', 'name': '', 'tenant_id': '575f5b6cc6d943dcaddabaca3262795f', 'network_id': '8d4359aa-39e9-4892-9ccc-7912c05988c4', 'ip_version': 4, 'cidr': '132.10.191.0/26', 'allocation_pools': [{'start': '132.10.191.2', 'end': '132.10.191.62'}], 'gateway_ip': '132.10.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.10.191.2', 'tags': [], 'project_id': '575f5b6cc6d943dcaddabaca3262795f'}} 2025-10-30 14:49:17,779 - INFO - Created VN ctest-vn-40034247 2025-10-30 14:49:17,838 - DEBUG - VN ctest-vn-40034247 UUID is 8d4359aa-39e9-4892-9ccc-7912c05988c4 2025-10-30 14:49:18,189 - DEBUG - Response for create_network : {'network': {'id': '53f8711f-6970-4fa1-a449-9a9d90f178f9', 'name': 'ctest-ext_vn-26551399', 'tenant_id': '575f5b6cc6d943dcaddabaca3262795f', 'project_id': '575f5b6cc6d943dcaddabaca3262795f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09965731', 'ctest-ext_vn-26551399'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:49:18,337 - DEBUG - Response for create_subnet : {'subnet': {'id': '367758b6-7757-49ed-98c0-ab038ed51722', 'name': '', 'tenant_id': '575f5b6cc6d943dcaddabaca3262795f', 'network_id': '53f8711f-6970-4fa1-a449-9a9d90f178f9', 'ip_version': 4, 'cidr': '100.141.143.0/26', 'allocation_pools': [{'start': '100.141.143.2', 'end': '100.141.143.62'}], 'gateway_ip': '100.141.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.141.143.2', 'tags': [], 'project_id': '575f5b6cc6d943dcaddabaca3262795f'}} 2025-10-30 14:49:18,358 - INFO - Created VN ctest-ext_vn-26551399 2025-10-30 14:49:18,410 - DEBUG - VN ctest-ext_vn-26551399 UUID is 53f8711f-6970-4fa1-a449-9a9d90f178f9 2025-10-30 14:49:18,622 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:49:19,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4546-1) 2025-10-30 14:49:20,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4546-1) 2025-10-30 14:49:20,883 - INFO - Setting gateway for router eadd5046-3067-441f-b65f-d9495145c96f to network 53f8711f-6970-4fa1-a449-9a9d90f178f9 2025-10-30 14:49:20,964 - INFO - Adding interface with subnet_id 03c0a0d9-65ca-4383-b49e-95f4d35bf2ad, port_id None to router eadd5046-3067-441f-b65f-d9495145c96f 2025-10-30 14:49:21,293 - INFO - Waiting for VM ctest-TestRoutersBasic-09965731-78234988 to be up.. 2025-10-30 14:49:21,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:49:26,516 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:49:26,516 - INFO - VM name : ctest-TestRoutersBasic-09965731-78234988 2025-10-30 14:49:26,602 - DEBUG - VM ctest-TestRoutersBasic-09965731-78234988 ID is ada3247c-71cc-48d9-83c5-7f429d8313f3 2025-10-30 14:49:26,624 - DEBUG - VM ctest-TestRoutersBasic-09965731-78234988 launched on Node cn-jenkins-deploy-platform-ansible-os-4546-1 2025-10-30 14:49:26,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ada3247c-71cc-48d9-83c5-7f429d8313f3 2025-10-30 14:49:26,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ada3247c-71cc-48d9-83c5-7f429d8313f3 2025-10-30 14:49:27,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8d45fb1f-1841-4e2b-804b-9b7825a19872 2025-10-30 14:49:30,282 - 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') 2025-10-30 14:49:30,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09965731-78234988 failed! 2025-10-30 14:49:30,342 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09965731:ctest-vn-40034247 is 132.10.191.1 and allocation pool is NOT set 2025-10-30 14:49:32,403 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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 = 1.291/2.281/3.271/0.990 ms') 2025-10-30 14:49:32,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09965731-78234988 passed 2025-10-30 14:49:32,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:49:32,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09965731-78234988, IP 132.10.191.3, Port 22 2025-10-30 14:49:32,719 - DEBUG - VM ctest-TestRoutersBasic-09965731-78234988 is ready for SSH connections 2025-10-30 14:49:32,720 - INFO - Waiting for VM ctest-TestRoutersBasic-09965731-59858873 to be up.. 2025-10-30 14:49:32,795 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:49:32,795 - INFO - VM name : ctest-TestRoutersBasic-09965731-59858873 2025-10-30 14:49:32,860 - DEBUG - VM ctest-TestRoutersBasic-09965731-59858873 ID is a6426d0d-46a9-41d0-b2c4-18b71c9197b1 2025-10-30 14:49:32,861 - DEBUG - VM ctest-TestRoutersBasic-09965731-59858873 launched on Node cn-jenkins-deploy-platform-ansible-os-4546-1 2025-10-30 14:49:32,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a6426d0d-46a9-41d0-b2c4-18b71c9197b1 2025-10-30 14:49:32,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2c9bca73-bf07-4c04-a5b1-bd34f4e1e00b 2025-10-30 14:49:34,169 - 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=3.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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 = 0.543/1.855/3.167/1.312 ms') 2025-10-30 14:49:34,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09965731-59858873 passed 2025-10-30 14:49:34,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:49:34,322 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09965731-59858873, IP 100.141.143.3, Port 22 2025-10-30 14:49:34,476 - DEBUG - VM ctest-TestRoutersBasic-09965731-59858873 is ready for SSH connections 2025-10-30 14:49:34,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:49:34,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.141.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:49:34,477 - DEBUG - ping -s 56 -c 3 -W 1 100.141.143.3 2025-10-30 14:49:38,189 - DEBUG - PING 100.141.143.3 (100.141.143.3): 56 data bytes 64 bytes from 100.141.143.3: seq=0 ttl=62 time=7.705 ms 64 bytes from 100.141.143.3: seq=1 ttl=62 time=1.056 ms 64 bytes from 100.141.143.3: seq=2 ttl=62 time=0.942 ms --- 100.141.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/3.234/7.705 ms 2025-10-30 14:49:38,189 - INFO - Ping to IP 100.141.143.3 from VM ctest-TestRoutersBasic-09965731-78234988 passed 2025-10-30 14:49:38,189 - INFO - Deleting interface with subnet_id 03c0a0d9-65ca-4383-b49e-95f4d35bf2ad, port_id None from router eadd5046-3067-441f-b65f-d9495145c96f 2025-10-30 14:49:38,359 - INFO - Deleting VM ctest-TestRoutersBasic-09965731-59858873 2025-10-30 14:49:38,431 - INFO - Deleting VM ctest-TestRoutersBasic-09965731-78234988 2025-10-30 14:49:38,518 - INFO - Deleting VN ctest-ext_vn-26551399 2025-10-30 14:49:38,600 - DEBUG - VN 53f8711f-6970-4fa1-a449-9a9d90f178f9 still in use: Unable to complete operation on network 53f8711f-6970-4fa1-a449-9a9d90f178f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c44685d0-9a5b-4e46-b527-7dc93df8d215'] 2025-10-30 14:49:38,600 - WARNING - Deleting VN ctest-ext_vn-26551399 failed..Will retry 2025-10-30 14:49:40,684 - DEBUG - Response for deleting network () 2025-10-30 14:49:40,684 - INFO - Deleting VN ctest-vn-40034247 2025-10-30 14:49:40,788 - DEBUG - Response for deleting network () 2025-10-30 14:49:41,043 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 14:49:41,043 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-30 14:49:41,043 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:49:41,749 - INFO - Deleted project: ctest-TestRoutersBasic-09965731, ID : 575f5b6c-c6d9-43dc-adda-baca3262795f