2025-09-13 17:09:38,692 - INFO - Domain Default found not creating 2025-09-13 17:09:38,868 - INFO - Project ctest-TestRoutersBasic-02972567 not found, creating it 2025-09-13 17:09:39,320 - INFO - Created Project:ctest-TestRoutersBasic-02972567, ID : 05b839b0-ee09-4db2-88c9-3be54fd69258 2025-09-13 17:09:40,793 - INFO - ================================================================================ 2025-09-13 17:09:40,793 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-13 17:09:40,793 - 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-09-13 17:09:41,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-13 17:09:41,046 - INFO - Initial checks done. Running the testcase now 2025-09-13 17:09:41,046 - INFO - 2025-09-13 17:09:41,791 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02972567 2025-09-13 17:09:41,885 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02972567 2025-09-13 17:09:42,205 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02972567', 'default']} 2025-09-13 17:09:42,504 - DEBUG - Response for create_network : {'network': {'id': 'c82fc204-0aa5-45af-9502-5906f2dc9ac5', 'name': 'ctest-vn-47514057', 'tenant_id': '05b839b0ee094db288c93be54fd69258', 'project_id': '05b839b0ee094db288c93be54fd69258', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02972567', 'ctest-vn-47514057'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 17:09:42,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '842cb2de-8d6c-4f29-bc0c-6c639b8b4bda', 'name': '', 'tenant_id': '05b839b0ee094db288c93be54fd69258', 'network_id': 'c82fc204-0aa5-45af-9502-5906f2dc9ac5', 'ip_version': 4, 'cidr': '169.132.170.64/26', 'allocation_pools': [{'start': '169.132.170.66', 'end': '169.132.170.126'}], 'gateway_ip': '169.132.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.132.170.66', 'tags': [], 'project_id': '05b839b0ee094db288c93be54fd69258'}} 2025-09-13 17:09:42,743 - INFO - Created VN ctest-vn-47514057 2025-09-13 17:09:42,797 - DEBUG - VN ctest-vn-47514057 UUID is c82fc204-0aa5-45af-9502-5906f2dc9ac5 2025-09-13 17:09:43,142 - DEBUG - Response for create_network : {'network': {'id': '57494c4f-4792-44bd-991f-ca8252850fb7', 'name': 'ctest-ext_vn-00928620', 'tenant_id': '05b839b0ee094db288c93be54fd69258', 'project_id': '05b839b0ee094db288c93be54fd69258', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02972567', 'ctest-ext_vn-00928620'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 17:09:43,376 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf833d6a-afbd-437f-9ae1-491a2dff62e1', 'name': '', 'tenant_id': '05b839b0ee094db288c93be54fd69258', 'network_id': '57494c4f-4792-44bd-991f-ca8252850fb7', 'ip_version': 4, 'cidr': '199.127.67.64/26', 'allocation_pools': [{'start': '199.127.67.66', 'end': '199.127.67.126'}], 'gateway_ip': '199.127.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.127.67.66', 'tags': [], 'project_id': '05b839b0ee094db288c93be54fd69258'}} 2025-09-13 17:09:43,394 - INFO - Created VN ctest-ext_vn-00928620 2025-09-13 17:09:43,445 - DEBUG - VN ctest-ext_vn-00928620 UUID is 57494c4f-4792-44bd-991f-ca8252850fb7 2025-09-13 17:09:43,617 - DEBUG - Services list from nova: [, , ] 2025-09-13 17:09:44,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4104-1) 2025-09-13 17:09:45,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4104-1) 2025-09-13 17:09:45,920 - INFO - Setting gateway for router 6c3fcb34-d3b1-4f30-b4ac-5e5c8c8562d4 to network 57494c4f-4792-44bd-991f-ca8252850fb7 2025-09-13 17:09:45,974 - INFO - Adding interface with subnet_id 842cb2de-8d6c-4f29-bc0c-6c639b8b4bda, port_id None to router 6c3fcb34-d3b1-4f30-b4ac-5e5c8c8562d4 2025-09-13 17:09:46,349 - INFO - Waiting for VM ctest-TestRoutersBasic-02972567-66379903 to be up.. 2025-09-13 17:09:46,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 17:09:51,614 - DEBUG - VM is in ACTIVE state now 2025-09-13 17:09:51,614 - INFO - VM name : ctest-TestRoutersBasic-02972567-66379903 2025-09-13 17:09:51,696 - DEBUG - VM ctest-TestRoutersBasic-02972567-66379903 ID is ea41e59b-26e2-4d68-8e5d-e24f266c4dbd 2025-09-13 17:09:51,724 - DEBUG - VM ctest-TestRoutersBasic-02972567-66379903 launched on Node cn-jenkins-deploy-platform-ansible-os-4104-1 2025-09-13 17:09:51,811 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ea41e59b-26e2-4d68-8e5d-e24f266c4dbd 2025-09-13 17:09:52,113 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ea41e59b-26e2-4d68-8e5d-e24f266c4dbd 2025-09-13 17:09:52,144 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3a0a810a-ef6b-4c51-9144-951d8c90a32e 2025-09-13 17:09:55,395 - 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 1006ms') 2025-09-13 17:09:55,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02972567-66379903 failed! 2025-09-13 17:09:55,453 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02972567:ctest-vn-47514057 is 169.132.170.65 and allocation pool is NOT set 2025-09-13 17:09:57,521 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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 = 0.444/1.999/3.554/1.555 ms') 2025-09-13 17:09:57,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02972567-66379903 passed 2025-09-13 17:09:57,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:09:57,669 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02972567-66379903, IP 169.132.170.67, Port 22 2025-09-13 17:09:57,835 - DEBUG - VM ctest-TestRoutersBasic-02972567-66379903 is ready for SSH connections 2025-09-13 17:09:57,835 - INFO - Waiting for VM ctest-TestRoutersBasic-02972567-44617637 to be up.. 2025-09-13 17:09:57,912 - DEBUG - VM is in ACTIVE state now 2025-09-13 17:09:57,912 - INFO - VM name : ctest-TestRoutersBasic-02972567-44617637 2025-09-13 17:09:57,993 - DEBUG - VM ctest-TestRoutersBasic-02972567-44617637 ID is 3f7251d3-66b4-4b4e-b027-5d0d118080e4 2025-09-13 17:09:57,993 - DEBUG - VM ctest-TestRoutersBasic-02972567-44617637 launched on Node cn-jenkins-deploy-platform-ansible-os-4104-1 2025-09-13 17:09:58,072 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3f7251d3-66b4-4b4e-b027-5d0d118080e4 2025-09-13 17:09:58,081 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/41518851-c057-4c93-9495-22232f462e74 2025-09-13 17:09:59,318 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/2.167/3.889/1.722 ms') 2025-09-13 17:09:59,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02972567-44617637 passed 2025-09-13 17:09:59,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:09:59,481 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02972567-44617637, IP 199.127.67.67, Port 22 2025-09-13 17:09:59,636 - DEBUG - VM ctest-TestRoutersBasic-02972567-44617637 is ready for SSH connections 2025-09-13 17:09:59,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 17:09:59,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.127.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-13 17:09:59,636 - DEBUG - ping -s 56 -c 3 -W 1 199.127.67.67 2025-09-13 17:10:03,370 - DEBUG - PING 199.127.67.67 (199.127.67.67): 56 data bytes 64 bytes from 199.127.67.67: seq=0 ttl=62 time=8.467 ms 64 bytes from 199.127.67.67: seq=1 ttl=62 time=1.276 ms 64 bytes from 199.127.67.67: seq=2 ttl=62 time=0.994 ms --- 199.127.67.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.994/3.579/8.467 ms 2025-09-13 17:10:03,370 - INFO - Ping to IP 199.127.67.67 from VM ctest-TestRoutersBasic-02972567-66379903 passed 2025-09-13 17:10:03,370 - INFO - Deleting interface with subnet_id 842cb2de-8d6c-4f29-bc0c-6c639b8b4bda, port_id None from router 6c3fcb34-d3b1-4f30-b4ac-5e5c8c8562d4 2025-09-13 17:10:03,592 - INFO - Deleting VM ctest-TestRoutersBasic-02972567-44617637 2025-09-13 17:10:03,677 - INFO - Deleting VM ctest-TestRoutersBasic-02972567-66379903 2025-09-13 17:10:03,775 - INFO - Deleting VN ctest-ext_vn-00928620 2025-09-13 17:10:03,873 - DEBUG - VN 57494c4f-4792-44bd-991f-ca8252850fb7 still in use: Unable to complete operation on network 57494c4f-4792-44bd-991f-ca8252850fb7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8dbe90fd-6d1a-429a-abcf-986528ce53a3'] 2025-09-13 17:10:03,873 - WARNING - Deleting VN ctest-ext_vn-00928620 failed..Will retry 2025-09-13 17:10:06,000 - DEBUG - Response for deleting network () 2025-09-13 17:10:06,000 - INFO - Deleting VN ctest-vn-47514057 2025-09-13 17:10:06,126 - DEBUG - Response for deleting network () 2025-09-13 17:10:06,387 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 17:10:06,387 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-13 17:10:06,387 - INFO - -------------------------------------------------------------------------------- 2025-09-13 17:10:07,077 - INFO - Deleted project: ctest-TestRoutersBasic-02972567, ID : 05b839b0-ee09-4db2-88c9-3be54fd69258