2025-07-15 16:35:32,495 - INFO - Domain Default found not creating
2025-07-15 16:35:32,667 - INFO - Project ctest-TestRoutersBasic-44752193 not found, creating it
2025-07-15 16:35:33,194 - INFO - Created Project:ctest-TestRoutersBasic-44752193, ID : 45ce7f39-782f-479b-b70f-927fb9d71e43
2025-07-15 16:35:34,794 - INFO - ================================================================================
2025-07-15 16:35:34,794 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-15 16:35:34,795 - 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-15 16:35:35,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-07-15 16:35:35,077 - INFO - Initial checks done. Running the testcase now
2025-07-15 16:35:35,077 - INFO -
2025-07-15 16:35:35,820 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44752193
2025-07-15 16:35:35,921 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44752193
2025-07-15 16:35:36,253 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44752193', 'default']}
2025-07-15 16:35:36,604 - DEBUG - Response for create_network : {'network': {'id': '3f594676-afdb-4827-bc0d-19cf405dc57d', 'name': 'ctest-vn-16190536', 'tenant_id': '45ce7f39782f479bb70f927fb9d71e43', 'project_id': '45ce7f39782f479bb70f927fb9d71e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44752193', 'ctest-vn-16190536'], 'port_security_enabled': True, 'description': ''}}
2025-07-15 16:35:36,783 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afbb9a4f-a3d9-43cf-84a8-b568e1160a1a', 'name': '', 'tenant_id': '45ce7f39782f479bb70f927fb9d71e43', 'network_id': '3f594676-afdb-4827-bc0d-19cf405dc57d', 'ip_version': 4, 'cidr': '218.227.95.128/26', 'allocation_pools': [{'start': '218.227.95.130', 'end': '218.227.95.190'}], 'gateway_ip': '218.227.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.227.95.130', 'tags': [], 'project_id': '45ce7f39782f479bb70f927fb9d71e43'}}
2025-07-15 16:35:36,806 - INFO - Created VN ctest-vn-16190536
2025-07-15 16:35:36,861 - DEBUG - VN ctest-vn-16190536 UUID is 3f594676-afdb-4827-bc0d-19cf405dc57d
2025-07-15 16:35:37,239 - DEBUG - Response for create_network : {'network': {'id': 'a70dae1a-03ed-48f9-935d-c7145e1ab2f5', 'name': 'ctest-ext_vn-22770341', 'tenant_id': '45ce7f39782f479bb70f927fb9d71e43', 'project_id': '45ce7f39782f479bb70f927fb9d71e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44752193', 'ctest-ext_vn-22770341'], 'port_security_enabled': True, 'description': ''}}
2025-07-15 16:35:37,472 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e29ce8f9-a9f0-4a24-bb5e-11f61dfc71ea', 'name': '', 'tenant_id': '45ce7f39782f479bb70f927fb9d71e43', 'network_id': 'a70dae1a-03ed-48f9-935d-c7145e1ab2f5', 'ip_version': 4, 'cidr': '165.21.68.128/26', 'allocation_pools': [{'start': '165.21.68.130', 'end': '165.21.68.190'}], 'gateway_ip': '165.21.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.21.68.130', 'tags': [], 'project_id': '45ce7f39782f479bb70f927fb9d71e43'}}
2025-07-15 16:35:37,492 - INFO - Created VN ctest-ext_vn-22770341
2025-07-15 16:35:37,545 - DEBUG - VN ctest-ext_vn-22770341 UUID is a70dae1a-03ed-48f9-935d-c7145e1ab2f5
2025-07-15 16:35:37,724 - DEBUG - Services list from nova: [, , ]
2025-07-15 16:35:38,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3639-1)
2025-07-15 16:35:40,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3639-1)
2025-07-15 16:35:40,570 - INFO - Setting gateway for router 6ee8d8fa-9f59-4d98-86af-10c968bf27be to network a70dae1a-03ed-48f9-935d-c7145e1ab2f5
2025-07-15 16:35:40,734 - INFO - Adding interface with subnet_id afbb9a4f-a3d9-43cf-84a8-b568e1160a1a, port_id None to router 6ee8d8fa-9f59-4d98-86af-10c968bf27be
2025-07-15 16:35:41,394 - INFO - Waiting for VM ctest-TestRoutersBasic-44752193-79884673 to be up..
2025-07-15 16:35:41,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-15 16:35:46,669 - DEBUG - VM is in ACTIVE state now
2025-07-15 16:35:46,669 - INFO - VM name : ctest-TestRoutersBasic-44752193-79884673
2025-07-15 16:35:46,791 - DEBUG - VM ctest-TestRoutersBasic-44752193-79884673 ID is 8ca8d768-8018-4e33-bee1-9a271111efda
2025-07-15 16:35:46,818 - DEBUG - VM ctest-TestRoutersBasic-44752193-79884673 launched on Node cn-jenkins-deploy-platform-ansible-os-3639-1
2025-07-15 16:35:46,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ca8d768-8018-4e33-bee1-9a271111efda
2025-07-15 16:35:47,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ca8d768-8018-4e33-bee1-9a271111efda
2025-07-15 16:35:47,261 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0f95ac52-5b80-4367-b945-6591eda40257
2025-07-15 16:35:50,529 - 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 1013ms')
2025-07-15 16:35:50,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44752193-79884673 failed!
2025-07-15 16:35:50,593 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44752193:ctest-vn-16190536 is 218.227.95.129 and allocation pool is NOT set
2025-07-15 16:35:52,658 - 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=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.631 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.631/2.976/5.322/2.345 ms')
2025-07-15 16:35:52,658 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44752193-79884673 passed
2025-07-15 16:35:52,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 16:35:52,813 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44752193-79884673, IP 218.227.95.131, Port 22
2025-07-15 16:35:52,977 - DEBUG - VM ctest-TestRoutersBasic-44752193-79884673 is ready for SSH connections
2025-07-15 16:35:52,978 - INFO - Waiting for VM ctest-TestRoutersBasic-44752193-56536317 to be up..
2025-07-15 16:35:53,071 - DEBUG - VM is in ACTIVE state now
2025-07-15 16:35:53,072 - INFO - VM name : ctest-TestRoutersBasic-44752193-56536317
2025-07-15 16:35:53,186 - DEBUG - VM ctest-TestRoutersBasic-44752193-56536317 ID is 91c33b6e-93bb-415e-9fb1-e4464e4b81d6
2025-07-15 16:35:53,186 - DEBUG - VM ctest-TestRoutersBasic-44752193-56536317 launched on Node cn-jenkins-deploy-platform-ansible-os-3639-1
2025-07-15 16:35:53,276 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/91c33b6e-93bb-415e-9fb1-e4464e4b81d6
2025-07-15 16:35:53,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2ebcab57-be19-4532-81a9-f406f88797fb
2025-07-15 16:35:54,538 - 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=5.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.838 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.838/3.224/5.611/2.386 ms')
2025-07-15 16:35:54,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44752193-56536317 passed
2025-07-15 16:35:54,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 16:35:54,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44752193-56536317, IP 165.21.68.131, Port 22
2025-07-15 16:35:54,849 - DEBUG - VM ctest-TestRoutersBasic-44752193-56536317 is ready for SSH connections
2025-07-15 16:35:54,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-15 16:35:54,849 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.21.68.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-15 16:35:54,849 - DEBUG - ping -s 56 -c 3 -W 1 165.21.68.131
2025-07-15 16:35:58,534 - DEBUG - PING 165.21.68.131 (165.21.68.131): 56 data bytes
64 bytes from 165.21.68.131: seq=0 ttl=62 time=8.539 ms
64 bytes from 165.21.68.131: seq=1 ttl=62 time=1.207 ms
64 bytes from 165.21.68.131: seq=2 ttl=62 time=1.373 ms
--- 165.21.68.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.207/3.706/8.539 ms
2025-07-15 16:35:58,534 - INFO - Ping to IP 165.21.68.131 from VM ctest-TestRoutersBasic-44752193-79884673 passed
2025-07-15 16:35:58,534 - INFO - Deleting interface with subnet_id afbb9a4f-a3d9-43cf-84a8-b568e1160a1a, port_id None from router 6ee8d8fa-9f59-4d98-86af-10c968bf27be
2025-07-15 16:35:58,742 - INFO - Deleting VM ctest-TestRoutersBasic-44752193-56536317
2025-07-15 16:35:58,825 - INFO - Deleting VM ctest-TestRoutersBasic-44752193-79884673
2025-07-15 16:35:58,940 - INFO - Deleting VN ctest-ext_vn-22770341
2025-07-15 16:35:59,027 - DEBUG - VN a70dae1a-03ed-48f9-935d-c7145e1ab2f5 still in use: Unable to complete operation on network a70dae1a-03ed-48f9-935d-c7145e1ab2f5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ce9096aa-ae04-4a5d-95cc-13210f57cd0f']
2025-07-15 16:35:59,027 - WARNING - Deleting VN ctest-ext_vn-22770341 failed..Will retry
2025-07-15 16:36:01,161 - DEBUG - Response for deleting network ()
2025-07-15 16:36:01,161 - INFO - Deleting VN ctest-vn-16190536
2025-07-15 16:36:01,284 - DEBUG - Response for deleting network ()
2025-07-15 16:36:01,565 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 16:36:01,565 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-07-15 16:36:01,565 - INFO - --------------------------------------------------------------------------------
2025-07-15 16:36:02,322 - INFO - Deleted project: ctest-TestRoutersBasic-44752193, ID : 45ce7f39-782f-479b-b70f-927fb9d71e43