2025-01-15 16:55:40,042 - INFO - Domain Default found not creating
2025-01-15 16:55:40,217 - INFO - Project ctest-TestRoutersBasic-05685523 not found, creating it
2025-01-15 16:55:40,735 - INFO - Created Project:ctest-TestRoutersBasic-05685523, ID : 9d607c10-8cd0-4cd7-8881-533394cb97e3
2025-01-15 16:55:42,167 - INFO - ================================================================================
2025-01-15 16:55:42,167 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-15 16:55:42,167 - 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-15 16:55:42,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.27': '0'}} with
2025-01-15 16:55:42,429 - INFO - Initial checks done. Running the testcase now
2025-01-15 16:55:42,429 - INFO -
2025-01-15 16:55:43,142 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05685523
2025-01-15 16:55:43,242 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05685523
2025-01-15 16:55:43,593 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05685523', 'default']}
2025-01-15 16:55:43,905 - DEBUG - Response for create_network : {'network': {'id': 'd87c2ba6-b2fe-4daa-b9e2-9fb0f82ebec5', 'name': 'ctest-vn-17712235', 'tenant_id': '9d607c108cd04cd78881533394cb97e3', 'project_id': '9d607c108cd04cd78881533394cb97e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05685523', 'ctest-vn-17712235'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 16:55:44,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e42c5483-a433-4a16-9edf-6f64e997a160', 'name': '', 'tenant_id': '9d607c108cd04cd78881533394cb97e3', 'network_id': 'd87c2ba6-b2fe-4daa-b9e2-9fb0f82ebec5', 'ip_version': 4, 'cidr': '37.88.76.0/26', 'allocation_pools': [{'start': '37.88.76.2', 'end': '37.88.76.62'}], 'gateway_ip': '37.88.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.88.76.2', 'tags': [], 'project_id': '9d607c108cd04cd78881533394cb97e3'}}
2025-01-15 16:55:44,195 - INFO - Created VN ctest-vn-17712235
2025-01-15 16:55:44,249 - DEBUG - VN ctest-vn-17712235 UUID is d87c2ba6-b2fe-4daa-b9e2-9fb0f82ebec5
2025-01-15 16:55:44,602 - DEBUG - Response for create_network : {'network': {'id': '36daf2a6-2ebc-40aa-bd43-32429ac7f39b', 'name': 'ctest-ext_vn-00659900', 'tenant_id': '9d607c108cd04cd78881533394cb97e3', 'project_id': '9d607c108cd04cd78881533394cb97e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05685523', 'ctest-ext_vn-00659900'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 16:55:44,786 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbc1ff89-2aa5-452f-8cb9-55ccfe0c5b2f', 'name': '', 'tenant_id': '9d607c108cd04cd78881533394cb97e3', 'network_id': '36daf2a6-2ebc-40aa-bd43-32429ac7f39b', 'ip_version': 4, 'cidr': '50.247.61.0/26', 'allocation_pools': [{'start': '50.247.61.2', 'end': '50.247.61.62'}], 'gateway_ip': '50.247.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.247.61.2', 'tags': [], 'project_id': '9d607c108cd04cd78881533394cb97e3'}}
2025-01-15 16:55:44,806 - INFO - Created VN ctest-ext_vn-00659900
2025-01-15 16:55:44,861 - DEBUG - VN ctest-ext_vn-00659900 UUID is 36daf2a6-2ebc-40aa-bd43-32429ac7f39b
2025-01-15 16:55:45,048 - DEBUG - Services list from nova: [, , ]
2025-01-15 16:55:46,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2641-1)
2025-01-15 16:55:47,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2641-1)
2025-01-15 16:55:47,383 - INFO - Setting gateway for router 5ea958a0-d961-4c1f-83bb-1e96113a5cf7 to network 36daf2a6-2ebc-40aa-bd43-32429ac7f39b
2025-01-15 16:55:47,446 - INFO - Adding interface with subnet_id e42c5483-a433-4a16-9edf-6f64e997a160, port_id None to router 5ea958a0-d961-4c1f-83bb-1e96113a5cf7
2025-01-15 16:55:47,810 - INFO - Waiting for VM ctest-TestRoutersBasic-05685523-61250585 to be up..
2025-01-15 16:55:48,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 16:55:53,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 16:55:58,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 16:56:03,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 16:56:08,359 - DEBUG - VM is in ACTIVE state now
2025-01-15 16:56:08,359 - INFO - VM name : ctest-TestRoutersBasic-05685523-61250585
2025-01-15 16:56:08,435 - DEBUG - VM ctest-TestRoutersBasic-05685523-61250585 ID is 6b9dc51b-2ade-4003-aea3-53eec86bb874
2025-01-15 16:56:08,454 - DEBUG - VM ctest-TestRoutersBasic-05685523-61250585 launched on Node cn-jenkins-deploy-platform-ansible-os-2641-1
2025-01-15 16:56:08,544 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/6b9dc51b-2ade-4003-aea3-53eec86bb874
2025-01-15 16:56:08,842 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/6b9dc51b-2ade-4003-aea3-53eec86bb874
2025-01-15 16:56:08,873 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/086fb24f-6567-408f-aa2b-026229a7ad40
2025-01-15 16:56:12,130 - 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 1019ms')
2025-01-15 16:56:12,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05685523-61250585 failed!
2025-01-15 16:56:12,185 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05685523:ctest-vn-17712235 is 37.88.76.1 and allocation pool is NOT set
2025-01-15 16:56:16,257 - 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-15 16:56:16,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05685523-61250585 failed!
2025-01-15 16:56:16,274 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05685523:ctest-vn-17712235 is 37.88.76.1 and allocation pool is NOT set
2025-01-15 16:56:18,343 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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.706/3.021/4.337/1.315 ms')
2025-01-15 16:56:18,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05685523-61250585 passed
2025-01-15 16:56:18,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 16:56:18,501 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05685523-61250585, IP 37.88.76.3, Port 22
2025-01-15 16:56:18,668 - DEBUG - VM ctest-TestRoutersBasic-05685523-61250585 is ready for SSH connections
2025-01-15 16:56:18,668 - INFO - Waiting for VM ctest-TestRoutersBasic-05685523-51357097 to be up..
2025-01-15 16:56:18,755 - DEBUG - VM is in ACTIVE state now
2025-01-15 16:56:18,756 - INFO - VM name : ctest-TestRoutersBasic-05685523-51357097
2025-01-15 16:56:18,836 - DEBUG - VM ctest-TestRoutersBasic-05685523-51357097 ID is f6feb282-e4ce-426d-99c2-ce61176500b7
2025-01-15 16:56:18,836 - DEBUG - VM ctest-TestRoutersBasic-05685523-51357097 launched on Node cn-jenkins-deploy-platform-ansible-os-2641-1
2025-01-15 16:56:18,906 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/f6feb282-e4ce-426d-99c2-ce61176500b7
2025-01-15 16:56:18,915 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/cbc31b5a-296c-4c33-a4ef-f6e521667bd5
2025-01-15 16:56:20,170 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/2.129/3.702/1.573 ms')
2025-01-15 16:56:20,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05685523-51357097 passed
2025-01-15 16:56:20,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 16:56:20,338 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05685523-51357097, IP 50.247.61.3, Port 22
2025-01-15 16:56:20,505 - DEBUG - VM ctest-TestRoutersBasic-05685523-51357097 is ready for SSH connections
2025-01-15 16:56:20,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 16:56:20,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.247.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-01-15 16:56:20,505 - DEBUG - ping -s 56 -c 3 -W 1 50.247.61.3
2025-01-15 16:56:24,232 - DEBUG - PING 50.247.61.3 (50.247.61.3): 56 data bytes
64 bytes from 50.247.61.3: seq=0 ttl=62 time=8.797 ms
64 bytes from 50.247.61.3: seq=1 ttl=62 time=1.391 ms
64 bytes from 50.247.61.3: seq=2 ttl=62 time=1.613 ms
--- 50.247.61.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.391/3.933/8.797 ms
2025-01-15 16:56:24,233 - INFO - Ping to IP 50.247.61.3 from VM ctest-TestRoutersBasic-05685523-61250585 passed
2025-01-15 16:56:24,233 - INFO - Deleting interface with subnet_id e42c5483-a433-4a16-9edf-6f64e997a160, port_id None from router 5ea958a0-d961-4c1f-83bb-1e96113a5cf7
2025-01-15 16:56:24,453 - INFO - Deleting VM ctest-TestRoutersBasic-05685523-51357097
2025-01-15 16:56:24,527 - INFO - Deleting VM ctest-TestRoutersBasic-05685523-61250585
2025-01-15 16:56:24,613 - INFO - Deleting VN ctest-ext_vn-00659900
2025-01-15 16:56:24,683 - DEBUG - VN 36daf2a6-2ebc-40aa-bd43-32429ac7f39b still in use: Unable to complete operation on network 36daf2a6-2ebc-40aa-bd43-32429ac7f39b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fc58cdbd-9f51-495d-81f4-fc35c913fe8c']
2025-01-15 16:56:24,683 - WARNING - Deleting VN ctest-ext_vn-00659900 failed..Will retry
2025-01-15 16:56:26,799 - DEBUG - Response for deleting network ()
2025-01-15 16:56:26,799 - INFO - Deleting VN ctest-vn-17712235
2025-01-15 16:56:26,924 - DEBUG - Response for deleting network ()
2025-01-15 16:56:27,184 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 16:56:27,184 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:45]
2025-01-15 16:56:27,184 - INFO - --------------------------------------------------------------------------------
2025-01-15 16:56:27,909 - INFO - Deleted project: ctest-TestRoutersBasic-05685523, ID : 9d607c10-8cd0-4cd7-8881-533394cb97e3