2025-03-27 16:47:48,896 - INFO - Domain Default found not creating 2025-03-27 16:47:49,064 - INFO - Project ctest-TestRoutersBasic-33691181 not found, creating it 2025-03-27 16:47:49,579 - INFO - Created Project:ctest-TestRoutersBasic-33691181, ID : 97f8e2c7-3591-4b87-929e-283a85c6e076 2025-03-27 16:47:51,024 - INFO - ================================================================================ 2025-03-27 16:47:51,024 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-27 16:47:51,024 - 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-03-27 16:47:51,281 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.27': '0'}} with 2025-03-27 16:47:51,281 - INFO - Initial checks done. Running the testcase now 2025-03-27 16:47:51,281 - INFO - 2025-03-27 16:47:52,018 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33691181 2025-03-27 16:47:52,123 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33691181 2025-03-27 16:47:52,447 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33691181', 'default']} 2025-03-27 16:47:52,793 - DEBUG - Response for create_network : {'network': {'id': 'fe7fd50b-a196-49b9-9223-1261d7b3500e', 'name': 'ctest-vn-04512456', 'tenant_id': '97f8e2c735914b87929e283a85c6e076', 'project_id': '97f8e2c735914b87929e283a85c6e076', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33691181', 'ctest-vn-04512456'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:47:52,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '3add15d0-4722-476c-8888-410832be7c3e', 'name': '', 'tenant_id': '97f8e2c735914b87929e283a85c6e076', 'network_id': 'fe7fd50b-a196-49b9-9223-1261d7b3500e', 'ip_version': 4, 'cidr': '63.131.43.0/26', 'allocation_pools': [{'start': '63.131.43.2', 'end': '63.131.43.62'}], 'gateway_ip': '63.131.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.131.43.2', 'tags': [], 'project_id': '97f8e2c735914b87929e283a85c6e076'}} 2025-03-27 16:47:53,014 - INFO - Created VN ctest-vn-04512456 2025-03-27 16:47:53,067 - DEBUG - VN ctest-vn-04512456 UUID is fe7fd50b-a196-49b9-9223-1261d7b3500e 2025-03-27 16:47:53,408 - DEBUG - Response for create_network : {'network': {'id': '1a53b1f1-2db2-4960-96f3-557bc5ebc66e', 'name': 'ctest-ext_vn-51753940', 'tenant_id': '97f8e2c735914b87929e283a85c6e076', 'project_id': '97f8e2c735914b87929e283a85c6e076', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33691181', 'ctest-ext_vn-51753940'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:47:53,619 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f37fec24-0fdd-4668-ad65-6762a6206442', 'name': '', 'tenant_id': '97f8e2c735914b87929e283a85c6e076', 'network_id': '1a53b1f1-2db2-4960-96f3-557bc5ebc66e', 'ip_version': 4, 'cidr': '111.95.232.64/26', 'allocation_pools': [{'start': '111.95.232.66', 'end': '111.95.232.126'}], 'gateway_ip': '111.95.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.95.232.66', 'tags': [], 'project_id': '97f8e2c735914b87929e283a85c6e076'}} 2025-03-27 16:47:53,641 - INFO - Created VN ctest-ext_vn-51753940 2025-03-27 16:47:53,699 - DEBUG - VN ctest-ext_vn-51753940 UUID is 1a53b1f1-2db2-4960-96f3-557bc5ebc66e 2025-03-27 16:47:53,865 - DEBUG - Services list from nova: [, , ] 2025-03-27 16:47:54,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2982-1) 2025-03-27 16:47:56,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2982-1) 2025-03-27 16:47:56,184 - INFO - Setting gateway for router bbb3846b-34e3-454c-b81e-52b0efe72234 to network 1a53b1f1-2db2-4960-96f3-557bc5ebc66e 2025-03-27 16:47:56,269 - INFO - Adding interface with subnet_id 3add15d0-4722-476c-8888-410832be7c3e, port_id None to router bbb3846b-34e3-454c-b81e-52b0efe72234 2025-03-27 16:47:56,755 - INFO - Waiting for VM ctest-TestRoutersBasic-33691181-17386480 to be up.. 2025-03-27 16:47:56,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 16:48:02,019 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:48:02,019 - INFO - VM name : ctest-TestRoutersBasic-33691181-17386480 2025-03-27 16:48:02,113 - DEBUG - VM ctest-TestRoutersBasic-33691181-17386480 ID is fa5123f6-1318-41e2-9e61-bfbd48cfa601 2025-03-27 16:48:02,137 - DEBUG - VM ctest-TestRoutersBasic-33691181-17386480 launched on Node cn-jenkins-deploy-platform-ansible-os-2982-1 2025-03-27 16:48:02,230 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/fa5123f6-1318-41e2-9e61-bfbd48cfa601 2025-03-27 16:48:02,524 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/fa5123f6-1318-41e2-9e61-bfbd48cfa601 2025-03-27 16:48:02,563 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/378c6f22-92ea-47fb-9ad6-2eadc8cb86b7 2025-03-27 16:48:05,828 - 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 1024ms') 2025-03-27 16:48:05,828 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33691181-17386480 failed! 2025-03-27 16:48:05,883 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33691181:ctest-vn-04512456 is 63.131.43.1 and allocation pool is NOT set 2025-03-27 16:48:07,945 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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.531/1.909/3.287/1.378 ms') 2025-03-27 16:48:07,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33691181-17386480 passed 2025-03-27 16:48:08,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:08,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33691181-17386480, IP 63.131.43.3, Port 22 2025-03-27 16:48:08,270 - DEBUG - VM ctest-TestRoutersBasic-33691181-17386480 is ready for SSH connections 2025-03-27 16:48:08,270 - INFO - Waiting for VM ctest-TestRoutersBasic-33691181-91266695 to be up.. 2025-03-27 16:48:08,349 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:48:08,349 - INFO - VM name : ctest-TestRoutersBasic-33691181-91266695 2025-03-27 16:48:08,426 - DEBUG - VM ctest-TestRoutersBasic-33691181-91266695 ID is 75053212-91a3-40c8-8ee8-a76c14e9545b 2025-03-27 16:48:08,426 - DEBUG - VM ctest-TestRoutersBasic-33691181-91266695 launched on Node cn-jenkins-deploy-platform-ansible-os-2982-1 2025-03-27 16:48:08,512 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/75053212-91a3-40c8-8ee8-a76c14e9545b 2025-03-27 16:48:08,522 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/788de8c8-eb85-4dd0-aa08-1da60ef86f9b 2025-03-27 16:48:09,770 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/2.631/4.820/2.188 ms') 2025-03-27 16:48:09,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33691181-91266695 passed 2025-03-27 16:48:09,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:09,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33691181-91266695, IP 111.95.232.67, Port 22 2025-03-27 16:48:10,086 - DEBUG - VM ctest-TestRoutersBasic-33691181-91266695 is ready for SSH connections 2025-03-27 16:48:10,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:10,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.95.232.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-27 16:48:10,086 - DEBUG - ping -s 56 -c 3 -W 1 111.95.232.67 2025-03-27 16:48:13,812 - DEBUG - PING 111.95.232.67 (111.95.232.67): 56 data bytes 64 bytes from 111.95.232.67: seq=0 ttl=62 time=4.515 ms 64 bytes from 111.95.232.67: seq=1 ttl=62 time=1.039 ms 64 bytes from 111.95.232.67: seq=2 ttl=62 time=1.195 ms --- 111.95.232.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.039/2.249/4.515 ms 2025-03-27 16:48:13,812 - INFO - Ping to IP 111.95.232.67 from VM ctest-TestRoutersBasic-33691181-17386480 passed 2025-03-27 16:48:13,812 - INFO - Deleting interface with subnet_id 3add15d0-4722-476c-8888-410832be7c3e, port_id None from router bbb3846b-34e3-454c-b81e-52b0efe72234 2025-03-27 16:48:14,108 - INFO - Deleting VM ctest-TestRoutersBasic-33691181-91266695 2025-03-27 16:48:14,187 - INFO - Deleting VM ctest-TestRoutersBasic-33691181-17386480 2025-03-27 16:48:14,279 - INFO - Deleting VN ctest-ext_vn-51753940 2025-03-27 16:48:14,378 - DEBUG - VN 1a53b1f1-2db2-4960-96f3-557bc5ebc66e still in use: Unable to complete operation on network 1a53b1f1-2db2-4960-96f3-557bc5ebc66e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8858f049-d481-4169-8053-1fd03eaa8e7b'] 2025-03-27 16:48:14,378 - WARNING - Deleting VN ctest-ext_vn-51753940 failed..Will retry 2025-03-27 16:48:16,513 - DEBUG - Response for deleting network () 2025-03-27 16:48:16,514 - INFO - Deleting VN ctest-vn-04512456 2025-03-27 16:48:16,636 - DEBUG - Response for deleting network () 2025-03-27 16:48:16,897 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 16:48:16,897 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-03-27 16:48:16,897 - INFO - -------------------------------------------------------------------------------- 2025-03-27 16:48:17,616 - INFO - Deleted project: ctest-TestRoutersBasic-33691181, ID : 97f8e2c7-3591-4b87-929e-283a85c6e076