2025-12-04 18:05:38,211 - INFO - Domain Default found not creating 2025-12-04 18:05:38,413 - INFO - Project ctest-TestRoutersBasic-44822211 not found, creating it 2025-12-04 18:05:38,913 - INFO - Created Project:ctest-TestRoutersBasic-44822211, ID : 42d3091e-02e0-44c4-bbe0-761fb8e17a96 2025-12-04 18:05:40,507 - INFO - ================================================================================ 2025-12-04 18:05:40,507 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-04 18:05:40,507 - 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-12-04 18:05:40,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 18:05:40,768 - INFO - Initial checks done. Running the testcase now 2025-12-04 18:05:40,768 - INFO - 2025-12-04 18:05:41,509 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44822211 2025-12-04 18:05:41,609 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44822211 2025-12-04 18:05:41,933 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44822211', 'default']} 2025-12-04 18:05:42,233 - DEBUG - Response for create_network : {'network': {'id': '98196a50-5379-4144-b427-3c6b08adec40', 'name': 'ctest-vn-15027898', 'tenant_id': '42d3091e02e044c4bbe0761fb8e17a96', 'project_id': '42d3091e02e044c4bbe0761fb8e17a96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44822211', 'ctest-vn-15027898'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 18:05:42,421 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f87dce05-37b0-4c99-b2e4-861f560d1715', 'name': '', 'tenant_id': '42d3091e02e044c4bbe0761fb8e17a96', 'network_id': '98196a50-5379-4144-b427-3c6b08adec40', 'ip_version': 4, 'cidr': '133.233.65.192/26', 'allocation_pools': [{'start': '133.233.65.194', 'end': '133.233.65.254'}], 'gateway_ip': '133.233.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.233.65.194', 'tags': [], 'project_id': '42d3091e02e044c4bbe0761fb8e17a96'}} 2025-12-04 18:05:42,441 - INFO - Created VN ctest-vn-15027898 2025-12-04 18:05:42,497 - DEBUG - VN ctest-vn-15027898 UUID is 98196a50-5379-4144-b427-3c6b08adec40 2025-12-04 18:05:42,827 - DEBUG - Response for create_network : {'network': {'id': '39f4c4be-42d1-4dcd-9bee-1b48bc872a87', 'name': 'ctest-ext_vn-47117422', 'tenant_id': '42d3091e02e044c4bbe0761fb8e17a96', 'project_id': '42d3091e02e044c4bbe0761fb8e17a96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44822211', 'ctest-ext_vn-47117422'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 18:05:43,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '607affaa-1483-4b81-a15f-0054a6a6cd84', 'name': '', 'tenant_id': '42d3091e02e044c4bbe0761fb8e17a96', 'network_id': '39f4c4be-42d1-4dcd-9bee-1b48bc872a87', 'ip_version': 4, 'cidr': '118.47.135.64/26', 'allocation_pools': [{'start': '118.47.135.66', 'end': '118.47.135.126'}], 'gateway_ip': '118.47.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.47.135.66', 'tags': [], 'project_id': '42d3091e02e044c4bbe0761fb8e17a96'}} 2025-12-04 18:05:43,074 - INFO - Created VN ctest-ext_vn-47117422 2025-12-04 18:05:43,129 - DEBUG - VN ctest-ext_vn-47117422 UUID is 39f4c4be-42d1-4dcd-9bee-1b48bc872a87 2025-12-04 18:05:43,301 - DEBUG - Services list from nova: [, , ] 2025-12-04 18:05:44,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4846-1) 2025-12-04 18:05:45,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4846-1) 2025-12-04 18:05:45,725 - INFO - Setting gateway for router 3661f9a7-0dcb-4382-9190-814d6d360dd5 to network 39f4c4be-42d1-4dcd-9bee-1b48bc872a87 2025-12-04 18:05:45,821 - INFO - Adding interface with subnet_id f87dce05-37b0-4c99-b2e4-861f560d1715, port_id None to router 3661f9a7-0dcb-4382-9190-814d6d360dd5 2025-12-04 18:05:46,185 - INFO - Waiting for VM ctest-TestRoutersBasic-44822211-38744947 to be up.. 2025-12-04 18:05:46,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 18:05:51,413 - DEBUG - VM is in ACTIVE state now 2025-12-04 18:05:51,413 - INFO - VM name : ctest-TestRoutersBasic-44822211-38744947 2025-12-04 18:05:51,498 - DEBUG - VM ctest-TestRoutersBasic-44822211-38744947 ID is 23a98ba3-2287-44b9-b320-6670d3db7f7a 2025-12-04 18:05:51,521 - DEBUG - VM ctest-TestRoutersBasic-44822211-38744947 launched on Node cn-jenkins-deploy-platform-ansible-os-4846-1 2025-12-04 18:05:51,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/23a98ba3-2287-44b9-b320-6670d3db7f7a 2025-12-04 18:05:51,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/23a98ba3-2287-44b9-b320-6670d3db7f7a 2025-12-04 18:05:51,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5992487f-d1aa-4861-9d55-b42f8800aa85 2025-12-04 18:05:55,221 - 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 1033ms') 2025-12-04 18:05:55,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44822211-38744947 failed! 2025-12-04 18:05:55,281 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44822211:ctest-vn-15027898 is 133.233.65.193 and allocation pool is NOT set 2025-12-04 18:05:57,339 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.655 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.655/2.408/4.161/1.753 ms') 2025-12-04 18:05:57,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44822211-38744947 passed 2025-12-04 18:05:57,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:05:57,493 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44822211-38744947, IP 133.233.65.195, Port 22 2025-12-04 18:05:57,659 - DEBUG - VM ctest-TestRoutersBasic-44822211-38744947 is ready for SSH connections 2025-12-04 18:05:57,659 - INFO - Waiting for VM ctest-TestRoutersBasic-44822211-41201316 to be up.. 2025-12-04 18:05:57,750 - DEBUG - VM is in ACTIVE state now 2025-12-04 18:05:57,751 - INFO - VM name : ctest-TestRoutersBasic-44822211-41201316 2025-12-04 18:05:57,840 - DEBUG - VM ctest-TestRoutersBasic-44822211-41201316 ID is 80f5f88a-98ca-4d89-a74d-a547e017b085 2025-12-04 18:05:57,840 - DEBUG - VM ctest-TestRoutersBasic-44822211-41201316 launched on Node cn-jenkins-deploy-platform-ansible-os-4846-1 2025-12-04 18:05:57,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80f5f88a-98ca-4d89-a74d-a547e017b085 2025-12-04 18:05:57,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/91a74d90-4a54-4d94-8ed2-17ac5cba949b 2025-12-04 18:05:59,169 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.583 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.583/1.896/3.210/1.313 ms') 2025-12-04 18:05:59,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44822211-41201316 passed 2025-12-04 18:05:59,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:05:59,329 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44822211-41201316, IP 118.47.135.67, Port 22 2025-12-04 18:05:59,496 - DEBUG - VM ctest-TestRoutersBasic-44822211-41201316 is ready for SSH connections 2025-12-04 18:05:59,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:05:59,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.47.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 18:05:59,496 - DEBUG - ping -s 56 -c 3 -W 1 118.47.135.67 2025-12-04 18:06:03,243 - DEBUG - PING 118.47.135.67 (118.47.135.67): 56 data bytes 64 bytes from 118.47.135.67: seq=0 ttl=62 time=6.239 ms 64 bytes from 118.47.135.67: seq=1 ttl=62 time=1.267 ms 64 bytes from 118.47.135.67: seq=2 ttl=62 time=1.281 ms --- 118.47.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.267/2.929/6.239 ms 2025-12-04 18:06:03,243 - INFO - Ping to IP 118.47.135.67 from VM ctest-TestRoutersBasic-44822211-38744947 passed 2025-12-04 18:06:03,244 - INFO - Deleting interface with subnet_id f87dce05-37b0-4c99-b2e4-861f560d1715, port_id None from router 3661f9a7-0dcb-4382-9190-814d6d360dd5 2025-12-04 18:06:03,458 - INFO - Deleting VM ctest-TestRoutersBasic-44822211-41201316 2025-12-04 18:06:03,550 - INFO - Deleting VM ctest-TestRoutersBasic-44822211-38744947 2025-12-04 18:06:03,653 - INFO - Deleting VN ctest-ext_vn-47117422 2025-12-04 18:06:03,744 - DEBUG - VN 39f4c4be-42d1-4dcd-9bee-1b48bc872a87 still in use: Unable to complete operation on network 39f4c4be-42d1-4dcd-9bee-1b48bc872a87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c6fbc91-b08f-41ca-b7e2-21d6026e27ac'] 2025-12-04 18:06:03,744 - WARNING - Deleting VN ctest-ext_vn-47117422 failed..Will retry 2025-12-04 18:06:05,863 - DEBUG - Response for deleting network () 2025-12-04 18:06:05,863 - INFO - Deleting VN ctest-vn-15027898 2025-12-04 18:06:05,976 - DEBUG - Response for deleting network () 2025-12-04 18:06:06,236 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 18:06:06,236 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-04 18:06:06,236 - INFO - -------------------------------------------------------------------------------- 2025-12-04 18:06:06,962 - INFO - Deleted project: ctest-TestRoutersBasic-44822211, ID : 42d3091e-02e0-44c4-bbe0-761fb8e17a96