2025-04-17 10:27:14,080 - INFO - Domain Default found not creating
2025-04-17 10:27:14,314 - INFO - Project ctest-TestRoutersBasic-08628371 not found, creating it
2025-04-17 10:27:14,901 - INFO - Created Project:ctest-TestRoutersBasic-08628371, ID : a9122bf8-04f5-4d23-8a7e-8274fbf78385
2025-04-17 10:27:16,728 - INFO - ================================================================================
2025-04-17 10:27:16,728 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-17 10:27:16,728 - 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-04-17 10:27:17,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-04-17 10:27:17,005 - INFO - Initial checks done. Running the testcase now
2025-04-17 10:27:17,005 - INFO -
2025-04-17 10:27:17,825 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08628371
2025-04-17 10:27:17,930 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08628371
2025-04-17 10:27:18,305 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08628371', 'default']}
2025-04-17 10:27:18,681 - DEBUG - Response for create_network : {'network': {'id': '6b9dabb7-ee46-4b66-ade0-b4c359198fbe', 'name': 'ctest-vn-93821017', 'tenant_id': 'a9122bf804f54d238a7e8274fbf78385', 'project_id': 'a9122bf804f54d238a7e8274fbf78385', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08628371', 'ctest-vn-93821017'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 10:27:18,921 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3b8f466-47d8-4c52-8368-43dcb9b0c491', 'name': '', 'tenant_id': 'a9122bf804f54d238a7e8274fbf78385', 'network_id': '6b9dabb7-ee46-4b66-ade0-b4c359198fbe', 'ip_version': 4, 'cidr': '34.51.204.64/26', 'allocation_pools': [{'start': '34.51.204.66', 'end': '34.51.204.126'}], 'gateway_ip': '34.51.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.51.204.66', 'tags': [], 'project_id': 'a9122bf804f54d238a7e8274fbf78385'}}
2025-04-17 10:27:18,945 - INFO - Created VN ctest-vn-93821017
2025-04-17 10:27:19,005 - DEBUG - VN ctest-vn-93821017 UUID is 6b9dabb7-ee46-4b66-ade0-b4c359198fbe
2025-04-17 10:27:19,431 - DEBUG - Response for create_network : {'network': {'id': '858cb060-93a2-4caf-ad99-9f2333db6a28', 'name': 'ctest-ext_vn-48392604', 'tenant_id': 'a9122bf804f54d238a7e8274fbf78385', 'project_id': 'a9122bf804f54d238a7e8274fbf78385', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08628371', 'ctest-ext_vn-48392604'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 10:27:19,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e12f82cf-d9d9-41b8-bd14-bfbd1c5d2d56', 'name': '', 'tenant_id': 'a9122bf804f54d238a7e8274fbf78385', 'network_id': '858cb060-93a2-4caf-ad99-9f2333db6a28', 'ip_version': 4, 'cidr': '107.113.163.192/26', 'allocation_pools': [{'start': '107.113.163.194', 'end': '107.113.163.254'}], 'gateway_ip': '107.113.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.113.163.194', 'tags': [], 'project_id': 'a9122bf804f54d238a7e8274fbf78385'}}
2025-04-17 10:27:19,703 - INFO - Created VN ctest-ext_vn-48392604
2025-04-17 10:27:19,761 - DEBUG - VN ctest-ext_vn-48392604 UUID is 858cb060-93a2-4caf-ad99-9f2333db6a28
2025-04-17 10:27:19,967 - DEBUG - Services list from nova: [, , ]
2025-04-17 10:27:21,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3135-1)
2025-04-17 10:27:22,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3135-1)
2025-04-17 10:27:22,685 - INFO - Setting gateway for router 48c61ff8-30a2-4b65-8dcd-bf7bf3c99b2a to network 858cb060-93a2-4caf-ad99-9f2333db6a28
2025-04-17 10:27:22,801 - INFO - Adding interface with subnet_id c3b8f466-47d8-4c52-8368-43dcb9b0c491, port_id None to router 48c61ff8-30a2-4b65-8dcd-bf7bf3c99b2a
2025-04-17 10:27:23,410 - INFO - Waiting for VM ctest-TestRoutersBasic-08628371-13124598 to be up..
2025-04-17 10:27:23,634 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-17 10:27:28,759 - DEBUG - VM is in ACTIVE state now
2025-04-17 10:27:28,759 - INFO - VM name : ctest-TestRoutersBasic-08628371-13124598
2025-04-17 10:27:28,869 - DEBUG - VM ctest-TestRoutersBasic-08628371-13124598 ID is 70025207-6a79-41e0-8922-c11d99da505a
2025-04-17 10:27:28,897 - DEBUG - VM ctest-TestRoutersBasic-08628371-13124598 launched on Node cn-jenkins-deploy-platform-ansible-os-3135-1
2025-04-17 10:27:28,999 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/70025207-6a79-41e0-8922-c11d99da505a
2025-04-17 10:27:29,325 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/70025207-6a79-41e0-8922-c11d99da505a
2025-04-17 10:27:29,368 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f84ccfc6-7ed2-4fe5-b998-d90104a300a4
2025-04-17 10:27:32,655 - 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-04-17 10:27:32,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08628371-13124598 failed!
2025-04-17 10:27:32,717 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08628371:ctest-vn-93821017 is 34.51.204.65 and allocation pool is NOT set
2025-04-17 10:27:34,786 - 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=4.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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 = 1.192/2.801/4.410/1.609 ms')
2025-04-17 10:27:34,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08628371-13124598 passed
2025-04-17 10:27:34,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:27:34,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08628371-13124598, IP 34.51.204.67, Port 22
2025-04-17 10:27:35,131 - DEBUG - VM ctest-TestRoutersBasic-08628371-13124598 is ready for SSH connections
2025-04-17 10:27:35,131 - INFO - Waiting for VM ctest-TestRoutersBasic-08628371-20262986 to be up..
2025-04-17 10:27:35,233 - DEBUG - VM is in ACTIVE state now
2025-04-17 10:27:35,233 - INFO - VM name : ctest-TestRoutersBasic-08628371-20262986
2025-04-17 10:27:35,332 - DEBUG - VM ctest-TestRoutersBasic-08628371-20262986 ID is 4aa5a5c8-3b98-45fd-ba01-bd8d98c37f10
2025-04-17 10:27:35,333 - DEBUG - VM ctest-TestRoutersBasic-08628371-20262986 launched on Node cn-jenkins-deploy-platform-ansible-os-3135-1
2025-04-17 10:27:35,467 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4aa5a5c8-3b98-45fd-ba01-bd8d98c37f10
2025-04-17 10:27:35,484 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5e548495-f930-4e71-8c2e-fafda26ab253
2025-04-17 10:27:36,769 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.67 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.669/3.839/5.009/1.170 ms')
2025-04-17 10:27:36,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08628371-20262986 passed
2025-04-17 10:27:36,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:27:36,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08628371-20262986, IP 107.113.163.195, Port 22
2025-04-17 10:27:37,099 - DEBUG - VM ctest-TestRoutersBasic-08628371-20262986 is ready for SSH connections
2025-04-17 10:27:37,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:27:37,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.113.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-04-17 10:27:37,100 - DEBUG - ping -s 56 -c 3 -W 1 107.113.163.195
2025-04-17 10:27:40,913 - DEBUG - PING 107.113.163.195 (107.113.163.195): 56 data bytes
64 bytes from 107.113.163.195: seq=0 ttl=62 time=8.069 ms
64 bytes from 107.113.163.195: seq=1 ttl=62 time=1.408 ms
64 bytes from 107.113.163.195: seq=2 ttl=62 time=1.253 ms
--- 107.113.163.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.253/3.576/8.069 ms
2025-04-17 10:27:40,914 - INFO - Ping to IP 107.113.163.195 from VM ctest-TestRoutersBasic-08628371-13124598 passed
2025-04-17 10:27:40,914 - INFO - Deleting interface with subnet_id c3b8f466-47d8-4c52-8368-43dcb9b0c491, port_id None from router 48c61ff8-30a2-4b65-8dcd-bf7bf3c99b2a
2025-04-17 10:27:41,170 - INFO - Deleting VM ctest-TestRoutersBasic-08628371-20262986
2025-04-17 10:27:41,253 - INFO - Deleting VM ctest-TestRoutersBasic-08628371-13124598
2025-04-17 10:27:41,348 - INFO - Deleting VN ctest-ext_vn-48392604
2025-04-17 10:27:41,454 - DEBUG - VN 858cb060-93a2-4caf-ad99-9f2333db6a28 still in use: Unable to complete operation on network 858cb060-93a2-4caf-ad99-9f2333db6a28. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1b93f874-2cd5-4163-96dc-ceb300cf764d']
2025-04-17 10:27:41,454 - WARNING - Deleting VN ctest-ext_vn-48392604 failed..Will retry
2025-04-17 10:27:43,610 - DEBUG - Response for deleting network ()
2025-04-17 10:27:43,610 - INFO - Deleting VN ctest-vn-93821017
2025-04-17 10:27:43,772 - DEBUG - Response for deleting network ()
2025-04-17 10:27:44,061 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 10:27:44,062 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-04-17 10:27:44,062 - INFO - --------------------------------------------------------------------------------
2025-04-17 10:27:45,029 - INFO - Deleted project: ctest-TestRoutersBasic-08628371, ID : a9122bf8-04f5-4d23-8a7e-8274fbf78385