2025-08-18 19:22:48,406 - INFO - Domain Default found not creating 2025-08-18 19:22:48,523 - INFO - Project ctest-TestRoutersBasic-61973948 not found, creating it 2025-08-18 19:22:48,950 - INFO - Created Project:ctest-TestRoutersBasic-61973948, ID : 4958108f-4b18-4413-b16c-a26ad54bfa52 2025-08-18 19:22:50,247 - INFO - ================================================================================ 2025-08-18 19:22:50,247 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 19:22:50,247 - 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-18 19:22:50,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 19:22:50,495 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:22:50,495 - INFO - 2025-08-18 19:22:51,176 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61973948 2025-08-18 19:22:51,275 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61973948 2025-08-18 19:22:51,591 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61973948', 'default']} 2025-08-18 19:22:52,112 - DEBUG - Response for create_network : {'network': {'id': '5fdc01ca-5594-4d7e-8a27-1b265373835e', 'name': 'ctest-vn-78071494', 'tenant_id': '4958108f4b184413b16ca26ad54bfa52', 'project_id': '4958108f4b184413b16ca26ad54bfa52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61973948', 'ctest-vn-78071494'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:22:52,264 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ef5d0f9-02ed-40da-bdf8-b669769dec5d', 'name': '', 'tenant_id': '4958108f4b184413b16ca26ad54bfa52', 'network_id': '5fdc01ca-5594-4d7e-8a27-1b265373835e', 'ip_version': 4, 'cidr': '171.158.223.192/26', 'allocation_pools': [{'start': '171.158.223.194', 'end': '171.158.223.254'}], 'gateway_ip': '171.158.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.158.223.194', 'tags': [], 'project_id': '4958108f4b184413b16ca26ad54bfa52'}} 2025-08-18 19:22:52,279 - INFO - Created VN ctest-vn-78071494 2025-08-18 19:22:52,331 - DEBUG - VN ctest-vn-78071494 UUID is 5fdc01ca-5594-4d7e-8a27-1b265373835e 2025-08-18 19:22:52,661 - DEBUG - Response for create_network : {'network': {'id': '8fd51aa6-9194-4318-a484-d13550e84bd1', 'name': 'ctest-ext_vn-27319514', 'tenant_id': '4958108f4b184413b16ca26ad54bfa52', 'project_id': '4958108f4b184413b16ca26ad54bfa52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61973948', 'ctest-ext_vn-27319514'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:22:52,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '43142af6-dee8-43a2-a7f0-d0c29f43fa0f', 'name': '', 'tenant_id': '4958108f4b184413b16ca26ad54bfa52', 'network_id': '8fd51aa6-9194-4318-a484-d13550e84bd1', 'ip_version': 4, 'cidr': '47.216.207.192/26', 'allocation_pools': [{'start': '47.216.207.194', 'end': '47.216.207.254'}], 'gateway_ip': '47.216.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.216.207.194', 'tags': [], 'project_id': '4958108f4b184413b16ca26ad54bfa52'}} 2025-08-18 19:22:52,875 - INFO - Created VN ctest-ext_vn-27319514 2025-08-18 19:22:52,927 - DEBUG - VN ctest-ext_vn-27319514 UUID is 8fd51aa6-9194-4318-a484-d13550e84bd1 2025-08-18 19:22:53,111 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:22:54,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:22:55,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:22:55,178 - INFO - Setting gateway for router c8f2eb7f-77ff-40f0-b849-b0edcba8500b to network 8fd51aa6-9194-4318-a484-d13550e84bd1 2025-08-18 19:22:55,250 - INFO - Adding interface with subnet_id 1ef5d0f9-02ed-40da-bdf8-b669769dec5d, port_id None to router c8f2eb7f-77ff-40f0-b849-b0edcba8500b 2025-08-18 19:22:55,794 - INFO - Waiting for VM ctest-TestRoutersBasic-61973948-77526247 to be up.. 2025-08-18 19:22:55,939 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:22:55,939 - INFO - VM name : ctest-TestRoutersBasic-61973948-77526247 2025-08-18 19:22:56,065 - DEBUG - VM ctest-TestRoutersBasic-61973948-77526247 ID is ae89238e-0b0c-4ed3-8bc5-f588506774a9 2025-08-18 19:22:56,092 - DEBUG - VM ctest-TestRoutersBasic-61973948-77526247 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:22:56,192 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ae89238e-0b0c-4ed3-8bc5-f588506774a9 2025-08-18 19:22:56,484 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ae89238e-0b0c-4ed3-8bc5-f588506774a9 2025-08-18 19:22:56,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/25cddcaf-5160-4b45-b62c-9de5cb5fd3bf 2025-08-18 19:22:59,808 - 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 1016ms') 2025-08-18 19:22:59,808 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61973948-77526247 failed! 2025-08-18 19:22:59,867 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61973948:ctest-vn-78071494 is 171.158.223.193 and allocation pool is NOT set 2025-08-18 19:23:03,935 - 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 1008ms') 2025-08-18 19:23:03,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61973948-77526247 failed! 2025-08-18 19:23:03,991 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61973948:ctest-vn-78071494 is 171.158.223.193 and allocation pool is NOT set 2025-08-18 19:23:06,054 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.352 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.352/1.580/2.809/1.228 ms') 2025-08-18 19:23:06,054 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61973948-77526247 passed 2025-08-18 19:23:06,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:06,211 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61973948-77526247, IP 171.158.223.195, Port 22 2025-08-18 19:23:06,363 - DEBUG - VM ctest-TestRoutersBasic-61973948-77526247 is ready for SSH connections 2025-08-18 19:23:06,363 - INFO - Waiting for VM ctest-TestRoutersBasic-61973948-09077548 to be up.. 2025-08-18 19:23:06,428 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:23:06,428 - INFO - VM name : ctest-TestRoutersBasic-61973948-09077548 2025-08-18 19:23:06,490 - DEBUG - VM ctest-TestRoutersBasic-61973948-09077548 ID is 99a577c8-c2c4-4fb2-8c77-ecc2f2b296d4 2025-08-18 19:23:06,490 - DEBUG - VM ctest-TestRoutersBasic-61973948-09077548 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:23:06,555 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/99a577c8-c2c4-4fb2-8c77-ecc2f2b296d4 2025-08-18 19:23:06,562 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dd67baa6-630d-47c4-aaa7-118dbcddcab4 2025-08-18 19:23:07,790 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 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.358/1.531/2.705/1.173 ms') 2025-08-18 19:23:07,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61973948-09077548 passed 2025-08-18 19:23:07,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:07,939 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61973948-09077548, IP 47.216.207.195, Port 22 2025-08-18 19:23:08,090 - DEBUG - VM ctest-TestRoutersBasic-61973948-09077548 is ready for SSH connections 2025-08-18 19:23:08,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:08,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.216.207.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:23:08,090 - DEBUG - ping -s 56 -c 3 -W 1 47.216.207.195 2025-08-18 19:23:12,032 - DEBUG - PING 47.216.207.195 (47.216.207.195): 56 data bytes 64 bytes from 47.216.207.195: seq=0 ttl=62 time=6.592 ms 64 bytes from 47.216.207.195: seq=1 ttl=62 time=0.938 ms 64 bytes from 47.216.207.195: seq=2 ttl=62 time=0.732 ms --- 47.216.207.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.732/2.754/6.592 ms 2025-08-18 19:23:12,032 - INFO - Ping to IP 47.216.207.195 from VM ctest-TestRoutersBasic-61973948-77526247 passed 2025-08-18 19:23:12,032 - INFO - Deleting interface with subnet_id 1ef5d0f9-02ed-40da-bdf8-b669769dec5d, port_id None from router c8f2eb7f-77ff-40f0-b849-b0edcba8500b 2025-08-18 19:23:12,212 - INFO - Deleting VM ctest-TestRoutersBasic-61973948-09077548 2025-08-18 19:23:12,275 - INFO - Deleting VM ctest-TestRoutersBasic-61973948-77526247 2025-08-18 19:23:12,351 - INFO - Deleting VN ctest-ext_vn-27319514 2025-08-18 19:23:12,408 - DEBUG - VN 8fd51aa6-9194-4318-a484-d13550e84bd1 still in use: Unable to complete operation on network 8fd51aa6-9194-4318-a484-d13550e84bd1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-62b326c4-7c9a-4f55-a466-a9b29fad87e5'] 2025-08-18 19:23:12,408 - WARNING - Deleting VN ctest-ext_vn-27319514 failed..Will retry 2025-08-18 19:23:14,499 - DEBUG - Response for deleting network () 2025-08-18 19:23:14,499 - INFO - Deleting VN ctest-vn-78071494 2025-08-18 19:23:14,607 - DEBUG - Response for deleting network () 2025-08-18 19:23:14,859 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 19:23:14,859 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-18 19:23:14,859 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:23:15,532 - INFO - Deleted project: ctest-TestRoutersBasic-61973948, ID : 4958108f-4b18-4413-b16c-a26ad54bfa52