2025-07-15 18:24:15,512 - INFO - Domain Default found not creating
2025-07-15 18:24:15,836 - INFO - Project ctest-TestRoutersBasic-56766776 not found, creating it
2025-07-15 18:24:16,610 - INFO - Created Project:ctest-TestRoutersBasic-56766776, ID : 721b2e8e-a0ee-44ca-8bd9-f10b4ee227f7
2025-07-15 18:24:18,599 - INFO - ================================================================================
2025-07-15 18:24:18,599 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-15 18:24:18,599 - 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-07-15 18:24:18,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-07-15 18:24:18,941 - INFO - Initial checks done. Running the testcase now
2025-07-15 18:24:18,941 - INFO -
2025-07-15 18:24:19,894 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56766776
2025-07-15 18:24:20,013 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56766776
2025-07-15 18:24:20,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56766776', 'default']}
2025-07-15 18:24:21,016 - DEBUG - Response for create_network : {'network': {'id': 'e9ce3a90-aa86-4376-8a43-d99d77ff7a7a', 'name': 'ctest-vn-75467821', 'tenant_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7', 'project_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56766776', 'ctest-vn-75467821'], 'port_security_enabled': True, 'description': ''}}
2025-07-15 18:24:21,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '470adf8a-3f63-4098-a51c-24567fa3b05b', 'name': '', 'tenant_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7', 'network_id': 'e9ce3a90-aa86-4376-8a43-d99d77ff7a7a', 'ip_version': 4, 'cidr': '161.205.188.0/26', 'allocation_pools': [{'start': '161.205.188.2', 'end': '161.205.188.62'}], 'gateway_ip': '161.205.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.205.188.2', 'tags': [], 'project_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7'}}
2025-07-15 18:24:21,225 - INFO - Created VN ctest-vn-75467821
2025-07-15 18:24:21,283 - DEBUG - VN ctest-vn-75467821 UUID is e9ce3a90-aa86-4376-8a43-d99d77ff7a7a
2025-07-15 18:24:21,858 - DEBUG - Response for create_network : {'network': {'id': 'eeb5905f-52a4-4946-83ec-dd744bf2448f', 'name': 'ctest-ext_vn-38895492', 'tenant_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7', 'project_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56766776', 'ctest-ext_vn-38895492'], 'port_security_enabled': True, 'description': ''}}
2025-07-15 18:24:22,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd91574bb-4db2-4a83-b12e-a5935ccd6f2a', 'name': '', 'tenant_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7', 'network_id': 'eeb5905f-52a4-4946-83ec-dd744bf2448f', 'ip_version': 4, 'cidr': '21.57.94.192/26', 'allocation_pools': [{'start': '21.57.94.194', 'end': '21.57.94.254'}], 'gateway_ip': '21.57.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.57.94.194', 'tags': [], 'project_id': '721b2e8ea0ee44ca8bd9f10b4ee227f7'}}
2025-07-15 18:24:22,116 - INFO - Created VN ctest-ext_vn-38895492
2025-07-15 18:24:22,175 - DEBUG - VN ctest-ext_vn-38895492 UUID is eeb5905f-52a4-4946-83ec-dd744bf2448f
2025-07-15 18:24:22,463 - DEBUG - Services list from nova: [, , ]
2025-07-15 18:24:23,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3641-1)
2025-07-15 18:24:25,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3641-1)
2025-07-15 18:24:25,239 - INFO - Setting gateway for router becc78db-5ba3-4c1f-a94f-3748e5d133f1 to network eeb5905f-52a4-4946-83ec-dd744bf2448f
2025-07-15 18:24:25,342 - INFO - Adding interface with subnet_id 470adf8a-3f63-4098-a51c-24567fa3b05b, port_id None to router becc78db-5ba3-4c1f-a94f-3748e5d133f1
2025-07-15 18:24:25,849 - INFO - Waiting for VM ctest-TestRoutersBasic-56766776-23088037 to be up..
2025-07-15 18:24:26,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-15 18:24:31,125 - DEBUG - VM is in ACTIVE state now
2025-07-15 18:24:31,125 - INFO - VM name : ctest-TestRoutersBasic-56766776-23088037
2025-07-15 18:24:31,211 - DEBUG - VM ctest-TestRoutersBasic-56766776-23088037 ID is 50bc42c7-1a3c-4a60-a915-84ad5d7803c9
2025-07-15 18:24:31,234 - DEBUG - VM ctest-TestRoutersBasic-56766776-23088037 launched on Node cn-jenkins-deploy-platform-ansible-os-3641-1
2025-07-15 18:24:31,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/50bc42c7-1a3c-4a60-a915-84ad5d7803c9
2025-07-15 18:24:31,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/50bc42c7-1a3c-4a60-a915-84ad5d7803c9
2025-07-15 18:24:31,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/710abbe4-3f72-4bf8-b32f-1b320cc560ea
2025-07-15 18:24:35,081 - 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 1029ms')
2025-07-15 18:24:35,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56766776-23088037 failed!
2025-07-15 18:24:35,144 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56766776:ctest-vn-75467821 is 161.205.188.1 and allocation pool is NOT set
2025-07-15 18:24:37,239 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.675/4.169/5.664/1.494 ms')
2025-07-15 18:24:37,240 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56766776-23088037 passed
2025-07-15 18:24:37,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 18:24:37,436 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56766776-23088037, IP 161.205.188.3, Port 22
2025-07-15 18:24:37,643 - DEBUG - VM ctest-TestRoutersBasic-56766776-23088037 is ready for SSH connections
2025-07-15 18:24:37,643 - INFO - Waiting for VM ctest-TestRoutersBasic-56766776-49727067 to be up..
2025-07-15 18:24:37,873 - DEBUG - VM is in ACTIVE state now
2025-07-15 18:24:37,874 - INFO - VM name : ctest-TestRoutersBasic-56766776-49727067
2025-07-15 18:24:38,060 - DEBUG - VM ctest-TestRoutersBasic-56766776-49727067 ID is cac4ec14-83c7-4991-abad-b8b946386958
2025-07-15 18:24:38,060 - DEBUG - VM ctest-TestRoutersBasic-56766776-49727067 launched on Node cn-jenkins-deploy-platform-ansible-os-3641-1
2025-07-15 18:24:38,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cac4ec14-83c7-4991-abad-b8b946386958
2025-07-15 18:24:38,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c9e7509e-3a53-409a-b60f-b4fe42fd7f45
2025-07-15 18:24:39,629 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.677 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.677/3.188/5.699/2.511 ms')
2025-07-15 18:24:39,630 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56766776-49727067 passed
2025-07-15 18:24:39,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 18:24:39,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56766776-49727067, IP 21.57.94.195, Port 22
2025-07-15 18:24:39,991 - DEBUG - VM ctest-TestRoutersBasic-56766776-49727067 is ready for SSH connections
2025-07-15 18:24:39,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 18:24:39,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.57.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-15 18:24:39,993 - DEBUG - ping -s 56 -c 3 -W 1 21.57.94.195
2025-07-15 18:24:44,260 - DEBUG - PING 21.57.94.195 (21.57.94.195): 56 data bytes
64 bytes from 21.57.94.195: seq=0 ttl=62 time=8.964 ms
64 bytes from 21.57.94.195: seq=1 ttl=62 time=2.089 ms
64 bytes from 21.57.94.195: seq=2 ttl=62 time=2.233 ms
--- 21.57.94.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.089/4.428/8.964 ms
2025-07-15 18:24:44,261 - INFO - Ping to IP 21.57.94.195 from VM ctest-TestRoutersBasic-56766776-23088037 passed
2025-07-15 18:24:44,261 - INFO - Deleting interface with subnet_id 470adf8a-3f63-4098-a51c-24567fa3b05b, port_id None from router becc78db-5ba3-4c1f-a94f-3748e5d133f1
2025-07-15 18:24:44,576 - INFO - Deleting VM ctest-TestRoutersBasic-56766776-49727067
2025-07-15 18:24:44,662 - INFO - Deleting VM ctest-TestRoutersBasic-56766776-23088037
2025-07-15 18:24:44,758 - INFO - Deleting VN ctest-ext_vn-38895492
2025-07-15 18:24:44,877 - DEBUG - VN eeb5905f-52a4-4946-83ec-dd744bf2448f still in use: Unable to complete operation on network eeb5905f-52a4-4946-83ec-dd744bf2448f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a5535e22-92e2-4cc1-8f64-4f5b4f4f4d2f']
2025-07-15 18:24:44,877 - WARNING - Deleting VN ctest-ext_vn-38895492 failed..Will retry
2025-07-15 18:24:47,080 - DEBUG - Response for deleting network ()
2025-07-15 18:24:47,080 - INFO - Deleting VN ctest-vn-75467821
2025-07-15 18:24:47,216 - DEBUG - Response for deleting network ()
2025-07-15 18:24:47,516 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 18:24:47,516 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-07-15 18:24:47,516 - INFO - --------------------------------------------------------------------------------
2025-07-15 18:24:48,476 - INFO - Deleted project: ctest-TestRoutersBasic-56766776, ID : 721b2e8e-a0ee-44ca-8bd9-f10b4ee227f7