2025-01-09 16:37:05,291 - INFO - Domain Default found not creating
2025-01-09 16:37:05,441 - INFO - Project ctest-TestRoutersBasic-07875892 not found, creating it
2025-01-09 16:37:05,928 - INFO - Created Project:ctest-TestRoutersBasic-07875892, ID : 0e7cfea8-077f-4f6d-92a4-cbeb91a6e5e3
2025-01-09 16:37:07,358 - INFO - ================================================================================
2025-01-09 16:37:07,358 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-09 16:37:07,358 - 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-01-09 16:37:07,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with
2025-01-09 16:37:07,618 - INFO - Initial checks done. Running the testcase now
2025-01-09 16:37:07,618 - INFO -
2025-01-09 16:37:08,322 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07875892
2025-01-09 16:37:08,423 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07875892
2025-01-09 16:37:08,746 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07875892', 'default']}
2025-01-09 16:37:09,038 - DEBUG - Response for create_network : {'network': {'id': '2b99bc77-dd65-4cee-b0d3-8ca7b7298ee3', 'name': 'ctest-vn-38183601', 'tenant_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3', 'project_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07875892', 'ctest-vn-38183601'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 16:37:09,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '4901accf-a52a-4af0-8289-8ad0ae80de83', 'name': '', 'tenant_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3', 'network_id': '2b99bc77-dd65-4cee-b0d3-8ca7b7298ee3', 'ip_version': 4, 'cidr': '135.252.121.192/26', 'allocation_pools': [{'start': '135.252.121.194', 'end': '135.252.121.254'}], 'gateway_ip': '135.252.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.252.121.194', 'tags': [], 'project_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3'}}
2025-01-09 16:37:09,268 - INFO - Created VN ctest-vn-38183601
2025-01-09 16:37:09,322 - DEBUG - VN ctest-vn-38183601 UUID is 2b99bc77-dd65-4cee-b0d3-8ca7b7298ee3
2025-01-09 16:37:09,642 - DEBUG - Response for create_network : {'network': {'id': '3fb31be2-c032-468e-9427-a544948fb275', 'name': 'ctest-ext_vn-36562756', 'tenant_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3', 'project_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07875892', 'ctest-ext_vn-36562756'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 16:37:09,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '37975652-d262-478c-9842-7babfb86023a', 'name': '', 'tenant_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3', 'network_id': '3fb31be2-c032-468e-9427-a544948fb275', 'ip_version': 4, 'cidr': '69.124.4.128/26', 'allocation_pools': [{'start': '69.124.4.130', 'end': '69.124.4.190'}], 'gateway_ip': '69.124.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.124.4.130', 'tags': [], 'project_id': '0e7cfea8077f4f6d92a4cbeb91a6e5e3'}}
2025-01-09 16:37:09,826 - INFO - Created VN ctest-ext_vn-36562756
2025-01-09 16:37:09,879 - DEBUG - VN ctest-ext_vn-36562756 UUID is 3fb31be2-c032-468e-9427-a544948fb275
2025-01-09 16:37:10,091 - DEBUG - Services list from nova: [, , ]
2025-01-09 16:37:11,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2591-1)
2025-01-09 16:37:12,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2591-1)
2025-01-09 16:37:12,255 - INFO - Setting gateway for router 238e6e71-66e9-4ddd-9009-46b6676f7743 to network 3fb31be2-c032-468e-9427-a544948fb275
2025-01-09 16:37:12,334 - INFO - Adding interface with subnet_id 4901accf-a52a-4af0-8289-8ad0ae80de83, port_id None to router 238e6e71-66e9-4ddd-9009-46b6676f7743
2025-01-09 16:37:12,812 - INFO - Waiting for VM ctest-TestRoutersBasic-07875892-81512634 to be up..
2025-01-09 16:37:13,041 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 16:37:18,118 - DEBUG - VM is in ACTIVE state now
2025-01-09 16:37:18,119 - INFO - VM name : ctest-TestRoutersBasic-07875892-81512634
2025-01-09 16:37:18,199 - DEBUG - VM ctest-TestRoutersBasic-07875892-81512634 ID is d30363d6-55ea-4077-acd5-940f7021c923
2025-01-09 16:37:18,219 - DEBUG - VM ctest-TestRoutersBasic-07875892-81512634 launched on Node cn-jenkins-deploy-platform-ansible-os-2591-1
2025-01-09 16:37:18,307 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d30363d6-55ea-4077-acd5-940f7021c923
2025-01-09 16:37:18,599 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d30363d6-55ea-4077-acd5-940f7021c923
2025-01-09 16:37:18,637 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/4e4f0483-452b-4aaa-a09f-c43fea1a6447
2025-01-09 16:37:21,907 - 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-01-09 16:37:21,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07875892-81512634 failed!
2025-01-09 16:37:21,963 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07875892:ctest-vn-38183601 is 135.252.121.193 and allocation pool is NOT set
2025-01-09 16:37:24,020 - 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=4.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.628/2.853/4.078/1.225 ms')
2025-01-09 16:37:24,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07875892-81512634 passed
2025-01-09 16:37:24,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 16:37:24,179 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07875892-81512634, IP 135.252.121.195, Port 22
2025-01-09 16:37:24,346 - DEBUG - VM ctest-TestRoutersBasic-07875892-81512634 is ready for SSH connections
2025-01-09 16:37:24,346 - INFO - Waiting for VM ctest-TestRoutersBasic-07875892-89457710 to be up..
2025-01-09 16:37:24,429 - DEBUG - VM is in ACTIVE state now
2025-01-09 16:37:24,429 - INFO - VM name : ctest-TestRoutersBasic-07875892-89457710
2025-01-09 16:37:24,503 - DEBUG - VM ctest-TestRoutersBasic-07875892-89457710 ID is 211f648e-3b3b-4147-ad27-4705f8651645
2025-01-09 16:37:24,503 - DEBUG - VM ctest-TestRoutersBasic-07875892-89457710 launched on Node cn-jenkins-deploy-platform-ansible-os-2591-1
2025-01-09 16:37:24,576 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/211f648e-3b3b-4147-ad27-4705f8651645
2025-01-09 16:37:24,585 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/534051ea-a9e5-4fe5-9d99-7228726d3c12
2025-01-09 16:37:25,822 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.563/2.695/1.132 ms')
2025-01-09 16:37:25,822 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07875892-89457710 passed
2025-01-09 16:37:25,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 16:37:25,983 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07875892-89457710, IP 69.124.4.131, Port 22
2025-01-09 16:37:26,142 - DEBUG - VM ctest-TestRoutersBasic-07875892-89457710 is ready for SSH connections
2025-01-09 16:37:26,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 16:37:26,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.124.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2025-01-09 16:37:26,143 - DEBUG - ping -s 56 -c 3 -W 1 69.124.4.131
2025-01-09 16:37:30,185 - DEBUG - PING 69.124.4.131 (69.124.4.131): 56 data bytes
64 bytes from 69.124.4.131: seq=0 ttl=62 time=5.330 ms
64 bytes from 69.124.4.131: seq=1 ttl=62 time=1.182 ms
64 bytes from 69.124.4.131: seq=2 ttl=62 time=1.001 ms
--- 69.124.4.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.001/2.504/5.330 ms
2025-01-09 16:37:30,185 - INFO - Ping to IP 69.124.4.131 from VM ctest-TestRoutersBasic-07875892-81512634 passed
2025-01-09 16:37:30,185 - INFO - Deleting interface with subnet_id 4901accf-a52a-4af0-8289-8ad0ae80de83, port_id None from router 238e6e71-66e9-4ddd-9009-46b6676f7743
2025-01-09 16:37:30,408 - INFO - Deleting VM ctest-TestRoutersBasic-07875892-89457710
2025-01-09 16:37:30,474 - INFO - Deleting VM ctest-TestRoutersBasic-07875892-81512634
2025-01-09 16:37:30,558 - INFO - Deleting VN ctest-ext_vn-36562756
2025-01-09 16:37:30,626 - DEBUG - VN 3fb31be2-c032-468e-9427-a544948fb275 still in use: Unable to complete operation on network 3fb31be2-c032-468e-9427-a544948fb275. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ecf6f5fa-9b64-4eee-9d29-25f60f79692d']
2025-01-09 16:37:30,626 - WARNING - Deleting VN ctest-ext_vn-36562756 failed..Will retry
2025-01-09 16:37:32,731 - DEBUG - Response for deleting network ()
2025-01-09 16:37:32,731 - INFO - Deleting VN ctest-vn-38183601
2025-01-09 16:37:32,854 - DEBUG - Response for deleting network ()
2025-01-09 16:37:33,112 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 16:37:33,112 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-09 16:37:33,112 - INFO - --------------------------------------------------------------------------------
2025-01-09 16:37:33,821 - INFO - Deleted project: ctest-TestRoutersBasic-07875892, ID : 0e7cfea8-077f-4f6d-92a4-cbeb91a6e5e3