2025-07-22 20:59:22,149 - INFO - Domain Default found not creating
2025-07-22 20:59:22,292 - INFO - Project ctest-TestRoutersBasic-29791221 not found, creating it
2025-07-22 20:59:22,753 - INFO - Created Project:ctest-TestRoutersBasic-29791221, ID : b35f6715-a134-41ad-bc97-aa0a483d023b
2025-07-22 20:59:24,775 - INFO - ================================================================================
2025-07-22 20:59:24,775 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-22 20:59:24,776 - 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-07-22 20:59:25,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-07-22 20:59:25,043 - INFO - Initial checks done. Running the testcase now
2025-07-22 20:59:25,043 - INFO -
2025-07-22 20:59:25,748 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29791221
2025-07-22 20:59:25,846 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29791221
2025-07-22 20:59:26,182 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29791221', 'default']}
2025-07-22 20:59:26,466 - DEBUG - Response for create_network : {'network': {'id': '479d2ced-2188-4741-a66e-2433735876a9', 'name': 'ctest-vn-58975975', 'tenant_id': 'b35f6715a13441adbc97aa0a483d023b', 'project_id': 'b35f6715a13441adbc97aa0a483d023b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29791221', 'ctest-vn-58975975'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 20:59:26,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f1a4ae1-4f7b-4099-b07c-21eb30b3df10', 'name': '', 'tenant_id': 'b35f6715a13441adbc97aa0a483d023b', 'network_id': '479d2ced-2188-4741-a66e-2433735876a9', 'ip_version': 4, 'cidr': '213.217.44.64/26', 'allocation_pools': [{'start': '213.217.44.66', 'end': '213.217.44.126'}], 'gateway_ip': '213.217.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.217.44.66', 'tags': [], 'project_id': 'b35f6715a13441adbc97aa0a483d023b'}}
2025-07-22 20:59:26,682 - INFO - Created VN ctest-vn-58975975
2025-07-22 20:59:26,734 - DEBUG - VN ctest-vn-58975975 UUID is 479d2ced-2188-4741-a66e-2433735876a9
2025-07-22 20:59:27,050 - DEBUG - Response for create_network : {'network': {'id': '4fe0fa46-f740-4e4f-bbe1-1bb7f96f47ce', 'name': 'ctest-ext_vn-48366597', 'tenant_id': 'b35f6715a13441adbc97aa0a483d023b', 'project_id': 'b35f6715a13441adbc97aa0a483d023b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29791221', 'ctest-ext_vn-48366597'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 20:59:27,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '68f39165-5456-45fb-b382-ab2264b7d43c', 'name': '', 'tenant_id': 'b35f6715a13441adbc97aa0a483d023b', 'network_id': '4fe0fa46-f740-4e4f-bbe1-1bb7f96f47ce', 'ip_version': 4, 'cidr': '50.147.120.0/26', 'allocation_pools': [{'start': '50.147.120.2', 'end': '50.147.120.62'}], 'gateway_ip': '50.147.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.147.120.2', 'tags': [], 'project_id': 'b35f6715a13441adbc97aa0a483d023b'}}
2025-07-22 20:59:27,288 - INFO - Created VN ctest-ext_vn-48366597
2025-07-22 20:59:27,342 - DEBUG - VN ctest-ext_vn-48366597 UUID is 4fe0fa46-f740-4e4f-bbe1-1bb7f96f47ce
2025-07-22 20:59:27,534 - DEBUG - Services list from nova: [, , ]
2025-07-22 20:59:28,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1)
2025-07-22 20:59:29,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1)
2025-07-22 20:59:29,679 - INFO - Setting gateway for router 53d9b271-9039-4ad5-abdc-50d435144d0c to network 4fe0fa46-f740-4e4f-bbe1-1bb7f96f47ce
2025-07-22 20:59:29,754 - INFO - Adding interface with subnet_id 6f1a4ae1-4f7b-4099-b07c-21eb30b3df10, port_id None to router 53d9b271-9039-4ad5-abdc-50d435144d0c
2025-07-22 20:59:30,119 - INFO - Waiting for VM ctest-TestRoutersBasic-29791221-93135769 to be up..
2025-07-22 20:59:30,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 20:59:35,352 - DEBUG - VM is in ACTIVE state now
2025-07-22 20:59:35,353 - INFO - VM name : ctest-TestRoutersBasic-29791221-93135769
2025-07-22 20:59:35,425 - DEBUG - VM ctest-TestRoutersBasic-29791221-93135769 ID is 2e69f4ba-cd79-4135-9acc-406109d2cc60
2025-07-22 20:59:35,443 - DEBUG - VM ctest-TestRoutersBasic-29791221-93135769 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1
2025-07-22 20:59:35,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2e69f4ba-cd79-4135-9acc-406109d2cc60
2025-07-22 20:59:35,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2e69f4ba-cd79-4135-9acc-406109d2cc60
2025-07-22 20:59:35,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47534c8b-2120-46fa-9999-2f966dab8067
2025-07-22 20:59:39,107 - 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 1024ms')
2025-07-22 20:59:39,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29791221-93135769 failed!
2025-07-22 20:59:39,166 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29791221:ctest-vn-58975975 is 213.217.44.65 and allocation pool is NOT set
2025-07-22 20:59:41,226 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/1.664/2.805/1.141 ms')
2025-07-22 20:59:41,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29791221-93135769 passed
2025-07-22 20:59:41,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 20:59:41,386 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29791221-93135769, IP 213.217.44.67, Port 22
2025-07-22 20:59:41,537 - DEBUG - VM ctest-TestRoutersBasic-29791221-93135769 is ready for SSH connections
2025-07-22 20:59:41,537 - INFO - Waiting for VM ctest-TestRoutersBasic-29791221-39298570 to be up..
2025-07-22 20:59:41,617 - DEBUG - VM is in ACTIVE state now
2025-07-22 20:59:41,617 - INFO - VM name : ctest-TestRoutersBasic-29791221-39298570
2025-07-22 20:59:41,682 - DEBUG - VM ctest-TestRoutersBasic-29791221-39298570 ID is 4b03443b-2efc-4303-aad7-8732dd4bcf97
2025-07-22 20:59:41,683 - DEBUG - VM ctest-TestRoutersBasic-29791221-39298570 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1
2025-07-22 20:59:41,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4b03443b-2efc-4303-aad7-8732dd4bcf97
2025-07-22 20:59:41,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf177737-ecf4-4bc0-a331-91412b03e3cf
2025-07-22 20:59:43,006 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.801/3.188/1.386 ms')
2025-07-22 20:59:43,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29791221-39298570 passed
2025-07-22 20:59:43,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 20:59:43,166 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29791221-39298570, IP 50.147.120.3, Port 22
2025-07-22 20:59:43,321 - DEBUG - VM ctest-TestRoutersBasic-29791221-39298570 is ready for SSH connections
2025-07-22 20:59:43,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 20:59:43,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.147.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-07-22 20:59:43,321 - DEBUG - ping -s 56 -c 3 -W 1 50.147.120.3
2025-07-22 20:59:47,277 - DEBUG - PING 50.147.120.3 (50.147.120.3): 56 data bytes
64 bytes from 50.147.120.3: seq=0 ttl=62 time=4.055 ms
64 bytes from 50.147.120.3: seq=1 ttl=62 time=0.894 ms
64 bytes from 50.147.120.3: seq=2 ttl=62 time=0.958 ms
--- 50.147.120.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.894/1.969/4.055 ms
2025-07-22 20:59:47,277 - INFO - Ping to IP 50.147.120.3 from VM ctest-TestRoutersBasic-29791221-93135769 passed
2025-07-22 20:59:47,277 - INFO - Deleting interface with subnet_id 6f1a4ae1-4f7b-4099-b07c-21eb30b3df10, port_id None from router 53d9b271-9039-4ad5-abdc-50d435144d0c
2025-07-22 20:59:47,476 - INFO - Deleting VM ctest-TestRoutersBasic-29791221-39298570
2025-07-22 20:59:47,539 - INFO - Deleting VM ctest-TestRoutersBasic-29791221-93135769
2025-07-22 20:59:47,628 - INFO - Deleting VN ctest-ext_vn-48366597
2025-07-22 20:59:47,686 - DEBUG - VN 4fe0fa46-f740-4e4f-bbe1-1bb7f96f47ce still in use: Unable to complete operation on network 4fe0fa46-f740-4e4f-bbe1-1bb7f96f47ce. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f45de2bf-4d73-4a49-a739-ee6f7069ede1']
2025-07-22 20:59:47,686 - WARNING - Deleting VN ctest-ext_vn-48366597 failed..Will retry
2025-07-22 20:59:49,778 - DEBUG - Response for deleting network ()
2025-07-22 20:59:49,779 - INFO - Deleting VN ctest-vn-58975975
2025-07-22 20:59:49,897 - DEBUG - Response for deleting network ()
2025-07-22 20:59:50,155 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 20:59:50,155 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-22 20:59:50,155 - INFO - --------------------------------------------------------------------------------
2025-07-22 20:59:50,857 - INFO - Deleted project: ctest-TestRoutersBasic-29791221, ID : b35f6715-a134-41ad-bc97-aa0a483d023b