2025-04-21 13:59:17,202 - INFO - Domain Default found not creating
2025-04-21 13:59:17,369 - INFO - Project ctest-TestRoutersBasic-26243375 not found, creating it
2025-04-21 13:59:17,858 - INFO - Created Project:ctest-TestRoutersBasic-26243375, ID : f341c5b5-1c5c-484d-b48f-10f0eca3f140
2025-04-21 13:59:19,332 - INFO - ================================================================================
2025-04-21 13:59:19,332 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-21 13:59:19,332 - 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-04-21 13:59:19,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-21 13:59:19,598 - INFO - Initial checks done. Running the testcase now
2025-04-21 13:59:19,598 - INFO -
2025-04-21 13:59:20,305 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26243375
2025-04-21 13:59:20,403 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26243375
2025-04-21 13:59:20,731 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26243375', 'default']}
2025-04-21 13:59:21,057 - DEBUG - Response for create_network : {'network': {'id': 'd7f62d6d-6c89-4b6d-a6d1-25eb445a8aac', 'name': 'ctest-vn-11731918', 'tenant_id': 'f341c5b51c5c484db48f10f0eca3f140', 'project_id': 'f341c5b51c5c484db48f10f0eca3f140', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26243375', 'ctest-vn-11731918'], 'port_security_enabled': True, 'description': ''}}
2025-04-21 13:59:21,204 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e855d12a-4282-44f1-902f-091534780636', 'name': '', 'tenant_id': 'f341c5b51c5c484db48f10f0eca3f140', 'network_id': 'd7f62d6d-6c89-4b6d-a6d1-25eb445a8aac', 'ip_version': 4, 'cidr': '13.207.189.64/26', 'allocation_pools': [{'start': '13.207.189.66', 'end': '13.207.189.126'}], 'gateway_ip': '13.207.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.207.189.66', 'tags': [], 'project_id': 'f341c5b51c5c484db48f10f0eca3f140'}}
2025-04-21 13:59:21,223 - INFO - Created VN ctest-vn-11731918
2025-04-21 13:59:21,279 - DEBUG - VN ctest-vn-11731918 UUID is d7f62d6d-6c89-4b6d-a6d1-25eb445a8aac
2025-04-21 13:59:21,605 - DEBUG - Response for create_network : {'network': {'id': '60f96703-55ac-4bd2-93af-76a599a369a0', 'name': 'ctest-ext_vn-14085839', 'tenant_id': 'f341c5b51c5c484db48f10f0eca3f140', 'project_id': 'f341c5b51c5c484db48f10f0eca3f140', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26243375', 'ctest-ext_vn-14085839'], 'port_security_enabled': True, 'description': ''}}
2025-04-21 13:59:21,808 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0dd0fa8-b693-455f-9484-35891b737c37', 'name': '', 'tenant_id': 'f341c5b51c5c484db48f10f0eca3f140', 'network_id': '60f96703-55ac-4bd2-93af-76a599a369a0', 'ip_version': 4, 'cidr': '222.238.128.192/26', 'allocation_pools': [{'start': '222.238.128.194', 'end': '222.238.128.254'}], 'gateway_ip': '222.238.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.238.128.194', 'tags': [], 'project_id': 'f341c5b51c5c484db48f10f0eca3f140'}}
2025-04-21 13:59:21,826 - INFO - Created VN ctest-ext_vn-14085839
2025-04-21 13:59:21,880 - DEBUG - VN ctest-ext_vn-14085839 UUID is 60f96703-55ac-4bd2-93af-76a599a369a0
2025-04-21 13:59:22,054 - DEBUG - Services list from nova: [, , ]
2025-04-21 13:59:23,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3154-1)
2025-04-21 13:59:24,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3154-1)
2025-04-21 13:59:24,474 - INFO - Setting gateway for router 968d151e-d8c9-4bdc-8d8e-fdea0a0e5aaa to network 60f96703-55ac-4bd2-93af-76a599a369a0
2025-04-21 13:59:24,541 - INFO - Adding interface with subnet_id e855d12a-4282-44f1-902f-091534780636, port_id None to router 968d151e-d8c9-4bdc-8d8e-fdea0a0e5aaa
2025-04-21 13:59:25,033 - INFO - Waiting for VM ctest-TestRoutersBasic-26243375-94183345 to be up..
2025-04-21 13:59:25,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-21 13:59:30,294 - DEBUG - VM is in ACTIVE state now
2025-04-21 13:59:30,294 - INFO - VM name : ctest-TestRoutersBasic-26243375-94183345
2025-04-21 13:59:30,378 - DEBUG - VM ctest-TestRoutersBasic-26243375-94183345 ID is ccbd3df5-4750-440a-9891-f5935e072b2b
2025-04-21 13:59:30,402 - DEBUG - VM ctest-TestRoutersBasic-26243375-94183345 launched on Node cn-jenkins-deploy-platform-ansible-os-3154-1
2025-04-21 13:59:30,483 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ccbd3df5-4750-440a-9891-f5935e072b2b
2025-04-21 13:59:30,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ccbd3df5-4750-440a-9891-f5935e072b2b
2025-04-21 13:59:30,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/92993952-e283-4626-82d3-d1d662a37b25
2025-04-21 13:59:34,069 - 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-04-21 13:59:34,069 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26243375-94183345 failed!
2025-04-21 13:59:34,123 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26243375:ctest-vn-11731918 is 13.207.189.65 and allocation pool is NOT set
2025-04-21 13:59:36,183 - 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=6.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.374/3.962/6.550/2.588 ms')
2025-04-21 13:59:36,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26243375-94183345 passed
2025-04-21 13:59:36,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 13:59:36,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26243375-94183345, IP 13.207.189.67, Port 22
2025-04-21 13:59:36,521 - DEBUG - VM ctest-TestRoutersBasic-26243375-94183345 is ready for SSH connections
2025-04-21 13:59:36,521 - INFO - Waiting for VM ctest-TestRoutersBasic-26243375-19005944 to be up..
2025-04-21 13:59:36,602 - DEBUG - VM is in ACTIVE state now
2025-04-21 13:59:36,602 - INFO - VM name : ctest-TestRoutersBasic-26243375-19005944
2025-04-21 13:59:36,689 - DEBUG - VM ctest-TestRoutersBasic-26243375-19005944 ID is 91aea716-42fc-445f-8050-3108e840029b
2025-04-21 13:59:36,689 - DEBUG - VM ctest-TestRoutersBasic-26243375-19005944 launched on Node cn-jenkins-deploy-platform-ansible-os-3154-1
2025-04-21 13:59:36,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/91aea716-42fc-445f-8050-3108e840029b
2025-04-21 13:59:36,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0d5bd097-d6b8-4ffa-bba6-ff4fafa4b1f7
2025-04-21 13:59:38,024 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.762/3.023/1.260 ms')
2025-04-21 13:59:38,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26243375-19005944 passed
2025-04-21 13:59:38,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 13:59:38,179 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26243375-19005944, IP 222.238.128.195, Port 22
2025-04-21 13:59:38,352 - DEBUG - VM ctest-TestRoutersBasic-26243375-19005944 is ready for SSH connections
2025-04-21 13:59:38,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-21 13:59:38,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.238.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-21 13:59:38,353 - DEBUG - ping -s 56 -c 3 -W 1 222.238.128.195
2025-04-21 13:59:42,323 - DEBUG - PING 222.238.128.195 (222.238.128.195): 56 data bytes
64 bytes from 222.238.128.195: seq=0 ttl=62 time=5.944 ms
64 bytes from 222.238.128.195: seq=1 ttl=62 time=1.036 ms
64 bytes from 222.238.128.195: seq=2 ttl=62 time=1.207 ms
--- 222.238.128.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.036/2.729/5.944 ms
2025-04-21 13:59:42,323 - INFO - Ping to IP 222.238.128.195 from VM ctest-TestRoutersBasic-26243375-94183345 passed
2025-04-21 13:59:42,323 - INFO - Deleting interface with subnet_id e855d12a-4282-44f1-902f-091534780636, port_id None from router 968d151e-d8c9-4bdc-8d8e-fdea0a0e5aaa
2025-04-21 13:59:42,538 - INFO - Deleting VM ctest-TestRoutersBasic-26243375-19005944
2025-04-21 13:59:42,607 - INFO - Deleting VM ctest-TestRoutersBasic-26243375-94183345
2025-04-21 13:59:42,683 - INFO - Deleting VN ctest-ext_vn-14085839
2025-04-21 13:59:42,746 - DEBUG - VN 60f96703-55ac-4bd2-93af-76a599a369a0 still in use: Unable to complete operation on network 60f96703-55ac-4bd2-93af-76a599a369a0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a88d1489-ad2d-4d29-a8d4-e60cef7da2a5']
2025-04-21 13:59:42,746 - WARNING - Deleting VN ctest-ext_vn-14085839 failed..Will retry
2025-04-21 13:59:44,863 - DEBUG - Response for deleting network ()
2025-04-21 13:59:44,863 - INFO - Deleting VN ctest-vn-11731918
2025-04-21 13:59:45,003 - DEBUG - Response for deleting network ()
2025-04-21 13:59:45,278 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 13:59:45,278 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-21 13:59:45,278 - INFO - --------------------------------------------------------------------------------
2025-04-21 13:59:45,960 - INFO - Deleted project: ctest-TestRoutersBasic-26243375, ID : f341c5b5-1c5c-484d-b48f-10f0eca3f140