2025-08-15 17:03:26,514 - INFO - Domain Default found not creating 2025-08-15 17:03:26,629 - INFO - Project ctest-TestRoutersBasic-81919640 not found, creating it 2025-08-15 17:03:27,070 - INFO - Created Project:ctest-TestRoutersBasic-81919640, ID : 0a13f813-f0d9-4b5c-b2a4-e93e31d641b3 2025-08-15 17:03:28,347 - INFO - ================================================================================ 2025-08-15 17:03:28,347 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 17:03:28,347 - 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-15 17:03:28,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 17:03:28,597 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:03:28,597 - INFO - 2025-08-15 17:03:29,264 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81919640 2025-08-15 17:03:29,367 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81919640 2025-08-15 17:03:29,679 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81919640', 'default']} 2025-08-15 17:03:29,959 - DEBUG - Response for create_network : {'network': {'id': 'aad89ae2-9c78-4798-951e-b3d6e1a2cfc4', 'name': 'ctest-vn-70735648', 'tenant_id': '0a13f813f0d94b5cb2a4e93e31d641b3', 'project_id': '0a13f813f0d94b5cb2a4e93e31d641b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81919640', 'ctest-vn-70735648'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:03:30,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '37d51bc1-5ef8-4754-bc1c-051325880011', 'name': '', 'tenant_id': '0a13f813f0d94b5cb2a4e93e31d641b3', 'network_id': 'aad89ae2-9c78-4798-951e-b3d6e1a2cfc4', 'ip_version': 4, 'cidr': '168.156.189.0/26', 'allocation_pools': [{'start': '168.156.189.2', 'end': '168.156.189.62'}], 'gateway_ip': '168.156.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.156.189.2', 'tags': [], 'project_id': '0a13f813f0d94b5cb2a4e93e31d641b3'}} 2025-08-15 17:03:30,149 - INFO - Created VN ctest-vn-70735648 2025-08-15 17:03:30,199 - DEBUG - VN ctest-vn-70735648 UUID is aad89ae2-9c78-4798-951e-b3d6e1a2cfc4 2025-08-15 17:03:30,537 - DEBUG - Response for create_network : {'network': {'id': '6cbb4997-13ac-4691-8ad7-54e3c5c0ad3b', 'name': 'ctest-ext_vn-08541188', 'tenant_id': '0a13f813f0d94b5cb2a4e93e31d641b3', 'project_id': '0a13f813f0d94b5cb2a4e93e31d641b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81919640', 'ctest-ext_vn-08541188'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:03:30,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '025ffbea-956b-4f77-b08a-c82bffa11ca4', 'name': '', 'tenant_id': '0a13f813f0d94b5cb2a4e93e31d641b3', 'network_id': '6cbb4997-13ac-4691-8ad7-54e3c5c0ad3b', 'ip_version': 4, 'cidr': '198.55.81.128/26', 'allocation_pools': [{'start': '198.55.81.130', 'end': '198.55.81.190'}], 'gateway_ip': '198.55.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.55.81.130', 'tags': [], 'project_id': '0a13f813f0d94b5cb2a4e93e31d641b3'}} 2025-08-15 17:03:30,695 - INFO - Created VN ctest-ext_vn-08541188 2025-08-15 17:03:30,751 - DEBUG - VN ctest-ext_vn-08541188 UUID is 6cbb4997-13ac-4691-8ad7-54e3c5c0ad3b 2025-08-15 17:03:30,946 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:03:31,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3867-1) 2025-08-15 17:03:32,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3867-1) 2025-08-15 17:03:32,981 - INFO - Setting gateway for router 0305e09d-7cbf-4d1b-928b-6671df4d6d53 to network 6cbb4997-13ac-4691-8ad7-54e3c5c0ad3b 2025-08-15 17:03:33,041 - INFO - Adding interface with subnet_id 37d51bc1-5ef8-4754-bc1c-051325880011, port_id None to router 0305e09d-7cbf-4d1b-928b-6671df4d6d53 2025-08-15 17:03:33,534 - INFO - Waiting for VM ctest-TestRoutersBasic-81919640-90490717 to be up.. 2025-08-15 17:03:33,659 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:03:33,659 - INFO - VM name : ctest-TestRoutersBasic-81919640-90490717 2025-08-15 17:03:33,745 - DEBUG - VM ctest-TestRoutersBasic-81919640-90490717 ID is c81cab53-29e5-4b1a-bce3-5ea600554bd0 2025-08-15 17:03:33,762 - DEBUG - VM ctest-TestRoutersBasic-81919640-90490717 launched on Node cn-jenkins-deploy-platform-ansible-os-3867-1. 2025-08-15 17:03:33,856 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c81cab53-29e5-4b1a-bce3-5ea600554bd0 2025-08-15 17:03:34,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c81cab53-29e5-4b1a-bce3-5ea600554bd0 2025-08-15 17:03:34,194 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/61b4def4-822c-4c5a-818c-94d5ef2e321b 2025-08-15 17:03:37,453 - 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 1020ms') 2025-08-15 17:03:37,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81919640-90490717 failed! 2025-08-15 17:03:37,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81919640:ctest-vn-70735648 is 168.156.189.1 and allocation pool is NOT set 2025-08-15 17:03:41,584 - 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 1012ms') 2025-08-15 17:03:41,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81919640-90490717 failed! 2025-08-15 17:03:41,635 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81919640:ctest-vn-70735648 is 168.156.189.1 and allocation pool is NOT set 2025-08-15 17:03:43,694 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 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 = 2.805/3.502/4.200/0.697 ms') 2025-08-15 17:03:43,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81919640-90490717 passed 2025-08-15 17:03:43,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:03:43,853 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81919640-90490717, IP 168.156.189.3, Port 22 2025-08-15 17:03:44,003 - DEBUG - VM ctest-TestRoutersBasic-81919640-90490717 is ready for SSH connections 2025-08-15 17:03:44,003 - INFO - Waiting for VM ctest-TestRoutersBasic-81919640-27305666 to be up.. 2025-08-15 17:03:44,067 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:03:44,067 - INFO - VM name : ctest-TestRoutersBasic-81919640-27305666 2025-08-15 17:03:44,126 - DEBUG - VM ctest-TestRoutersBasic-81919640-27305666 ID is ee02900d-9c38-4e48-a70a-bdeb3bb56c20 2025-08-15 17:03:44,127 - DEBUG - VM ctest-TestRoutersBasic-81919640-27305666 launched on Node cn-jenkins-deploy-platform-ansible-os-3867-1. 2025-08-15 17:03:44,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ee02900d-9c38-4e48-a70a-bdeb3bb56c20 2025-08-15 17:03:44,196 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7dde7d0f-79e4-4b76-8d8a-d1518329ef1e 2025-08-15 17:03:45,429 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.829/3.157/1.328 ms') 2025-08-15 17:03:45,429 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81919640-27305666 passed 2025-08-15 17:03:45,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:03:45,580 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81919640-27305666, IP 198.55.81.131, Port 22 2025-08-15 17:03:45,741 - DEBUG - VM ctest-TestRoutersBasic-81919640-27305666 is ready for SSH connections 2025-08-15 17:03:45,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:03:45,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.55.81.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 17:03:45,741 - DEBUG - ping -s 56 -c 3 -W 1 198.55.81.131 2025-08-15 17:03:49,414 - DEBUG - PING 198.55.81.131 (198.55.81.131): 56 data bytes 64 bytes from 198.55.81.131: seq=0 ttl=62 time=3.987 ms 64 bytes from 198.55.81.131: seq=1 ttl=62 time=0.787 ms 64 bytes from 198.55.81.131: seq=2 ttl=62 time=1.468 ms --- 198.55.81.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/2.080/3.987 ms 2025-08-15 17:03:49,414 - INFO - Ping to IP 198.55.81.131 from VM ctest-TestRoutersBasic-81919640-90490717 passed 2025-08-15 17:03:49,414 - INFO - Deleting interface with subnet_id 37d51bc1-5ef8-4754-bc1c-051325880011, port_id None from router 0305e09d-7cbf-4d1b-928b-6671df4d6d53 2025-08-15 17:03:49,580 - INFO - Deleting VM ctest-TestRoutersBasic-81919640-27305666 2025-08-15 17:03:49,638 - INFO - Deleting VM ctest-TestRoutersBasic-81919640-90490717 2025-08-15 17:03:49,705 - INFO - Deleting VN ctest-ext_vn-08541188 2025-08-15 17:03:49,763 - DEBUG - VN 6cbb4997-13ac-4691-8ad7-54e3c5c0ad3b still in use: Unable to complete operation on network 6cbb4997-13ac-4691-8ad7-54e3c5c0ad3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c7ece81-40e7-48ce-9703-90aaffc86b20'] 2025-08-15 17:03:49,763 - WARNING - Deleting VN ctest-ext_vn-08541188 failed..Will retry 2025-08-15 17:03:51,852 - DEBUG - Response for deleting network () 2025-08-15 17:03:51,852 - INFO - Deleting VN ctest-vn-70735648 2025-08-15 17:03:51,959 - DEBUG - Response for deleting network () 2025-08-15 17:03:52,217 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 17:03:52,217 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-15 17:03:52,217 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:03:52,845 - INFO - Deleted project: ctest-TestRoutersBasic-81919640, ID : 0a13f813-f0d9-4b5c-b2a4-e93e31d641b3