2025-04-11 14:58:00,121 - INFO - Domain Default found not creating
2025-04-11 14:58:00,319 - INFO - Project ctest-TestRoutersBasic-65247035 not found, creating it
2025-04-11 14:58:00,843 - INFO - Created Project:ctest-TestRoutersBasic-65247035, ID : fa3ea19d-ff86-407b-9788-de8376a10335
2025-04-11 14:58:02,365 - INFO - ================================================================================
2025-04-11 14:58:02,365 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-11 14:58:02,365 - 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-04-11 14:58:02,641 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-11 14:58:02,641 - INFO - Initial checks done. Running the testcase now
2025-04-11 14:58:02,641 - INFO -
2025-04-11 14:58:03,383 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65247035
2025-04-11 14:58:03,483 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65247035
2025-04-11 14:58:03,811 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65247035', 'default']}
2025-04-11 14:58:04,133 - DEBUG - Response for create_network : {'network': {'id': 'b741fbb4-31eb-445e-83d6-e5b10364394a', 'name': 'ctest-vn-60942364', 'tenant_id': 'fa3ea19dff86407b9788de8376a10335', 'project_id': 'fa3ea19dff86407b9788de8376a10335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65247035', 'ctest-vn-60942364'], 'port_security_enabled': True, 'description': ''}}
2025-04-11 14:58:04,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '59822b11-3774-418e-af69-0702463563ca', 'name': '', 'tenant_id': 'fa3ea19dff86407b9788de8376a10335', 'network_id': 'b741fbb4-31eb-445e-83d6-e5b10364394a', 'ip_version': 4, 'cidr': '117.233.219.192/26', 'allocation_pools': [{'start': '117.233.219.194', 'end': '117.233.219.254'}], 'gateway_ip': '117.233.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.233.219.194', 'tags': [], 'project_id': 'fa3ea19dff86407b9788de8376a10335'}}
2025-04-11 14:58:04,422 - INFO - Created VN ctest-vn-60942364
2025-04-11 14:58:04,480 - DEBUG - VN ctest-vn-60942364 UUID is b741fbb4-31eb-445e-83d6-e5b10364394a
2025-04-11 14:58:04,838 - DEBUG - Response for create_network : {'network': {'id': '15623e3e-5583-46bc-a8e5-648a37af29ca', 'name': 'ctest-ext_vn-97070764', 'tenant_id': 'fa3ea19dff86407b9788de8376a10335', 'project_id': 'fa3ea19dff86407b9788de8376a10335', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65247035', 'ctest-ext_vn-97070764'], 'port_security_enabled': True, 'description': ''}}
2025-04-11 14:58:05,002 - DEBUG - Response for create_subnet : {'subnet': {'id': '21c4374b-81a5-40e9-aa97-9e0c22a327ce', 'name': '', 'tenant_id': 'fa3ea19dff86407b9788de8376a10335', 'network_id': '15623e3e-5583-46bc-a8e5-648a37af29ca', 'ip_version': 4, 'cidr': '6.62.247.192/26', 'allocation_pools': [{'start': '6.62.247.194', 'end': '6.62.247.254'}], 'gateway_ip': '6.62.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.62.247.194', 'tags': [], 'project_id': 'fa3ea19dff86407b9788de8376a10335'}}
2025-04-11 14:58:05,021 - INFO - Created VN ctest-ext_vn-97070764
2025-04-11 14:58:05,076 - DEBUG - VN ctest-ext_vn-97070764 UUID is 15623e3e-5583-46bc-a8e5-648a37af29ca
2025-04-11 14:58:05,265 - DEBUG - Services list from nova: [, , ]
2025-04-11 14:58:06,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3079-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3079-1)
2025-04-11 14:58:07,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3079-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3079-1)
2025-04-11 14:58:07,723 - INFO - Setting gateway for router 1eb898a0-2c1e-4c0f-803e-870cbcf77d6a to network 15623e3e-5583-46bc-a8e5-648a37af29ca
2025-04-11 14:58:07,813 - INFO - Adding interface with subnet_id 59822b11-3774-418e-af69-0702463563ca, port_id None to router 1eb898a0-2c1e-4c0f-803e-870cbcf77d6a
2025-04-11 14:58:08,383 - INFO - Waiting for VM ctest-TestRoutersBasic-65247035-49755212 to be up..
2025-04-11 14:58:08,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-11 14:58:13,669 - DEBUG - VM is in ACTIVE state now
2025-04-11 14:58:13,669 - INFO - VM name : ctest-TestRoutersBasic-65247035-49755212
2025-04-11 14:58:13,759 - DEBUG - VM ctest-TestRoutersBasic-65247035-49755212 ID is 306049ff-614a-43f7-a999-5e504e90271a
2025-04-11 14:58:13,785 - DEBUG - VM ctest-TestRoutersBasic-65247035-49755212 launched on Node cn-jenkins-deploy-platform-ansible-os-3079-1
2025-04-11 14:58:13,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/306049ff-614a-43f7-a999-5e504e90271a
2025-04-11 14:58:14,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/306049ff-614a-43f7-a999-5e504e90271a
2025-04-11 14:58:14,222 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bab334bc-3efc-4c15-92db-1ab477dea81d
2025-04-11 14:58:17,511 - 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 1029ms')
2025-04-11 14:58:17,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65247035-49755212 failed!
2025-04-11 14:58:17,571 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65247035:ctest-vn-60942364 is 117.233.219.193 and allocation pool is NOT set
2025-04-11 14:58:19,635 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 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.843/3.071/5.299/2.228 ms')
2025-04-11 14:58:19,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65247035-49755212 passed
2025-04-11 14:58:19,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-11 14:58:19,792 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65247035-49755212, IP 117.233.219.195, Port 22
2025-04-11 14:58:19,969 - DEBUG - VM ctest-TestRoutersBasic-65247035-49755212 is ready for SSH connections
2025-04-11 14:58:19,969 - INFO - Waiting for VM ctest-TestRoutersBasic-65247035-71175440 to be up..
2025-04-11 14:58:20,054 - DEBUG - VM is in ACTIVE state now
2025-04-11 14:58:20,054 - INFO - VM name : ctest-TestRoutersBasic-65247035-71175440
2025-04-11 14:58:20,148 - DEBUG - VM ctest-TestRoutersBasic-65247035-71175440 ID is a91f14f7-a25c-4886-a586-c757b10d83d1
2025-04-11 14:58:20,149 - DEBUG - VM ctest-TestRoutersBasic-65247035-71175440 launched on Node cn-jenkins-deploy-platform-ansible-os-3079-1
2025-04-11 14:58:20,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a91f14f7-a25c-4886-a586-c757b10d83d1
2025-04-11 14:58:20,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e69a3b70-61c3-426a-8a4d-eec0a1436352
2025-04-11 14:58:21,505 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.746/3.043/1.296 ms')
2025-04-11 14:58:21,505 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65247035-71175440 passed
2025-04-11 14:58:21,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-11 14:58:21,662 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65247035-71175440, IP 6.62.247.195, Port 22
2025-04-11 14:58:21,820 - DEBUG - VM ctest-TestRoutersBasic-65247035-71175440 is ready for SSH connections
2025-04-11 14:58:21,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-11 14:58:21,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.62.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-11 14:58:21,820 - DEBUG - ping -s 56 -c 3 -W 1 6.62.247.195
2025-04-11 14:58:25,512 - DEBUG - PING 6.62.247.195 (6.62.247.195): 56 data bytes
64 bytes from 6.62.247.195: seq=0 ttl=62 time=11.167 ms
64 bytes from 6.62.247.195: seq=1 ttl=62 time=0.981 ms
64 bytes from 6.62.247.195: seq=2 ttl=62 time=1.126 ms
--- 6.62.247.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.981/4.424/11.167 ms
2025-04-11 14:58:25,512 - INFO - Ping to IP 6.62.247.195 from VM ctest-TestRoutersBasic-65247035-49755212 passed
2025-04-11 14:58:25,512 - INFO - Deleting interface with subnet_id 59822b11-3774-418e-af69-0702463563ca, port_id None from router 1eb898a0-2c1e-4c0f-803e-870cbcf77d6a
2025-04-11 14:58:25,739 - INFO - Deleting VM ctest-TestRoutersBasic-65247035-71175440
2025-04-11 14:58:25,817 - INFO - Deleting VM ctest-TestRoutersBasic-65247035-49755212
2025-04-11 14:58:25,902 - INFO - Deleting VN ctest-ext_vn-97070764
2025-04-11 14:58:25,996 - DEBUG - VN 15623e3e-5583-46bc-a8e5-648a37af29ca still in use: Unable to complete operation on network 15623e3e-5583-46bc-a8e5-648a37af29ca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1172730a-1336-4710-96dc-eed11c5b5994']
2025-04-11 14:58:25,997 - WARNING - Deleting VN ctest-ext_vn-97070764 failed..Will retry
2025-04-11 14:58:28,136 - DEBUG - Response for deleting network ()
2025-04-11 14:58:28,136 - INFO - Deleting VN ctest-vn-60942364
2025-04-11 14:58:28,256 - DEBUG - Response for deleting network ()
2025-04-11 14:58:28,509 - DEBUG - No XMPP flaps were noticed during the test
2025-04-11 14:58:28,510 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-11 14:58:28,510 - INFO - --------------------------------------------------------------------------------
2025-04-11 14:58:29,246 - INFO - Deleted project: ctest-TestRoutersBasic-65247035, ID : fa3ea19d-ff86-407b-9788-de8376a10335