2025-02-06 20:27:48,023 - INFO - Domain Default found not creating 2025-02-06 20:27:48,180 - INFO - Project ctest-TestRoutersBasic-09342465 not found, creating it 2025-02-06 20:27:48,637 - INFO - Created Project:ctest-TestRoutersBasic-09342465, ID : 82caa22f-f53d-412a-9508-bbb114a19d61 2025-02-06 20:27:50,168 - INFO - ================================================================================ 2025-02-06 20:27:50,169 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-06 20:27:50,169 - 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-02-06 20:27:50,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.10': '0'}} with 2025-02-06 20:27:50,436 - INFO - Initial checks done. Running the testcase now 2025-02-06 20:27:50,436 - INFO - 2025-02-06 20:27:51,222 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09342465 2025-02-06 20:27:51,318 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09342465 2025-02-06 20:27:51,650 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09342465', 'default']} 2025-02-06 20:27:52,001 - DEBUG - Response for create_network : {'network': {'id': '2a5d5f4c-ff1f-489d-aa9d-90fc0020d04e', 'name': 'ctest-vn-94241557', 'tenant_id': '82caa22ff53d412a9508bbb114a19d61', 'project_id': '82caa22ff53d412a9508bbb114a19d61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09342465', 'ctest-vn-94241557'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 20:27:52,176 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e7e772-1d9e-4c0c-81ca-cbcd66d8d8ec', 'name': '', 'tenant_id': '82caa22ff53d412a9508bbb114a19d61', 'network_id': '2a5d5f4c-ff1f-489d-aa9d-90fc0020d04e', 'ip_version': 4, 'cidr': '28.244.78.128/26', 'allocation_pools': [{'start': '28.244.78.130', 'end': '28.244.78.190'}], 'gateway_ip': '28.244.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.244.78.130', 'tags': [], 'project_id': '82caa22ff53d412a9508bbb114a19d61'}} 2025-02-06 20:27:52,193 - INFO - Created VN ctest-vn-94241557 2025-02-06 20:27:52,246 - DEBUG - VN ctest-vn-94241557 UUID is 2a5d5f4c-ff1f-489d-aa9d-90fc0020d04e 2025-02-06 20:27:52,595 - DEBUG - Response for create_network : {'network': {'id': '3775395e-4517-4e54-99d4-2ef8c1e906fd', 'name': 'ctest-ext_vn-84087405', 'tenant_id': '82caa22ff53d412a9508bbb114a19d61', 'project_id': '82caa22ff53d412a9508bbb114a19d61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09342465', 'ctest-ext_vn-84087405'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 20:27:52,798 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdf59c0d-46c6-4038-aa6c-c0072bb7040e', 'name': '', 'tenant_id': '82caa22ff53d412a9508bbb114a19d61', 'network_id': '3775395e-4517-4e54-99d4-2ef8c1e906fd', 'ip_version': 4, 'cidr': '101.45.150.0/26', 'allocation_pools': [{'start': '101.45.150.2', 'end': '101.45.150.62'}], 'gateway_ip': '101.45.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.45.150.2', 'tags': [], 'project_id': '82caa22ff53d412a9508bbb114a19d61'}} 2025-02-06 20:27:52,818 - INFO - Created VN ctest-ext_vn-84087405 2025-02-06 20:27:52,874 - DEBUG - VN ctest-ext_vn-84087405 UUID is 3775395e-4517-4e54-99d4-2ef8c1e906fd 2025-02-06 20:27:53,037 - DEBUG - Services list from nova: [, , ] 2025-02-06 20:27:54,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2704-1) 2025-02-06 20:27:55,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2704-1) 2025-02-06 20:27:55,482 - INFO - Setting gateway for router 12dbc5d8-f789-4700-a538-f8ba95a8440e to network 3775395e-4517-4e54-99d4-2ef8c1e906fd 2025-02-06 20:27:55,563 - INFO - Adding interface with subnet_id 59e7e772-1d9e-4c0c-81ca-cbcd66d8d8ec, port_id None to router 12dbc5d8-f789-4700-a538-f8ba95a8440e 2025-02-06 20:27:56,104 - INFO - Waiting for VM ctest-TestRoutersBasic-09342465-54484192 to be up.. 2025-02-06 20:27:56,276 - DEBUG - VM is in ACTIVE state now 2025-02-06 20:27:56,276 - INFO - VM name : ctest-TestRoutersBasic-09342465-54484192 2025-02-06 20:27:56,390 - DEBUG - VM ctest-TestRoutersBasic-09342465-54484192 ID is 64d901d3-e945-4c12-91a5-5e704703fca7 2025-02-06 20:27:56,412 - DEBUG - VM ctest-TestRoutersBasic-09342465-54484192 launched on Node cn-jenkins-deploy-platform-ansible-os-2704-1 2025-02-06 20:27:56,511 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/64d901d3-e945-4c12-91a5-5e704703fca7 2025-02-06 20:27:56,869 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/64d901d3-e945-4c12-91a5-5e704703fca7 2025-02-06 20:27:56,915 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/870f27f3-4eb9-45b9-b11b-07396a3c462d 2025-02-06 20:28:00,222 - 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-02-06 20:28:00,222 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09342465-54484192 failed! 2025-02-06 20:28:00,282 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09342465:ctest-vn-94241557 is 28.244.78.129 and allocation pool is NOT set 2025-02-06 20:28:04,347 - 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 1004ms') 2025-02-06 20:28:04,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09342465-54484192 failed! 2025-02-06 20:28:04,406 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09342465:ctest-vn-94241557 is 28.244.78.129 and allocation pool is NOT set 2025-02-06 20:28:06,467 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.893 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.893/2.369/3.845/1.476 ms') 2025-02-06 20:28:06,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09342465-54484192 passed 2025-02-06 20:28:06,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 20:28:06,618 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09342465-54484192, IP 28.244.78.131, Port 22 2025-02-06 20:28:06,778 - DEBUG - VM ctest-TestRoutersBasic-09342465-54484192 is ready for SSH connections 2025-02-06 20:28:06,778 - INFO - Waiting for VM ctest-TestRoutersBasic-09342465-67870574 to be up.. 2025-02-06 20:28:06,855 - DEBUG - VM is in ACTIVE state now 2025-02-06 20:28:06,855 - INFO - VM name : ctest-TestRoutersBasic-09342465-67870574 2025-02-06 20:28:06,926 - DEBUG - VM ctest-TestRoutersBasic-09342465-67870574 ID is 64e85d6d-8685-4e11-99b7-3fe5c3736be2 2025-02-06 20:28:06,926 - DEBUG - VM ctest-TestRoutersBasic-09342465-67870574 launched on Node cn-jenkins-deploy-platform-ansible-os-2704-1 2025-02-06 20:28:07,002 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/64e85d6d-8685-4e11-99b7-3fe5c3736be2 2025-02-06 20:28:07,011 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/c98b32c6-9092-4d5d-8610-782902aa8202 2025-02-06 20:28:08,250 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.672 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.672/1.849/3.027/1.177 ms') 2025-02-06 20:28:08,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09342465-67870574 passed 2025-02-06 20:28:08,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 20:28:08,398 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09342465-67870574, IP 101.45.150.3, Port 22 2025-02-06 20:28:08,554 - DEBUG - VM ctest-TestRoutersBasic-09342465-67870574 is ready for SSH connections 2025-02-06 20:28:08,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 20:28:08,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.45.150.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-02-06 20:28:08,554 - DEBUG - ping -s 56 -c 3 -W 1 101.45.150.3 2025-02-06 20:28:12,637 - DEBUG - PING 101.45.150.3 (101.45.150.3): 56 data bytes 64 bytes from 101.45.150.3: seq=0 ttl=62 time=8.322 ms 64 bytes from 101.45.150.3: seq=1 ttl=62 time=0.976 ms 64 bytes from 101.45.150.3: seq=2 ttl=62 time=0.917 ms --- 101.45.150.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.917/3.405/8.322 ms 2025-02-06 20:28:12,637 - INFO - Ping to IP 101.45.150.3 from VM ctest-TestRoutersBasic-09342465-54484192 passed 2025-02-06 20:28:12,638 - INFO - Deleting interface with subnet_id 59e7e772-1d9e-4c0c-81ca-cbcd66d8d8ec, port_id None from router 12dbc5d8-f789-4700-a538-f8ba95a8440e 2025-02-06 20:28:12,857 - INFO - Deleting VM ctest-TestRoutersBasic-09342465-67870574 2025-02-06 20:28:12,924 - INFO - Deleting VM ctest-TestRoutersBasic-09342465-54484192 2025-02-06 20:28:13,002 - INFO - Deleting VN ctest-ext_vn-84087405 2025-02-06 20:28:13,065 - DEBUG - VN 3775395e-4517-4e54-99d4-2ef8c1e906fd still in use: Unable to complete operation on network 3775395e-4517-4e54-99d4-2ef8c1e906fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b581421f-b51b-4324-ac64-87d4cb9beb62'] 2025-02-06 20:28:13,065 - WARNING - Deleting VN ctest-ext_vn-84087405 failed..Will retry 2025-02-06 20:28:15,169 - DEBUG - Response for deleting network () 2025-02-06 20:28:15,169 - INFO - Deleting VN ctest-vn-94241557 2025-02-06 20:28:15,269 - DEBUG - Response for deleting network () 2025-02-06 20:28:15,524 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 20:28:15,524 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-06 20:28:15,524 - INFO - -------------------------------------------------------------------------------- 2025-02-06 20:28:16,650 - INFO - Deleted project: ctest-TestRoutersBasic-09342465, ID : 82caa22f-f53d-412a-9508-bbb114a19d61