2025-04-22 12:41:02,302 - INFO - Domain Default found not creating
2025-04-22 12:41:02,440 - INFO - Project ctest-TestRoutersBasic-40342365 not found, creating it
2025-04-22 12:41:02,900 - INFO - Created Project:ctest-TestRoutersBasic-40342365, ID : be979dd1-9788-45a5-99e3-b09964501e1c
2025-04-22 12:41:04,245 - INFO - ================================================================================
2025-04-22 12:41:04,245 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-22 12:41:04,245 - 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-22 12:41:04,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-04-22 12:41:04,498 - INFO - Initial checks done. Running the testcase now
2025-04-22 12:41:04,498 - INFO -
2025-04-22 12:41:05,202 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40342365
2025-04-22 12:41:05,297 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40342365
2025-04-22 12:41:05,617 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40342365', 'default']}
2025-04-22 12:41:05,895 - DEBUG - Response for create_network : {'network': {'id': '951d5af3-af06-4f33-bad8-6bf4d3ecf4ae', 'name': 'ctest-vn-23037254', 'tenant_id': 'be979dd1978845a599e3b09964501e1c', 'project_id': 'be979dd1978845a599e3b09964501e1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40342365', 'ctest-vn-23037254'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 12:41:06,101 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c503c3b3-478b-41e4-b3c9-1f33307c2192', 'name': '', 'tenant_id': 'be979dd1978845a599e3b09964501e1c', 'network_id': '951d5af3-af06-4f33-bad8-6bf4d3ecf4ae', 'ip_version': 4, 'cidr': '111.96.239.128/26', 'allocation_pools': [{'start': '111.96.239.130', 'end': '111.96.239.190'}], 'gateway_ip': '111.96.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.96.239.130', 'tags': [], 'project_id': 'be979dd1978845a599e3b09964501e1c'}}
2025-04-22 12:41:06,117 - INFO - Created VN ctest-vn-23037254
2025-04-22 12:41:06,173 - DEBUG - VN ctest-vn-23037254 UUID is 951d5af3-af06-4f33-bad8-6bf4d3ecf4ae
2025-04-22 12:41:06,514 - DEBUG - Response for create_network : {'network': {'id': '8c074b59-0184-42f4-affc-66d29573c44c', 'name': 'ctest-ext_vn-13082442', 'tenant_id': 'be979dd1978845a599e3b09964501e1c', 'project_id': 'be979dd1978845a599e3b09964501e1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40342365', 'ctest-ext_vn-13082442'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 12:41:06,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '8617ed27-62a8-4fc5-8226-d14e2b4a3232', 'name': '', 'tenant_id': 'be979dd1978845a599e3b09964501e1c', 'network_id': '8c074b59-0184-42f4-affc-66d29573c44c', 'ip_version': 4, 'cidr': '118.233.155.0/26', 'allocation_pools': [{'start': '118.233.155.2', 'end': '118.233.155.62'}], 'gateway_ip': '118.233.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.233.155.2', 'tags': [], 'project_id': 'be979dd1978845a599e3b09964501e1c'}}
2025-04-22 12:41:06,684 - INFO - Created VN ctest-ext_vn-13082442
2025-04-22 12:41:06,737 - DEBUG - VN ctest-ext_vn-13082442 UUID is 8c074b59-0184-42f4-affc-66d29573c44c
2025-04-22 12:41:06,926 - DEBUG - Services list from nova: [, , ]
2025-04-22 12:41:07,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3161-1)
2025-04-22 12:41:09,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3161-1)
2025-04-22 12:41:09,163 - INFO - Setting gateway for router 28e0e3af-108b-4941-9350-30569e5a7b2c to network 8c074b59-0184-42f4-affc-66d29573c44c
2025-04-22 12:41:09,244 - INFO - Adding interface with subnet_id c503c3b3-478b-41e4-b3c9-1f33307c2192, port_id None to router 28e0e3af-108b-4941-9350-30569e5a7b2c
2025-04-22 12:41:09,788 - INFO - Waiting for VM ctest-TestRoutersBasic-40342365-47491396 to be up..
2025-04-22 12:41:09,887 - DEBUG - VM is in ACTIVE state now
2025-04-22 12:41:09,887 - INFO - VM name : ctest-TestRoutersBasic-40342365-47491396
2025-04-22 12:41:09,998 - DEBUG - VM ctest-TestRoutersBasic-40342365-47491396 ID is 3d95dc78-5efb-47ba-96e9-64a3202c462c
2025-04-22 12:41:10,016 - DEBUG - VM ctest-TestRoutersBasic-40342365-47491396 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1
2025-04-22 12:41:10,090 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3d95dc78-5efb-47ba-96e9-64a3202c462c
2025-04-22 12:41:10,391 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3d95dc78-5efb-47ba-96e9-64a3202c462c
2025-04-22 12:41:10,427 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1366b5be-09e2-4508-a7f2-2f8f67fa4d07
2025-04-22 12:41:13,718 - 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 1032ms')
2025-04-22 12:41:13,718 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40342365-47491396 failed!
2025-04-22 12:41:13,773 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40342365:ctest-vn-23037254 is 111.96.239.129 and allocation pool is NOT set
2025-04-22 12:41:17,855 - 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-04-22 12:41:17,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40342365-47491396 failed!
2025-04-22 12:41:17,909 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40342365:ctest-vn-23037254 is 111.96.239.129 and allocation pool is NOT set
2025-04-22 12:41:19,966 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.343 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.343/1.960/3.578/1.617 ms')
2025-04-22 12:41:19,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40342365-47491396 passed
2025-04-22 12:41:20,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 12:41:20,129 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40342365-47491396, IP 111.96.239.131, Port 22
2025-04-22 12:41:20,285 - DEBUG - VM ctest-TestRoutersBasic-40342365-47491396 is ready for SSH connections
2025-04-22 12:41:20,285 - INFO - Waiting for VM ctest-TestRoutersBasic-40342365-84978937 to be up..
2025-04-22 12:41:20,356 - DEBUG - VM is in ACTIVE state now
2025-04-22 12:41:20,356 - INFO - VM name : ctest-TestRoutersBasic-40342365-84978937
2025-04-22 12:41:20,418 - DEBUG - VM ctest-TestRoutersBasic-40342365-84978937 ID is a1dcbc24-109c-4df5-8798-66795a4e34ba
2025-04-22 12:41:20,418 - DEBUG - VM ctest-TestRoutersBasic-40342365-84978937 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1
2025-04-22 12:41:20,482 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a1dcbc24-109c-4df5-8798-66795a4e34ba
2025-04-22 12:41:20,489 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/531ec946-f22d-4791-9665-3af0e7ab7458
2025-04-22 12:41:21,717 - 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.338 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.338/1.574/2.810/1.236 ms')
2025-04-22 12:41:21,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40342365-84978937 passed
2025-04-22 12:41:21,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 12:41:21,865 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40342365-84978937, IP 118.233.155.3, Port 22
2025-04-22 12:41:22,016 - DEBUG - VM ctest-TestRoutersBasic-40342365-84978937 is ready for SSH connections
2025-04-22 12:41:22,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 12:41:22,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.233.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-04-22 12:41:22,016 - DEBUG - ping -s 56 -c 3 -W 1 118.233.155.3
2025-04-22 12:41:25,680 - DEBUG - PING 118.233.155.3 (118.233.155.3): 56 data bytes
64 bytes from 118.233.155.3: seq=0 ttl=62 time=3.540 ms
64 bytes from 118.233.155.3: seq=1 ttl=62 time=0.715 ms
64 bytes from 118.233.155.3: seq=2 ttl=62 time=0.712 ms
--- 118.233.155.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.712/1.655/3.540 ms
2025-04-22 12:41:25,680 - INFO - Ping to IP 118.233.155.3 from VM ctest-TestRoutersBasic-40342365-47491396 passed
2025-04-22 12:41:25,680 - INFO - Deleting interface with subnet_id c503c3b3-478b-41e4-b3c9-1f33307c2192, port_id None from router 28e0e3af-108b-4941-9350-30569e5a7b2c
2025-04-22 12:41:25,898 - INFO - Deleting VM ctest-TestRoutersBasic-40342365-84978937
2025-04-22 12:41:25,956 - INFO - Deleting VM ctest-TestRoutersBasic-40342365-47491396
2025-04-22 12:41:26,033 - INFO - Deleting VN ctest-ext_vn-13082442
2025-04-22 12:41:26,089 - DEBUG - VN 8c074b59-0184-42f4-affc-66d29573c44c still in use: Unable to complete operation on network 8c074b59-0184-42f4-affc-66d29573c44c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-34b35377-2990-47d6-926d-d2a899616dd5']
2025-04-22 12:41:26,089 - WARNING - Deleting VN ctest-ext_vn-13082442 failed..Will retry
2025-04-22 12:41:28,180 - DEBUG - Response for deleting network ()
2025-04-22 12:41:28,180 - INFO - Deleting VN ctest-vn-23037254
2025-04-22 12:41:28,268 - DEBUG - Response for deleting network ()
2025-04-22 12:41:28,526 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 12:41:28,526 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-04-22 12:41:28,526 - INFO - --------------------------------------------------------------------------------
2025-04-22 12:41:29,163 - INFO - Deleted project: ctest-TestRoutersBasic-40342365, ID : be979dd1-9788-45a5-99e3-b09964501e1c