2025-05-30 02:46:27,990 - INFO - Domain Default found not creating 2025-05-30 02:46:28,131 - INFO - Project ctest-TestRoutersBasic-92184187 not found, creating it 2025-05-30 02:46:28,591 - INFO - Created Project:ctest-TestRoutersBasic-92184187, ID : c9e1b6eb-4d42-49bd-b7a4-cafd6e9f2f7d 2025-05-30 02:46:30,099 - INFO - ================================================================================ 2025-05-30 02:46:30,099 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-30 02:46:30,099 - 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-05-30 02:46:30,355 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-30 02:46:30,355 - INFO - Initial checks done. Running the testcase now 2025-05-30 02:46:30,355 - INFO - 2025-05-30 02:46:31,123 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92184187 2025-05-30 02:46:31,219 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92184187 2025-05-30 02:46:31,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92184187', 'default']} 2025-05-30 02:46:31,856 - DEBUG - Response for create_network : {'network': {'id': 'e9135766-4706-469f-8bd2-b9ee7bdf16f9', 'name': 'ctest-vn-97789419', 'tenant_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d', 'project_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92184187', 'ctest-vn-97789419'], 'port_security_enabled': True, 'description': ''}} 2025-05-30 02:46:32,012 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3dcaf7c-457c-4b9c-b976-a0354ea1fcce', 'name': '', 'tenant_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d', 'network_id': 'e9135766-4706-469f-8bd2-b9ee7bdf16f9', 'ip_version': 4, 'cidr': '74.237.152.0/26', 'allocation_pools': [{'start': '74.237.152.2', 'end': '74.237.152.62'}], 'gateway_ip': '74.237.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.237.152.2', 'tags': [], 'project_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d'}} 2025-05-30 02:46:32,031 - INFO - Created VN ctest-vn-97789419 2025-05-30 02:46:32,083 - DEBUG - VN ctest-vn-97789419 UUID is e9135766-4706-469f-8bd2-b9ee7bdf16f9 2025-05-30 02:46:32,435 - DEBUG - Response for create_network : {'network': {'id': '77533f8f-ece4-475a-b957-1827750cc610', 'name': 'ctest-ext_vn-92419708', 'tenant_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d', 'project_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92184187', 'ctest-ext_vn-92419708'], 'port_security_enabled': True, 'description': ''}} 2025-05-30 02:46:32,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e9807a3-e37a-459b-b665-0ab2f6b4f33d', 'name': '', 'tenant_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d', 'network_id': '77533f8f-ece4-475a-b957-1827750cc610', 'ip_version': 4, 'cidr': '125.154.88.128/26', 'allocation_pools': [{'start': '125.154.88.130', 'end': '125.154.88.190'}], 'gateway_ip': '125.154.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.154.88.130', 'tags': [], 'project_id': 'c9e1b6eb4d4249bdb7a4cafd6e9f2f7d'}} 2025-05-30 02:46:32,684 - INFO - Created VN ctest-ext_vn-92419708 2025-05-30 02:46:32,735 - DEBUG - VN ctest-ext_vn-92419708 UUID is 77533f8f-ece4-475a-b957-1827750cc610 2025-05-30 02:46:32,943 - DEBUG - Services list from nova: [, , ] 2025-05-30 02:46:33,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3372-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3372-1) 2025-05-30 02:46:35,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3372-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3372-1) 2025-05-30 02:46:35,286 - INFO - Setting gateway for router 00f00aa9-978d-4041-b6e2-bca8352e87e1 to network 77533f8f-ece4-475a-b957-1827750cc610 2025-05-30 02:46:35,370 - INFO - Adding interface with subnet_id c3dcaf7c-457c-4b9c-b976-a0354ea1fcce, port_id None to router 00f00aa9-978d-4041-b6e2-bca8352e87e1 2025-05-30 02:46:35,861 - INFO - Waiting for VM ctest-TestRoutersBasic-92184187-88425952 to be up.. 2025-05-30 02:46:36,006 - DEBUG - VM is in ACTIVE state now 2025-05-30 02:46:36,006 - INFO - VM name : ctest-TestRoutersBasic-92184187-88425952 2025-05-30 02:46:36,119 - DEBUG - VM ctest-TestRoutersBasic-92184187-88425952 ID is 75558e4c-50ec-4fbd-a7fe-a2ff091a71c6 2025-05-30 02:46:36,144 - DEBUG - VM ctest-TestRoutersBasic-92184187-88425952 launched on Node cn-jenkins-deploy-platform-ansible-os-3372-1 2025-05-30 02:46:36,256 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/75558e4c-50ec-4fbd-a7fe-a2ff091a71c6 2025-05-30 02:46:36,634 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/75558e4c-50ec-4fbd-a7fe-a2ff091a71c6 2025-05-30 02:46:36,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cbaffad6-adfb-4301-8bf5-683ec1d86c42 2025-05-30 02:46:39,977 - 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 1027ms') 2025-05-30 02:46:39,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92184187-88425952 failed! 2025-05-30 02:46:40,035 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92184187:ctest-vn-97789419 is 74.237.152.1 and allocation pool is NOT set 2025-05-30 02:46:44,106 - 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 1010ms') 2025-05-30 02:46:44,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92184187-88425952 failed! 2025-05-30 02:46:44,159 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92184187:ctest-vn-97789419 is 74.237.152.1 and allocation pool is NOT set 2025-05-30 02:46:46,220 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.818/3.215/1.397 ms') 2025-05-30 02:46:46,220 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92184187-88425952 passed 2025-05-30 02:46:46,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:46:46,375 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92184187-88425952, IP 74.237.152.3, Port 22 2025-05-30 02:46:46,530 - DEBUG - VM ctest-TestRoutersBasic-92184187-88425952 is ready for SSH connections 2025-05-30 02:46:46,530 - INFO - Waiting for VM ctest-TestRoutersBasic-92184187-06352170 to be up.. 2025-05-30 02:46:46,608 - DEBUG - VM is in ACTIVE state now 2025-05-30 02:46:46,608 - INFO - VM name : ctest-TestRoutersBasic-92184187-06352170 2025-05-30 02:46:46,690 - DEBUG - VM ctest-TestRoutersBasic-92184187-06352170 ID is d4c3df4b-b99c-42a8-95da-071ee795b045 2025-05-30 02:46:46,691 - DEBUG - VM ctest-TestRoutersBasic-92184187-06352170 launched on Node cn-jenkins-deploy-platform-ansible-os-3372-1 2025-05-30 02:46:46,777 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d4c3df4b-b99c-42a8-95da-071ee795b045 2025-05-30 02:46:46,786 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3fd81dfa-27bb-4eca-a6d8-4e7010fba7c2 2025-05-30 02:46:48,027 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/2.699/4.980/2.281 ms') 2025-05-30 02:46:48,027 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92184187-06352170 passed 2025-05-30 02:46:48,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:46:48,175 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92184187-06352170, IP 125.154.88.131, Port 22 2025-05-30 02:46:48,331 - DEBUG - VM ctest-TestRoutersBasic-92184187-06352170 is ready for SSH connections 2025-05-30 02:46:48,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:46:48,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.154.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-30 02:46:48,331 - DEBUG - ping -s 56 -c 3 -W 1 125.154.88.131 2025-05-30 02:46:52,369 - DEBUG - PING 125.154.88.131 (125.154.88.131): 56 data bytes 64 bytes from 125.154.88.131: seq=0 ttl=62 time=5.293 ms 64 bytes from 125.154.88.131: seq=1 ttl=62 time=0.845 ms 64 bytes from 125.154.88.131: seq=2 ttl=62 time=0.931 ms --- 125.154.88.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/2.356/5.293 ms 2025-05-30 02:46:52,369 - INFO - Ping to IP 125.154.88.131 from VM ctest-TestRoutersBasic-92184187-88425952 passed 2025-05-30 02:46:52,369 - INFO - Deleting interface with subnet_id c3dcaf7c-457c-4b9c-b976-a0354ea1fcce, port_id None from router 00f00aa9-978d-4041-b6e2-bca8352e87e1 2025-05-30 02:46:52,570 - INFO - Deleting VM ctest-TestRoutersBasic-92184187-06352170 2025-05-30 02:46:52,638 - INFO - Deleting VM ctest-TestRoutersBasic-92184187-88425952 2025-05-30 02:46:52,710 - INFO - Deleting VN ctest-ext_vn-92419708 2025-05-30 02:46:52,782 - DEBUG - VN 77533f8f-ece4-475a-b957-1827750cc610 still in use: Unable to complete operation on network 77533f8f-ece4-475a-b957-1827750cc610. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d741c222-f231-4339-9bc8-33a545d0a033'] 2025-05-30 02:46:52,782 - WARNING - Deleting VN ctest-ext_vn-92419708 failed..Will retry 2025-05-30 02:46:54,888 - DEBUG - Response for deleting network () 2025-05-30 02:46:54,888 - INFO - Deleting VN ctest-vn-97789419 2025-05-30 02:46:54,993 - DEBUG - Response for deleting network () 2025-05-30 02:46:55,256 - DEBUG - No XMPP flaps were noticed during the test
2025-05-30 02:46:55,256 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-30 02:46:55,257 - INFO - -------------------------------------------------------------------------------- 2025-05-30 02:46:55,969 - INFO - Deleted project: ctest-TestRoutersBasic-92184187, ID : c9e1b6eb-4d42-49bd-b7a4-cafd6e9f2f7d