2025-05-01 02:24:29,648 - INFO - Domain Default found not creating 2025-05-01 02:24:29,765 - INFO - Project ctest-TestRoutersBasic-71362289 not found, creating it 2025-05-01 02:24:30,267 - INFO - Created Project:ctest-TestRoutersBasic-71362289, ID : 66fac44a-bfbb-4e93-9f6a-376020f0ae72 2025-05-01 02:24:31,568 - INFO - ================================================================================ 2025-05-01 02:24:31,568 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-01 02:24:31,568 - 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-05-01 02:24:31,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-01 02:24:31,825 - INFO - Initial checks done. Running the testcase now 2025-05-01 02:24:31,825 - INFO - 2025-05-01 02:24:32,496 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71362289 2025-05-01 02:24:32,591 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71362289 2025-05-01 02:24:32,911 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71362289', 'default']} 2025-05-01 02:24:33,305 - DEBUG - Response for create_network : {'network': {'id': '2719188b-fd6f-450f-b817-e1371da76dfe', 'name': 'ctest-vn-72844928', 'tenant_id': '66fac44abfbb4e939f6a376020f0ae72', 'project_id': '66fac44abfbb4e939f6a376020f0ae72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71362289', 'ctest-vn-72844928'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:24:33,526 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc724a7c-eeb5-4a7c-9756-22e2413d8cc0', 'name': '', 'tenant_id': '66fac44abfbb4e939f6a376020f0ae72', 'network_id': '2719188b-fd6f-450f-b817-e1371da76dfe', 'ip_version': 4, 'cidr': '53.237.246.128/26', 'allocation_pools': [{'start': '53.237.246.130', 'end': '53.237.246.190'}], 'gateway_ip': '53.237.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.237.246.130', 'tags': [], 'project_id': '66fac44abfbb4e939f6a376020f0ae72'}} 2025-05-01 02:24:33,543 - INFO - Created VN ctest-vn-72844928 2025-05-01 02:24:33,595 - DEBUG - VN ctest-vn-72844928 UUID is 2719188b-fd6f-450f-b817-e1371da76dfe 2025-05-01 02:24:33,917 - DEBUG - Response for create_network : {'network': {'id': 'd40da8bd-40bf-4d75-86e9-16a81e87496d', 'name': 'ctest-ext_vn-18583128', 'tenant_id': '66fac44abfbb4e939f6a376020f0ae72', 'project_id': '66fac44abfbb4e939f6a376020f0ae72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71362289', 'ctest-ext_vn-18583128'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:24:34,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b21ba85-a9e2-41e8-8dab-5433b3e2f689', 'name': '', 'tenant_id': '66fac44abfbb4e939f6a376020f0ae72', 'network_id': 'd40da8bd-40bf-4d75-86e9-16a81e87496d', 'ip_version': 4, 'cidr': '102.248.189.128/26', 'allocation_pools': [{'start': '102.248.189.130', 'end': '102.248.189.190'}], 'gateway_ip': '102.248.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.248.189.130', 'tags': [], 'project_id': '66fac44abfbb4e939f6a376020f0ae72'}} 2025-05-01 02:24:34,114 - INFO - Created VN ctest-ext_vn-18583128 2025-05-01 02:24:34,167 - DEBUG - VN ctest-ext_vn-18583128 UUID is d40da8bd-40bf-4d75-86e9-16a81e87496d 2025-05-01 02:24:34,360 - DEBUG - Services list from nova: [, , ] 2025-05-01 02:24:35,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3255-1) 2025-05-01 02:24:36,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3255-1) 2025-05-01 02:24:36,423 - INFO - Setting gateway for router 9b41c0bb-7809-4b94-9f3f-295d7e9693d7 to network d40da8bd-40bf-4d75-86e9-16a81e87496d 2025-05-01 02:24:36,488 - INFO - Adding interface with subnet_id dc724a7c-eeb5-4a7c-9756-22e2413d8cc0, port_id None to router 9b41c0bb-7809-4b94-9f3f-295d7e9693d7 2025-05-01 02:24:36,857 - INFO - Waiting for VM ctest-TestRoutersBasic-71362289-17660802 to be up.. 2025-05-01 02:24:37,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-01 02:24:42,121 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:24:42,121 - INFO - VM name : ctest-TestRoutersBasic-71362289-17660802 2025-05-01 02:24:42,186 - DEBUG - VM ctest-TestRoutersBasic-71362289-17660802 ID is cc418901-92aa-41d3-beb9-97e00cc3718f 2025-05-01 02:24:42,202 - DEBUG - VM ctest-TestRoutersBasic-71362289-17660802 launched on Node cn-jenkins-deploy-platform-ansible-os-3255-1 2025-05-01 02:24:42,263 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc418901-92aa-41d3-beb9-97e00cc3718f 2025-05-01 02:24:42,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc418901-92aa-41d3-beb9-97e00cc3718f 2025-05-01 02:24:42,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/10f56c9e-46b8-4c61-b6d3-1adfdc48521a 2025-05-01 02:24:45,815 - 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=10.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 10.598/10.598/10.598/0.000 ms') 2025-05-01 02:24:45,815 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71362289-17660802 passed 2025-05-01 02:24:45,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:24:45,971 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71362289-17660802, IP 53.237.246.131, Port 22 2025-05-01 02:24:46,122 - DEBUG - VM ctest-TestRoutersBasic-71362289-17660802 is ready for SSH connections 2025-05-01 02:24:46,122 - INFO - Waiting for VM ctest-TestRoutersBasic-71362289-88191994 to be up.. 2025-05-01 02:24:46,189 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:24:46,189 - INFO - VM name : ctest-TestRoutersBasic-71362289-88191994 2025-05-01 02:24:46,254 - DEBUG - VM ctest-TestRoutersBasic-71362289-88191994 ID is c26c0af8-42d0-4dde-bd7c-95d8d313fb3d 2025-05-01 02:24:46,254 - DEBUG - VM ctest-TestRoutersBasic-71362289-88191994 launched on Node cn-jenkins-deploy-platform-ansible-os-3255-1 2025-05-01 02:24:46,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c26c0af8-42d0-4dde-bd7c-95d8d313fb3d 2025-05-01 02:24:46,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/68441bdd-ae0c-4654-aeb0-57b0ae0c6546 2025-05-01 02:24:47,559 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.508/2.619/1.110 ms') 2025-05-01 02:24:47,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71362289-88191994 passed 2025-05-01 02:24:47,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:24:47,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71362289-88191994, IP 102.248.189.131, Port 22 2025-05-01 02:24:47,867 - DEBUG - VM ctest-TestRoutersBasic-71362289-88191994 is ready for SSH connections 2025-05-01 02:24:47,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:24:47,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.248.189.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-01 02:24:47,867 - DEBUG - ping -s 56 -c 3 -W 1 102.248.189.131 2025-05-01 02:24:51,790 - DEBUG - PING 102.248.189.131 (102.248.189.131): 56 data bytes 64 bytes from 102.248.189.131: seq=0 ttl=62 time=6.736 ms 64 bytes from 102.248.189.131: seq=1 ttl=62 time=0.721 ms 64 bytes from 102.248.189.131: seq=2 ttl=62 time=0.743 ms --- 102.248.189.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/2.733/6.736 ms 2025-05-01 02:24:51,790 - INFO - Ping to IP 102.248.189.131 from VM ctest-TestRoutersBasic-71362289-17660802 passed 2025-05-01 02:24:51,791 - INFO - Deleting interface with subnet_id dc724a7c-eeb5-4a7c-9756-22e2413d8cc0, port_id None from router 9b41c0bb-7809-4b94-9f3f-295d7e9693d7 2025-05-01 02:24:51,964 - INFO - Deleting VM ctest-TestRoutersBasic-71362289-88191994 2025-05-01 02:24:52,024 - INFO - Deleting VM ctest-TestRoutersBasic-71362289-17660802 2025-05-01 02:24:52,087 - INFO - Deleting VN ctest-ext_vn-18583128 2025-05-01 02:24:52,152 - DEBUG - VN d40da8bd-40bf-4d75-86e9-16a81e87496d still in use: Unable to complete operation on network d40da8bd-40bf-4d75-86e9-16a81e87496d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d013f15-85e9-4a9f-9f6b-013651d2c8f6'] 2025-05-01 02:24:52,152 - WARNING - Deleting VN ctest-ext_vn-18583128 failed..Will retry 2025-05-01 02:24:54,238 - DEBUG - Response for deleting network () 2025-05-01 02:24:54,238 - INFO - Deleting VN ctest-vn-72844928 2025-05-01 02:24:54,340 - DEBUG - Response for deleting network () 2025-05-01 02:24:54,591 - DEBUG - No XMPP flaps were noticed during the test 2025-05-01 02:24:54,592 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-05-01 02:24:54,592 - INFO - -------------------------------------------------------------------------------- 2025-05-01 02:24:55,235 - INFO - Deleted project: ctest-TestRoutersBasic-71362289, ID : 66fac44a-bfbb-4e93-9f6a-376020f0ae72