2025-11-19 17:23:36,889 - INFO - Domain Default found not creating 2025-11-19 17:23:37,073 - INFO - Project ctest-TestRoutersBasic-71071254 not found, creating it 2025-11-19 17:23:37,556 - INFO - Created Project:ctest-TestRoutersBasic-71071254, ID : d1fe5843-ab57-4f5e-829e-1a95ad83586a 2025-11-19 17:23:39,125 - INFO - ================================================================================ 2025-11-19 17:23:39,126 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-19 17:23:39,126 - 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:23:39,386 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-11-19 17:23:39,386 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:23:39,386 - INFO - 2025-11-19 17:23:40,139 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71071254 2025-11-19 17:23:40,236 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71071254 2025-11-19 17:23:40,559 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71071254', 'default']} 2025-11-19 17:23:40,908 - DEBUG - Response for create_network : {'network': {'id': '83357124-d7cc-47ca-977a-ecb7e9d6c0c5', 'name': 'ctest-vn-72304130', 'tenant_id': 'd1fe5843ab574f5e829e1a95ad83586a', 'project_id': 'd1fe5843ab574f5e829e1a95ad83586a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71071254', 'ctest-vn-72304130'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:23:41,088 - DEBUG - Response for create_subnet : {'subnet': {'id': 'beba75f4-7a50-42d6-ab3c-2637ddd9aeba', 'name': '', 'tenant_id': 'd1fe5843ab574f5e829e1a95ad83586a', 'network_id': '83357124-d7cc-47ca-977a-ecb7e9d6c0c5', 'ip_version': 4, 'cidr': '113.44.88.64/26', 'allocation_pools': [{'start': '113.44.88.66', 'end': '113.44.88.126'}], 'gateway_ip': '113.44.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.44.88.66', 'tags': [], 'project_id': 'd1fe5843ab574f5e829e1a95ad83586a'}} 2025-11-19 17:23:41,107 - INFO - Created VN ctest-vn-72304130 2025-11-19 17:23:41,160 - DEBUG - VN ctest-vn-72304130 UUID is 83357124-d7cc-47ca-977a-ecb7e9d6c0c5 2025-11-19 17:23:41,493 - DEBUG - Response for create_network : {'network': {'id': '6869ee4b-a028-46f5-bbe4-7adda55ce317', 'name': 'ctest-ext_vn-87453998', 'tenant_id': 'd1fe5843ab574f5e829e1a95ad83586a', 'project_id': 'd1fe5843ab574f5e829e1a95ad83586a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71071254', 'ctest-ext_vn-87453998'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:23:41,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '1addfb34-d009-4001-81c1-72e0b4f748f3', 'name': '', 'tenant_id': 'd1fe5843ab574f5e829e1a95ad83586a', 'network_id': '6869ee4b-a028-46f5-bbe4-7adda55ce317', 'ip_version': 4, 'cidr': '95.42.162.64/26', 'allocation_pools': [{'start': '95.42.162.66', 'end': '95.42.162.126'}], 'gateway_ip': '95.42.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.42.162.66', 'tags': [], 'project_id': 'd1fe5843ab574f5e829e1a95ad83586a'}} 2025-11-19 17:23:41,681 - INFO - Created VN ctest-ext_vn-87453998 2025-11-19 17:23:41,736 - DEBUG - VN ctest-ext_vn-87453998 UUID is 6869ee4b-a028-46f5-bbe4-7adda55ce317 2025-11-19 17:23:41,938 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:23:43,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4765-1) 2025-11-19 17:23:44,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4765-1) 2025-11-19 17:23:44,482 - INFO - Setting gateway for router 6dac62fd-c6bc-4279-b9d4-bac3ed53d131 to network 6869ee4b-a028-46f5-bbe4-7adda55ce317 2025-11-19 17:23:44,552 - INFO - Adding interface with subnet_id beba75f4-7a50-42d6-ab3c-2637ddd9aeba, port_id None to router 6dac62fd-c6bc-4279-b9d4-bac3ed53d131 2025-11-19 17:23:45,090 - INFO - Waiting for VM ctest-TestRoutersBasic-71071254-33706710 to be up.. 2025-11-19 17:23:45,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:23:50,377 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:23:50,378 - INFO - VM name : ctest-TestRoutersBasic-71071254-33706710 2025-11-19 17:23:50,463 - DEBUG - VM ctest-TestRoutersBasic-71071254-33706710 ID is db87b6b8-a5f6-4437-8dfa-52fc3b4048da 2025-11-19 17:23:50,488 - DEBUG - VM ctest-TestRoutersBasic-71071254-33706710 launched on Node cn-jenkins-deploy-platform-ansible-os-4765-1 2025-11-19 17:23:50,575 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/db87b6b8-a5f6-4437-8dfa-52fc3b4048da 2025-11-19 17:23:50,896 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/db87b6b8-a5f6-4437-8dfa-52fc3b4048da 2025-11-19 17:23:50,940 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b77ca222-3d97-4405-aa67-12ec767f37a8 2025-11-19 17:23:54,201 - 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 1018ms') 2025-11-19 17:23:54,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71071254-33706710 failed! 2025-11-19 17:23:54,256 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71071254:ctest-vn-72304130 is 113.44.88.65 and allocation pool is NOT set 2025-11-19 17:23:56,315 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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.212/3.650/5.088/1.438 ms') 2025-11-19 17:23:56,315 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71071254-33706710 passed 2025-11-19 17:23:56,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:23:56,468 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71071254-33706710, IP 113.44.88.67, Port 22 2025-11-19 17:23:56,624 - DEBUG - VM ctest-TestRoutersBasic-71071254-33706710 is ready for SSH connections 2025-11-19 17:23:56,624 - INFO - Waiting for VM ctest-TestRoutersBasic-71071254-63716934 to be up.. 2025-11-19 17:23:56,701 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:23:56,701 - INFO - VM name : ctest-TestRoutersBasic-71071254-63716934 2025-11-19 17:23:56,783 - DEBUG - VM ctest-TestRoutersBasic-71071254-63716934 ID is 208fca49-ed76-4350-bf57-8bebc06cbc15 2025-11-19 17:23:56,783 - DEBUG - VM ctest-TestRoutersBasic-71071254-63716934 launched on Node cn-jenkins-deploy-platform-ansible-os-4765-1 2025-11-19 17:23:56,870 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/208fca49-ed76-4350-bf57-8bebc06cbc15 2025-11-19 17:23:56,878 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/94148560-0a36-4d9b-9c92-7d097b21fae1 2025-11-19 17:23:58,113 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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.096/2.913/4.730/1.817 ms') 2025-11-19 17:23:58,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71071254-63716934 passed 2025-11-19 17:23:58,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:23:58,264 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71071254-63716934, IP 95.42.162.67, Port 22 2025-11-19 17:23:58,419 - DEBUG - VM ctest-TestRoutersBasic-71071254-63716934 is ready for SSH connections 2025-11-19 17:23:58,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:23:58,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.42.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-19 17:23:58,419 - DEBUG - ping -s 56 -c 3 -W 1 95.42.162.67 2025-11-19 17:24:02,132 - DEBUG - PING 95.42.162.67 (95.42.162.67): 56 data bytes 64 bytes from 95.42.162.67: seq=0 ttl=62 time=7.719 ms 64 bytes from 95.42.162.67: seq=1 ttl=62 time=1.020 ms 64 bytes from 95.42.162.67: seq=2 ttl=62 time=1.040 ms --- 95.42.162.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.020/3.259/7.719 ms 2025-11-19 17:24:02,132 - INFO - Ping to IP 95.42.162.67 from VM ctest-TestRoutersBasic-71071254-33706710 passed 2025-11-19 17:24:02,132 - INFO - Deleting interface with subnet_id beba75f4-7a50-42d6-ab3c-2637ddd9aeba, port_id None from router 6dac62fd-c6bc-4279-b9d4-bac3ed53d131 2025-11-19 17:24:02,346 - INFO - Deleting VM ctest-TestRoutersBasic-71071254-63716934 2025-11-19 17:24:02,427 - INFO - Deleting VM ctest-TestRoutersBasic-71071254-33706710 2025-11-19 17:24:02,500 - INFO - Deleting VN ctest-ext_vn-87453998 2025-11-19 17:24:02,571 - DEBUG - VN 6869ee4b-a028-46f5-bbe4-7adda55ce317 still in use: Unable to complete operation on network 6869ee4b-a028-46f5-bbe4-7adda55ce317. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7703b27b-e3c8-439d-b2d1-8aa6d4f300d9'] 2025-11-19 17:24:02,571 - WARNING - Deleting VN ctest-ext_vn-87453998 failed..Will retry 2025-11-19 17:24:04,672 - DEBUG - Response for deleting network () 2025-11-19 17:24:04,672 - INFO - Deleting VN ctest-vn-72304130 2025-11-19 17:24:04,794 - DEBUG - Response for deleting network () 2025-11-19 17:24:05,062 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 17:24:05,062 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-19 17:24:05,062 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:24:05,784 - INFO - Deleted project: ctest-TestRoutersBasic-71071254, ID : d1fe5843-ab57-4f5e-829e-1a95ad83586a