2025-04-13 14:24:21,092 - INFO - Domain Default found not creating 2025-04-13 14:24:21,258 - INFO - Project ctest-TestRoutersBasic-00650188 not found, creating it 2025-04-13 14:24:21,744 - INFO - Created Project:ctest-TestRoutersBasic-00650188, ID : 81fabbc1-c891-4634-b2e2-9f587c9aaf63 2025-04-13 14:24:23,285 - INFO - ================================================================================ 2025-04-13 14:24:23,285 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-13 14:24:23,285 - 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-13 14:24:23,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-13 14:24:23,544 - INFO - Initial checks done. Running the testcase now 2025-04-13 14:24:23,544 - INFO - 2025-04-13 14:24:24,269 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00650188 2025-04-13 14:24:24,366 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00650188 2025-04-13 14:24:24,694 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00650188', 'default']} 2025-04-13 14:24:25,016 - DEBUG - Response for create_network : {'network': {'id': '047dbb6d-6bfd-407d-a315-8c6766a71d95', 'name': 'ctest-vn-29372606', 'tenant_id': '81fabbc1c8914634b2e29f587c9aaf63', 'project_id': '81fabbc1c8914634b2e29f587c9aaf63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00650188', 'ctest-vn-29372606'], 'port_security_enabled': True, 'description': ''}} 2025-04-13 14:24:25,224 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfa0f741-c220-450d-843e-141f26fea0a2', 'name': '', 'tenant_id': '81fabbc1c8914634b2e29f587c9aaf63', 'network_id': '047dbb6d-6bfd-407d-a315-8c6766a71d95', 'ip_version': 4, 'cidr': '86.179.47.0/26', 'allocation_pools': [{'start': '86.179.47.2', 'end': '86.179.47.62'}], 'gateway_ip': '86.179.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.179.47.2', 'tags': [], 'project_id': '81fabbc1c8914634b2e29f587c9aaf63'}} 2025-04-13 14:24:25,242 - INFO - Created VN ctest-vn-29372606 2025-04-13 14:24:25,298 - DEBUG - VN ctest-vn-29372606 UUID is 047dbb6d-6bfd-407d-a315-8c6766a71d95 2025-04-13 14:24:25,614 - DEBUG - Response for create_network : {'network': {'id': 'dcf28346-3825-4e93-9dc0-1432cd8dfb6e', 'name': 'ctest-ext_vn-49814872', 'tenant_id': '81fabbc1c8914634b2e29f587c9aaf63', 'project_id': '81fabbc1c8914634b2e29f587c9aaf63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00650188', 'ctest-ext_vn-49814872'], 'port_security_enabled': True, 'description': ''}} 2025-04-13 14:24:25,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e64f283-f17c-466c-8390-a57233860d06', 'name': '', 'tenant_id': '81fabbc1c8914634b2e29f587c9aaf63', 'network_id': 'dcf28346-3825-4e93-9dc0-1432cd8dfb6e', 'ip_version': 4, 'cidr': '171.26.165.0/26', 'allocation_pools': [{'start': '171.26.165.2', 'end': '171.26.165.62'}], 'gateway_ip': '171.26.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.26.165.2', 'tags': [], 'project_id': '81fabbc1c8914634b2e29f587c9aaf63'}} 2025-04-13 14:24:25,809 - INFO - Created VN ctest-ext_vn-49814872 2025-04-13 14:24:25,862 - DEBUG - VN ctest-ext_vn-49814872 UUID is dcf28346-3825-4e93-9dc0-1432cd8dfb6e 2025-04-13 14:24:26,046 - DEBUG - Services list from nova: [, , ] 2025-04-13 14:24:27,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3085-1) 2025-04-13 14:24:28,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3085-1) 2025-04-13 14:24:28,392 - INFO - Setting gateway for router 22a06dc4-df8a-403e-bc74-3ab73ca0d5cf to network dcf28346-3825-4e93-9dc0-1432cd8dfb6e 2025-04-13 14:24:28,467 - INFO - Adding interface with subnet_id cfa0f741-c220-450d-843e-141f26fea0a2, port_id None to router 22a06dc4-df8a-403e-bc74-3ab73ca0d5cf 2025-04-13 14:24:28,904 - INFO - Waiting for VM ctest-TestRoutersBasic-00650188-67345073 to be up.. 2025-04-13 14:24:29,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-13 14:24:34,228 - DEBUG - VM is in ACTIVE state now 2025-04-13 14:24:34,228 - INFO - VM name : ctest-TestRoutersBasic-00650188-67345073 2025-04-13 14:24:34,390 - DEBUG - VM ctest-TestRoutersBasic-00650188-67345073 ID is 6957fe79-82b1-4b83-8562-4fddf390e4cf 2025-04-13 14:24:34,433 - DEBUG - VM ctest-TestRoutersBasic-00650188-67345073 launched on Node cn-jenkins-deploy-platform-ansible-os-3085-1 2025-04-13 14:24:34,615 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6957fe79-82b1-4b83-8562-4fddf390e4cf 2025-04-13 14:24:34,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6957fe79-82b1-4b83-8562-4fddf390e4cf 2025-04-13 14:24:34,991 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/72a87e4a-47c7-4f5c-a630-a0d16d3ea660 2025-04-13 14:24:38,259 - 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 1014ms') 2025-04-13 14:24:38,259 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00650188-67345073 failed! 2025-04-13 14:24:38,314 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00650188:ctest-vn-29372606 is 86.179.47.1 and allocation pool is NOT set 2025-04-13 14:24:40,382 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/2.024/3.568/1.543 ms') 2025-04-13 14:24:40,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00650188-67345073 passed 2025-04-13 14:24:40,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 14:24:40,534 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00650188-67345073, IP 86.179.47.3, Port 22 2025-04-13 14:24:40,690 - DEBUG - VM ctest-TestRoutersBasic-00650188-67345073 is ready for SSH connections 2025-04-13 14:24:40,690 - INFO - Waiting for VM ctest-TestRoutersBasic-00650188-75097685 to be up.. 2025-04-13 14:24:40,777 - DEBUG - VM is in ACTIVE state now 2025-04-13 14:24:40,777 - INFO - VM name : ctest-TestRoutersBasic-00650188-75097685 2025-04-13 14:24:40,868 - DEBUG - VM ctest-TestRoutersBasic-00650188-75097685 ID is ac398ceb-9704-4530-98d2-9a47ab07c99a 2025-04-13 14:24:40,869 - DEBUG - VM ctest-TestRoutersBasic-00650188-75097685 launched on Node cn-jenkins-deploy-platform-ansible-os-3085-1 2025-04-13 14:24:40,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ac398ceb-9704-4530-98d2-9a47ab07c99a 2025-04-13 14:24:40,969 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3e6911ed-49b4-4b13-8934-316985a31a90 2025-04-13 14:24:42,225 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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 = 0.409/2.677/4.946/2.268 ms') 2025-04-13 14:24:42,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00650188-75097685 passed 2025-04-13 14:24:42,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 14:24:42,382 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00650188-75097685, IP 171.26.165.3, Port 22 2025-04-13 14:24:42,551 - DEBUG - VM ctest-TestRoutersBasic-00650188-75097685 is ready for SSH connections 2025-04-13 14:24:42,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 14:24:42,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.26.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-13 14:24:42,552 - DEBUG - ping -s 56 -c 3 -W 1 171.26.165.3 2025-04-13 14:24:46,601 - DEBUG - PING 171.26.165.3 (171.26.165.3): 56 data bytes 64 bytes from 171.26.165.3: seq=0 ttl=62 time=6.980 ms 64 bytes from 171.26.165.3: seq=1 ttl=62 time=1.133 ms 64 bytes from 171.26.165.3: seq=2 ttl=62 time=0.915 ms --- 171.26.165.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/3.009/6.980 ms 2025-04-13 14:24:46,601 - INFO - Ping to IP 171.26.165.3 from VM ctest-TestRoutersBasic-00650188-67345073 passed 2025-04-13 14:24:46,601 - INFO - Deleting interface with subnet_id cfa0f741-c220-450d-843e-141f26fea0a2, port_id None from router 22a06dc4-df8a-403e-bc74-3ab73ca0d5cf 2025-04-13 14:24:46,836 - INFO - Deleting VM ctest-TestRoutersBasic-00650188-75097685 2025-04-13 14:24:46,917 - INFO - Deleting VM ctest-TestRoutersBasic-00650188-67345073 2025-04-13 14:24:47,013 - INFO - Deleting VN ctest-ext_vn-49814872 2025-04-13 14:24:47,090 - DEBUG - VN dcf28346-3825-4e93-9dc0-1432cd8dfb6e still in use: Unable to complete operation on network dcf28346-3825-4e93-9dc0-1432cd8dfb6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ecb5c999-f448-463d-b11c-6ed847f24ba5'] 2025-04-13 14:24:47,090 - WARNING - Deleting VN ctest-ext_vn-49814872 failed..Will retry 2025-04-13 14:24:49,199 - DEBUG - Response for deleting network () 2025-04-13 14:24:49,199 - INFO - Deleting VN ctest-vn-29372606 2025-04-13 14:24:49,312 - DEBUG - Response for deleting network () 2025-04-13 14:24:49,576 - DEBUG - No XMPP flaps were noticed during the test
2025-04-13 14:24:49,576 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-13 14:24:49,576 - INFO - -------------------------------------------------------------------------------- 2025-04-13 14:24:50,282 - INFO - Deleted project: ctest-TestRoutersBasic-00650188, ID : 81fabbc1-c891-4634-b2e2-9f587c9aaf63