2025-06-23 02:07:41,863 - INFO - Domain Default found not creating
2025-06-23 02:07:42,010 - INFO - Project ctest-TestRoutersBasic-52885339 not found, creating it
2025-06-23 02:07:42,483 - INFO - Created Project:ctest-TestRoutersBasic-52885339, ID : 5b995840-860c-4c19-888c-f09d109deb3d
2025-06-23 02:07:43,964 - INFO - ================================================================================
2025-06-23 02:07:43,964 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-23 02:07:43,965 - 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-23 02:07:44,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-06-23 02:07:44,219 - INFO - Initial checks done. Running the testcase now
2025-06-23 02:07:44,219 - INFO -
2025-06-23 02:07:44,939 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52885339
2025-06-23 02:07:45,040 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52885339
2025-06-23 02:07:45,368 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52885339', 'default']}
2025-06-23 02:07:45,676 - DEBUG - Response for create_network : {'network': {'id': 'd7d4e56f-313e-4b3d-899f-6b6f449a8466', 'name': 'ctest-vn-09508061', 'tenant_id': '5b995840860c4c19888cf09d109deb3d', 'project_id': '5b995840860c4c19888cf09d109deb3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52885339', 'ctest-vn-09508061'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 02:07:45,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f938577a-9b13-43ee-a841-2ce3c240ccab', 'name': '', 'tenant_id': '5b995840860c4c19888cf09d109deb3d', 'network_id': 'd7d4e56f-313e-4b3d-899f-6b6f449a8466', 'ip_version': 4, 'cidr': '178.193.81.192/26', 'allocation_pools': [{'start': '178.193.81.194', 'end': '178.193.81.254'}], 'gateway_ip': '178.193.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.193.81.194', 'tags': [], 'project_id': '5b995840860c4c19888cf09d109deb3d'}}
2025-06-23 02:07:45,898 - INFO - Created VN ctest-vn-09508061
2025-06-23 02:07:45,952 - DEBUG - VN ctest-vn-09508061 UUID is d7d4e56f-313e-4b3d-899f-6b6f449a8466
2025-06-23 02:07:46,304 - DEBUG - Response for create_network : {'network': {'id': 'bb5c9770-ecb1-4552-9061-1ab93ca261fe', 'name': 'ctest-ext_vn-00316867', 'tenant_id': '5b995840860c4c19888cf09d109deb3d', 'project_id': '5b995840860c4c19888cf09d109deb3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52885339', 'ctest-ext_vn-00316867'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 02:07:46,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '21e6af3a-0506-46f1-9ee9-9cae5195da71', 'name': '', 'tenant_id': '5b995840860c4c19888cf09d109deb3d', 'network_id': 'bb5c9770-ecb1-4552-9061-1ab93ca261fe', 'ip_version': 4, 'cidr': '185.193.145.0/26', 'allocation_pools': [{'start': '185.193.145.2', 'end': '185.193.145.62'}], 'gateway_ip': '185.193.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.193.145.2', 'tags': [], 'project_id': '5b995840860c4c19888cf09d109deb3d'}}
2025-06-23 02:07:46,494 - INFO - Created VN ctest-ext_vn-00316867
2025-06-23 02:07:46,548 - DEBUG - VN ctest-ext_vn-00316867 UUID is bb5c9770-ecb1-4552-9061-1ab93ca261fe
2025-06-23 02:07:46,724 - DEBUG - Services list from nova: [, , ]
2025-06-23 02:07:47,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3516-1)
2025-06-23 02:07:49,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3516-1)
2025-06-23 02:07:49,225 - INFO - Setting gateway for router e2e3a603-cfa9-4b67-9361-cf97fd71f9cf to network bb5c9770-ecb1-4552-9061-1ab93ca261fe
2025-06-23 02:07:49,279 - INFO - Adding interface with subnet_id f938577a-9b13-43ee-a841-2ce3c240ccab, port_id None to router e2e3a603-cfa9-4b67-9361-cf97fd71f9cf
2025-06-23 02:07:49,805 - INFO - Waiting for VM ctest-TestRoutersBasic-52885339-43145337 to be up..
2025-06-23 02:07:50,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-23 02:07:55,173 - DEBUG - VM is in ACTIVE state now
2025-06-23 02:07:55,173 - INFO - VM name : ctest-TestRoutersBasic-52885339-43145337
2025-06-23 02:07:55,316 - DEBUG - VM ctest-TestRoutersBasic-52885339-43145337 ID is 6a6551a5-0afb-43a2-aff7-d7dcd818b0ce
2025-06-23 02:07:55,340 - DEBUG - VM ctest-TestRoutersBasic-52885339-43145337 launched on Node cn-jenkins-deploy-platform-ansible-os-3516-1
2025-06-23 02:07:55,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a6551a5-0afb-43a2-aff7-d7dcd818b0ce
2025-06-23 02:07:55,750 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a6551a5-0afb-43a2-aff7-d7dcd818b0ce
2025-06-23 02:07:55,793 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/957e0f90-3d79-4cc1-94f4-c5cda256853a
2025-06-23 02:07:59,070 - 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 1030ms')
2025-06-23 02:07:59,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52885339-43145337 failed!
2025-06-23 02:07:59,128 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52885339:ctest-vn-09508061 is 178.193.81.193 and allocation pool is NOT set
2025-06-23 02:08:01,191 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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 = 0.440/1.690/2.941/1.250 ms')
2025-06-23 02:08:01,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52885339-43145337 passed
2025-06-23 02:08:01,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:08:01,345 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52885339-43145337, IP 178.193.81.195, Port 22
2025-06-23 02:08:01,501 - DEBUG - VM ctest-TestRoutersBasic-52885339-43145337 is ready for SSH connections
2025-06-23 02:08:01,501 - INFO - Waiting for VM ctest-TestRoutersBasic-52885339-89780342 to be up..
2025-06-23 02:08:01,585 - DEBUG - VM is in ACTIVE state now
2025-06-23 02:08:01,586 - INFO - VM name : ctest-TestRoutersBasic-52885339-89780342
2025-06-23 02:08:01,678 - DEBUG - VM ctest-TestRoutersBasic-52885339-89780342 ID is 23303183-05b8-40f3-9bcb-eb521a3a4495
2025-06-23 02:08:01,678 - DEBUG - VM ctest-TestRoutersBasic-52885339-89780342 launched on Node cn-jenkins-deploy-platform-ansible-os-3516-1
2025-06-23 02:08:01,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/23303183-05b8-40f3-9bcb-eb521a3a4495
2025-06-23 02:08:01,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/93c21b87-ed93-4f7f-9b05-82aac4f9ec89
2025-06-23 02:08:03,028 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.736/3.041/1.304 ms')
2025-06-23 02:08:03,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52885339-89780342 passed
2025-06-23 02:08:03,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:08:03,184 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52885339-89780342, IP 185.193.145.3, Port 22
2025-06-23 02:08:03,340 - DEBUG - VM ctest-TestRoutersBasic-52885339-89780342 is ready for SSH connections
2025-06-23 02:08:03,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:08:03,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.193.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-23 02:08:03,340 - DEBUG - ping -s 56 -c 3 -W 1 185.193.145.3
2025-06-23 02:08:07,363 - DEBUG - PING 185.193.145.3 (185.193.145.3): 56 data bytes
64 bytes from 185.193.145.3: seq=0 ttl=62 time=4.082 ms
64 bytes from 185.193.145.3: seq=1 ttl=62 time=1.092 ms
64 bytes from 185.193.145.3: seq=2 ttl=62 time=0.879 ms
--- 185.193.145.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.879/2.017/4.082 ms
2025-06-23 02:08:07,363 - INFO - Ping to IP 185.193.145.3 from VM ctest-TestRoutersBasic-52885339-43145337 passed
2025-06-23 02:08:07,364 - INFO - Deleting interface with subnet_id f938577a-9b13-43ee-a841-2ce3c240ccab, port_id None from router e2e3a603-cfa9-4b67-9361-cf97fd71f9cf
2025-06-23 02:08:07,561 - INFO - Deleting VM ctest-TestRoutersBasic-52885339-89780342
2025-06-23 02:08:07,630 - INFO - Deleting VM ctest-TestRoutersBasic-52885339-43145337
2025-06-23 02:08:07,730 - INFO - Deleting VN ctest-ext_vn-00316867
2025-06-23 02:08:07,789 - DEBUG - VN bb5c9770-ecb1-4552-9061-1ab93ca261fe still in use: Unable to complete operation on network bb5c9770-ecb1-4552-9061-1ab93ca261fe. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c77db43a-4580-4609-bf05-f04a11bd11c4']
2025-06-23 02:08:07,789 - WARNING - Deleting VN ctest-ext_vn-00316867 failed..Will retry
2025-06-23 02:08:09,920 - DEBUG - Response for deleting network ()
2025-06-23 02:08:09,920 - INFO - Deleting VN ctest-vn-09508061
2025-06-23 02:08:10,039 - DEBUG - Response for deleting network ()
2025-06-23 02:08:10,301 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 02:08:10,301 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-23 02:08:10,302 - INFO - --------------------------------------------------------------------------------
2025-06-23 02:08:10,987 - INFO - Deleted project: ctest-TestRoutersBasic-52885339, ID : 5b995840-860c-4c19-888c-f09d109deb3d