2025-01-13 09:14:17,166 - INFO - Domain Default found not creating
2025-01-13 09:14:17,331 - INFO - Project ctest-TestRoutersBasic-66691258 not found, creating it
2025-01-13 09:14:17,830 - INFO - Created Project:ctest-TestRoutersBasic-66691258, ID : 7b68fa19-f50b-484f-aa4d-2fd11abbe57f
2025-01-13 09:14:19,293 - INFO - ================================================================================
2025-01-13 09:14:19,293 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-13 09:14:19,293 - 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-01-13 09:14:19,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with
2025-01-13 09:14:19,551 - INFO - Initial checks done. Running the testcase now
2025-01-13 09:14:19,552 - INFO -
2025-01-13 09:14:20,261 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66691258
2025-01-13 09:14:20,362 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66691258
2025-01-13 09:14:20,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66691258', 'default']}
2025-01-13 09:14:21,003 - DEBUG - Response for create_network : {'network': {'id': '6d294496-23f8-4e42-aa42-8cdd3a215e4f', 'name': 'ctest-vn-74765413', 'tenant_id': '7b68fa19f50b484faa4d2fd11abbe57f', 'project_id': '7b68fa19f50b484faa4d2fd11abbe57f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66691258', 'ctest-vn-74765413'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 09:14:21,221 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd10ef768-abe7-4a1e-9688-b2344863153f', 'name': '', 'tenant_id': '7b68fa19f50b484faa4d2fd11abbe57f', 'network_id': '6d294496-23f8-4e42-aa42-8cdd3a215e4f', 'ip_version': 4, 'cidr': '162.229.84.192/26', 'allocation_pools': [{'start': '162.229.84.194', 'end': '162.229.84.254'}], 'gateway_ip': '162.229.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.229.84.194', 'tags': [], 'project_id': '7b68fa19f50b484faa4d2fd11abbe57f'}}
2025-01-13 09:14:21,240 - INFO - Created VN ctest-vn-74765413
2025-01-13 09:14:21,294 - DEBUG - VN ctest-vn-74765413 UUID is 6d294496-23f8-4e42-aa42-8cdd3a215e4f
2025-01-13 09:14:21,670 - DEBUG - Response for create_network : {'network': {'id': 'ba52e89d-bca4-46b8-a9b1-9767252f3693', 'name': 'ctest-ext_vn-86179431', 'tenant_id': '7b68fa19f50b484faa4d2fd11abbe57f', 'project_id': '7b68fa19f50b484faa4d2fd11abbe57f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66691258', 'ctest-ext_vn-86179431'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 09:14:21,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1648fb9-2512-4b62-98af-29479f16c3c6', 'name': '', 'tenant_id': '7b68fa19f50b484faa4d2fd11abbe57f', 'network_id': 'ba52e89d-bca4-46b8-a9b1-9767252f3693', 'ip_version': 4, 'cidr': '3.124.74.0/26', 'allocation_pools': [{'start': '3.124.74.2', 'end': '3.124.74.62'}], 'gateway_ip': '3.124.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.124.74.2', 'tags': [], 'project_id': '7b68fa19f50b484faa4d2fd11abbe57f'}}
2025-01-13 09:14:21,858 - INFO - Created VN ctest-ext_vn-86179431
2025-01-13 09:14:21,910 - DEBUG - VN ctest-ext_vn-86179431 UUID is ba52e89d-bca4-46b8-a9b1-9767252f3693
2025-01-13 09:14:22,086 - DEBUG - Services list from nova: [, , ]
2025-01-13 09:14:23,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2609-1)
2025-01-13 09:14:24,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2609-1)
2025-01-13 09:14:24,435 - INFO - Setting gateway for router 9f5f7950-d835-49fb-96ba-7e837596b1ba to network ba52e89d-bca4-46b8-a9b1-9767252f3693
2025-01-13 09:14:24,526 - INFO - Adding interface with subnet_id d10ef768-abe7-4a1e-9688-b2344863153f, port_id None to router 9f5f7950-d835-49fb-96ba-7e837596b1ba
2025-01-13 09:14:25,006 - INFO - Waiting for VM ctest-TestRoutersBasic-66691258-30030056 to be up..
2025-01-13 09:14:25,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 09:14:30,262 - DEBUG - VM is in ACTIVE state now
2025-01-13 09:14:30,263 - INFO - VM name : ctest-TestRoutersBasic-66691258-30030056
2025-01-13 09:14:30,351 - DEBUG - VM ctest-TestRoutersBasic-66691258-30030056 ID is 33e62636-d12f-4097-9264-675a9683e427
2025-01-13 09:14:30,371 - DEBUG - VM ctest-TestRoutersBasic-66691258-30030056 launched on Node cn-jenkins-deploy-platform-ansible-os-2609-1
2025-01-13 09:14:30,454 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/33e62636-d12f-4097-9264-675a9683e427
2025-01-13 09:14:30,751 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/33e62636-d12f-4097-9264-675a9683e427
2025-01-13 09:14:30,788 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/45c84c8f-1e55-45bb-a385-3869a32ce0df
2025-01-13 09:14:34,052 - 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 1020ms')
2025-01-13 09:14:34,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66691258-30030056 failed!
2025-01-13 09:14:34,106 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66691258:ctest-vn-74765413 is 162.229.84.193 and allocation pool is NOT set
2025-01-13 09:14:36,162 - 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=5.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/3.140/5.815/2.674 ms')
2025-01-13 09:14:36,162 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66691258-30030056 passed
2025-01-13 09:14:36,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 09:14:36,318 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66691258-30030056, IP 162.229.84.195, Port 22
2025-01-13 09:14:36,489 - DEBUG - VM ctest-TestRoutersBasic-66691258-30030056 is ready for SSH connections
2025-01-13 09:14:36,489 - INFO - Waiting for VM ctest-TestRoutersBasic-66691258-52431398 to be up..
2025-01-13 09:14:36,572 - DEBUG - VM is in ACTIVE state now
2025-01-13 09:14:36,572 - INFO - VM name : ctest-TestRoutersBasic-66691258-52431398
2025-01-13 09:14:36,653 - DEBUG - VM ctest-TestRoutersBasic-66691258-52431398 ID is 46e0a8ac-f486-4091-b082-8991b61b9169
2025-01-13 09:14:36,653 - DEBUG - VM ctest-TestRoutersBasic-66691258-52431398 launched on Node cn-jenkins-deploy-platform-ansible-os-2609-1
2025-01-13 09:14:36,736 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/46e0a8ac-f486-4091-b082-8991b61b9169
2025-01-13 09:14:36,746 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/89591238-72a2-4b40-9ced-fa6d07770de3
2025-01-13 09:14:37,991 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.435/1.859/3.283/1.424 ms')
2025-01-13 09:14:37,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66691258-52431398 passed
2025-01-13 09:14:38,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 09:14:38,146 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66691258-52431398, IP 3.124.74.3, Port 22
2025-01-13 09:14:38,310 - DEBUG - VM ctest-TestRoutersBasic-66691258-52431398 is ready for SSH connections
2025-01-13 09:14:38,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 09:14:38,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.124.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2025-01-13 09:14:38,310 - DEBUG - ping -s 56 -c 3 -W 1 3.124.74.3
2025-01-13 09:14:42,379 - DEBUG - PING 3.124.74.3 (3.124.74.3): 56 data bytes
64 bytes from 3.124.74.3: seq=0 ttl=62 time=4.987 ms
64 bytes from 3.124.74.3: seq=1 ttl=62 time=1.481 ms
64 bytes from 3.124.74.3: seq=2 ttl=62 time=1.469 ms
--- 3.124.74.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.469/2.645/4.987 ms
2025-01-13 09:14:42,379 - INFO - Ping to IP 3.124.74.3 from VM ctest-TestRoutersBasic-66691258-30030056 passed
2025-01-13 09:14:42,379 - INFO - Deleting interface with subnet_id d10ef768-abe7-4a1e-9688-b2344863153f, port_id None from router 9f5f7950-d835-49fb-96ba-7e837596b1ba
2025-01-13 09:14:42,589 - INFO - Deleting VM ctest-TestRoutersBasic-66691258-52431398
2025-01-13 09:14:42,659 - INFO - Deleting VM ctest-TestRoutersBasic-66691258-30030056
2025-01-13 09:14:42,735 - INFO - Deleting VN ctest-ext_vn-86179431
2025-01-13 09:14:42,793 - DEBUG - VN ba52e89d-bca4-46b8-a9b1-9767252f3693 still in use: Unable to complete operation on network ba52e89d-bca4-46b8-a9b1-9767252f3693. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5ffa1895-f4c1-448c-97df-9373e6465fa3']
2025-01-13 09:14:42,794 - WARNING - Deleting VN ctest-ext_vn-86179431 failed..Will retry
2025-01-13 09:14:45,095 - DEBUG - Response for deleting network ()
2025-01-13 09:14:45,096 - INFO - Deleting VN ctest-vn-74765413
2025-01-13 09:14:45,261 - DEBUG - Response for deleting network ()
2025-01-13 09:14:45,525 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 09:14:45,525 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-13 09:14:45,525 - INFO - --------------------------------------------------------------------------------
2025-01-13 09:14:46,228 - INFO - Deleted project: ctest-TestRoutersBasic-66691258, ID : 7b68fa19-f50b-484f-aa4d-2fd11abbe57f