2025-06-20 15:20:23,549 - INFO - Domain Default found not creating 2025-06-20 15:20:23,712 - INFO - Project ctest-TestRoutersBasic-66212814 not found, creating it 2025-06-20 15:20:24,188 - INFO - Created Project:ctest-TestRoutersBasic-66212814, ID : 0565ef8b-d77f-43fe-a50f-2fd0d6480991 2025-06-20 15:20:25,732 - INFO - ================================================================================ 2025-06-20 15:20:25,732 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-20 15:20:25,732 - 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-06-20 15:20:25,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-06-20 15:20:25,987 - INFO - Initial checks done. Running the testcase now 2025-06-20 15:20:25,987 - INFO - 2025-06-20 15:20:26,676 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66212814 2025-06-20 15:20:26,773 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66212814 2025-06-20 15:20:27,096 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66212814', 'default']} 2025-06-20 15:20:27,393 - DEBUG - Response for create_network : {'network': {'id': '0d5a9a1c-ccd5-43f7-9573-78bedafc4c4d', 'name': 'ctest-vn-60191596', 'tenant_id': '0565ef8bd77f43fea50f2fd0d6480991', 'project_id': '0565ef8bd77f43fea50f2fd0d6480991', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66212814', 'ctest-vn-60191596'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 15:20:27,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1af6da6-a3ca-4844-b3ab-bf1595b29757', 'name': '', 'tenant_id': '0565ef8bd77f43fea50f2fd0d6480991', 'network_id': '0d5a9a1c-ccd5-43f7-9573-78bedafc4c4d', 'ip_version': 4, 'cidr': '33.87.157.128/26', 'allocation_pools': [{'start': '33.87.157.130', 'end': '33.87.157.190'}], 'gateway_ip': '33.87.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.87.157.130', 'tags': [], 'project_id': '0565ef8bd77f43fea50f2fd0d6480991'}} 2025-06-20 15:20:27,603 - INFO - Created VN ctest-vn-60191596 2025-06-20 15:20:27,657 - DEBUG - VN ctest-vn-60191596 UUID is 0d5a9a1c-ccd5-43f7-9573-78bedafc4c4d 2025-06-20 15:20:27,989 - DEBUG - Response for create_network : {'network': {'id': '10a81373-f902-4ea9-be88-d89a6921d084', 'name': 'ctest-ext_vn-08043650', 'tenant_id': '0565ef8bd77f43fea50f2fd0d6480991', 'project_id': '0565ef8bd77f43fea50f2fd0d6480991', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66212814', 'ctest-ext_vn-08043650'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 15:20:28,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fa65457-ccad-45a5-90ac-d0ae2f19bdfd', 'name': '', 'tenant_id': '0565ef8bd77f43fea50f2fd0d6480991', 'network_id': '10a81373-f902-4ea9-be88-d89a6921d084', 'ip_version': 4, 'cidr': '18.228.88.128/26', 'allocation_pools': [{'start': '18.228.88.130', 'end': '18.228.88.190'}], 'gateway_ip': '18.228.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.228.88.130', 'tags': [], 'project_id': '0565ef8bd77f43fea50f2fd0d6480991'}} 2025-06-20 15:20:28,166 - INFO - Created VN ctest-ext_vn-08043650 2025-06-20 15:20:28,217 - DEBUG - VN ctest-ext_vn-08043650 UUID is 10a81373-f902-4ea9-be88-d89a6921d084 2025-06-20 15:20:28,390 - DEBUG - Services list from nova: [, , ] 2025-06-20 15:20:29,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3508-1) 2025-06-20 15:20:30,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3508-1) 2025-06-20 15:20:30,613 - INFO - Setting gateway for router b98425d2-10de-4c5a-9d62-7172b47dccb1 to network 10a81373-f902-4ea9-be88-d89a6921d084 2025-06-20 15:20:30,681 - INFO - Adding interface with subnet_id c1af6da6-a3ca-4844-b3ab-bf1595b29757, port_id None to router b98425d2-10de-4c5a-9d62-7172b47dccb1 2025-06-20 15:20:31,093 - INFO - Waiting for VM ctest-TestRoutersBasic-66212814-92931830 to be up.. 2025-06-20 15:20:31,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 15:20:36,344 - DEBUG - VM is in ACTIVE state now 2025-06-20 15:20:36,344 - INFO - VM name : ctest-TestRoutersBasic-66212814-92931830 2025-06-20 15:20:36,417 - DEBUG - VM ctest-TestRoutersBasic-66212814-92931830 ID is cb69a151-9863-4262-91da-acbeef086f3d 2025-06-20 15:20:36,436 - DEBUG - VM ctest-TestRoutersBasic-66212814-92931830 launched on Node cn-jenkins-deploy-platform-ansible-os-3508-1 2025-06-20 15:20:36,507 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/cb69a151-9863-4262-91da-acbeef086f3d 2025-06-20 15:20:36,797 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/cb69a151-9863-4262-91da-acbeef086f3d 2025-06-20 15:20:36,837 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a0483e4f-353d-4fe7-9a6a-f5883115dc2c 2025-06-20 15:20:40,110 - 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 1031ms') 2025-06-20 15:20:40,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66212814-92931830 failed! 2025-06-20 15:20:40,165 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66212814:ctest-vn-60191596 is 33.87.157.129 and allocation pool is NOT set 2025-06-20 15:20:42,224 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.383/1.963/3.543/1.580 ms') 2025-06-20 15:20:42,224 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66212814-92931830 passed 2025-06-20 15:20:42,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:20:42,377 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66212814-92931830, IP 33.87.157.131, Port 22 2025-06-20 15:20:42,532 - DEBUG - VM ctest-TestRoutersBasic-66212814-92931830 is ready for SSH connections 2025-06-20 15:20:42,532 - INFO - Waiting for VM ctest-TestRoutersBasic-66212814-74767451 to be up.. 2025-06-20 15:20:42,608 - DEBUG - VM is in ACTIVE state now 2025-06-20 15:20:42,608 - INFO - VM name : ctest-TestRoutersBasic-66212814-74767451 2025-06-20 15:20:42,680 - DEBUG - VM ctest-TestRoutersBasic-66212814-74767451 ID is 1dfee219-e3fa-4288-8b7a-4e7915ee3277 2025-06-20 15:20:42,680 - DEBUG - VM ctest-TestRoutersBasic-66212814-74767451 launched on Node cn-jenkins-deploy-platform-ansible-os-3508-1 2025-06-20 15:20:42,753 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/1dfee219-e3fa-4288-8b7a-4e7915ee3277 2025-06-20 15:20:42,761 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d2489c40-856e-480b-89e6-55161dbc93cd 2025-06-20 15:20:44,019 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.803/3.297/1.493 ms') 2025-06-20 15:20:44,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66212814-74767451 passed 2025-06-20 15:20:44,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:20:44,169 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66212814-74767451, IP 18.228.88.131, Port 22 2025-06-20 15:20:44,334 - DEBUG - VM ctest-TestRoutersBasic-66212814-74767451 is ready for SSH connections 2025-06-20 15:20:44,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 15:20:44,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.228.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-06-20 15:20:44,334 - DEBUG - ping -s 56 -c 3 -W 1 18.228.88.131 2025-06-20 15:20:48,038 - DEBUG - PING 18.228.88.131 (18.228.88.131): 56 data bytes 64 bytes from 18.228.88.131: seq=0 ttl=62 time=5.856 ms 64 bytes from 18.228.88.131: seq=1 ttl=62 time=0.915 ms 64 bytes from 18.228.88.131: seq=2 ttl=62 time=0.973 ms --- 18.228.88.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/2.581/5.856 ms 2025-06-20 15:20:48,038 - INFO - Ping to IP 18.228.88.131 from VM ctest-TestRoutersBasic-66212814-92931830 passed 2025-06-20 15:20:48,038 - INFO - Deleting interface with subnet_id c1af6da6-a3ca-4844-b3ab-bf1595b29757, port_id None from router b98425d2-10de-4c5a-9d62-7172b47dccb1 2025-06-20 15:20:48,222 - INFO - Deleting VM ctest-TestRoutersBasic-66212814-74767451 2025-06-20 15:20:48,290 - INFO - Deleting VM ctest-TestRoutersBasic-66212814-92931830 2025-06-20 15:20:48,370 - INFO - Deleting VN ctest-ext_vn-08043650 2025-06-20 15:20:48,434 - DEBUG - VN 10a81373-f902-4ea9-be88-d89a6921d084 still in use: Unable to complete operation on network 10a81373-f902-4ea9-be88-d89a6921d084. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-250d9c76-31a0-4456-8c60-3a544631f1d3'] 2025-06-20 15:20:48,435 - WARNING - Deleting VN ctest-ext_vn-08043650 failed..Will retry 2025-06-20 15:20:50,544 - DEBUG - Response for deleting network () 2025-06-20 15:20:50,544 - INFO - Deleting VN ctest-vn-60191596 2025-06-20 15:20:50,640 - DEBUG - Response for deleting network () 2025-06-20 15:20:50,894 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 15:20:50,894 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-20 15:20:50,894 - INFO - -------------------------------------------------------------------------------- 2025-06-20 15:20:51,559 - INFO - Deleted project: ctest-TestRoutersBasic-66212814, ID : 0565ef8b-d77f-43fe-a50f-2fd0d6480991