2025-04-24 02:06:40,020 - INFO - Domain Default found not creating
2025-04-24 02:06:40,153 - INFO - Project ctest-TestRoutersBasic-05222293 not found, creating it
2025-04-24 02:06:40,613 - INFO - Created Project:ctest-TestRoutersBasic-05222293, ID : c8944dff-7f21-444f-bd49-5bfb3e35b803
2025-04-24 02:06:41,976 - INFO - ================================================================================
2025-04-24 02:06:41,976 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-24 02:06:41,976 - 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-24 02:06:42,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-04-24 02:06:42,232 - INFO - Initial checks done. Running the testcase now
2025-04-24 02:06:42,232 - INFO -
2025-04-24 02:06:42,929 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05222293
2025-04-24 02:06:43,022 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05222293
2025-04-24 02:06:43,346 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05222293', 'default']}
2025-04-24 02:06:43,628 - DEBUG - Response for create_network : {'network': {'id': '5d23b07a-1c1d-45af-82a1-86680b9a9f39', 'name': 'ctest-vn-55834483', 'tenant_id': 'c8944dff7f21444fbd495bfb3e35b803', 'project_id': 'c8944dff7f21444fbd495bfb3e35b803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05222293', 'ctest-vn-55834483'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:06:43,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dc1a874-eeae-4d4a-b0b4-8dfb9f41607e', 'name': '', 'tenant_id': 'c8944dff7f21444fbd495bfb3e35b803', 'network_id': '5d23b07a-1c1d-45af-82a1-86680b9a9f39', 'ip_version': 4, 'cidr': '156.232.39.192/26', 'allocation_pools': [{'start': '156.232.39.194', 'end': '156.232.39.254'}], 'gateway_ip': '156.232.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.232.39.194', 'tags': [], 'project_id': 'c8944dff7f21444fbd495bfb3e35b803'}}
2025-04-24 02:06:43,825 - INFO - Created VN ctest-vn-55834483
2025-04-24 02:06:43,878 - DEBUG - VN ctest-vn-55834483 UUID is 5d23b07a-1c1d-45af-82a1-86680b9a9f39
2025-04-24 02:06:44,199 - DEBUG - Response for create_network : {'network': {'id': '84cabbdd-ed6f-4aa1-a08c-eab19b315dab', 'name': 'ctest-ext_vn-82883939', 'tenant_id': 'c8944dff7f21444fbd495bfb3e35b803', 'project_id': 'c8944dff7f21444fbd495bfb3e35b803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05222293', 'ctest-ext_vn-82883939'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 02:06:44,556 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2c4bc24-2453-4f9f-91a0-a4b5a80d588f', 'name': '', 'tenant_id': 'c8944dff7f21444fbd495bfb3e35b803', 'network_id': '84cabbdd-ed6f-4aa1-a08c-eab19b315dab', 'ip_version': 4, 'cidr': '42.126.129.192/26', 'allocation_pools': [{'start': '42.126.129.194', 'end': '42.126.129.254'}], 'gateway_ip': '42.126.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.126.129.194', 'tags': [], 'project_id': 'c8944dff7f21444fbd495bfb3e35b803'}}
2025-04-24 02:06:44,575 - INFO - Created VN ctest-ext_vn-82883939
2025-04-24 02:06:44,626 - DEBUG - VN ctest-ext_vn-82883939 UUID is 84cabbdd-ed6f-4aa1-a08c-eab19b315dab
2025-04-24 02:06:44,822 - DEBUG - Services list from nova: [, , ]
2025-04-24 02:06:45,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3198-1)
2025-04-24 02:06:46,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3198-1)
2025-04-24 02:06:46,950 - INFO - Setting gateway for router 9995b0aa-e6e9-4960-8e2d-ebb73fcccf2a to network 84cabbdd-ed6f-4aa1-a08c-eab19b315dab
2025-04-24 02:06:47,024 - INFO - Adding interface with subnet_id 1dc1a874-eeae-4d4a-b0b4-8dfb9f41607e, port_id None to router 9995b0aa-e6e9-4960-8e2d-ebb73fcccf2a
2025-04-24 02:06:47,453 - INFO - Waiting for VM ctest-TestRoutersBasic-05222293-49113329 to be up..
2025-04-24 02:06:47,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 02:06:52,722 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:06:52,722 - INFO - VM name : ctest-TestRoutersBasic-05222293-49113329
2025-04-24 02:06:52,797 - DEBUG - VM ctest-TestRoutersBasic-05222293-49113329 ID is cad7453d-5468-4684-b8fa-678d22bd9889
2025-04-24 02:06:52,817 - DEBUG - VM ctest-TestRoutersBasic-05222293-49113329 launched on Node cn-jenkins-deploy-platform-ansible-os-3198-1
2025-04-24 02:06:52,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cad7453d-5468-4684-b8fa-678d22bd9889
2025-04-24 02:06:53,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cad7453d-5468-4684-b8fa-678d22bd9889
2025-04-24 02:06:53,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/089be0e2-d87a-4f3b-8a9b-bb7cd6b57c27
2025-04-24 02:06:56,462 - 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 1003ms')
2025-04-24 02:06:56,463 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05222293-49113329 failed!
2025-04-24 02:06:56,518 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05222293:ctest-vn-55834483 is 156.232.39.193 and allocation pool is NOT set
2025-04-24 02:06:58,577 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.352 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.352/1.636/2.920/1.284 ms')
2025-04-24 02:06:58,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05222293-49113329 passed
2025-04-24 02:06:58,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:06:58,726 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05222293-49113329, IP 156.232.39.195, Port 22
2025-04-24 02:06:58,881 - DEBUG - VM ctest-TestRoutersBasic-05222293-49113329 is ready for SSH connections
2025-04-24 02:06:58,882 - INFO - Waiting for VM ctest-TestRoutersBasic-05222293-70709266 to be up..
2025-04-24 02:06:58,954 - DEBUG - VM is in ACTIVE state now
2025-04-24 02:06:58,955 - INFO - VM name : ctest-TestRoutersBasic-05222293-70709266
2025-04-24 02:06:59,023 - DEBUG - VM ctest-TestRoutersBasic-05222293-70709266 ID is 704cc02a-a605-401c-aa59-df7db5d49d06
2025-04-24 02:06:59,023 - DEBUG - VM ctest-TestRoutersBasic-05222293-70709266 launched on Node cn-jenkins-deploy-platform-ansible-os-3198-1
2025-04-24 02:06:59,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/704cc02a-a605-401c-aa59-df7db5d49d06
2025-04-24 02:06:59,111 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f04d0734-5f63-4e15-bb99-de810cacacd7
2025-04-24 02:07:00,352 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.583/2.759/1.175 ms')
2025-04-24 02:07:00,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05222293-70709266 passed
2025-04-24 02:07:00,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:07:00,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05222293-70709266, IP 42.126.129.195, Port 22
2025-04-24 02:07:00,661 - DEBUG - VM ctest-TestRoutersBasic-05222293-70709266 is ready for SSH connections
2025-04-24 02:07:00,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:07:00,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.126.129.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-24 02:07:00,662 - DEBUG - ping -s 56 -c 3 -W 1 42.126.129.195
2025-04-24 02:07:04,594 - DEBUG - PING 42.126.129.195 (42.126.129.195): 56 data bytes
64 bytes from 42.126.129.195: seq=0 ttl=62 time=6.267 ms
64 bytes from 42.126.129.195: seq=1 ttl=62 time=0.655 ms
64 bytes from 42.126.129.195: seq=2 ttl=62 time=0.827 ms
--- 42.126.129.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.655/2.583/6.267 ms
2025-04-24 02:07:04,594 - INFO - Ping to IP 42.126.129.195 from VM ctest-TestRoutersBasic-05222293-49113329 passed
2025-04-24 02:07:04,595 - INFO - Deleting interface with subnet_id 1dc1a874-eeae-4d4a-b0b4-8dfb9f41607e, port_id None from router 9995b0aa-e6e9-4960-8e2d-ebb73fcccf2a
2025-04-24 02:07:04,760 - INFO - Deleting VM ctest-TestRoutersBasic-05222293-70709266
2025-04-24 02:07:04,831 - INFO - Deleting VM ctest-TestRoutersBasic-05222293-49113329
2025-04-24 02:07:04,904 - INFO - Deleting VN ctest-ext_vn-82883939
2025-04-24 02:07:04,963 - DEBUG - VN 84cabbdd-ed6f-4aa1-a08c-eab19b315dab still in use: Unable to complete operation on network 84cabbdd-ed6f-4aa1-a08c-eab19b315dab. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-32808ea0-a7ba-44fb-98fe-e52201efe955']
2025-04-24 02:07:04,963 - WARNING - Deleting VN ctest-ext_vn-82883939 failed..Will retry
2025-04-24 02:07:07,073 - DEBUG - Response for deleting network ()
2025-04-24 02:07:07,073 - INFO - Deleting VN ctest-vn-55834483
2025-04-24 02:07:07,164 - DEBUG - Response for deleting network ()
2025-04-24 02:07:07,428 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:07:07,428 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-24 02:07:07,428 - INFO - --------------------------------------------------------------------------------
2025-04-24 02:07:08,090 - INFO - Deleted project: ctest-TestRoutersBasic-05222293, ID : c8944dff-7f21-444f-bd49-5bfb3e35b803