2025-04-28 11:09:58,927 - INFO - Domain Default found not creating 2025-04-28 11:09:59,092 - INFO - Project ctest-TestRoutersBasic-16598788 not found, creating it 2025-04-28 11:09:59,564 - INFO - Created Project:ctest-TestRoutersBasic-16598788, ID : 7265aaa7-63d9-4c15-a8bc-917818f2cc7b 2025-04-28 11:10:01,073 - INFO - ================================================================================ 2025-04-28 11:10:01,073 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-28 11:10:01,073 - 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-28 11:10:01,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-28 11:10:01,333 - INFO - Initial checks done. Running the testcase now 2025-04-28 11:10:01,333 - INFO - 2025-04-28 11:10:02,107 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16598788 2025-04-28 11:10:02,203 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16598788 2025-04-28 11:10:02,530 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16598788', 'default']} 2025-04-28 11:10:02,821 - DEBUG - Response for create_network : {'network': {'id': '85815bf3-d22c-4ed4-82b7-45263b718d03', 'name': 'ctest-vn-46164142', 'tenant_id': '7265aaa763d94c15a8bc917818f2cc7b', 'project_id': '7265aaa763d94c15a8bc917818f2cc7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16598788', 'ctest-vn-46164142'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:10:03,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7a56b89-8fa8-4d28-b7fd-c585bc13d523', 'name': '', 'tenant_id': '7265aaa763d94c15a8bc917818f2cc7b', 'network_id': '85815bf3-d22c-4ed4-82b7-45263b718d03', 'ip_version': 4, 'cidr': '24.85.96.0/26', 'allocation_pools': [{'start': '24.85.96.2', 'end': '24.85.96.62'}], 'gateway_ip': '24.85.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.85.96.2', 'tags': [], 'project_id': '7265aaa763d94c15a8bc917818f2cc7b'}} 2025-04-28 11:10:03,024 - INFO - Created VN ctest-vn-46164142 2025-04-28 11:10:03,074 - DEBUG - VN ctest-vn-46164142 UUID is 85815bf3-d22c-4ed4-82b7-45263b718d03 2025-04-28 11:10:03,425 - DEBUG - Response for create_network : {'network': {'id': 'c80aab15-0760-48cc-8345-fefa1a161f72', 'name': 'ctest-ext_vn-20892314', 'tenant_id': '7265aaa763d94c15a8bc917818f2cc7b', 'project_id': '7265aaa763d94c15a8bc917818f2cc7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16598788', 'ctest-ext_vn-20892314'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:10:03,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '36a5ad5f-839c-414e-8de3-6a2f871ea03b', 'name': '', 'tenant_id': '7265aaa763d94c15a8bc917818f2cc7b', 'network_id': 'c80aab15-0760-48cc-8345-fefa1a161f72', 'ip_version': 4, 'cidr': '192.86.111.64/26', 'allocation_pools': [{'start': '192.86.111.66', 'end': '192.86.111.126'}], 'gateway_ip': '192.86.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.86.111.66', 'tags': [], 'project_id': '7265aaa763d94c15a8bc917818f2cc7b'}} 2025-04-28 11:10:03,599 - INFO - Created VN ctest-ext_vn-20892314 2025-04-28 11:10:03,651 - DEBUG - VN ctest-ext_vn-20892314 UUID is c80aab15-0760-48cc-8345-fefa1a161f72 2025-04-28 11:10:03,855 - DEBUG - Services list from nova: [, , ] 2025-04-28 11:10:05,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3237-1) 2025-04-28 11:10:06,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3237-1) 2025-04-28 11:10:06,366 - INFO - Setting gateway for router b6d9a66a-37c1-41f9-905b-f90afb0b32d3 to network c80aab15-0760-48cc-8345-fefa1a161f72 2025-04-28 11:10:06,428 - INFO - Adding interface with subnet_id f7a56b89-8fa8-4d28-b7fd-c585bc13d523, port_id None to router b6d9a66a-37c1-41f9-905b-f90afb0b32d3 2025-04-28 11:10:06,831 - INFO - Waiting for VM ctest-TestRoutersBasic-16598788-33208175 to be up.. 2025-04-28 11:10:07,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 11:10:12,091 - DEBUG - VM is in ACTIVE state now 2025-04-28 11:10:12,091 - INFO - VM name : ctest-TestRoutersBasic-16598788-33208175 2025-04-28 11:10:12,174 - DEBUG - VM ctest-TestRoutersBasic-16598788-33208175 ID is 181a64e9-5310-46f8-8dae-d24264c04244 2025-04-28 11:10:12,201 - DEBUG - VM ctest-TestRoutersBasic-16598788-33208175 launched on Node cn-jenkins-deploy-platform-ansible-os-3237-1 2025-04-28 11:10:12,301 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/181a64e9-5310-46f8-8dae-d24264c04244 2025-04-28 11:10:12,635 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/181a64e9-5310-46f8-8dae-d24264c04244 2025-04-28 11:10:12,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0620ec1f-9fe6-4501-9543-46e56f64e0b5 2025-04-28 11:10:15,934 - 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 1022ms') 2025-04-28 11:10:15,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16598788-33208175 failed! 2025-04-28 11:10:16,002 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16598788:ctest-vn-46164142 is 24.85.96.1 and allocation pool is NOT set 2025-04-28 11:10:18,060 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.764/3.127/1.362 ms') 2025-04-28 11:10:18,060 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16598788-33208175 passed 2025-04-28 11:10:18,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:10:18,211 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16598788-33208175, IP 24.85.96.3, Port 22 2025-04-28 11:10:18,373 - DEBUG - VM ctest-TestRoutersBasic-16598788-33208175 is ready for SSH connections 2025-04-28 11:10:18,374 - INFO - Waiting for VM ctest-TestRoutersBasic-16598788-12263034 to be up.. 2025-04-28 11:10:18,447 - DEBUG - VM is in ACTIVE state now 2025-04-28 11:10:18,447 - INFO - VM name : ctest-TestRoutersBasic-16598788-12263034 2025-04-28 11:10:18,516 - DEBUG - VM ctest-TestRoutersBasic-16598788-12263034 ID is 0355967f-76c8-4700-bb2d-89e09667f564 2025-04-28 11:10:18,516 - DEBUG - VM ctest-TestRoutersBasic-16598788-12263034 launched on Node cn-jenkins-deploy-platform-ansible-os-3237-1 2025-04-28 11:10:18,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0355967f-76c8-4700-bb2d-89e09667f564 2025-04-28 11:10:18,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/32128b5e-26cc-49a2-b847-2690f5272065 2025-04-28 11:10:19,839 - 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=4.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.991 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.991/2.562/4.134/1.571 ms') 2025-04-28 11:10:19,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16598788-12263034 passed 2025-04-28 11:10:19,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:10:19,987 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16598788-12263034, IP 192.86.111.67, Port 22 2025-04-28 11:10:20,150 - DEBUG - VM ctest-TestRoutersBasic-16598788-12263034 is ready for SSH connections 2025-04-28 11:10:20,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:10:20,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.86.111.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 11:10:20,151 - DEBUG - ping -s 56 -c 3 -W 1 192.86.111.67 2025-04-28 11:10:23,871 - DEBUG - PING 192.86.111.67 (192.86.111.67): 56 data bytes 64 bytes from 192.86.111.67: seq=0 ttl=62 time=4.689 ms 64 bytes from 192.86.111.67: seq=1 ttl=62 time=0.858 ms 64 bytes from 192.86.111.67: seq=2 ttl=62 time=1.064 ms --- 192.86.111.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/2.203/4.689 ms 2025-04-28 11:10:23,871 - INFO - Ping to IP 192.86.111.67 from VM ctest-TestRoutersBasic-16598788-33208175 passed 2025-04-28 11:10:23,872 - INFO - Deleting interface with subnet_id f7a56b89-8fa8-4d28-b7fd-c585bc13d523, port_id None from router b6d9a66a-37c1-41f9-905b-f90afb0b32d3 2025-04-28 11:10:24,125 - INFO - Deleting VM ctest-TestRoutersBasic-16598788-12263034 2025-04-28 11:10:24,187 - INFO - Deleting VM ctest-TestRoutersBasic-16598788-33208175 2025-04-28 11:10:24,269 - INFO - Deleting VN ctest-ext_vn-20892314 2025-04-28 11:10:24,342 - DEBUG - VN c80aab15-0760-48cc-8345-fefa1a161f72 still in use: Unable to complete operation on network c80aab15-0760-48cc-8345-fefa1a161f72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84140036-85af-4b3a-b981-fee33eac7a60'] 2025-04-28 11:10:24,342 - WARNING - Deleting VN ctest-ext_vn-20892314 failed..Will retry 2025-04-28 11:10:26,462 - DEBUG - Response for deleting network () 2025-04-28 11:10:26,462 - INFO - Deleting VN ctest-vn-46164142 2025-04-28 11:10:26,580 - DEBUG - Response for deleting network () 2025-04-28 11:10:26,840 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 11:10:26,840 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-04-28 11:10:26,840 - INFO - -------------------------------------------------------------------------------- 2025-04-28 11:10:27,554 - INFO - Deleted project: ctest-TestRoutersBasic-16598788, ID : 7265aaa7-63d9-4c15-a8bc-917818f2cc7b