2025-07-17 02:25:03,538 - INFO - Domain Default found not creating 2025-07-17 02:25:03,675 - INFO - Project ctest-TestRoutersBasic-56698133 not found, creating it 2025-07-17 02:25:04,120 - INFO - Created Project:ctest-TestRoutersBasic-56698133, ID : 942ea89a-4c5f-4f97-8ac8-a95fd4d7f0ba 2025-07-17 02:25:05,478 - INFO - ================================================================================ 2025-07-17 02:25:05,478 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-17 02:25:05,478 - 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-07-17 02:25:05,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.252': '0'}} with 2025-07-17 02:25:05,738 - INFO - Initial checks done. Running the testcase now 2025-07-17 02:25:05,738 - INFO - 2025-07-17 02:25:06,449 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56698133 2025-07-17 02:25:06,549 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56698133 2025-07-17 02:25:06,888 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56698133', 'default']} 2025-07-17 02:25:07,200 - DEBUG - Response for create_network : {'network': {'id': '3aadc967-a9c4-4a07-b11e-cad534c086c8', 'name': 'ctest-vn-47418507', 'tenant_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba', 'project_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56698133', 'ctest-vn-47418507'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:07,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '63a25de6-4b25-4c3e-8bf2-506b32aa39b4', 'name': '', 'tenant_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba', 'network_id': '3aadc967-a9c4-4a07-b11e-cad534c086c8', 'ip_version': 4, 'cidr': '36.151.24.0/26', 'allocation_pools': [{'start': '36.151.24.2', 'end': '36.151.24.62'}], 'gateway_ip': '36.151.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.151.24.2', 'tags': [], 'project_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba'}} 2025-07-17 02:25:07,567 - INFO - Created VN ctest-vn-47418507 2025-07-17 02:25:07,621 - DEBUG - VN ctest-vn-47418507 UUID is 3aadc967-a9c4-4a07-b11e-cad534c086c8 2025-07-17 02:25:07,921 - DEBUG - Response for create_network : {'network': {'id': 'b2565761-e950-4e4e-a303-85647c140375', 'name': 'ctest-ext_vn-92155871', 'tenant_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba', 'project_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56698133', 'ctest-ext_vn-92155871'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:08,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '0919a8c1-0bcf-4a77-bcfe-e8b3769a03c1', 'name': '', 'tenant_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba', 'network_id': 'b2565761-e950-4e4e-a303-85647c140375', 'ip_version': 4, 'cidr': '32.39.156.0/26', 'allocation_pools': [{'start': '32.39.156.2', 'end': '32.39.156.62'}], 'gateway_ip': '32.39.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.39.156.2', 'tags': [], 'project_id': '942ea89a4c5f4f978ac8a95fd4d7f0ba'}} 2025-07-17 02:25:08,169 - INFO - Created VN ctest-ext_vn-92155871 2025-07-17 02:25:08,225 - DEBUG - VN ctest-ext_vn-92155871 UUID is b2565761-e950-4e4e-a303-85647c140375 2025-07-17 02:25:08,421 - DEBUG - Services list from nova: [, , ] 2025-07-17 02:25:09,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3651-1) 2025-07-17 02:25:10,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3651-1) 2025-07-17 02:25:10,577 - INFO - Setting gateway for router 48878b54-4675-4f19-b311-415dca37b1bc to network b2565761-e950-4e4e-a303-85647c140375 2025-07-17 02:25:10,648 - INFO - Adding interface with subnet_id 63a25de6-4b25-4c3e-8bf2-506b32aa39b4, port_id None to router 48878b54-4675-4f19-b311-415dca37b1bc 2025-07-17 02:25:10,993 - INFO - Waiting for VM ctest-TestRoutersBasic-56698133-18625759 to be up.. 2025-07-17 02:25:11,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 02:25:16,230 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:25:16,230 - INFO - VM name : ctest-TestRoutersBasic-56698133-18625759 2025-07-17 02:25:16,299 - DEBUG - VM ctest-TestRoutersBasic-56698133-18625759 ID is c75ed165-a99f-4665-a9e1-e07919ebb9d0 2025-07-17 02:25:16,317 - DEBUG - VM ctest-TestRoutersBasic-56698133-18625759 launched on Node cn-jenkins-deploy-platform-ansible-os-3651-1 2025-07-17 02:25:16,384 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/c75ed165-a99f-4665-a9e1-e07919ebb9d0 2025-07-17 02:25:16,674 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/c75ed165-a99f-4665-a9e1-e07919ebb9d0 2025-07-17 02:25:16,705 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/7d9d0e3a-15b6-404a-8f5a-a74a90818952 2025-07-17 02:25:19,970 - 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 1023ms') 2025-07-17 02:25:19,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56698133-18625759 failed! 2025-07-17 02:25:20,029 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56698133:ctest-vn-47418507 is 36.151.24.1 and allocation pool is NOT set 2025-07-17 02:25:22,089 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.594/2.789/1.195 ms') 2025-07-17 02:25:22,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56698133-18625759 passed 2025-07-17 02:25:22,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:22,237 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56698133-18625759, IP 36.151.24.3, Port 22 2025-07-17 02:25:22,396 - DEBUG - VM ctest-TestRoutersBasic-56698133-18625759 is ready for SSH connections 2025-07-17 02:25:22,397 - INFO - Waiting for VM ctest-TestRoutersBasic-56698133-43033164 to be up.. 2025-07-17 02:25:22,470 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:25:22,470 - INFO - VM name : ctest-TestRoutersBasic-56698133-43033164 2025-07-17 02:25:22,538 - DEBUG - VM ctest-TestRoutersBasic-56698133-43033164 ID is 3d1bfeee-65a7-42ab-bf25-15e0bf36d284 2025-07-17 02:25:22,538 - DEBUG - VM ctest-TestRoutersBasic-56698133-43033164 launched on Node cn-jenkins-deploy-platform-ansible-os-3651-1 2025-07-17 02:25:22,604 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3d1bfeee-65a7-42ab-bf25-15e0bf36d284 2025-07-17 02:25:22,613 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d54eac2b-ef19-41cb-ad87-8af0e9e9184f 2025-07-17 02:25:23,849 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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 = 0.384/1.512/2.640/1.128 ms') 2025-07-17 02:25:23,849 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56698133-43033164 passed 2025-07-17 02:25:23,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:23,997 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56698133-43033164, IP 32.39.156.3, Port 22 2025-07-17 02:25:24,156 - DEBUG - VM ctest-TestRoutersBasic-56698133-43033164 is ready for SSH connections 2025-07-17 02:25:24,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:24,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.39.156.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-17 02:25:24,156 - DEBUG - ping -s 56 -c 3 -W 1 32.39.156.3 2025-07-17 02:25:27,844 - DEBUG - PING 32.39.156.3 (32.39.156.3): 56 data bytes 64 bytes from 32.39.156.3: seq=0 ttl=62 time=4.057 ms 64 bytes from 32.39.156.3: seq=1 ttl=62 time=0.791 ms 64 bytes from 32.39.156.3: seq=2 ttl=62 time=0.892 ms --- 32.39.156.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.913/4.057 ms 2025-07-17 02:25:27,844 - INFO - Ping to IP 32.39.156.3 from VM ctest-TestRoutersBasic-56698133-18625759 passed 2025-07-17 02:25:27,844 - INFO - Deleting interface with subnet_id 63a25de6-4b25-4c3e-8bf2-506b32aa39b4, port_id None from router 48878b54-4675-4f19-b311-415dca37b1bc 2025-07-17 02:25:28,038 - INFO - Deleting VM ctest-TestRoutersBasic-56698133-43033164 2025-07-17 02:25:28,105 - INFO - Deleting VM ctest-TestRoutersBasic-56698133-18625759 2025-07-17 02:25:28,189 - INFO - Deleting VN ctest-ext_vn-92155871 2025-07-17 02:25:28,252 - DEBUG - VN b2565761-e950-4e4e-a303-85647c140375 still in use: Unable to complete operation on network b2565761-e950-4e4e-a303-85647c140375. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba20aa22-af9f-4d72-a59b-6aa232dc5c99'] 2025-07-17 02:25:28,252 - WARNING - Deleting VN ctest-ext_vn-92155871 failed..Will retry 2025-07-17 02:25:30,353 - DEBUG - Response for deleting network () 2025-07-17 02:25:30,353 - INFO - Deleting VN ctest-vn-47418507 2025-07-17 02:25:30,449 - DEBUG - Response for deleting network () 2025-07-17 02:25:30,702 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 02:25:30,702 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-17 02:25:30,702 - INFO - -------------------------------------------------------------------------------- 2025-07-17 02:25:31,354 - INFO - Deleted project: ctest-TestRoutersBasic-56698133, ID : 942ea89a-4c5f-4f97-8ac8-a95fd4d7f0ba