2025-04-08 16:36:15,533 - INFO - Domain Default found not creating 2025-04-08 16:36:15,958 - INFO - Project ctest-TestRoutersBasic-86697615 not found, creating it 2025-04-08 16:36:16,656 - INFO - Created Project:ctest-TestRoutersBasic-86697615, ID : 3a99bc78-29b8-4219-8563-7cb7fc9ecbd4 2025-04-08 16:36:18,596 - INFO - ================================================================================ 2025-04-08 16:36:18,597 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-08 16:36:18,597 - 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-08 16:36:18,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.35': '0'}} with 2025-04-08 16:36:18,933 - INFO - Initial checks done. Running the testcase now 2025-04-08 16:36:18,933 - INFO - 2025-04-08 16:36:19,849 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86697615 2025-04-08 16:36:19,972 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86697615 2025-04-08 16:36:20,402 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86697615', 'default']} 2025-04-08 16:36:20,896 - DEBUG - Response for create_network : {'network': {'id': '707cf59f-ed5f-457c-b70d-57d9bd3c94de', 'name': 'ctest-vn-02375133', 'tenant_id': '3a99bc7829b8421985637cb7fc9ecbd4', 'project_id': '3a99bc7829b8421985637cb7fc9ecbd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86697615', 'ctest-vn-02375133'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:36:21,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a21ed3f-a5df-436d-9df2-e87736c6d908', 'name': '', 'tenant_id': '3a99bc7829b8421985637cb7fc9ecbd4', 'network_id': '707cf59f-ed5f-457c-b70d-57d9bd3c94de', 'ip_version': 4, 'cidr': '212.72.24.64/26', 'allocation_pools': [{'start': '212.72.24.66', 'end': '212.72.24.126'}], 'gateway_ip': '212.72.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.72.24.66', 'tags': [], 'project_id': '3a99bc7829b8421985637cb7fc9ecbd4'}} 2025-04-08 16:36:21,225 - INFO - Created VN ctest-vn-02375133 2025-04-08 16:36:21,283 - DEBUG - VN ctest-vn-02375133 UUID is 707cf59f-ed5f-457c-b70d-57d9bd3c94de 2025-04-08 16:36:21,842 - DEBUG - Response for create_network : {'network': {'id': '818d3d0c-8e6b-4528-aa6e-f84457e6d79b', 'name': 'ctest-ext_vn-71398930', 'tenant_id': '3a99bc7829b8421985637cb7fc9ecbd4', 'project_id': '3a99bc7829b8421985637cb7fc9ecbd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86697615', 'ctest-ext_vn-71398930'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:36:22,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '99027232-aec0-4281-800e-35ca5850f443', 'name': '', 'tenant_id': '3a99bc7829b8421985637cb7fc9ecbd4', 'network_id': '818d3d0c-8e6b-4528-aa6e-f84457e6d79b', 'ip_version': 4, 'cidr': '203.135.236.128/26', 'allocation_pools': [{'start': '203.135.236.130', 'end': '203.135.236.190'}], 'gateway_ip': '203.135.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.135.236.130', 'tags': [], 'project_id': '3a99bc7829b8421985637cb7fc9ecbd4'}} 2025-04-08 16:36:22,146 - INFO - Created VN ctest-ext_vn-71398930 2025-04-08 16:36:22,211 - DEBUG - VN ctest-ext_vn-71398930 UUID is 818d3d0c-8e6b-4528-aa6e-f84457e6d79b 2025-04-08 16:36:22,493 - DEBUG - Services list from nova: [, , ] 2025-04-08 16:36:24,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3056-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3056-1) 2025-04-08 16:36:25,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3056-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3056-1) 2025-04-08 16:36:25,481 - INFO - Setting gateway for router cf92edeb-1216-4662-8084-13e80ae62a83 to network 818d3d0c-8e6b-4528-aa6e-f84457e6d79b 2025-04-08 16:36:25,573 - INFO - Adding interface with subnet_id 9a21ed3f-a5df-436d-9df2-e87736c6d908, port_id None to router cf92edeb-1216-4662-8084-13e80ae62a83 2025-04-08 16:36:26,035 - INFO - Waiting for VM ctest-TestRoutersBasic-86697615-60172126 to be up.. 2025-04-08 16:36:26,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 16:36:31,398 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:36:31,398 - INFO - VM name : ctest-TestRoutersBasic-86697615-60172126 2025-04-08 16:36:31,535 - DEBUG - VM ctest-TestRoutersBasic-86697615-60172126 ID is 7c8a4ec3-6ac7-4d2e-858c-d64dd590e36e 2025-04-08 16:36:31,560 - DEBUG - VM ctest-TestRoutersBasic-86697615-60172126 launched on Node cn-jenkins-deploy-platform-ansible-os-3056-1 2025-04-08 16:36:31,734 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/7c8a4ec3-6ac7-4d2e-858c-d64dd590e36e 2025-04-08 16:36:32,085 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/7c8a4ec3-6ac7-4d2e-858c-d64dd590e36e 2025-04-08 16:36:32,125 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/4bd6f9e8-8bb4-4cdc-b675-3620157e758f 2025-04-08 16:36:35,523 - 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 1029ms') 2025-04-08 16:36:35,523 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86697615-60172126 failed! 2025-04-08 16:36:35,594 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86697615:ctest-vn-02375133 is 212.72.24.65 and allocation pool is NOT set 2025-04-08 16:36:37,677 - 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=9.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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 = 1.394/5.656/9.918/4.262 ms') 2025-04-08 16:36:37,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86697615-60172126 passed 2025-04-08 16:36:37,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:36:37,875 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86697615-60172126, IP 212.72.24.67, Port 22 2025-04-08 16:36:38,063 - DEBUG - VM ctest-TestRoutersBasic-86697615-60172126 is ready for SSH connections 2025-04-08 16:36:38,063 - INFO - Waiting for VM ctest-TestRoutersBasic-86697615-33710162 to be up.. 2025-04-08 16:36:38,254 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:36:38,254 - INFO - VM name : ctest-TestRoutersBasic-86697615-33710162 2025-04-08 16:36:38,470 - DEBUG - VM ctest-TestRoutersBasic-86697615-33710162 ID is 1ff8917d-a762-47cd-a9da-fb97a5e0a672 2025-04-08 16:36:38,471 - DEBUG - VM ctest-TestRoutersBasic-86697615-33710162 launched on Node cn-jenkins-deploy-platform-ansible-os-3056-1 2025-04-08 16:36:38,680 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/1ff8917d-a762-47cd-a9da-fb97a5e0a672 2025-04-08 16:36:38,697 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/920dc709-cf67-4403-989c-15480e4e6c46 2025-04-08 16:36:40,010 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.00 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 = 4.002/4.265/4.529/0.263 ms') 2025-04-08 16:36:40,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86697615-33710162 passed 2025-04-08 16:36:40,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:36:40,191 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86697615-33710162, IP 203.135.236.131, Port 22 2025-04-08 16:36:40,373 - DEBUG - VM ctest-TestRoutersBasic-86697615-33710162 is ready for SSH connections 2025-04-08 16:36:40,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:36:40,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.135.236.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-04-08 16:36:40,374 - DEBUG - ping -s 56 -c 3 -W 1 203.135.236.131 2025-04-08 16:36:44,585 - DEBUG - PING 203.135.236.131 (203.135.236.131): 56 data bytes 64 bytes from 203.135.236.131: seq=0 ttl=62 time=11.570 ms 64 bytes from 203.135.236.131: seq=1 ttl=62 time=2.056 ms 64 bytes from 203.135.236.131: seq=2 ttl=62 time=2.038 ms --- 203.135.236.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.038/5.221/11.570 ms 2025-04-08 16:36:44,585 - INFO - Ping to IP 203.135.236.131 from VM ctest-TestRoutersBasic-86697615-60172126 passed 2025-04-08 16:36:44,585 - INFO - Deleting interface with subnet_id 9a21ed3f-a5df-436d-9df2-e87736c6d908, port_id None from router cf92edeb-1216-4662-8084-13e80ae62a83 2025-04-08 16:36:44,916 - INFO - Deleting VM ctest-TestRoutersBasic-86697615-33710162 2025-04-08 16:36:44,982 - INFO - Deleting VM ctest-TestRoutersBasic-86697615-60172126 2025-04-08 16:36:45,092 - INFO - Deleting VN ctest-ext_vn-71398930 2025-04-08 16:36:45,173 - DEBUG - VN 818d3d0c-8e6b-4528-aa6e-f84457e6d79b still in use: Unable to complete operation on network 818d3d0c-8e6b-4528-aa6e-f84457e6d79b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee0f7376-3552-4484-9e1d-686e7e1fefa4'] 2025-04-08 16:36:45,173 - WARNING - Deleting VN ctest-ext_vn-71398930 failed..Will retry 2025-04-08 16:36:47,450 - DEBUG - Response for deleting network () 2025-04-08 16:36:47,451 - INFO - Deleting VN ctest-vn-02375133 2025-04-08 16:36:47,645 - DEBUG - Response for deleting network () 2025-04-08 16:36:47,982 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 16:36:47,982 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-04-08 16:36:47,982 - INFO - -------------------------------------------------------------------------------- 2025-04-08 16:36:48,913 - INFO - Deleted project: ctest-TestRoutersBasic-86697615, ID : 3a99bc78-29b8-4219-8563-7cb7fc9ecbd4