2025-08-25 15:27:43,109 - INFO - Domain Default found not creating 2025-08-25 15:27:43,248 - INFO - Project ctest-TestRoutersBasic-54455181 not found, creating it 2025-08-25 15:27:43,750 - INFO - Created Project:ctest-TestRoutersBasic-54455181, ID : 6c14201f-bdb4-44f4-8511-b78536d0ae32 2025-08-25 15:27:45,087 - INFO - ================================================================================ 2025-08-25 15:27:45,087 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-25 15:27:45,087 - 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-25 15:27:45,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 15:27:45,356 - INFO - Initial checks done. Running the testcase now 2025-08-25 15:27:45,356 - INFO - 2025-08-25 15:27:46,052 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54455181 2025-08-25 15:27:46,151 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54455181 2025-08-25 15:27:46,491 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54455181', 'default']} 2025-08-25 15:27:46,799 - DEBUG - Response for create_network : {'network': {'id': '11d4f3de-3b00-4132-bf98-a675db78835f', 'name': 'ctest-vn-52807327', 'tenant_id': '6c14201fbdb444f48511b78536d0ae32', 'project_id': '6c14201fbdb444f48511b78536d0ae32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54455181', 'ctest-vn-52807327'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:27:47,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '48f5361e-b684-4b27-bbeb-1d10bfb774e0', 'name': '', 'tenant_id': '6c14201fbdb444f48511b78536d0ae32', 'network_id': '11d4f3de-3b00-4132-bf98-a675db78835f', 'ip_version': 4, 'cidr': '128.0.80.128/26', 'allocation_pools': [{'start': '128.0.80.130', 'end': '128.0.80.190'}], 'gateway_ip': '128.0.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.0.80.130', 'tags': [], 'project_id': '6c14201fbdb444f48511b78536d0ae32'}} 2025-08-25 15:27:47,057 - INFO - Created VN ctest-vn-52807327 2025-08-25 15:27:47,110 - DEBUG - VN ctest-vn-52807327 UUID is 11d4f3de-3b00-4132-bf98-a675db78835f 2025-08-25 15:27:47,457 - DEBUG - Response for create_network : {'network': {'id': '8f2a5439-29bd-426e-96fb-6f6e6196af59', 'name': 'ctest-ext_vn-45439086', 'tenant_id': '6c14201fbdb444f48511b78536d0ae32', 'project_id': '6c14201fbdb444f48511b78536d0ae32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54455181', 'ctest-ext_vn-45439086'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:27:47,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '493174a7-64ec-4e5e-9e69-767b859ea45d', 'name': '', 'tenant_id': '6c14201fbdb444f48511b78536d0ae32', 'network_id': '8f2a5439-29bd-426e-96fb-6f6e6196af59', 'ip_version': 4, 'cidr': '193.104.11.128/26', 'allocation_pools': [{'start': '193.104.11.130', 'end': '193.104.11.190'}], 'gateway_ip': '193.104.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.104.11.130', 'tags': [], 'project_id': '6c14201fbdb444f48511b78536d0ae32'}} 2025-08-25 15:27:47,711 - INFO - Created VN ctest-ext_vn-45439086 2025-08-25 15:27:47,766 - DEBUG - VN ctest-ext_vn-45439086 UUID is 8f2a5439-29bd-426e-96fb-6f6e6196af59 2025-08-25 15:27:47,968 - DEBUG - Services list from nova: [, , ] 2025-08-25 15:27:48,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3924-1) 2025-08-25 15:27:50,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3924-1) 2025-08-25 15:27:50,142 - INFO - Setting gateway for router 415a957a-5920-4f35-8cae-57e4d10f58b6 to network 8f2a5439-29bd-426e-96fb-6f6e6196af59 2025-08-25 15:27:50,219 - INFO - Adding interface with subnet_id 48f5361e-b684-4b27-bbeb-1d10bfb774e0, port_id None to router 415a957a-5920-4f35-8cae-57e4d10f58b6 2025-08-25 15:27:50,764 - INFO - Waiting for VM ctest-TestRoutersBasic-54455181-90048551 to be up.. 2025-08-25 15:27:50,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 15:27:56,004 - DEBUG - VM is in ACTIVE state now 2025-08-25 15:27:56,004 - INFO - VM name : ctest-TestRoutersBasic-54455181-90048551 2025-08-25 15:27:56,086 - DEBUG - VM ctest-TestRoutersBasic-54455181-90048551 ID is 63e8201b-4ed4-4597-96cb-8536f745f024 2025-08-25 15:27:56,106 - DEBUG - VM ctest-TestRoutersBasic-54455181-90048551 launched on Node cn-jenkins-deploy-platform-ansible-os-3924-1 2025-08-25 15:27:56,180 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63e8201b-4ed4-4597-96cb-8536f745f024 2025-08-25 15:27:56,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/63e8201b-4ed4-4597-96cb-8536f745f024 2025-08-25 15:27:56,515 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c519a15c-d0af-4715-a918-9ea1db71176a 2025-08-25 15:27:59,789 - 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=2 ttl=63 time=7.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1036ms\r\nrtt min/avg/max/mdev = 7.305/7.305/7.305/0.000 ms') 2025-08-25 15:27:59,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54455181-90048551 passed 2025-08-25 15:27:59,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:27:59,943 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54455181-90048551, IP 128.0.80.131, Port 22 2025-08-25 15:28:00,116 - DEBUG - VM ctest-TestRoutersBasic-54455181-90048551 is ready for SSH connections 2025-08-25 15:28:00,117 - INFO - Waiting for VM ctest-TestRoutersBasic-54455181-38070913 to be up.. 2025-08-25 15:28:00,188 - DEBUG - VM is in ACTIVE state now 2025-08-25 15:28:00,188 - INFO - VM name : ctest-TestRoutersBasic-54455181-38070913 2025-08-25 15:28:00,258 - DEBUG - VM ctest-TestRoutersBasic-54455181-38070913 ID is bd9d0729-c0cf-46c4-8496-5566cb306a36 2025-08-25 15:28:00,258 - DEBUG - VM ctest-TestRoutersBasic-54455181-38070913 launched on Node cn-jenkins-deploy-platform-ansible-os-3924-1 2025-08-25 15:28:00,336 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bd9d0729-c0cf-46c4-8496-5566cb306a36 2025-08-25 15:28:00,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a43ce784-b1f8-4d5f-828d-20e5c13e56d7 2025-08-25 15:28:01,592 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.755 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.755/2.935/5.116/2.180 ms') 2025-08-25 15:28:01,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54455181-38070913 passed 2025-08-25 15:28:01,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:28:01,743 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54455181-38070913, IP 193.104.11.131, Port 22 2025-08-25 15:28:01,897 - DEBUG - VM ctest-TestRoutersBasic-54455181-38070913 is ready for SSH connections 2025-08-25 15:28:01,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:28:01,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.104.11.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 15:28:01,898 - DEBUG - ping -s 56 -c 3 -W 1 193.104.11.131 2025-08-25 15:28:05,596 - DEBUG - PING 193.104.11.131 (193.104.11.131): 56 data bytes 64 bytes from 193.104.11.131: seq=0 ttl=62 time=4.571 ms 64 bytes from 193.104.11.131: seq=1 ttl=62 time=0.741 ms 64 bytes from 193.104.11.131: seq=2 ttl=62 time=0.740 ms --- 193.104.11.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/2.017/4.571 ms 2025-08-25 15:28:05,596 - INFO - Ping to IP 193.104.11.131 from VM ctest-TestRoutersBasic-54455181-90048551 passed 2025-08-25 15:28:05,597 - INFO - Deleting interface with subnet_id 48f5361e-b684-4b27-bbeb-1d10bfb774e0, port_id None from router 415a957a-5920-4f35-8cae-57e4d10f58b6 2025-08-25 15:28:05,805 - INFO - Deleting VM ctest-TestRoutersBasic-54455181-38070913 2025-08-25 15:28:05,880 - INFO - Deleting VM ctest-TestRoutersBasic-54455181-90048551 2025-08-25 15:28:05,964 - INFO - Deleting VN ctest-ext_vn-45439086 2025-08-25 15:28:06,045 - DEBUG - VN 8f2a5439-29bd-426e-96fb-6f6e6196af59 still in use: Unable to complete operation on network 8f2a5439-29bd-426e-96fb-6f6e6196af59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25f6e3fe-062e-4fb6-8504-8390527a5c17'] 2025-08-25 15:28:06,045 - WARNING - Deleting VN ctest-ext_vn-45439086 failed..Will retry 2025-08-25 15:28:08,160 - DEBUG - Response for deleting network () 2025-08-25 15:28:08,160 - INFO - Deleting VN ctest-vn-52807327 2025-08-25 15:28:08,290 - DEBUG - Response for deleting network () 2025-08-25 15:28:08,552 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 15:28:08,553 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-25 15:28:08,553 - INFO - -------------------------------------------------------------------------------- 2025-08-25 15:28:09,205 - INFO - Deleted project: ctest-TestRoutersBasic-54455181, ID : 6c14201f-bdb4-44f4-8511-b78536d0ae32