2025-04-24 19:33:03,066 - INFO - Domain Default found not creating 2025-04-24 19:33:03,202 - INFO - Project ctest-TestRoutersBasic-06383027 not found, creating it 2025-04-24 19:33:03,692 - INFO - Created Project:ctest-TestRoutersBasic-06383027, ID : d0f04db2-98f3-4058-a5f6-388c105e5a5c 2025-04-24 19:33:05,224 - INFO - ================================================================================ 2025-04-24 19:33:05,224 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-24 19:33:05,224 - 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-24 19:33:05,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-24 19:33:05,494 - INFO - Initial checks done. Running the testcase now 2025-04-24 19:33:05,494 - INFO - 2025-04-24 19:33:06,287 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06383027 2025-04-24 19:33:06,382 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06383027 2025-04-24 19:33:06,709 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06383027', 'default']} 2025-04-24 19:33:07,013 - DEBUG - Response for create_network : {'network': {'id': '40227aaa-9094-4ffd-9a1e-cb5998754cee', 'name': 'ctest-vn-68030478', 'tenant_id': 'd0f04db298f34058a5f6388c105e5a5c', 'project_id': 'd0f04db298f34058a5f6388c105e5a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06383027', 'ctest-vn-68030478'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:33:07,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbdc0b52-86a0-4e6d-86ab-9dbf5c5d7c3e', 'name': '', 'tenant_id': 'd0f04db298f34058a5f6388c105e5a5c', 'network_id': '40227aaa-9094-4ffd-9a1e-cb5998754cee', 'ip_version': 4, 'cidr': '33.179.76.192/26', 'allocation_pools': [{'start': '33.179.76.194', 'end': '33.179.76.254'}], 'gateway_ip': '33.179.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.179.76.194', 'tags': [], 'project_id': 'd0f04db298f34058a5f6388c105e5a5c'}} 2025-04-24 19:33:07,195 - INFO - Created VN ctest-vn-68030478 2025-04-24 19:33:07,245 - DEBUG - VN ctest-vn-68030478 UUID is 40227aaa-9094-4ffd-9a1e-cb5998754cee 2025-04-24 19:33:07,614 - DEBUG - Response for create_network : {'network': {'id': '768f35de-b1d7-4c48-babf-c5967d881619', 'name': 'ctest-ext_vn-20988323', 'tenant_id': 'd0f04db298f34058a5f6388c105e5a5c', 'project_id': 'd0f04db298f34058a5f6388c105e5a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06383027', 'ctest-ext_vn-20988323'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:33:07,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b6eb4dc-1168-4f44-8a4d-c62a9055857a', 'name': '', 'tenant_id': 'd0f04db298f34058a5f6388c105e5a5c', 'network_id': '768f35de-b1d7-4c48-babf-c5967d881619', 'ip_version': 4, 'cidr': '83.31.223.128/26', 'allocation_pools': [{'start': '83.31.223.130', 'end': '83.31.223.190'}], 'gateway_ip': '83.31.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.31.223.130', 'tags': [], 'project_id': 'd0f04db298f34058a5f6388c105e5a5c'}} 2025-04-24 19:33:07,867 - INFO - Created VN ctest-ext_vn-20988323 2025-04-24 19:33:07,921 - DEBUG - VN ctest-ext_vn-20988323 UUID is 768f35de-b1d7-4c48-babf-c5967d881619 2025-04-24 19:33:08,119 - DEBUG - Services list from nova: [, , ] 2025-04-24 19:33:09,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3207-1) 2025-04-24 19:33:10,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3207-1) 2025-04-24 19:33:10,517 - INFO - Setting gateway for router f80aeeef-3da5-4610-9d79-afae9d6083ef to network 768f35de-b1d7-4c48-babf-c5967d881619 2025-04-24 19:33:10,589 - INFO - Adding interface with subnet_id fbdc0b52-86a0-4e6d-86ab-9dbf5c5d7c3e, port_id None to router f80aeeef-3da5-4610-9d79-afae9d6083ef 2025-04-24 19:33:11,067 - INFO - Waiting for VM ctest-TestRoutersBasic-06383027-36842331 to be up.. 2025-04-24 19:33:11,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 19:33:16,466 - DEBUG - VM is in ACTIVE state now 2025-04-24 19:33:16,466 - INFO - VM name : ctest-TestRoutersBasic-06383027-36842331 2025-04-24 19:33:16,612 - DEBUG - VM ctest-TestRoutersBasic-06383027-36842331 ID is d60b3e85-581b-4229-9d55-f7b96ddf3775 2025-04-24 19:33:16,639 - DEBUG - VM ctest-TestRoutersBasic-06383027-36842331 launched on Node cn-jenkins-deploy-platform-ansible-os-3207-1 2025-04-24 19:33:16,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d60b3e85-581b-4229-9d55-f7b96ddf3775 2025-04-24 19:33:17,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d60b3e85-581b-4229-9d55-f7b96ddf3775 2025-04-24 19:33:17,235 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/01ffa6da-ce48-49b2-bb6b-f0b07400e5b3 2025-04-24 19:33:20,492 - 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 1019ms') 2025-04-24 19:33:20,492 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06383027-36842331 failed! 2025-04-24 19:33:20,549 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06383027:ctest-vn-68030478 is 33.179.76.193 and allocation pool is NOT set 2025-04-24 19:33:22,614 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.604 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 = 0.604/1.900/3.196/1.296 ms') 2025-04-24 19:33:22,614 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06383027-36842331 passed 2025-04-24 19:33:22,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:22,769 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06383027-36842331, IP 33.179.76.195, Port 22 2025-04-24 19:33:22,929 - DEBUG - VM ctest-TestRoutersBasic-06383027-36842331 is ready for SSH connections 2025-04-24 19:33:22,929 - INFO - Waiting for VM ctest-TestRoutersBasic-06383027-89720853 to be up.. 2025-04-24 19:33:23,005 - DEBUG - VM is in ACTIVE state now 2025-04-24 19:33:23,006 - INFO - VM name : ctest-TestRoutersBasic-06383027-89720853 2025-04-24 19:33:23,078 - DEBUG - VM ctest-TestRoutersBasic-06383027-89720853 ID is 15b71dc9-e4c8-40b4-9d34-8342d0c6ed8b 2025-04-24 19:33:23,078 - DEBUG - VM ctest-TestRoutersBasic-06383027-89720853 launched on Node cn-jenkins-deploy-platform-ansible-os-3207-1 2025-04-24 19:33:23,149 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/15b71dc9-e4c8-40b4-9d34-8342d0c6ed8b 2025-04-24 19:33:23,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/160d8b4f-210b-48b3-ba2b-b9d882cb09a0 2025-04-24 19:33:24,397 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.843 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.843/2.398/3.953/1.555 ms') 2025-04-24 19:33:24,398 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06383027-89720853 passed 2025-04-24 19:33:24,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:24,553 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06383027-89720853, IP 83.31.223.131, Port 22 2025-04-24 19:33:24,713 - DEBUG - VM ctest-TestRoutersBasic-06383027-89720853 is ready for SSH connections 2025-04-24 19:33:24,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:24,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.31.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 19:33:24,713 - DEBUG - ping -s 56 -c 3 -W 1 83.31.223.131 2025-04-24 19:33:28,427 - DEBUG - PING 83.31.223.131 (83.31.223.131): 56 data bytes 64 bytes from 83.31.223.131: seq=0 ttl=62 time=8.177 ms 64 bytes from 83.31.223.131: seq=1 ttl=62 time=0.939 ms 64 bytes from 83.31.223.131: seq=2 ttl=62 time=0.690 ms --- 83.31.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/3.268/8.177 ms 2025-04-24 19:33:28,427 - INFO - Ping to IP 83.31.223.131 from VM ctest-TestRoutersBasic-06383027-36842331 passed 2025-04-24 19:33:28,427 - INFO - Deleting interface with subnet_id fbdc0b52-86a0-4e6d-86ab-9dbf5c5d7c3e, port_id None from router f80aeeef-3da5-4610-9d79-afae9d6083ef 2025-04-24 19:33:28,639 - INFO - Deleting VM ctest-TestRoutersBasic-06383027-89720853 2025-04-24 19:33:28,704 - INFO - Deleting VM ctest-TestRoutersBasic-06383027-36842331 2025-04-24 19:33:28,783 - INFO - Deleting VN ctest-ext_vn-20988323 2025-04-24 19:33:28,869 - DEBUG - VN 768f35de-b1d7-4c48-babf-c5967d881619 still in use: Unable to complete operation on network 768f35de-b1d7-4c48-babf-c5967d881619. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e674f35-48de-41a0-a070-3f27bd020d00'] 2025-04-24 19:33:28,869 - WARNING - Deleting VN ctest-ext_vn-20988323 failed..Will retry 2025-04-24 19:33:30,986 - DEBUG - Response for deleting network () 2025-04-24 19:33:30,986 - INFO - Deleting VN ctest-vn-68030478 2025-04-24 19:33:31,122 - DEBUG - Response for deleting network () 2025-04-24 19:33:31,380 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 19:33:31,380 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-24 19:33:31,380 - INFO - -------------------------------------------------------------------------------- 2025-04-24 19:33:32,089 - INFO - Deleted project: ctest-TestRoutersBasic-06383027, ID : d0f04db2-98f3-4058-a5f6-388c105e5a5c