2025-01-13 02:18:53,335 - INFO - Domain Default found not creating
2025-01-13 02:18:53,493 - INFO - Project ctest-TestRoutersBasic-43381033 not found, creating it
2025-01-13 02:18:54,007 - INFO - Created Project:ctest-TestRoutersBasic-43381033, ID : 5b951eee-4070-418e-8285-d6e137078b8e
2025-01-13 02:18:55,637 - INFO - ================================================================================
2025-01-13 02:18:55,637 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-13 02:18:55,638 - 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-13 02:18:55,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.0.0.12': '0'}} with
2025-01-13 02:18:55,900 - INFO - Initial checks done. Running the testcase now
2025-01-13 02:18:55,900 - INFO -
2025-01-13 02:18:56,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43381033
2025-01-13 02:18:56,807 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43381033
2025-01-13 02:18:57,143 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43381033', 'default']}
2025-01-13 02:18:57,473 - DEBUG - Response for create_network : {'network': {'id': 'ae659c25-49fa-405c-9d32-ee9033e1d663', 'name': 'ctest-vn-29195510', 'tenant_id': '5b951eee4070418e8285d6e137078b8e', 'project_id': '5b951eee4070418e8285d6e137078b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43381033', 'ctest-vn-29195510'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 02:18:57,693 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1c76ee9-3675-479a-8fda-32c2ba707bdf', 'name': '', 'tenant_id': '5b951eee4070418e8285d6e137078b8e', 'network_id': 'ae659c25-49fa-405c-9d32-ee9033e1d663', 'ip_version': 4, 'cidr': '205.61.233.128/26', 'allocation_pools': [{'start': '205.61.233.130', 'end': '205.61.233.190'}], 'gateway_ip': '205.61.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.61.233.130', 'tags': [], 'project_id': '5b951eee4070418e8285d6e137078b8e'}}
2025-01-13 02:18:57,716 - INFO - Created VN ctest-vn-29195510
2025-01-13 02:18:57,771 - DEBUG - VN ctest-vn-29195510 UUID is ae659c25-49fa-405c-9d32-ee9033e1d663
2025-01-13 02:18:58,147 - DEBUG - Response for create_network : {'network': {'id': 'e3ae2ced-c83f-4d15-85c1-e23a705caef4', 'name': 'ctest-ext_vn-41539861', 'tenant_id': '5b951eee4070418e8285d6e137078b8e', 'project_id': '5b951eee4070418e8285d6e137078b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43381033', 'ctest-ext_vn-41539861'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 02:18:58,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fa059db-7a86-4b69-84c7-f14118a15648', 'name': '', 'tenant_id': '5b951eee4070418e8285d6e137078b8e', 'network_id': 'e3ae2ced-c83f-4d15-85c1-e23a705caef4', 'ip_version': 4, 'cidr': '180.180.85.64/26', 'allocation_pools': [{'start': '180.180.85.66', 'end': '180.180.85.126'}], 'gateway_ip': '180.180.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.180.85.66', 'tags': [], 'project_id': '5b951eee4070418e8285d6e137078b8e'}}
2025-01-13 02:18:58,374 - INFO - Created VN ctest-ext_vn-41539861
2025-01-13 02:18:58,431 - DEBUG - VN ctest-ext_vn-41539861 UUID is e3ae2ced-c83f-4d15-85c1-e23a705caef4
2025-01-13 02:18:58,611 - DEBUG - Services list from nova: [, , ]
2025-01-13 02:18:59,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2604-1)
2025-01-13 02:19:01,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2604-1)
2025-01-13 02:19:01,274 - INFO - Setting gateway for router 116f94f1-b7fc-4e03-92bb-d0f0f38c6705 to network e3ae2ced-c83f-4d15-85c1-e23a705caef4
2025-01-13 02:19:01,349 - INFO - Adding interface with subnet_id a1c76ee9-3675-479a-8fda-32c2ba707bdf, port_id None to router 116f94f1-b7fc-4e03-92bb-d0f0f38c6705
2025-01-13 02:19:01,857 - INFO - Waiting for VM ctest-TestRoutersBasic-43381033-89709139 to be up..
2025-01-13 02:19:02,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 02:19:07,146 - DEBUG - VM is in ACTIVE state now
2025-01-13 02:19:07,147 - INFO - VM name : ctest-TestRoutersBasic-43381033-89709139
2025-01-13 02:19:07,227 - DEBUG - VM ctest-TestRoutersBasic-43381033-89709139 ID is 4c265adb-1ca6-48a3-b56b-409205325cbd
2025-01-13 02:19:07,248 - DEBUG - VM ctest-TestRoutersBasic-43381033-89709139 launched on Node cn-jenkins-deploy-platform-ansible-os-2604-1.
2025-01-13 02:19:07,341 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/4c265adb-1ca6-48a3-b56b-409205325cbd
2025-01-13 02:19:07,683 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/4c265adb-1ca6-48a3-b56b-409205325cbd
2025-01-13 02:19:07,723 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/8960aa4e-6ebe-47b3-871e-441056a25be1
2025-01-13 02:19:10,995 - 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 1018ms')
2025-01-13 02:19:10,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43381033-89709139 failed!
2025-01-13 02:19:11,055 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43381033:ctest-vn-29195510 is 205.61.233.129 and allocation pool is NOT set
2025-01-13 02:19:13,125 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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 = 2.757/4.685/6.614/1.928 ms')
2025-01-13 02:19:13,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43381033-89709139 passed
2025-01-13 02:19:13,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:19:13,287 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43381033-89709139, IP 205.61.233.131, Port 22
2025-01-13 02:19:13,462 - DEBUG - VM ctest-TestRoutersBasic-43381033-89709139 is ready for SSH connections
2025-01-13 02:19:13,462 - INFO - Waiting for VM ctest-TestRoutersBasic-43381033-04848643 to be up..
2025-01-13 02:19:13,569 - DEBUG - VM is in ACTIVE state now
2025-01-13 02:19:13,569 - INFO - VM name : ctest-TestRoutersBasic-43381033-04848643
2025-01-13 02:19:13,677 - DEBUG - VM ctest-TestRoutersBasic-43381033-04848643 ID is 263ae3e9-6ad4-4992-841c-b5d75164ebd0
2025-01-13 02:19:13,677 - DEBUG - VM ctest-TestRoutersBasic-43381033-04848643 launched on Node cn-jenkins-deploy-platform-ansible-os-2604-1.
2025-01-13 02:19:13,786 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/263ae3e9-6ad4-4992-841c-b5d75164ebd0
2025-01-13 02:19:13,800 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/d185a6fe-d01c-4e20-90e7-893c25787c3d
2025-01-13 02:19:15,069 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.22 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 = 3.119/3.169/3.219/0.050 ms')
2025-01-13 02:19:15,070 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43381033-04848643 passed
2025-01-13 02:19:15,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:19:15,227 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43381033-04848643, IP 180.180.85.67, Port 22
2025-01-13 02:19:15,401 - DEBUG - VM ctest-TestRoutersBasic-43381033-04848643 is ready for SSH connections
2025-01-13 02:19:15,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:19:15,402 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.180.85.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-01-13 02:19:15,402 - DEBUG - ping -s 56 -c 3 -W 1 180.180.85.67
2025-01-13 02:19:19,180 - DEBUG - PING 180.180.85.67 (180.180.85.67): 56 data bytes
64 bytes from 180.180.85.67: seq=0 ttl=62 time=6.590 ms
64 bytes from 180.180.85.67: seq=1 ttl=62 time=1.004 ms
64 bytes from 180.180.85.67: seq=2 ttl=62 time=1.127 ms
--- 180.180.85.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.004/2.907/6.590 ms
2025-01-13 02:19:19,180 - INFO - Ping to IP 180.180.85.67 from VM ctest-TestRoutersBasic-43381033-89709139 passed
2025-01-13 02:19:19,181 - INFO - Deleting interface with subnet_id a1c76ee9-3675-479a-8fda-32c2ba707bdf, port_id None from router 116f94f1-b7fc-4e03-92bb-d0f0f38c6705
2025-01-13 02:19:19,505 - INFO - Deleting VM ctest-TestRoutersBasic-43381033-04848643
2025-01-13 02:19:19,614 - INFO - Deleting VM ctest-TestRoutersBasic-43381033-89709139
2025-01-13 02:19:19,762 - INFO - Deleting VN ctest-ext_vn-41539861
2025-01-13 02:19:19,868 - DEBUG - VN e3ae2ced-c83f-4d15-85c1-e23a705caef4 still in use: Unable to complete operation on network e3ae2ced-c83f-4d15-85c1-e23a705caef4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a4d740df-0a11-4fd5-b8ad-fa759202f012']
2025-01-13 02:19:19,869 - WARNING - Deleting VN ctest-ext_vn-41539861 failed..Will retry
2025-01-13 02:19:22,001 - DEBUG - Response for deleting network ()
2025-01-13 02:19:22,001 - INFO - Deleting VN ctest-vn-29195510
2025-01-13 02:19:22,136 - DEBUG - Response for deleting network ()
2025-01-13 02:19:22,403 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 02:19:22,403 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-13 02:19:22,403 - INFO - --------------------------------------------------------------------------------
2025-01-13 02:19:23,210 - INFO - Deleted project: ctest-TestRoutersBasic-43381033, ID : 5b951eee-4070-418e-8285-d6e137078b8e