2025-11-19 17:35:26,267 - INFO - Domain Default found not creating 2025-11-19 17:35:26,406 - INFO - Project ctest-TestRoutersBasic-19097265 not found, creating it 2025-11-19 17:35:26,830 - INFO - Created Project:ctest-TestRoutersBasic-19097265, ID : ce8fd9bf-f027-4a19-a598-7c9af3e1eb82 2025-11-19 17:35:28,194 - INFO - ================================================================================ 2025-11-19 17:35:28,194 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-19 17:35:28,194 - 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-19 17:35:28,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2025-11-19 17:35:28,446 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:35:28,446 - INFO - 2025-11-19 17:35:29,131 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19097265 2025-11-19 17:35:29,229 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19097265 2025-11-19 17:35:29,553 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19097265', 'default']} 2025-11-19 17:35:29,838 - DEBUG - Response for create_network : {'network': {'id': '7730a116-2b0c-4ed4-84f4-0aff05cedff5', 'name': 'ctest-vn-21412425', 'tenant_id': 'ce8fd9bff0274a19a5987c9af3e1eb82', 'project_id': 'ce8fd9bff0274a19a5987c9af3e1eb82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19097265', 'ctest-vn-21412425'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:35:29,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c8df36d-a076-4740-a379-e220cf22d100', 'name': '', 'tenant_id': 'ce8fd9bff0274a19a5987c9af3e1eb82', 'network_id': '7730a116-2b0c-4ed4-84f4-0aff05cedff5', 'ip_version': 4, 'cidr': '49.91.209.0/26', 'allocation_pools': [{'start': '49.91.209.2', 'end': '49.91.209.62'}], 'gateway_ip': '49.91.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.91.209.2', 'tags': [], 'project_id': 'ce8fd9bff0274a19a5987c9af3e1eb82'}} 2025-11-19 17:35:30,007 - INFO - Created VN ctest-vn-21412425 2025-11-19 17:35:30,057 - DEBUG - VN ctest-vn-21412425 UUID is 7730a116-2b0c-4ed4-84f4-0aff05cedff5 2025-11-19 17:35:30,369 - DEBUG - Response for create_network : {'network': {'id': 'b5f7828d-6179-48c3-889e-b518f55fb52f', 'name': 'ctest-ext_vn-32516987', 'tenant_id': 'ce8fd9bff0274a19a5987c9af3e1eb82', 'project_id': 'ce8fd9bff0274a19a5987c9af3e1eb82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19097265', 'ctest-ext_vn-32516987'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:35:30,526 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b987b957-90a3-4ba7-86d0-487edb457ab1', 'name': '', 'tenant_id': 'ce8fd9bff0274a19a5987c9af3e1eb82', 'network_id': 'b5f7828d-6179-48c3-889e-b518f55fb52f', 'ip_version': 4, 'cidr': '201.207.78.0/26', 'allocation_pools': [{'start': '201.207.78.2', 'end': '201.207.78.62'}], 'gateway_ip': '201.207.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.207.78.2', 'tags': [], 'project_id': 'ce8fd9bff0274a19a5987c9af3e1eb82'}} 2025-11-19 17:35:30,541 - INFO - Created VN ctest-ext_vn-32516987 2025-11-19 17:35:30,593 - DEBUG - VN ctest-ext_vn-32516987 UUID is b5f7828d-6179-48c3-889e-b518f55fb52f 2025-11-19 17:35:30,783 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:35:31,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:35:32,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:35:32,867 - INFO - Setting gateway for router 5c615912-f2d0-488b-a03f-0114f61f597b to network b5f7828d-6179-48c3-889e-b518f55fb52f 2025-11-19 17:35:32,912 - INFO - Adding interface with subnet_id 7c8df36d-a076-4740-a379-e220cf22d100, port_id None to router 5c615912-f2d0-488b-a03f-0114f61f597b 2025-11-19 17:35:33,218 - INFO - Waiting for VM ctest-TestRoutersBasic-19097265-90587357 to be up.. 2025-11-19 17:35:33,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:35:38,440 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:35:38,441 - INFO - VM name : ctest-TestRoutersBasic-19097265-90587357 2025-11-19 17:35:38,507 - DEBUG - VM ctest-TestRoutersBasic-19097265-90587357 ID is 20057d9c-5c86-4c65-8311-a348837d4ecd 2025-11-19 17:35:38,524 - DEBUG - VM ctest-TestRoutersBasic-19097265-90587357 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:35:38,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/20057d9c-5c86-4c65-8311-a348837d4ecd 2025-11-19 17:35:38,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/20057d9c-5c86-4c65-8311-a348837d4ecd 2025-11-19 17:35:38,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5dded9b8-9270-4f68-b1d3-f69c6e98a531 2025-11-19 17:35:42,172 - 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 1011ms') 2025-11-19 17:35:42,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19097265-90587357 failed! 2025-11-19 17:35:42,229 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19097265:ctest-vn-21412425 is 49.91.209.1 and allocation pool is NOT set 2025-11-19 17:35:44,293 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.548/2.702/1.153 ms') 2025-11-19 17:35:44,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19097265-90587357 passed 2025-11-19 17:35:44,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:44,441 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19097265-90587357, IP 49.91.209.3, Port 22 2025-11-19 17:35:44,592 - DEBUG - VM ctest-TestRoutersBasic-19097265-90587357 is ready for SSH connections 2025-11-19 17:35:44,592 - INFO - Waiting for VM ctest-TestRoutersBasic-19097265-82624768 to be up.. 2025-11-19 17:35:44,660 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:35:44,660 - INFO - VM name : ctest-TestRoutersBasic-19097265-82624768 2025-11-19 17:35:44,728 - DEBUG - VM ctest-TestRoutersBasic-19097265-82624768 ID is a14dd430-c5a4-4d74-ad53-862977b4fcde 2025-11-19 17:35:44,728 - DEBUG - VM ctest-TestRoutersBasic-19097265-82624768 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:35:44,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a14dd430-c5a4-4d74-ad53-862977b4fcde 2025-11-19 17:35:44,802 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5c9658c9-5c56-441f-9625-08ea3f9d46b8 2025-11-19 17:35:46,033 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.571/2.746/1.174 ms') 2025-11-19 17:35:46,034 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19097265-82624768 passed 2025-11-19 17:35:46,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:46,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19097265-82624768, IP 201.207.78.3, Port 22 2025-11-19 17:35:46,336 - DEBUG - VM ctest-TestRoutersBasic-19097265-82624768 is ready for SSH connections 2025-11-19 17:35:46,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:35:46,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.207.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:35:46,336 - DEBUG - ping -s 56 -c 3 -W 1 201.207.78.3 2025-11-19 17:35:50,292 - DEBUG - PING 201.207.78.3 (201.207.78.3): 56 data bytes 64 bytes from 201.207.78.3: seq=0 ttl=62 time=4.563 ms 64 bytes from 201.207.78.3: seq=1 ttl=62 time=0.845 ms 64 bytes from 201.207.78.3: seq=2 ttl=62 time=0.989 ms --- 201.207.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/2.132/4.563 ms 2025-11-19 17:35:50,292 - INFO - Ping to IP 201.207.78.3 from VM ctest-TestRoutersBasic-19097265-90587357 passed 2025-11-19 17:35:50,292 - INFO - Deleting interface with subnet_id 7c8df36d-a076-4740-a379-e220cf22d100, port_id None from router 5c615912-f2d0-488b-a03f-0114f61f597b 2025-11-19 17:35:50,448 - INFO - Deleting VM ctest-TestRoutersBasic-19097265-82624768 2025-11-19 17:35:50,509 - INFO - Deleting VM ctest-TestRoutersBasic-19097265-90587357 2025-11-19 17:35:50,569 - INFO - Deleting VN ctest-ext_vn-32516987 2025-11-19 17:35:50,632 - DEBUG - VN b5f7828d-6179-48c3-889e-b518f55fb52f still in use: Unable to complete operation on network b5f7828d-6179-48c3-889e-b518f55fb52f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4edd0f9c-7711-4405-a262-2c1faea3d82e'] 2025-11-19 17:35:50,633 - WARNING - Deleting VN ctest-ext_vn-32516987 failed..Will retry 2025-11-19 17:35:52,723 - DEBUG - Response for deleting network () 2025-11-19 17:35:52,723 - INFO - Deleting VN ctest-vn-21412425 2025-11-19 17:35:52,813 - DEBUG - Response for deleting network () 2025-11-19 17:35:53,066 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 17:35:53,066 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-19 17:35:53,066 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:35:53,738 - INFO - Deleted project: ctest-TestRoutersBasic-19097265, ID : ce8fd9bf-f027-4a19-a598-7c9af3e1eb82