2025-03-22 02:33:57,088 - INFO - Domain Default found not creating 2025-03-22 02:33:57,244 - INFO - Project ctest-TestRoutersBasic-81084811 not found, creating it 2025-03-22 02:33:57,760 - INFO - Created Project:ctest-TestRoutersBasic-81084811, ID : ff173ad5-512d-49a8-90e7-4ff2ab946e6c 2025-03-22 02:33:59,236 - INFO - ================================================================================ 2025-03-22 02:33:59,236 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-22 02:33:59,236 - 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-03-22 02:33:59,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.13': '0'}} with 2025-03-22 02:33:59,494 - INFO - Initial checks done. Running the testcase now 2025-03-22 02:33:59,495 - INFO - 2025-03-22 02:34:00,221 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81084811 2025-03-22 02:34:00,325 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81084811 2025-03-22 02:34:00,685 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81084811', 'default']} 2025-03-22 02:34:01,021 - DEBUG - Response for create_network : {'network': {'id': '71111e9b-a994-403c-9fb9-91729d2b42f2', 'name': 'ctest-vn-08500580', 'tenant_id': 'ff173ad5512d49a890e74ff2ab946e6c', 'project_id': 'ff173ad5512d49a890e74ff2ab946e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81084811', 'ctest-vn-08500580'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 02:34:01,189 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7baaf50-75de-4fa5-b8fd-6e0d86c85f2c', 'name': '', 'tenant_id': 'ff173ad5512d49a890e74ff2ab946e6c', 'network_id': '71111e9b-a994-403c-9fb9-91729d2b42f2', 'ip_version': 4, 'cidr': '44.32.4.0/26', 'allocation_pools': [{'start': '44.32.4.2', 'end': '44.32.4.62'}], 'gateway_ip': '44.32.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.32.4.2', 'tags': [], 'project_id': 'ff173ad5512d49a890e74ff2ab946e6c'}} 2025-03-22 02:34:01,213 - INFO - Created VN ctest-vn-08500580 2025-03-22 02:34:01,265 - DEBUG - VN ctest-vn-08500580 UUID is 71111e9b-a994-403c-9fb9-91729d2b42f2 2025-03-22 02:34:01,607 - DEBUG - Response for create_network : {'network': {'id': '747bd4a4-c1cc-4a6e-b993-e3b9fe6bcee7', 'name': 'ctest-ext_vn-04942653', 'tenant_id': 'ff173ad5512d49a890e74ff2ab946e6c', 'project_id': 'ff173ad5512d49a890e74ff2ab946e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81084811', 'ctest-ext_vn-04942653'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 02:34:01,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '2188e060-7662-4b35-9b9b-3a8a3cdcbde0', 'name': '', 'tenant_id': 'ff173ad5512d49a890e74ff2ab946e6c', 'network_id': '747bd4a4-c1cc-4a6e-b993-e3b9fe6bcee7', 'ip_version': 4, 'cidr': '80.42.94.0/26', 'allocation_pools': [{'start': '80.42.94.2', 'end': '80.42.94.62'}], 'gateway_ip': '80.42.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.42.94.2', 'tags': [], 'project_id': 'ff173ad5512d49a890e74ff2ab946e6c'}} 2025-03-22 02:34:01,800 - INFO - Created VN ctest-ext_vn-04942653 2025-03-22 02:34:01,857 - DEBUG - VN ctest-ext_vn-04942653 UUID is 747bd4a4-c1cc-4a6e-b993-e3b9fe6bcee7 2025-03-22 02:34:02,045 - DEBUG - Services list from nova: [, , ] 2025-03-22 02:34:03,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2933-1) 2025-03-22 02:34:04,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2933-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2933-1) 2025-03-22 02:34:04,356 - INFO - Setting gateway for router 1771a0f6-7284-47cb-8b8c-33068cec96ec to network 747bd4a4-c1cc-4a6e-b993-e3b9fe6bcee7 2025-03-22 02:34:04,448 - INFO - Adding interface with subnet_id b7baaf50-75de-4fa5-b8fd-6e0d86c85f2c, port_id None to router 1771a0f6-7284-47cb-8b8c-33068cec96ec 2025-03-22 02:34:04,899 - INFO - Waiting for VM ctest-TestRoutersBasic-81084811-48121546 to be up.. 2025-03-22 02:34:05,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-22 02:34:10,194 - DEBUG - VM is in ACTIVE state now 2025-03-22 02:34:10,195 - INFO - VM name : ctest-TestRoutersBasic-81084811-48121546 2025-03-22 02:34:10,272 - DEBUG - VM ctest-TestRoutersBasic-81084811-48121546 ID is 5b8313da-15d5-4e96-b20f-1cd6b20e410a 2025-03-22 02:34:10,294 - DEBUG - VM ctest-TestRoutersBasic-81084811-48121546 launched on Node cn-jenkins-deploy-platform-ansible-os-2933-1 2025-03-22 02:34:10,378 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/5b8313da-15d5-4e96-b20f-1cd6b20e410a 2025-03-22 02:34:10,672 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/5b8313da-15d5-4e96-b20f-1cd6b20e410a 2025-03-22 02:34:10,706 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/506a5614-5ac1-4d56-8f76-1dd510a7cba2 2025-03-22 02:34:13,962 - 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 1003ms') 2025-03-22 02:34:13,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81084811-48121546 failed! 2025-03-22 02:34:14,021 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81084811:ctest-vn-08500580 is 44.32.4.1 and allocation pool is NOT set 2025-03-22 02:34:16,081 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/2.004/3.555/1.550 ms') 2025-03-22 02:34:16,081 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81084811-48121546 passed 2025-03-22 02:34:16,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:34:16,277 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81084811-48121546, IP 44.32.4.3, Port 22 2025-03-22 02:34:16,446 - DEBUG - VM ctest-TestRoutersBasic-81084811-48121546 is ready for SSH connections 2025-03-22 02:34:16,447 - INFO - Waiting for VM ctest-TestRoutersBasic-81084811-22558415 to be up.. 2025-03-22 02:34:16,613 - DEBUG - VM is in ACTIVE state now 2025-03-22 02:34:16,613 - INFO - VM name : ctest-TestRoutersBasic-81084811-22558415 2025-03-22 02:34:16,709 - DEBUG - VM ctest-TestRoutersBasic-81084811-22558415 ID is 6b3cace6-17ef-4c4f-940f-06838c10da43 2025-03-22 02:34:16,709 - DEBUG - VM ctest-TestRoutersBasic-81084811-22558415 launched on Node cn-jenkins-deploy-platform-ansible-os-2933-1 2025-03-22 02:34:16,797 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6b3cace6-17ef-4c4f-940f-06838c10da43 2025-03-22 02:34:16,811 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/aabc361a-546d-4ede-be7c-dd35700e59b7 2025-03-22 02:34:18,069 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.746/3.012/1.266 ms') 2025-03-22 02:34:18,069 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81084811-22558415 passed 2025-03-22 02:34:18,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:34:18,225 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81084811-22558415, IP 80.42.94.3, Port 22 2025-03-22 02:34:18,384 - DEBUG - VM ctest-TestRoutersBasic-81084811-22558415 is ready for SSH connections 2025-03-22 02:34:18,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 02:34:18,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.42.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-22 02:34:18,385 - DEBUG - ping -s 56 -c 3 -W 1 80.42.94.3 2025-03-22 02:34:22,074 - DEBUG - PING 80.42.94.3 (80.42.94.3): 56 data bytes 64 bytes from 80.42.94.3: seq=0 ttl=62 time=7.886 ms 64 bytes from 80.42.94.3: seq=1 ttl=62 time=1.163 ms 64 bytes from 80.42.94.3: seq=2 ttl=62 time=1.057 ms --- 80.42.94.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/3.368/7.886 ms 2025-03-22 02:34:22,074 - INFO - Ping to IP 80.42.94.3 from VM ctest-TestRoutersBasic-81084811-48121546 passed 2025-03-22 02:34:22,074 - INFO - Deleting interface with subnet_id b7baaf50-75de-4fa5-b8fd-6e0d86c85f2c, port_id None from router 1771a0f6-7284-47cb-8b8c-33068cec96ec 2025-03-22 02:34:22,349 - INFO - Deleting VM ctest-TestRoutersBasic-81084811-22558415 2025-03-22 02:34:22,448 - INFO - Deleting VM ctest-TestRoutersBasic-81084811-48121546 2025-03-22 02:34:22,566 - INFO - Deleting VN ctest-ext_vn-04942653 2025-03-22 02:34:22,679 - DEBUG - VN 747bd4a4-c1cc-4a6e-b993-e3b9fe6bcee7 still in use: Unable to complete operation on network 747bd4a4-c1cc-4a6e-b993-e3b9fe6bcee7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-100f1d21-6d08-4aec-934a-5e3d2a906aae'] 2025-03-22 02:34:22,679 - WARNING - Deleting VN ctest-ext_vn-04942653 failed..Will retry 2025-03-22 02:34:24,785 - DEBUG - Response for deleting network () 2025-03-22 02:34:24,785 - INFO - Deleting VN ctest-vn-08500580 2025-03-22 02:34:24,896 - DEBUG - Response for deleting network () 2025-03-22 02:34:25,151 - DEBUG - No XMPP flaps were noticed during the test
2025-03-22 02:34:25,151 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-22 02:34:25,151 - INFO - -------------------------------------------------------------------------------- 2025-03-22 02:34:25,855 - INFO - Deleted project: ctest-TestRoutersBasic-81084811, ID : ff173ad5-512d-49a8-90e7-4ff2ab946e6c