2025-07-18 20:51:34,065 - INFO - Domain Default found not creating
2025-07-18 20:51:34,202 - INFO - Project ctest-TestRoutersBasic-25721276 not found, creating it
2025-07-18 20:51:34,666 - INFO - Created Project:ctest-TestRoutersBasic-25721276, ID : e5b3bc8e-5ab1-49b6-938f-d035dc9dc046
2025-07-18 20:51:36,075 - INFO - ================================================================================
2025-07-18 20:51:36,075 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-18 20:51:36,075 - 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-07-18 20:51:36,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2025-07-18 20:51:36,333 - INFO - Initial checks done. Running the testcase now
2025-07-18 20:51:36,333 - INFO -
2025-07-18 20:51:37,031 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25721276
2025-07-18 20:51:37,127 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25721276
2025-07-18 20:51:37,443 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25721276', 'default']}
2025-07-18 20:51:37,727 - DEBUG - Response for create_network : {'network': {'id': 'e1104e50-c5ae-4afe-bc0f-be060e11dacf', 'name': 'ctest-vn-50059621', 'tenant_id': 'e5b3bc8e5ab149b6938fd035dc9dc046', 'project_id': 'e5b3bc8e5ab149b6938fd035dc9dc046', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25721276', 'ctest-vn-50059621'], 'port_security_enabled': True, 'description': ''}}
2025-07-18 20:51:37,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eef686d0-6e88-4558-8f5d-550a28d0ea1b', 'name': '', 'tenant_id': 'e5b3bc8e5ab149b6938fd035dc9dc046', 'network_id': 'e1104e50-c5ae-4afe-bc0f-be060e11dacf', 'ip_version': 4, 'cidr': '161.235.3.0/26', 'allocation_pools': [{'start': '161.235.3.2', 'end': '161.235.3.62'}], 'gateway_ip': '161.235.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.235.3.2', 'tags': [], 'project_id': 'e5b3bc8e5ab149b6938fd035dc9dc046'}}
2025-07-18 20:51:37,977 - INFO - Created VN ctest-vn-50059621
2025-07-18 20:51:38,039 - DEBUG - VN ctest-vn-50059621 UUID is e1104e50-c5ae-4afe-bc0f-be060e11dacf
2025-07-18 20:51:38,393 - DEBUG - Response for create_network : {'network': {'id': '9f64895c-a2a2-4cfb-868e-be7904c7481c', 'name': 'ctest-ext_vn-70081511', 'tenant_id': 'e5b3bc8e5ab149b6938fd035dc9dc046', 'project_id': 'e5b3bc8e5ab149b6938fd035dc9dc046', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25721276', 'ctest-ext_vn-70081511'], 'port_security_enabled': True, 'description': ''}}
2025-07-18 20:51:38,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '59fbecac-57b8-4917-9bac-0f813e045f7b', 'name': '', 'tenant_id': 'e5b3bc8e5ab149b6938fd035dc9dc046', 'network_id': '9f64895c-a2a2-4cfb-868e-be7904c7481c', 'ip_version': 4, 'cidr': '21.116.120.192/26', 'allocation_pools': [{'start': '21.116.120.194', 'end': '21.116.120.254'}], 'gateway_ip': '21.116.120.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.116.120.194', 'tags': [], 'project_id': 'e5b3bc8e5ab149b6938fd035dc9dc046'}}
2025-07-18 20:51:38,590 - INFO - Created VN ctest-ext_vn-70081511
2025-07-18 20:51:38,643 - DEBUG - VN ctest-ext_vn-70081511 UUID is 9f64895c-a2a2-4cfb-868e-be7904c7481c
2025-07-18 20:51:38,806 - DEBUG - Services list from nova: [, , ]
2025-07-18 20:51:39,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3664-1)
2025-07-18 20:51:40,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3664-1)
2025-07-18 20:51:41,015 - INFO - Setting gateway for router 89b7e798-9e1b-4df2-b91b-5ec290e8ce87 to network 9f64895c-a2a2-4cfb-868e-be7904c7481c
2025-07-18 20:51:41,110 - INFO - Adding interface with subnet_id eef686d0-6e88-4558-8f5d-550a28d0ea1b, port_id None to router 89b7e798-9e1b-4df2-b91b-5ec290e8ce87
2025-07-18 20:51:41,521 - INFO - Waiting for VM ctest-TestRoutersBasic-25721276-36407758 to be up..
2025-07-18 20:51:41,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-18 20:51:46,786 - DEBUG - VM is in ACTIVE state now
2025-07-18 20:51:46,787 - INFO - VM name : ctest-TestRoutersBasic-25721276-36407758
2025-07-18 20:51:46,912 - DEBUG - VM ctest-TestRoutersBasic-25721276-36407758 ID is eccf2465-132a-4c93-abac-22b4d67ee580
2025-07-18 20:51:46,934 - DEBUG - VM ctest-TestRoutersBasic-25721276-36407758 launched on Node cn-jenkins-deploy-platform-ansible-os-3664-1
2025-07-18 20:51:47,048 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/eccf2465-132a-4c93-abac-22b4d67ee580
2025-07-18 20:51:47,444 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/eccf2465-132a-4c93-abac-22b4d67ee580
2025-07-18 20:51:47,475 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9ab67d6d-73b4-4a0d-b3b8-3cfba18411aa
2025-07-18 20:51:50,729 - 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 1015ms')
2025-07-18 20:51:50,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25721276-36407758 failed!
2025-07-18 20:51:50,783 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25721276:ctest-vn-50059621 is 161.235.3.1 and allocation pool is NOT set
2025-07-18 20:51:52,848 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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 = 0.452/1.938/3.424/1.486 ms')
2025-07-18 20:51:52,848 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25721276-36407758 passed
2025-07-18 20:51:53,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 20:51:53,010 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25721276-36407758, IP 161.235.3.3, Port 22
2025-07-18 20:51:53,185 - DEBUG - VM ctest-TestRoutersBasic-25721276-36407758 is ready for SSH connections
2025-07-18 20:51:53,186 - INFO - Waiting for VM ctest-TestRoutersBasic-25721276-27355703 to be up..
2025-07-18 20:51:53,254 - DEBUG - VM is in ACTIVE state now
2025-07-18 20:51:53,255 - INFO - VM name : ctest-TestRoutersBasic-25721276-27355703
2025-07-18 20:51:53,321 - DEBUG - VM ctest-TestRoutersBasic-25721276-27355703 ID is f7bd8dbc-372f-4f5f-8c18-c775b992410c
2025-07-18 20:51:53,321 - DEBUG - VM ctest-TestRoutersBasic-25721276-27355703 launched on Node cn-jenkins-deploy-platform-ansible-os-3664-1
2025-07-18 20:51:53,399 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f7bd8dbc-372f-4f5f-8c18-c775b992410c
2025-07-18 20:51:53,408 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/bb360397-0444-490e-a5a9-0c1c627c8d0e
2025-07-18 20:51:54,659 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.611/2.882/1.271 ms')
2025-07-18 20:51:54,659 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25721276-27355703 passed
2025-07-18 20:51:54,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 20:51:54,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25721276-27355703, IP 21.116.120.195, Port 22
2025-07-18 20:51:54,971 - DEBUG - VM ctest-TestRoutersBasic-25721276-27355703 is ready for SSH connections
2025-07-18 20:51:54,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 20:51:54,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.116.120.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-07-18 20:51:54,971 - DEBUG - ping -s 56 -c 3 -W 1 21.116.120.195
2025-07-18 20:51:58,930 - DEBUG - PING 21.116.120.195 (21.116.120.195): 56 data bytes
64 bytes from 21.116.120.195: seq=0 ttl=62 time=7.359 ms
64 bytes from 21.116.120.195: seq=1 ttl=62 time=0.876 ms
64 bytes from 21.116.120.195: seq=2 ttl=62 time=0.799 ms
--- 21.116.120.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.799/3.011/7.359 ms
2025-07-18 20:51:58,930 - INFO - Ping to IP 21.116.120.195 from VM ctest-TestRoutersBasic-25721276-36407758 passed
2025-07-18 20:51:58,930 - INFO - Deleting interface with subnet_id eef686d0-6e88-4558-8f5d-550a28d0ea1b, port_id None from router 89b7e798-9e1b-4df2-b91b-5ec290e8ce87
2025-07-18 20:51:59,135 - INFO - Deleting VM ctest-TestRoutersBasic-25721276-27355703
2025-07-18 20:51:59,197 - INFO - Deleting VM ctest-TestRoutersBasic-25721276-36407758
2025-07-18 20:51:59,275 - INFO - Deleting VN ctest-ext_vn-70081511
2025-07-18 20:51:59,347 - DEBUG - VN 9f64895c-a2a2-4cfb-868e-be7904c7481c still in use: Unable to complete operation on network 9f64895c-a2a2-4cfb-868e-be7904c7481c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9a62455f-a88f-4ef7-b668-03c328107dc1']
2025-07-18 20:51:59,347 - WARNING - Deleting VN ctest-ext_vn-70081511 failed..Will retry
2025-07-18 20:52:01,471 - DEBUG - Response for deleting network ()
2025-07-18 20:52:01,471 - INFO - Deleting VN ctest-vn-50059621
2025-07-18 20:52:01,588 - DEBUG - Response for deleting network ()
2025-07-18 20:52:01,842 - DEBUG - No XMPP flaps were noticed during the test
2025-07-18 20:52:01,842 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-18 20:52:01,842 - INFO - --------------------------------------------------------------------------------
2025-07-18 20:52:02,531 - INFO - Deleted project: ctest-TestRoutersBasic-25721276, ID : e5b3bc8e-5ab1-49b6-938f-d035dc9dc046