2025-03-25 22:51:18,691 - INFO - Domain Default found not creating
2025-03-25 22:51:18,848 - INFO - Project ctest-TestRoutersBasic-56219237 not found, creating it
2025-03-25 22:51:19,318 - INFO - Created Project:ctest-TestRoutersBasic-56219237, ID : 81a2a5ac-3130-48b7-84fc-7abae297b20c
2025-03-25 22:51:20,739 - INFO - ================================================================================
2025-03-25 22:51:20,739 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-25 22:51:20,739 - 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-03-25 22:51:21,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.17': '0'}} with
2025-03-25 22:51:21,006 - INFO - Initial checks done. Running the testcase now
2025-03-25 22:51:21,006 - INFO -
2025-03-25 22:51:21,715 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56219237
2025-03-25 22:51:21,811 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56219237
2025-03-25 22:51:22,151 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56219237', 'default']}
2025-03-25 22:51:22,494 - DEBUG - Response for create_network : {'network': {'id': 'fd56b3b8-38bd-4c5f-9327-f9ada6290a71', 'name': 'ctest-vn-71219019', 'tenant_id': '81a2a5ac313048b784fc7abae297b20c', 'project_id': '81a2a5ac313048b784fc7abae297b20c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56219237', 'ctest-vn-71219019'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 22:51:22,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d74aab6-dc50-4dea-8e72-1a9f1c5499cd', 'name': '', 'tenant_id': '81a2a5ac313048b784fc7abae297b20c', 'network_id': 'fd56b3b8-38bd-4c5f-9327-f9ada6290a71', 'ip_version': 4, 'cidr': '30.108.255.192/26', 'allocation_pools': [{'start': '30.108.255.194', 'end': '30.108.255.254'}], 'gateway_ip': '30.108.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.108.255.194', 'tags': [], 'project_id': '81a2a5ac313048b784fc7abae297b20c'}}
2025-03-25 22:51:22,783 - INFO - Created VN ctest-vn-71219019
2025-03-25 22:51:22,839 - DEBUG - VN ctest-vn-71219019 UUID is fd56b3b8-38bd-4c5f-9327-f9ada6290a71
2025-03-25 22:51:23,191 - DEBUG - Response for create_network : {'network': {'id': '7c7fd99e-a252-4893-a522-4c98416873e0', 'name': 'ctest-ext_vn-83908765', 'tenant_id': '81a2a5ac313048b784fc7abae297b20c', 'project_id': '81a2a5ac313048b784fc7abae297b20c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56219237', 'ctest-ext_vn-83908765'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 22:51:23,400 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f09baac3-0dfc-4d3c-99ce-e585e12f594f', 'name': '', 'tenant_id': '81a2a5ac313048b784fc7abae297b20c', 'network_id': '7c7fd99e-a252-4893-a522-4c98416873e0', 'ip_version': 4, 'cidr': '147.72.47.64/26', 'allocation_pools': [{'start': '147.72.47.66', 'end': '147.72.47.126'}], 'gateway_ip': '147.72.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.72.47.66', 'tags': [], 'project_id': '81a2a5ac313048b784fc7abae297b20c'}}
2025-03-25 22:51:23,419 - INFO - Created VN ctest-ext_vn-83908765
2025-03-25 22:51:23,479 - DEBUG - VN ctest-ext_vn-83908765 UUID is 7c7fd99e-a252-4893-a522-4c98416873e0
2025-03-25 22:51:23,668 - DEBUG - Services list from nova: [, , ]
2025-03-25 22:51:24,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2953-1)
2025-03-25 22:51:25,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2953-1)
2025-03-25 22:51:25,987 - INFO - Setting gateway for router 41955673-5a3b-4604-8d18-d60593232c92 to network 7c7fd99e-a252-4893-a522-4c98416873e0
2025-03-25 22:51:26,060 - INFO - Adding interface with subnet_id 1d74aab6-dc50-4dea-8e72-1a9f1c5499cd, port_id None to router 41955673-5a3b-4604-8d18-d60593232c92
2025-03-25 22:51:26,568 - INFO - Waiting for VM ctest-TestRoutersBasic-56219237-30279104 to be up..
2025-03-25 22:51:26,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-25 22:51:31,807 - DEBUG - VM is in ACTIVE state now
2025-03-25 22:51:31,807 - INFO - VM name : ctest-TestRoutersBasic-56219237-30279104
2025-03-25 22:51:31,889 - DEBUG - VM ctest-TestRoutersBasic-56219237-30279104 ID is 7f8d9912-fa62-4673-9fd3-99d4d6b85806
2025-03-25 22:51:31,912 - DEBUG - VM ctest-TestRoutersBasic-56219237-30279104 launched on Node cn-jenkins-deploy-platform-ansible-os-2953-1
2025-03-25 22:51:32,000 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/7f8d9912-fa62-4673-9fd3-99d4d6b85806
2025-03-25 22:51:32,296 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/7f8d9912-fa62-4673-9fd3-99d4d6b85806
2025-03-25 22:51:32,336 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/92b12591-8201-494e-8c12-c32049b2979f
2025-03-25 22:51:35,614 - 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 1030ms')
2025-03-25 22:51:35,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56219237-30279104 failed!
2025-03-25 22:51:35,671 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56219237:ctest-vn-71219019 is 30.108.255.193 and allocation pool is NOT set
2025-03-25 22:51:37,733 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 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.537/1.876/3.216/1.339 ms')
2025-03-25 22:51:37,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56219237-30279104 passed
2025-03-25 22:51:37,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 22:51:37,891 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56219237-30279104, IP 30.108.255.195, Port 22
2025-03-25 22:51:38,051 - DEBUG - VM ctest-TestRoutersBasic-56219237-30279104 is ready for SSH connections
2025-03-25 22:51:38,051 - INFO - Waiting for VM ctest-TestRoutersBasic-56219237-89763663 to be up..
2025-03-25 22:51:38,136 - DEBUG - VM is in ACTIVE state now
2025-03-25 22:51:38,136 - INFO - VM name : ctest-TestRoutersBasic-56219237-89763663
2025-03-25 22:51:38,231 - DEBUG - VM ctest-TestRoutersBasic-56219237-89763663 ID is ac0d6612-97cb-4803-b109-de37ac3261f4
2025-03-25 22:51:38,231 - DEBUG - VM ctest-TestRoutersBasic-56219237-89763663 launched on Node cn-jenkins-deploy-platform-ansible-os-2953-1
2025-03-25 22:51:38,326 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/ac0d6612-97cb-4803-b109-de37ac3261f4
2025-03-25 22:51:38,337 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/aadb823e-1061-47c0-9ea4-81e231e32a81
2025-03-25 22:51:39,586 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 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.715/1.763/2.811/1.048 ms')
2025-03-25 22:51:39,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56219237-89763663 passed
2025-03-25 22:51:39,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 22:51:39,752 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56219237-89763663, IP 147.72.47.67, Port 22
2025-03-25 22:51:39,907 - DEBUG - VM ctest-TestRoutersBasic-56219237-89763663 is ready for SSH connections
2025-03-25 22:51:39,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 22:51:39,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.72.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-03-25 22:51:39,908 - DEBUG - ping -s 56 -c 3 -W 1 147.72.47.67
2025-03-25 22:51:43,637 - DEBUG - PING 147.72.47.67 (147.72.47.67): 56 data bytes
64 bytes from 147.72.47.67: seq=0 ttl=62 time=7.398 ms
64 bytes from 147.72.47.67: seq=1 ttl=62 time=1.010 ms
64 bytes from 147.72.47.67: seq=2 ttl=62 time=0.952 ms
--- 147.72.47.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.952/3.120/7.398 ms
2025-03-25 22:51:43,637 - INFO - Ping to IP 147.72.47.67 from VM ctest-TestRoutersBasic-56219237-30279104 passed
2025-03-25 22:51:43,637 - INFO - Deleting interface with subnet_id 1d74aab6-dc50-4dea-8e72-1a9f1c5499cd, port_id None from router 41955673-5a3b-4604-8d18-d60593232c92
2025-03-25 22:51:43,941 - INFO - Deleting VM ctest-TestRoutersBasic-56219237-89763663
2025-03-25 22:51:44,045 - INFO - Deleting VM ctest-TestRoutersBasic-56219237-30279104
2025-03-25 22:51:44,144 - INFO - Deleting VN ctest-ext_vn-83908765
2025-03-25 22:51:44,234 - DEBUG - VN 7c7fd99e-a252-4893-a522-4c98416873e0 still in use: Unable to complete operation on network 7c7fd99e-a252-4893-a522-4c98416873e0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6523ee45-8c3e-4d9c-ad97-7c285d7f9b7a']
2025-03-25 22:51:44,234 - WARNING - Deleting VN ctest-ext_vn-83908765 failed..Will retry
2025-03-25 22:51:46,339 - DEBUG - Response for deleting network ()
2025-03-25 22:51:46,339 - INFO - Deleting VN ctest-vn-71219019
2025-03-25 22:51:46,451 - DEBUG - Response for deleting network ()
2025-03-25 22:51:46,712 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 22:51:46,712 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-25 22:51:46,713 - INFO - --------------------------------------------------------------------------------
2025-03-25 22:51:47,365 - INFO - Deleted project: ctest-TestRoutersBasic-56219237, ID : 81a2a5ac-3130-48b7-84fc-7abae297b20c