2025-10-16 09:21:55,736 - INFO - Domain Default found not creating 2025-10-16 09:21:55,897 - INFO - Project ctest-TestRoutersBasic-98727874 not found, creating it 2025-10-16 09:21:56,336 - INFO - Created Project:ctest-TestRoutersBasic-98727874, ID : 9a9ad766-7772-49c5-81be-8411879c7ab6 2025-10-16 09:21:57,716 - INFO - ================================================================================ 2025-10-16 09:21:57,717 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-16 09:21:57,717 - 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-10-16 09:21:57,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-16 09:21:57,972 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:21:57,972 - INFO - 2025-10-16 09:21:58,670 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98727874 2025-10-16 09:21:58,763 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98727874 2025-10-16 09:21:59,086 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98727874', 'default']} 2025-10-16 09:21:59,380 - DEBUG - Response for create_network : {'network': {'id': '2cb0ec77-2928-4eee-8c06-569735949189', 'name': 'ctest-vn-57930693', 'tenant_id': '9a9ad766777249c581be8411879c7ab6', 'project_id': '9a9ad766777249c581be8411879c7ab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98727874', 'ctest-vn-57930693'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:21:59,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8a78949-5031-4623-a85c-d1c923a20cbe', 'name': '', 'tenant_id': '9a9ad766777249c581be8411879c7ab6', 'network_id': '2cb0ec77-2928-4eee-8c06-569735949189', 'ip_version': 4, 'cidr': '27.20.14.64/26', 'allocation_pools': [{'start': '27.20.14.66', 'end': '27.20.14.126'}], 'gateway_ip': '27.20.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.20.14.66', 'tags': [], 'project_id': '9a9ad766777249c581be8411879c7ab6'}} 2025-10-16 09:21:59,559 - INFO - Created VN ctest-vn-57930693 2025-10-16 09:21:59,611 - DEBUG - VN ctest-vn-57930693 UUID is 2cb0ec77-2928-4eee-8c06-569735949189 2025-10-16 09:21:59,935 - DEBUG - Response for create_network : {'network': {'id': 'baf0e68f-bda8-419f-a391-1406c638093f', 'name': 'ctest-ext_vn-12156764', 'tenant_id': '9a9ad766777249c581be8411879c7ab6', 'project_id': '9a9ad766777249c581be8411879c7ab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98727874', 'ctest-ext_vn-12156764'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:22:00,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd459efcd-600d-4923-bc2e-fbc0ac7761ce', 'name': '', 'tenant_id': '9a9ad766777249c581be8411879c7ab6', 'network_id': 'baf0e68f-bda8-419f-a391-1406c638093f', 'ip_version': 4, 'cidr': '16.67.180.64/26', 'allocation_pools': [{'start': '16.67.180.66', 'end': '16.67.180.126'}], 'gateway_ip': '16.67.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.67.180.66', 'tags': [], 'project_id': '9a9ad766777249c581be8411879c7ab6'}} 2025-10-16 09:22:00,139 - INFO - Created VN ctest-ext_vn-12156764 2025-10-16 09:22:00,195 - DEBUG - VN ctest-ext_vn-12156764 UUID is baf0e68f-bda8-419f-a391-1406c638093f 2025-10-16 09:22:00,359 - DEBUG - Services list from nova: [, , ] 2025-10-16 09:22:01,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4341-1) 2025-10-16 09:22:02,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4341-1) 2025-10-16 09:22:02,648 - INFO - Setting gateway for router bf9fd44a-81b0-401b-b801-b5a850dc7ada to network baf0e68f-bda8-419f-a391-1406c638093f 2025-10-16 09:22:02,705 - INFO - Adding interface with subnet_id f8a78949-5031-4623-a85c-d1c923a20cbe, port_id None to router bf9fd44a-81b0-401b-b801-b5a850dc7ada 2025-10-16 09:22:03,070 - INFO - Waiting for VM ctest-TestRoutersBasic-98727874-99679759 to be up.. 2025-10-16 09:22:03,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 09:22:08,223 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:22:08,223 - INFO - VM name : ctest-TestRoutersBasic-98727874-99679759 2025-10-16 09:22:08,287 - DEBUG - VM ctest-TestRoutersBasic-98727874-99679759 ID is d3a462ff-3951-4a4f-9c2b-1efa42e1e22e 2025-10-16 09:22:08,305 - DEBUG - VM ctest-TestRoutersBasic-98727874-99679759 launched on Node cn-jenkins-deploy-platform-ansible-os-4341-1 2025-10-16 09:22:08,372 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/d3a462ff-3951-4a4f-9c2b-1efa42e1e22e 2025-10-16 09:22:08,663 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/d3a462ff-3951-4a4f-9c2b-1efa42e1e22e 2025-10-16 09:22:08,694 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/30db5acc-a232-4964-a924-e5821a0530d9 2025-10-16 09:22:11,936 - 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 1011ms') 2025-10-16 09:22:11,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98727874-99679759 failed! 2025-10-16 09:22:11,991 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98727874:ctest-vn-57930693 is 27.20.14.65 and allocation pool is NOT set 2025-10-16 09:22:14,047 - 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.394 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.394/1.807/3.220/1.413 ms') 2025-10-16 09:22:14,047 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98727874-99679759 passed 2025-10-16 09:22:14,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:22:14,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98727874-99679759, IP 27.20.14.67, Port 22 2025-10-16 09:22:14,364 - DEBUG - VM ctest-TestRoutersBasic-98727874-99679759 is ready for SSH connections 2025-10-16 09:22:14,364 - INFO - Waiting for VM ctest-TestRoutersBasic-98727874-16104561 to be up.. 2025-10-16 09:22:14,433 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:22:14,433 - INFO - VM name : ctest-TestRoutersBasic-98727874-16104561 2025-10-16 09:22:14,498 - DEBUG - VM ctest-TestRoutersBasic-98727874-16104561 ID is f6c67a8f-e588-4331-9271-bbfbb9487ce0 2025-10-16 09:22:14,498 - DEBUG - VM ctest-TestRoutersBasic-98727874-16104561 launched on Node cn-jenkins-deploy-platform-ansible-os-4341-1 2025-10-16 09:22:14,568 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f6c67a8f-e588-4331-9271-bbfbb9487ce0 2025-10-16 09:22:14,576 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/0ae541c9-10af-4b61-a807-ab7d7f0b1e4f 2025-10-16 09:22:15,808 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.861/3.278/1.417 ms') 2025-10-16 09:22:15,808 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98727874-16104561 passed 2025-10-16 09:22:15,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:22:15,959 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98727874-16104561, IP 16.67.180.67, Port 22 2025-10-16 09:22:16,114 - DEBUG - VM ctest-TestRoutersBasic-98727874-16104561 is ready for SSH connections 2025-10-16 09:22:16,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:22:16,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.67.180.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-16 09:22:16,114 - DEBUG - ping -s 56 -c 3 -W 1 16.67.180.67 2025-10-16 09:22:19,779 - DEBUG - PING 16.67.180.67 (16.67.180.67): 56 data bytes 64 bytes from 16.67.180.67: seq=0 ttl=62 time=16.166 ms 64 bytes from 16.67.180.67: seq=1 ttl=62 time=0.850 ms 64 bytes from 16.67.180.67: seq=2 ttl=62 time=1.300 ms --- 16.67.180.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/6.105/16.166 ms 2025-10-16 09:22:19,779 - INFO - Ping to IP 16.67.180.67 from VM ctest-TestRoutersBasic-98727874-99679759 passed 2025-10-16 09:22:19,779 - INFO - Deleting interface with subnet_id f8a78949-5031-4623-a85c-d1c923a20cbe, port_id None from router bf9fd44a-81b0-401b-b801-b5a850dc7ada 2025-10-16 09:22:19,948 - INFO - Deleting VM ctest-TestRoutersBasic-98727874-16104561 2025-10-16 09:22:20,022 - INFO - Deleting VM ctest-TestRoutersBasic-98727874-99679759 2025-10-16 09:22:20,104 - INFO - Deleting VN ctest-ext_vn-12156764 2025-10-16 09:22:20,164 - DEBUG - VN baf0e68f-bda8-419f-a391-1406c638093f still in use: Unable to complete operation on network baf0e68f-bda8-419f-a391-1406c638093f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a3b6eb7-8e99-4d35-9985-b00d8c60130c'] 2025-10-16 09:22:20,165 - WARNING - Deleting VN ctest-ext_vn-12156764 failed..Will retry 2025-10-16 09:22:22,270 - DEBUG - Response for deleting network () 2025-10-16 09:22:22,270 - INFO - Deleting VN ctest-vn-57930693 2025-10-16 09:22:22,381 - DEBUG - Response for deleting network () 2025-10-16 09:22:22,635 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 09:22:22,635 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-16 09:22:22,635 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:22:23,331 - INFO - Deleted project: ctest-TestRoutersBasic-98727874, ID : 9a9ad766-7772-49c5-81be-8411879c7ab6