2025-08-29 09:39:57,404 - INFO - Domain Default found not creating
2025-08-29 09:39:57,550 - INFO - Project ctest-TestRoutersBasic-74197982 not found, creating it
2025-08-29 09:39:57,980 - INFO - Created Project:ctest-TestRoutersBasic-74197982, ID : a6a85948-422f-4ca6-8148-292d52622a53
2025-08-29 09:39:59,521 - INFO - ================================================================================
2025-08-29 09:39:59,521 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-29 09:39:59,521 - 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-08-29 09:39:59,774 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-29 09:39:59,774 - INFO - Initial checks done. Running the testcase now
2025-08-29 09:39:59,774 - INFO -
2025-08-29 09:40:00,499 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74197982
2025-08-29 09:40:00,597 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74197982
2025-08-29 09:40:00,921 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74197982', 'default']}
2025-08-29 09:40:01,206 - DEBUG - Response for create_network : {'network': {'id': 'ea9332a9-c27e-4347-8a9c-53cb803c8140', 'name': 'ctest-vn-52679649', 'tenant_id': 'a6a85948422f4ca68148292d52622a53', 'project_id': 'a6a85948422f4ca68148292d52622a53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74197982', 'ctest-vn-52679649'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 09:40:01,389 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccb9cdb4-3c8a-48c0-a26f-83f017ca6ab3', 'name': '', 'tenant_id': 'a6a85948422f4ca68148292d52622a53', 'network_id': 'ea9332a9-c27e-4347-8a9c-53cb803c8140', 'ip_version': 4, 'cidr': '54.212.245.64/26', 'allocation_pools': [{'start': '54.212.245.66', 'end': '54.212.245.126'}], 'gateway_ip': '54.212.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.212.245.66', 'tags': [], 'project_id': 'a6a85948422f4ca68148292d52622a53'}}
2025-08-29 09:40:01,407 - INFO - Created VN ctest-vn-52679649
2025-08-29 09:40:01,457 - DEBUG - VN ctest-vn-52679649 UUID is ea9332a9-c27e-4347-8a9c-53cb803c8140
2025-08-29 09:40:01,805 - DEBUG - Response for create_network : {'network': {'id': '12ee42bb-0f4d-4030-8117-412bfe770f85', 'name': 'ctest-ext_vn-98651301', 'tenant_id': 'a6a85948422f4ca68148292d52622a53', 'project_id': 'a6a85948422f4ca68148292d52622a53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74197982', 'ctest-ext_vn-98651301'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 09:40:01,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fea408e-b688-4ad8-ac49-e5953176052e', 'name': '', 'tenant_id': 'a6a85948422f4ca68148292d52622a53', 'network_id': '12ee42bb-0f4d-4030-8117-412bfe770f85', 'ip_version': 4, 'cidr': '157.246.1.128/26', 'allocation_pools': [{'start': '157.246.1.130', 'end': '157.246.1.190'}], 'gateway_ip': '157.246.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.246.1.130', 'tags': [], 'project_id': 'a6a85948422f4ca68148292d52622a53'}}
2025-08-29 09:40:01,981 - INFO - Created VN ctest-ext_vn-98651301
2025-08-29 09:40:02,033 - DEBUG - VN ctest-ext_vn-98651301 UUID is 12ee42bb-0f4d-4030-8117-412bfe770f85
2025-08-29 09:40:02,245 - DEBUG - Services list from nova: [, , ]
2025-08-29 09:40:03,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1)
2025-08-29 09:40:04,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1)
2025-08-29 09:40:04,645 - INFO - Setting gateway for router 6b0a2586-89fd-44c5-86f6-63262e5720da to network 12ee42bb-0f4d-4030-8117-412bfe770f85
2025-08-29 09:40:04,724 - INFO - Adding interface with subnet_id ccb9cdb4-3c8a-48c0-a26f-83f017ca6ab3, port_id None to router 6b0a2586-89fd-44c5-86f6-63262e5720da
2025-08-29 09:40:05,132 - INFO - Waiting for VM ctest-TestRoutersBasic-74197982-70257496 to be up..
2025-08-29 09:40:05,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-29 09:40:10,419 - DEBUG - VM is in ACTIVE state now
2025-08-29 09:40:10,419 - INFO - VM name : ctest-TestRoutersBasic-74197982-70257496
2025-08-29 09:40:10,489 - DEBUG - VM ctest-TestRoutersBasic-74197982-70257496 ID is e0a041a0-77b1-4f85-9db5-43f84bd50a4e
2025-08-29 09:40:10,507 - DEBUG - VM ctest-TestRoutersBasic-74197982-70257496 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1
2025-08-29 09:40:10,579 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e0a041a0-77b1-4f85-9db5-43f84bd50a4e
2025-08-29 09:40:10,878 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e0a041a0-77b1-4f85-9db5-43f84bd50a4e
2025-08-29 09:40:10,906 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2af0794d-ede4-45b2-bd08-87a53ea83d97
2025-08-29 09:40:14,142 - 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 1007ms')
2025-08-29 09:40:14,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74197982-70257496 failed!
2025-08-29 09:40:14,197 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74197982:ctest-vn-52679649 is 54.212.245.65 and allocation pool is NOT set
2025-08-29 09:40:16,260 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.065/2.154/3.243/1.089 ms')
2025-08-29 09:40:16,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74197982-70257496 passed
2025-08-29 09:40:16,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:40:16,409 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74197982-70257496, IP 54.212.245.67, Port 22
2025-08-29 09:40:16,572 - DEBUG - VM ctest-TestRoutersBasic-74197982-70257496 is ready for SSH connections
2025-08-29 09:40:16,572 - INFO - Waiting for VM ctest-TestRoutersBasic-74197982-77196526 to be up..
2025-08-29 09:40:16,644 - DEBUG - VM is in ACTIVE state now
2025-08-29 09:40:16,644 - INFO - VM name : ctest-TestRoutersBasic-74197982-77196526
2025-08-29 09:40:16,714 - DEBUG - VM ctest-TestRoutersBasic-74197982-77196526 ID is 08d455d9-a527-4e48-895f-e8b02bed747c
2025-08-29 09:40:16,714 - DEBUG - VM ctest-TestRoutersBasic-74197982-77196526 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1
2025-08-29 09:40:16,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/08d455d9-a527-4e48-895f-e8b02bed747c
2025-08-29 09:40:16,788 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/58639037-256e-464d-a8f0-77c464488afd
2025-08-29 09:40:18,018 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.725/2.921/1.195 ms')
2025-08-29 09:40:18,018 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74197982-77196526 passed
2025-08-29 09:40:18,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:40:18,169 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74197982-77196526, IP 157.246.1.131, Port 22
2025-08-29 09:40:18,324 - DEBUG - VM ctest-TestRoutersBasic-74197982-77196526 is ready for SSH connections
2025-08-29 09:40:18,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:40:18,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.246.1.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:40:18,324 - DEBUG - ping -s 56 -c 3 -W 1 157.246.1.131
2025-08-29 09:40:22,022 - DEBUG - PING 157.246.1.131 (157.246.1.131): 56 data bytes
64 bytes from 157.246.1.131: seq=0 ttl=62 time=7.365 ms
64 bytes from 157.246.1.131: seq=1 ttl=62 time=1.023 ms
64 bytes from 157.246.1.131: seq=2 ttl=62 time=0.868 ms
--- 157.246.1.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.868/3.085/7.365 ms
2025-08-29 09:40:22,022 - INFO - Ping to IP 157.246.1.131 from VM ctest-TestRoutersBasic-74197982-70257496 passed
2025-08-29 09:40:22,022 - INFO - Deleting interface with subnet_id ccb9cdb4-3c8a-48c0-a26f-83f017ca6ab3, port_id None from router 6b0a2586-89fd-44c5-86f6-63262e5720da
2025-08-29 09:40:22,234 - INFO - Deleting VM ctest-TestRoutersBasic-74197982-77196526
2025-08-29 09:40:22,316 - INFO - Deleting VM ctest-TestRoutersBasic-74197982-70257496
2025-08-29 09:40:22,382 - INFO - Deleting VN ctest-ext_vn-98651301
2025-08-29 09:40:22,454 - DEBUG - VN 12ee42bb-0f4d-4030-8117-412bfe770f85 still in use: Unable to complete operation on network 12ee42bb-0f4d-4030-8117-412bfe770f85. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fce99586-5c0e-4f1f-a0a0-41cf0d553232']
2025-08-29 09:40:22,454 - WARNING - Deleting VN ctest-ext_vn-98651301 failed..Will retry
2025-08-29 09:40:24,556 - DEBUG - Response for deleting network ()
2025-08-29 09:40:24,556 - INFO - Deleting VN ctest-vn-52679649
2025-08-29 09:40:24,655 - DEBUG - Response for deleting network ()
2025-08-29 09:40:24,914 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 09:40:24,914 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-29 09:40:24,914 - INFO - --------------------------------------------------------------------------------
2025-08-29 09:40:25,567 - INFO - Deleted project: ctest-TestRoutersBasic-74197982, ID : a6a85948-422f-4ca6-8148-292d52622a53