2025-01-27 02:24:21,192 - INFO - Domain Default found not creating 2025-01-27 02:24:21,390 - INFO - Project ctest-TestRoutersBasic-56298312 not found, creating it 2025-01-27 02:24:21,911 - INFO - Created Project:ctest-TestRoutersBasic-56298312, ID : 89408878-1093-45bb-92b9-cc8b750bb386 2025-01-27 02:24:23,513 - INFO - ================================================================================ 2025-01-27 02:24:23,513 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-27 02:24:23,513 - 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-01-27 02:24:23,785 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-01-27 02:24:23,786 - INFO - Initial checks done. Running the testcase now 2025-01-27 02:24:23,786 - INFO - 2025-01-27 02:24:24,536 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56298312 2025-01-27 02:24:24,639 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56298312 2025-01-27 02:24:24,987 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56298312', 'default']} 2025-01-27 02:24:25,317 - DEBUG - Response for create_network : {'network': {'id': 'bbc5670e-d005-4594-a4d6-856012c88ac9', 'name': 'ctest-vn-33966149', 'tenant_id': '89408878109345bb92b9cc8b750bb386', 'project_id': '89408878109345bb92b9cc8b750bb386', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56298312', 'ctest-vn-33966149'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:24:25,509 - DEBUG - Response for create_subnet : {'subnet': {'id': '1176376b-421f-461d-a18d-3f4090d44e72', 'name': '', 'tenant_id': '89408878109345bb92b9cc8b750bb386', 'network_id': 'bbc5670e-d005-4594-a4d6-856012c88ac9', 'ip_version': 4, 'cidr': '118.58.98.0/26', 'allocation_pools': [{'start': '118.58.98.2', 'end': '118.58.98.62'}], 'gateway_ip': '118.58.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.58.98.2', 'tags': [], 'project_id': '89408878109345bb92b9cc8b750bb386'}} 2025-01-27 02:24:25,532 - INFO - Created VN ctest-vn-33966149 2025-01-27 02:24:25,591 - DEBUG - VN ctest-vn-33966149 UUID is bbc5670e-d005-4594-a4d6-856012c88ac9 2025-01-27 02:24:25,966 - DEBUG - Response for create_network : {'network': {'id': 'f28f6b03-1985-4a9b-8763-f937ae152047', 'name': 'ctest-ext_vn-07419231', 'tenant_id': '89408878109345bb92b9cc8b750bb386', 'project_id': '89408878109345bb92b9cc8b750bb386', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56298312', 'ctest-ext_vn-07419231'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:24:26,185 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9e43bde-653d-4831-a453-ddff47faafc8', 'name': '', 'tenant_id': '89408878109345bb92b9cc8b750bb386', 'network_id': 'f28f6b03-1985-4a9b-8763-f937ae152047', 'ip_version': 4, 'cidr': '169.139.244.64/26', 'allocation_pools': [{'start': '169.139.244.66', 'end': '169.139.244.126'}], 'gateway_ip': '169.139.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.139.244.66', 'tags': [], 'project_id': '89408878109345bb92b9cc8b750bb386'}} 2025-01-27 02:24:26,207 - INFO - Created VN ctest-ext_vn-07419231 2025-01-27 02:24:26,263 - DEBUG - VN ctest-ext_vn-07419231 UUID is f28f6b03-1985-4a9b-8763-f937ae152047 2025-01-27 02:24:26,462 - DEBUG - Services list from nova: [, , ] 2025-01-27 02:24:27,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2661-1) 2025-01-27 02:24:28,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2661-1) 2025-01-27 02:24:29,018 - INFO - Setting gateway for router cdc01169-8f08-4531-b4e9-a76dcc16f2ad to network f28f6b03-1985-4a9b-8763-f937ae152047 2025-01-27 02:24:29,090 - INFO - Adding interface with subnet_id 1176376b-421f-461d-a18d-3f4090d44e72, port_id None to router cdc01169-8f08-4531-b4e9-a76dcc16f2ad 2025-01-27 02:24:29,782 - INFO - Waiting for VM ctest-TestRoutersBasic-56298312-34401175 to be up.. 2025-01-27 02:24:30,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 02:24:35,112 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:24:35,112 - INFO - VM name : ctest-TestRoutersBasic-56298312-34401175 2025-01-27 02:24:35,209 - DEBUG - VM ctest-TestRoutersBasic-56298312-34401175 ID is e6d6a01b-b27f-4a3e-ab87-d5fca68ce5a5 2025-01-27 02:24:35,234 - DEBUG - VM ctest-TestRoutersBasic-56298312-34401175 launched on Node cn-jenkins-deploy-platform-ansible-os-2661-1. 2025-01-27 02:24:35,353 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e6d6a01b-b27f-4a3e-ab87-d5fca68ce5a5 2025-01-27 02:24:35,658 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e6d6a01b-b27f-4a3e-ab87-d5fca68ce5a5 2025-01-27 02:24:35,697 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c3735883-0002-49f6-89be-1488a72802d2 2025-01-27 02:24:38,969 - 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 1017ms') 2025-01-27 02:24:38,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56298312-34401175 failed! 2025-01-27 02:24:39,036 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56298312:ctest-vn-33966149 is 118.58.98.1 and allocation pool is NOT set 2025-01-27 02:24:41,096 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.602 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.602/2.203/3.804/1.601 ms') 2025-01-27 02:24:41,096 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56298312-34401175 passed 2025-01-27 02:24:41,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:24:41,255 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56298312-34401175, IP 118.58.98.3, Port 22 2025-01-27 02:24:41,411 - DEBUG - VM ctest-TestRoutersBasic-56298312-34401175 is ready for SSH connections 2025-01-27 02:24:41,411 - INFO - Waiting for VM ctest-TestRoutersBasic-56298312-28523810 to be up.. 2025-01-27 02:24:41,510 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:24:41,510 - INFO - VM name : ctest-TestRoutersBasic-56298312-28523810 2025-01-27 02:24:41,597 - DEBUG - VM ctest-TestRoutersBasic-56298312-28523810 ID is 0dc57401-e738-42bd-97d0-bced0b242865 2025-01-27 02:24:41,597 - DEBUG - VM ctest-TestRoutersBasic-56298312-28523810 launched on Node cn-jenkins-deploy-platform-ansible-os-2661-1. 2025-01-27 02:24:41,681 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0dc57401-e738-42bd-97d0-bced0b242865 2025-01-27 02:24:41,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c7a37fd9-a6fe-4cd9-9d13-ef5f370f0747 2025-01-27 02:24:42,951 - 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=5.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.325/3.372/5.419/2.047 ms') 2025-01-27 02:24:42,951 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56298312-28523810 passed 2025-01-27 02:24:43,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:24:43,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56298312-28523810, IP 169.139.244.67, Port 22 2025-01-27 02:24:43,267 - DEBUG - VM ctest-TestRoutersBasic-56298312-28523810 is ready for SSH connections 2025-01-27 02:24:43,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:24:43,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.139.244.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-27 02:24:43,267 - DEBUG - ping -s 56 -c 3 -W 1 169.139.244.67 2025-01-27 02:24:47,063 - DEBUG - PING 169.139.244.67 (169.139.244.67): 56 data bytes 64 bytes from 169.139.244.67: seq=0 ttl=62 time=6.367 ms 64 bytes from 169.139.244.67: seq=1 ttl=62 time=1.291 ms 64 bytes from 169.139.244.67: seq=2 ttl=62 time=1.074 ms --- 169.139.244.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.074/2.910/6.367 ms 2025-01-27 02:24:47,064 - INFO - Ping to IP 169.139.244.67 from VM ctest-TestRoutersBasic-56298312-34401175 passed 2025-01-27 02:24:47,064 - INFO - Deleting interface with subnet_id 1176376b-421f-461d-a18d-3f4090d44e72, port_id None from router cdc01169-8f08-4531-b4e9-a76dcc16f2ad 2025-01-27 02:24:47,356 - INFO - Deleting VM ctest-TestRoutersBasic-56298312-28523810 2025-01-27 02:24:47,452 - INFO - Deleting VM ctest-TestRoutersBasic-56298312-34401175 2025-01-27 02:24:47,560 - INFO - Deleting VN ctest-ext_vn-07419231 2025-01-27 02:24:47,652 - DEBUG - VN f28f6b03-1985-4a9b-8763-f937ae152047 still in use: Unable to complete operation on network f28f6b03-1985-4a9b-8763-f937ae152047. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7e0567e-c8ea-468d-92bb-dae000ea7713'] 2025-01-27 02:24:47,652 - WARNING - Deleting VN ctest-ext_vn-07419231 failed..Will retry 2025-01-27 02:24:49,789 - DEBUG - Response for deleting network () 2025-01-27 02:24:49,789 - INFO - Deleting VN ctest-vn-33966149 2025-01-27 02:24:50,113 - DEBUG - Response for deleting network () 2025-01-27 02:24:50,401 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 02:24:50,401 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-27 02:24:50,401 - INFO - -------------------------------------------------------------------------------- 2025-01-27 02:24:51,130 - INFO - Deleted project: ctest-TestRoutersBasic-56298312, ID : 89408878-1093-45bb-92b9-cc8b750bb386