2025-08-18 09:45:38,975 - INFO - Domain Default found not creating
2025-08-18 09:45:39,090 - INFO - Project ctest-TestRoutersBasic-10575125 not found, creating it
2025-08-18 09:45:39,538 - INFO - Created Project:ctest-TestRoutersBasic-10575125, ID : 6475db4a-bd9a-48e1-b9eb-ed5968ca10d3
2025-08-18 09:45:40,814 - INFO - ================================================================================
2025-08-18 09:45:40,814 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-18 09:45:40,814 - 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-08-18 09:45:41,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-18 09:45:41,071 - INFO - Initial checks done. Running the testcase now
2025-08-18 09:45:41,071 - INFO -
2025-08-18 09:45:41,736 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10575125
2025-08-18 09:45:41,830 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10575125
2025-08-18 09:45:42,150 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10575125', 'default']}
2025-08-18 09:45:42,407 - DEBUG - Response for create_network : {'network': {'id': '6efa1dc4-0f1c-4cc2-855c-5e81c3a945a5', 'name': 'ctest-vn-78860496', 'tenant_id': '6475db4abd9a48e1b9ebed5968ca10d3', 'project_id': '6475db4abd9a48e1b9ebed5968ca10d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10575125', 'ctest-vn-78860496'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 09:45:42,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a7f64b0-a8dd-4002-bf91-665eb657a916', 'name': '', 'tenant_id': '6475db4abd9a48e1b9ebed5968ca10d3', 'network_id': '6efa1dc4-0f1c-4cc2-855c-5e81c3a945a5', 'ip_version': 4, 'cidr': '177.19.245.0/26', 'allocation_pools': [{'start': '177.19.245.2', 'end': '177.19.245.62'}], 'gateway_ip': '177.19.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.19.245.2', 'tags': [], 'project_id': '6475db4abd9a48e1b9ebed5968ca10d3'}}
2025-08-18 09:45:42,563 - INFO - Created VN ctest-vn-78860496
2025-08-18 09:45:42,614 - DEBUG - VN ctest-vn-78860496 UUID is 6efa1dc4-0f1c-4cc2-855c-5e81c3a945a5
2025-08-18 09:45:42,921 - DEBUG - Response for create_network : {'network': {'id': 'c015afa2-da71-430d-b4af-9087744dd399', 'name': 'ctest-ext_vn-86743000', 'tenant_id': '6475db4abd9a48e1b9ebed5968ca10d3', 'project_id': '6475db4abd9a48e1b9ebed5968ca10d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10575125', 'ctest-ext_vn-86743000'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 09:45:43,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ae7e7f5-6e6c-4094-8a71-43a40785c9a6', 'name': '', 'tenant_id': '6475db4abd9a48e1b9ebed5968ca10d3', 'network_id': 'c015afa2-da71-430d-b4af-9087744dd399', 'ip_version': 4, 'cidr': '174.116.85.0/26', 'allocation_pools': [{'start': '174.116.85.2', 'end': '174.116.85.62'}], 'gateway_ip': '174.116.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.116.85.2', 'tags': [], 'project_id': '6475db4abd9a48e1b9ebed5968ca10d3'}}
2025-08-18 09:45:43,143 - INFO - Created VN ctest-ext_vn-86743000
2025-08-18 09:45:43,198 - DEBUG - VN ctest-ext_vn-86743000 UUID is c015afa2-da71-430d-b4af-9087744dd399
2025-08-18 09:45:43,372 - DEBUG - Services list from nova: [, , ]
2025-08-18 09:45:44,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1)
2025-08-18 09:45:45,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1)
2025-08-18 09:45:45,361 - INFO - Setting gateway for router 4a893b82-4ba3-4d12-9dd4-508c7ff19512 to network c015afa2-da71-430d-b4af-9087744dd399
2025-08-18 09:45:45,436 - INFO - Adding interface with subnet_id 5a7f64b0-a8dd-4002-bf91-665eb657a916, port_id None to router 4a893b82-4ba3-4d12-9dd4-508c7ff19512
2025-08-18 09:45:45,803 - INFO - Waiting for VM ctest-TestRoutersBasic-10575125-72579633 to be up..
2025-08-18 09:45:45,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 09:45:51,066 - DEBUG - VM is in ACTIVE state now
2025-08-18 09:45:51,066 - INFO - VM name : ctest-TestRoutersBasic-10575125-72579633
2025-08-18 09:45:51,126 - DEBUG - VM ctest-TestRoutersBasic-10575125-72579633 ID is 992b4e5a-237b-40b0-a4ff-db06a8950255
2025-08-18 09:45:51,143 - DEBUG - VM ctest-TestRoutersBasic-10575125-72579633 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1
2025-08-18 09:45:51,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/992b4e5a-237b-40b0-a4ff-db06a8950255
2025-08-18 09:45:51,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/992b4e5a-237b-40b0-a4ff-db06a8950255
2025-08-18 09:45:51,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d1826cdc-2254-4bbd-ab92-d39df7defd94
2025-08-18 09:45:54,782 - 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=4.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 4.057/4.057/4.057/0.000 ms')
2025-08-18 09:45:54,782 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10575125-72579633 passed
2025-08-18 09:45:54,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:45:54,934 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10575125-72579633, IP 177.19.245.3, Port 22
2025-08-18 09:45:55,093 - DEBUG - VM ctest-TestRoutersBasic-10575125-72579633 is ready for SSH connections
2025-08-18 09:45:55,093 - INFO - Waiting for VM ctest-TestRoutersBasic-10575125-81298799 to be up..
2025-08-18 09:45:55,171 - DEBUG - VM is in ACTIVE state now
2025-08-18 09:45:55,171 - INFO - VM name : ctest-TestRoutersBasic-10575125-81298799
2025-08-18 09:45:55,234 - DEBUG - VM ctest-TestRoutersBasic-10575125-81298799 ID is 6e75072a-aa42-460e-bfab-297b0fd70d64
2025-08-18 09:45:55,234 - DEBUG - VM ctest-TestRoutersBasic-10575125-81298799 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1
2025-08-18 09:45:55,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6e75072a-aa42-460e-bfab-297b0fd70d64
2025-08-18 09:45:55,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4df0ed92-908f-4d0f-9f71-c59fdb65b697
2025-08-18 09:45:56,521 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.308 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.308/1.326/2.344/1.018 ms')
2025-08-18 09:45:56,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10575125-81298799 passed
2025-08-18 09:45:56,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:45:56,670 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10575125-81298799, IP 174.116.85.3, Port 22
2025-08-18 09:45:56,825 - DEBUG - VM ctest-TestRoutersBasic-10575125-81298799 is ready for SSH connections
2025-08-18 09:45:56,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:45:56,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.116.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-18 09:45:56,825 - DEBUG - ping -s 56 -c 3 -W 1 174.116.85.3
2025-08-18 09:46:00,774 - DEBUG - PING 174.116.85.3 (174.116.85.3): 56 data bytes
64 bytes from 174.116.85.3: seq=0 ttl=62 time=4.281 ms
64 bytes from 174.116.85.3: seq=1 ttl=62 time=0.739 ms
64 bytes from 174.116.85.3: seq=2 ttl=62 time=0.881 ms
--- 174.116.85.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.739/1.967/4.281 ms
2025-08-18 09:46:00,774 - INFO - Ping to IP 174.116.85.3 from VM ctest-TestRoutersBasic-10575125-72579633 passed
2025-08-18 09:46:00,774 - INFO - Deleting interface with subnet_id 5a7f64b0-a8dd-4002-bf91-665eb657a916, port_id None from router 4a893b82-4ba3-4d12-9dd4-508c7ff19512
2025-08-18 09:46:00,934 - INFO - Deleting VM ctest-TestRoutersBasic-10575125-81298799
2025-08-18 09:46:00,993 - INFO - Deleting VM ctest-TestRoutersBasic-10575125-72579633
2025-08-18 09:46:01,048 - INFO - Deleting VN ctest-ext_vn-86743000
2025-08-18 09:46:01,104 - DEBUG - VN c015afa2-da71-430d-b4af-9087744dd399 still in use: Unable to complete operation on network c015afa2-da71-430d-b4af-9087744dd399. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1d723a2e-853d-43a4-9236-1cde02f29a12']
2025-08-18 09:46:01,104 - WARNING - Deleting VN ctest-ext_vn-86743000 failed..Will retry
2025-08-18 09:46:03,191 - DEBUG - Response for deleting network ()
2025-08-18 09:46:03,191 - INFO - Deleting VN ctest-vn-78860496
2025-08-18 09:46:03,284 - DEBUG - Response for deleting network ()
2025-08-18 09:46:03,543 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:46:03,543 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-18 09:46:03,543 - INFO - --------------------------------------------------------------------------------
2025-08-18 09:46:04,187 - INFO - Deleted project: ctest-TestRoutersBasic-10575125, ID : 6475db4a-bd9a-48e1-b9eb-ed5968ca10d3