2025-09-01 17:24:01,047 - INFO - Domain Default found not creating 2025-09-01 17:24:01,185 - INFO - Project ctest-TestRoutersBasic-39967127 not found, creating it 2025-09-01 17:24:01,601 - INFO - Created Project:ctest-TestRoutersBasic-39967127, ID : 11ff1e54-2c42-4c15-8cb7-72815fc56959 2025-09-01 17:24:02,919 - INFO - ================================================================================ 2025-09-01 17:24:02,919 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-01 17:24:02,919 - 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-09-01 17:24:03,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-01 17:24:03,168 - INFO - Initial checks done. Running the testcase now 2025-09-01 17:24:03,168 - INFO - 2025-09-01 17:24:03,842 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39967127 2025-09-01 17:24:03,937 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39967127 2025-09-01 17:24:04,257 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39967127', 'default']} 2025-09-01 17:24:04,528 - DEBUG - Response for create_network : {'network': {'id': '55f7695a-86c1-4eb6-ba1d-65bcaf67d7c0', 'name': 'ctest-vn-97551306', 'tenant_id': '11ff1e542c424c158cb772815fc56959', 'project_id': '11ff1e542c424c158cb772815fc56959', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39967127', 'ctest-vn-97551306'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:24:04,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ebc96e7-fd6f-472a-bcd8-60ab271abdb4', 'name': '', 'tenant_id': '11ff1e542c424c158cb772815fc56959', 'network_id': '55f7695a-86c1-4eb6-ba1d-65bcaf67d7c0', 'ip_version': 4, 'cidr': '213.17.230.192/26', 'allocation_pools': [{'start': '213.17.230.194', 'end': '213.17.230.254'}], 'gateway_ip': '213.17.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.17.230.194', 'tags': [], 'project_id': '11ff1e542c424c158cb772815fc56959'}} 2025-09-01 17:24:04,730 - INFO - Created VN ctest-vn-97551306 2025-09-01 17:24:04,781 - DEBUG - VN ctest-vn-97551306 UUID is 55f7695a-86c1-4eb6-ba1d-65bcaf67d7c0 2025-09-01 17:24:05,087 - DEBUG - Response for create_network : {'network': {'id': '81e591e4-a1e5-4ba9-bd8a-86413be445c5', 'name': 'ctest-ext_vn-87904165', 'tenant_id': '11ff1e542c424c158cb772815fc56959', 'project_id': '11ff1e542c424c158cb772815fc56959', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39967127', 'ctest-ext_vn-87904165'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:24:05,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a0c9011-1a70-4363-9fd7-a52f5fe4acf4', 'name': '', 'tenant_id': '11ff1e542c424c158cb772815fc56959', 'network_id': '81e591e4-a1e5-4ba9-bd8a-86413be445c5', 'ip_version': 4, 'cidr': '172.126.174.64/26', 'allocation_pools': [{'start': '172.126.174.66', 'end': '172.126.174.126'}], 'gateway_ip': '172.126.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.126.174.66', 'tags': [], 'project_id': '11ff1e542c424c158cb772815fc56959'}} 2025-09-01 17:24:05,284 - INFO - Created VN ctest-ext_vn-87904165 2025-09-01 17:24:05,333 - DEBUG - VN ctest-ext_vn-87904165 UUID is 81e591e4-a1e5-4ba9-bd8a-86413be445c5 2025-09-01 17:24:05,494 - DEBUG - Services list from nova: [, , ] 2025-09-01 17:24:06,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1) 2025-09-01 17:24:07,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1) 2025-09-01 17:24:07,565 - INFO - Setting gateway for router 6b9d9d63-9cc4-4eae-b52b-875367dc4ff0 to network 81e591e4-a1e5-4ba9-bd8a-86413be445c5 2025-09-01 17:24:07,635 - INFO - Adding interface with subnet_id 6ebc96e7-fd6f-472a-bcd8-60ab271abdb4, port_id None to router 6b9d9d63-9cc4-4eae-b52b-875367dc4ff0 2025-09-01 17:24:07,941 - INFO - Waiting for VM ctest-TestRoutersBasic-39967127-73781165 to be up.. 2025-09-01 17:24:08,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-01 17:24:13,141 - DEBUG - VM is in ACTIVE state now 2025-09-01 17:24:13,141 - INFO - VM name : ctest-TestRoutersBasic-39967127-73781165 2025-09-01 17:24:13,204 - DEBUG - VM ctest-TestRoutersBasic-39967127-73781165 ID is 6c1aaf6e-526f-4f7d-9426-baa10649aa74 2025-09-01 17:24:13,221 - DEBUG - VM ctest-TestRoutersBasic-39967127-73781165 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1 2025-09-01 17:24:13,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6c1aaf6e-526f-4f7d-9426-baa10649aa74 2025-09-01 17:24:13,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6c1aaf6e-526f-4f7d-9426-baa10649aa74 2025-09-01 17:24:13,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/352d5ddc-e4d4-465e-a670-b33012b13ae2 2025-09-01 17:24:16,862 - 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 1031ms') 2025-09-01 17:24:16,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39967127-73781165 failed! 2025-09-01 17:24:16,921 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39967127:ctest-vn-97551306 is 213.17.230.193 and allocation pool is NOT set 2025-09-01 17:24:18,982 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.343 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.343/1.540/2.737/1.197 ms') 2025-09-01 17:24:18,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39967127-73781165 passed 2025-09-01 17:24:19,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:24:19,130 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39967127-73781165, IP 213.17.230.195, Port 22 2025-09-01 17:24:19,285 - DEBUG - VM ctest-TestRoutersBasic-39967127-73781165 is ready for SSH connections 2025-09-01 17:24:19,285 - INFO - Waiting for VM ctest-TestRoutersBasic-39967127-11949126 to be up.. 2025-09-01 17:24:19,350 - DEBUG - VM is in ACTIVE state now 2025-09-01 17:24:19,350 - INFO - VM name : ctest-TestRoutersBasic-39967127-11949126 2025-09-01 17:24:19,411 - DEBUG - VM ctest-TestRoutersBasic-39967127-11949126 ID is d3b9ae23-124f-426b-b0b4-5c4da4b99c24 2025-09-01 17:24:19,411 - DEBUG - VM ctest-TestRoutersBasic-39967127-11949126 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1 2025-09-01 17:24:19,470 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d3b9ae23-124f-426b-b0b4-5c4da4b99c24 2025-09-01 17:24:19,477 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f37c451-d4fa-4358-bce6-26308ec674e1 2025-09-01 17:24:20,708 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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 = 0.433/1.939/3.446/1.506 ms') 2025-09-01 17:24:20,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39967127-11949126 passed 2025-09-01 17:24:20,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:24:20,854 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39967127-11949126, IP 172.126.174.67, Port 22 2025-09-01 17:24:21,005 - DEBUG - VM ctest-TestRoutersBasic-39967127-11949126 is ready for SSH connections 2025-09-01 17:24:21,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:24:21,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.126.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:24:21,005 - DEBUG - ping -s 56 -c 3 -W 1 172.126.174.67 2025-09-01 17:24:24,953 - DEBUG - PING 172.126.174.67 (172.126.174.67): 56 data bytes 64 bytes from 172.126.174.67: seq=0 ttl=62 time=3.683 ms 64 bytes from 172.126.174.67: seq=1 ttl=62 time=0.775 ms 64 bytes from 172.126.174.67: seq=2 ttl=62 time=0.902 ms --- 172.126.174.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.786/3.683 ms 2025-09-01 17:24:24,953 - INFO - Ping to IP 172.126.174.67 from VM ctest-TestRoutersBasic-39967127-73781165 passed 2025-09-01 17:24:24,953 - INFO - Deleting interface with subnet_id 6ebc96e7-fd6f-472a-bcd8-60ab271abdb4, port_id None from router 6b9d9d63-9cc4-4eae-b52b-875367dc4ff0 2025-09-01 17:24:25,120 - INFO - Deleting VM ctest-TestRoutersBasic-39967127-11949126 2025-09-01 17:24:25,185 - INFO - Deleting VM ctest-TestRoutersBasic-39967127-73781165 2025-09-01 17:24:25,257 - INFO - Deleting VN ctest-ext_vn-87904165 2025-09-01 17:24:25,311 - DEBUG - VN 81e591e4-a1e5-4ba9-bd8a-86413be445c5 still in use: Unable to complete operation on network 81e591e4-a1e5-4ba9-bd8a-86413be445c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-87425ce2-cb59-4381-8b3c-b1b6b62259d1'] 2025-09-01 17:24:25,311 - WARNING - Deleting VN ctest-ext_vn-87904165 failed..Will retry 2025-09-01 17:24:27,401 - DEBUG - Response for deleting network () 2025-09-01 17:24:27,401 - INFO - Deleting VN ctest-vn-97551306 2025-09-01 17:24:27,491 - DEBUG - Response for deleting network () 2025-09-01 17:24:27,750 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 17:24:27,750 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-01 17:24:27,750 - INFO - -------------------------------------------------------------------------------- 2025-09-01 17:24:28,377 - INFO - Deleted project: ctest-TestRoutersBasic-39967127, ID : 11ff1e54-2c42-4c15-8cb7-72815fc56959