2025-05-06 08:23:20,155 - INFO - Domain Default found not creating 2025-05-06 08:23:20,271 - INFO - Project ctest-TestRoutersBasic-06983230 not found, creating it 2025-05-06 08:23:20,765 - INFO - Created Project:ctest-TestRoutersBasic-06983230, ID : 825aa861-630d-4b66-a384-61be2b32c9b2 2025-05-06 08:23:22,063 - INFO - ================================================================================ 2025-05-06 08:23:22,063 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-06 08:23:22,063 - 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-05-06 08:23:22,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-05-06 08:23:22,318 - INFO - Initial checks done. Running the testcase now 2025-05-06 08:23:22,318 - INFO - 2025-05-06 08:23:22,999 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06983230 2025-05-06 08:23:23,093 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06983230 2025-05-06 08:23:23,409 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06983230', 'default']} 2025-05-06 08:23:23,684 - DEBUG - Response for create_network : {'network': {'id': '89db7691-ec51-4d7a-a33d-9abe953641af', 'name': 'ctest-vn-38660608', 'tenant_id': '825aa861630d4b66a38461be2b32c9b2', 'project_id': '825aa861630d4b66a38461be2b32c9b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06983230', 'ctest-vn-38660608'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 08:23:23,889 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9df0b27-88e3-4114-9938-a61a8db1ed26', 'name': '', 'tenant_id': '825aa861630d4b66a38461be2b32c9b2', 'network_id': '89db7691-ec51-4d7a-a33d-9abe953641af', 'ip_version': 4, 'cidr': '206.113.220.64/26', 'allocation_pools': [{'start': '206.113.220.66', 'end': '206.113.220.126'}], 'gateway_ip': '206.113.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.113.220.66', 'tags': [], 'project_id': '825aa861630d4b66a38461be2b32c9b2'}} 2025-05-06 08:23:23,906 - INFO - Created VN ctest-vn-38660608 2025-05-06 08:23:23,957 - DEBUG - VN ctest-vn-38660608 UUID is 89db7691-ec51-4d7a-a33d-9abe953641af 2025-05-06 08:23:24,287 - DEBUG - Response for create_network : {'network': {'id': '22d4ec78-3ca4-4b56-a5f2-5c97a3069635', 'name': 'ctest-ext_vn-72322800', 'tenant_id': '825aa861630d4b66a38461be2b32c9b2', 'project_id': '825aa861630d4b66a38461be2b32c9b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06983230', 'ctest-ext_vn-72322800'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 08:23:24,464 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3aa863e-15ba-4c28-acca-80d8af02398b', 'name': '', 'tenant_id': '825aa861630d4b66a38461be2b32c9b2', 'network_id': '22d4ec78-3ca4-4b56-a5f2-5c97a3069635', 'ip_version': 4, 'cidr': '147.142.207.192/26', 'allocation_pools': [{'start': '147.142.207.194', 'end': '147.142.207.254'}], 'gateway_ip': '147.142.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.142.207.194', 'tags': [], 'project_id': '825aa861630d4b66a38461be2b32c9b2'}} 2025-05-06 08:23:24,479 - INFO - Created VN ctest-ext_vn-72322800 2025-05-06 08:23:24,528 - DEBUG - VN ctest-ext_vn-72322800 UUID is 22d4ec78-3ca4-4b56-a5f2-5c97a3069635 2025-05-06 08:23:24,717 - DEBUG - Services list from nova: [, , ] 2025-05-06 08:23:25,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3275-1) 2025-05-06 08:23:26,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3275-1) 2025-05-06 08:23:26,911 - INFO - Setting gateway for router 935054fe-cd32-47aa-8520-20f399bb61ab to network 22d4ec78-3ca4-4b56-a5f2-5c97a3069635 2025-05-06 08:23:26,994 - INFO - Adding interface with subnet_id f9df0b27-88e3-4114-9938-a61a8db1ed26, port_id None to router 935054fe-cd32-47aa-8520-20f399bb61ab 2025-05-06 08:23:27,406 - INFO - Waiting for VM ctest-TestRoutersBasic-06983230-51245062 to be up.. 2025-05-06 08:23:27,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 08:23:32,619 - DEBUG - VM is in ACTIVE state now 2025-05-06 08:23:32,619 - INFO - VM name : ctest-TestRoutersBasic-06983230-51245062 2025-05-06 08:23:32,684 - DEBUG - VM ctest-TestRoutersBasic-06983230-51245062 ID is 9962c54e-1adb-4e35-8a96-4d724b18514b 2025-05-06 08:23:32,702 - DEBUG - VM ctest-TestRoutersBasic-06983230-51245062 launched on Node cn-jenkins-deploy-platform-ansible-os-3275-1 2025-05-06 08:23:32,766 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9962c54e-1adb-4e35-8a96-4d724b18514b 2025-05-06 08:23:33,055 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9962c54e-1adb-4e35-8a96-4d724b18514b 2025-05-06 08:23:33,083 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ca27d969-e852-4e63-864b-944b3fcf2983 2025-05-06 08:23:36,333 - 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=11.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 11.864/11.864/11.864/0.000 ms') 2025-05-06 08:23:36,333 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06983230-51245062 passed 2025-05-06 08:23:36,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:23:36,493 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06983230-51245062, IP 206.113.220.67, Port 22 2025-05-06 08:23:36,653 - DEBUG - VM ctest-TestRoutersBasic-06983230-51245062 is ready for SSH connections 2025-05-06 08:23:36,653 - INFO - Waiting for VM ctest-TestRoutersBasic-06983230-29923753 to be up.. 2025-05-06 08:23:36,722 - DEBUG - VM is in ACTIVE state now 2025-05-06 08:23:36,722 - INFO - VM name : ctest-TestRoutersBasic-06983230-29923753 2025-05-06 08:23:36,784 - DEBUG - VM ctest-TestRoutersBasic-06983230-29923753 ID is 3a9ec7c7-71e1-4660-b7ab-c35b5411ca53 2025-05-06 08:23:36,784 - DEBUG - VM ctest-TestRoutersBasic-06983230-29923753 launched on Node cn-jenkins-deploy-platform-ansible-os-3275-1 2025-05-06 08:23:36,854 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3a9ec7c7-71e1-4660-b7ab-c35b5411ca53 2025-05-06 08:23:36,865 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/11e715ec-e35b-404a-801e-c29abc10d349 2025-05-06 08:23:38,112 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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 = 1.832/3.273/4.715/1.441 ms') 2025-05-06 08:23:38,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06983230-29923753 passed 2025-05-06 08:23:38,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:23:38,261 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06983230-29923753, IP 147.142.207.195, Port 22 2025-05-06 08:23:38,416 - DEBUG - VM ctest-TestRoutersBasic-06983230-29923753 is ready for SSH connections 2025-05-06 08:23:38,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:23:38,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.142.207.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-05-06 08:23:38,416 - DEBUG - ping -s 56 -c 3 -W 1 147.142.207.195 2025-05-06 08:23:42,413 - DEBUG - PING 147.142.207.195 (147.142.207.195): 56 data bytes 64 bytes from 147.142.207.195: seq=0 ttl=62 time=4.363 ms 64 bytes from 147.142.207.195: seq=1 ttl=62 time=0.987 ms 64 bytes from 147.142.207.195: seq=2 ttl=62 time=1.106 ms --- 147.142.207.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/2.152/4.363 ms 2025-05-06 08:23:42,413 - INFO - Ping to IP 147.142.207.195 from VM ctest-TestRoutersBasic-06983230-51245062 passed 2025-05-06 08:23:42,413 - INFO - Deleting interface with subnet_id f9df0b27-88e3-4114-9938-a61a8db1ed26, port_id None from router 935054fe-cd32-47aa-8520-20f399bb61ab 2025-05-06 08:23:42,663 - INFO - Deleting VM ctest-TestRoutersBasic-06983230-29923753 2025-05-06 08:23:42,741 - INFO - Deleting VM ctest-TestRoutersBasic-06983230-51245062 2025-05-06 08:23:42,826 - INFO - Deleting VN ctest-ext_vn-72322800 2025-05-06 08:23:42,906 - DEBUG - VN 22d4ec78-3ca4-4b56-a5f2-5c97a3069635 still in use: Unable to complete operation on network 22d4ec78-3ca4-4b56-a5f2-5c97a3069635. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19479db0-f828-4ad3-88e2-63c5873b818f'] 2025-05-06 08:23:42,907 - WARNING - Deleting VN ctest-ext_vn-72322800 failed..Will retry 2025-05-06 08:23:44,995 - DEBUG - Response for deleting network () 2025-05-06 08:23:44,996 - INFO - Deleting VN ctest-vn-38660608 2025-05-06 08:23:45,082 - DEBUG - Response for deleting network () 2025-05-06 08:23:45,335 - DEBUG - No XMPP flaps were noticed during the test
2025-05-06 08:23:45,336 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-05-06 08:23:45,336 - INFO - -------------------------------------------------------------------------------- 2025-05-06 08:23:46,006 - INFO - Deleted project: ctest-TestRoutersBasic-06983230, ID : 825aa861-630d-4b66-a384-61be2b32c9b2