2025-06-17 14:52:44,597 - INFO - Domain Default found not creating 2025-06-17 14:52:44,783 - INFO - Project ctest-TestRoutersBasic-81505294 not found, creating it 2025-06-17 14:52:45,267 - INFO - Created Project:ctest-TestRoutersBasic-81505294, ID : 93e24db0-b773-4133-a525-82f26e7d6784 2025-06-17 14:52:47,485 - INFO - ================================================================================ 2025-06-17 14:52:47,485 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-17 14:52:47,485 - 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-17 14:52:47,743 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-17 14:52:47,743 - INFO - Initial checks done. Running the testcase now 2025-06-17 14:52:47,743 - INFO - 2025-06-17 14:52:48,445 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81505294 2025-06-17 14:52:48,545 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81505294 2025-06-17 14:52:48,872 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81505294', 'default']} 2025-06-17 14:52:49,204 - DEBUG - Response for create_network : {'network': {'id': '6c29c0e6-a924-42b9-8e7e-4006708e45f5', 'name': 'ctest-vn-75868585', 'tenant_id': '93e24db0b7734133a52582f26e7d6784', 'project_id': '93e24db0b7734133a52582f26e7d6784', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81505294', 'ctest-vn-75868585'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 14:52:49,439 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fecf158b-64b3-4c1d-94dd-f5a66a57d141', 'name': '', 'tenant_id': '93e24db0b7734133a52582f26e7d6784', 'network_id': '6c29c0e6-a924-42b9-8e7e-4006708e45f5', 'ip_version': 4, 'cidr': '163.106.7.64/26', 'allocation_pools': [{'start': '163.106.7.66', 'end': '163.106.7.126'}], 'gateway_ip': '163.106.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.106.7.66', 'tags': [], 'project_id': '93e24db0b7734133a52582f26e7d6784'}} 2025-06-17 14:52:49,458 - INFO - Created VN ctest-vn-75868585 2025-06-17 14:52:49,513 - DEBUG - VN ctest-vn-75868585 UUID is 6c29c0e6-a924-42b9-8e7e-4006708e45f5 2025-06-17 14:52:49,863 - DEBUG - Response for create_network : {'network': {'id': '48728d0d-486c-441d-baaf-65ff307bd7c7', 'name': 'ctest-ext_vn-31298439', 'tenant_id': '93e24db0b7734133a52582f26e7d6784', 'project_id': '93e24db0b7734133a52582f26e7d6784', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81505294', 'ctest-ext_vn-31298439'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 14:52:50,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a769eb4-faac-42fa-8c64-30515f7d5cf2', 'name': '', 'tenant_id': '93e24db0b7734133a52582f26e7d6784', 'network_id': '48728d0d-486c-441d-baaf-65ff307bd7c7', 'ip_version': 4, 'cidr': '156.110.144.192/26', 'allocation_pools': [{'start': '156.110.144.194', 'end': '156.110.144.254'}], 'gateway_ip': '156.110.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.110.144.194', 'tags': [], 'project_id': '93e24db0b7734133a52582f26e7d6784'}} 2025-06-17 14:52:50,105 - INFO - Created VN ctest-ext_vn-31298439 2025-06-17 14:52:50,161 - DEBUG - VN ctest-ext_vn-31298439 UUID is 48728d0d-486c-441d-baaf-65ff307bd7c7 2025-06-17 14:52:50,359 - DEBUG - Services list from nova: [, , ] 2025-06-17 14:52:51,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3462-1) 2025-06-17 14:52:52,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3462-1) 2025-06-17 14:52:52,709 - INFO - Setting gateway for router 85e5aa94-4bcc-49bd-8ba6-06bc21f2977e to network 48728d0d-486c-441d-baaf-65ff307bd7c7 2025-06-17 14:52:52,776 - INFO - Adding interface with subnet_id fecf158b-64b3-4c1d-94dd-f5a66a57d141, port_id None to router 85e5aa94-4bcc-49bd-8ba6-06bc21f2977e 2025-06-17 14:52:53,193 - INFO - Waiting for VM ctest-TestRoutersBasic-81505294-85953708 to be up.. 2025-06-17 14:52:53,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 14:52:58,492 - DEBUG - VM is in ACTIVE state now 2025-06-17 14:52:58,492 - INFO - VM name : ctest-TestRoutersBasic-81505294-85953708 2025-06-17 14:52:58,587 - DEBUG - VM ctest-TestRoutersBasic-81505294-85953708 ID is b10b4525-5344-435e-9440-744f1248f828 2025-06-17 14:52:58,611 - DEBUG - VM ctest-TestRoutersBasic-81505294-85953708 launched on Node cn-jenkins-deploy-platform-ansible-os-3462-1 2025-06-17 14:52:58,699 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b10b4525-5344-435e-9440-744f1248f828 2025-06-17 14:52:59,006 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b10b4525-5344-435e-9440-744f1248f828 2025-06-17 14:52:59,063 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a7b03a5d-01dd-4017-a2d8-43e988c0edc7 2025-06-17 14:53:02,338 - 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 1014ms') 2025-06-17 14:53:02,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81505294-85953708 failed! 2025-06-17 14:53:02,397 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81505294:ctest-vn-75868585 is 163.106.7.65 and allocation pool is NOT set 2025-06-17 14:53:04,461 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.541 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.541/2.354/4.167/1.813 ms') 2025-06-17 14:53:04,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81505294-85953708 passed 2025-06-17 14:53:04,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 14:53:04,625 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81505294-85953708, IP 163.106.7.67, Port 22 2025-06-17 14:53:04,789 - DEBUG - VM ctest-TestRoutersBasic-81505294-85953708 is ready for SSH connections 2025-06-17 14:53:04,789 - INFO - Waiting for VM ctest-TestRoutersBasic-81505294-77312885 to be up.. 2025-06-17 14:53:04,885 - DEBUG - VM is in ACTIVE state now 2025-06-17 14:53:04,886 - INFO - VM name : ctest-TestRoutersBasic-81505294-77312885 2025-06-17 14:53:04,993 - DEBUG - VM ctest-TestRoutersBasic-81505294-77312885 ID is b0bdca7c-751e-4587-a56f-d548ce32b958 2025-06-17 14:53:04,993 - DEBUG - VM ctest-TestRoutersBasic-81505294-77312885 launched on Node cn-jenkins-deploy-platform-ansible-os-3462-1 2025-06-17 14:53:05,099 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0bdca7c-751e-4587-a56f-d548ce32b958 2025-06-17 14:53:05,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9c00870f-7e52-425c-b57d-373c6f86c8fd 2025-06-17 14:53:06,366 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 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.587/2.368/4.149/1.781 ms') 2025-06-17 14:53:06,366 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81505294-77312885 passed 2025-06-17 14:53:06,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 14:53:06,525 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81505294-77312885, IP 156.110.144.195, Port 22 2025-06-17 14:53:06,706 - DEBUG - VM ctest-TestRoutersBasic-81505294-77312885 is ready for SSH connections 2025-06-17 14:53:06,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 14:53:06,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.110.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-17 14:53:06,706 - DEBUG - ping -s 56 -c 3 -W 1 156.110.144.195 2025-06-17 14:53:10,871 - DEBUG - PING 156.110.144.195 (156.110.144.195): 56 data bytes 64 bytes from 156.110.144.195: seq=0 ttl=62 time=6.530 ms 64 bytes from 156.110.144.195: seq=1 ttl=62 time=1.154 ms 64 bytes from 156.110.144.195: seq=2 ttl=62 time=1.155 ms --- 156.110.144.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.154/2.946/6.530 ms 2025-06-17 14:53:10,871 - INFO - Ping to IP 156.110.144.195 from VM ctest-TestRoutersBasic-81505294-85953708 passed 2025-06-17 14:53:10,871 - INFO - Deleting interface with subnet_id fecf158b-64b3-4c1d-94dd-f5a66a57d141, port_id None from router 85e5aa94-4bcc-49bd-8ba6-06bc21f2977e 2025-06-17 14:53:11,148 - INFO - Deleting VM ctest-TestRoutersBasic-81505294-77312885 2025-06-17 14:53:11,274 - INFO - Deleting VM ctest-TestRoutersBasic-81505294-85953708 2025-06-17 14:53:11,378 - INFO - Deleting VN ctest-ext_vn-31298439 2025-06-17 14:53:11,456 - DEBUG - VN 48728d0d-486c-441d-baaf-65ff307bd7c7 still in use: Unable to complete operation on network 48728d0d-486c-441d-baaf-65ff307bd7c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f59143d-a654-4716-9933-30eecb161391'] 2025-06-17 14:53:11,456 - WARNING - Deleting VN ctest-ext_vn-31298439 failed..Will retry 2025-06-17 14:53:13,582 - DEBUG - Response for deleting network () 2025-06-17 14:53:13,583 - INFO - Deleting VN ctest-vn-75868585 2025-06-17 14:53:13,710 - DEBUG - Response for deleting network () 2025-06-17 14:53:13,971 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 14:53:13,971 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-17 14:53:13,971 - INFO - -------------------------------------------------------------------------------- 2025-06-17 14:53:14,719 - INFO - Deleted project: ctest-TestRoutersBasic-81505294, ID : 93e24db0-b773-4133-a525-82f26e7d6784