2025-01-13 16:06:35,196 - INFO - Domain Default found not creating
2025-01-13 16:06:35,352 - INFO - Project ctest-TestRoutersBasic-28726769 not found, creating it
2025-01-13 16:06:35,855 - INFO - Created Project:ctest-TestRoutersBasic-28726769, ID : 1786c6f8-d341-407a-96a7-68f782389a48
2025-01-13 16:06:37,392 - INFO - ================================================================================
2025-01-13 16:06:37,392 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-13 16:06:37,393 - 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 16:06:37,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.29': '0'}} with
2025-01-13 16:06:37,651 - INFO - Initial checks done. Running the testcase now
2025-01-13 16:06:37,651 - INFO -
2025-01-13 16:06:38,379 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28726769
2025-01-13 16:06:38,488 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28726769
2025-01-13 16:06:38,816 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28726769', 'default']}
2025-01-13 16:06:39,148 - DEBUG - Response for create_network : {'network': {'id': '5cd3f249-11b5-47ba-b7a3-b3ef9b7510fb', 'name': 'ctest-vn-99173725', 'tenant_id': '1786c6f8d341407a96a768f782389a48', 'project_id': '1786c6f8d341407a96a768f782389a48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28726769', 'ctest-vn-99173725'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 16:06:39,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0230cbe-c6fb-4ab3-89a6-2886ddf87f1b', 'name': '', 'tenant_id': '1786c6f8d341407a96a768f782389a48', 'network_id': '5cd3f249-11b5-47ba-b7a3-b3ef9b7510fb', 'ip_version': 4, 'cidr': '26.110.22.128/26', 'allocation_pools': [{'start': '26.110.22.130', 'end': '26.110.22.190'}], 'gateway_ip': '26.110.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.110.22.130', 'tags': [], 'project_id': '1786c6f8d341407a96a768f782389a48'}}
2025-01-13 16:06:39,380 - INFO - Created VN ctest-vn-99173725
2025-01-13 16:06:39,436 - DEBUG - VN ctest-vn-99173725 UUID is 5cd3f249-11b5-47ba-b7a3-b3ef9b7510fb
2025-01-13 16:06:39,792 - DEBUG - Response for create_network : {'network': {'id': 'e0d11495-c0b0-4880-855d-826cb48e5383', 'name': 'ctest-ext_vn-40388370', 'tenant_id': '1786c6f8d341407a96a768f782389a48', 'project_id': '1786c6f8d341407a96a768f782389a48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28726769', 'ctest-ext_vn-40388370'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 16:06:39,991 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a92e56ae-3e35-4397-8020-267bb4a9d04f', 'name': '', 'tenant_id': '1786c6f8d341407a96a768f782389a48', 'network_id': 'e0d11495-c0b0-4880-855d-826cb48e5383', 'ip_version': 4, 'cidr': '64.113.163.128/26', 'allocation_pools': [{'start': '64.113.163.130', 'end': '64.113.163.190'}], 'gateway_ip': '64.113.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.113.163.130', 'tags': [], 'project_id': '1786c6f8d341407a96a768f782389a48'}}
2025-01-13 16:06:40,012 - INFO - Created VN ctest-ext_vn-40388370
2025-01-13 16:06:40,068 - DEBUG - VN ctest-ext_vn-40388370 UUID is e0d11495-c0b0-4880-855d-826cb48e5383
2025-01-13 16:06:40,264 - DEBUG - Services list from nova: [, , ]
2025-01-13 16:06:41,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2613-1)
2025-01-13 16:06:42,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2613-1)
2025-01-13 16:06:42,735 - INFO - Setting gateway for router da773d20-a97d-4de4-b2cd-6177472e49bd to network e0d11495-c0b0-4880-855d-826cb48e5383
2025-01-13 16:06:42,799 - INFO - Adding interface with subnet_id e0230cbe-c6fb-4ab3-89a6-2886ddf87f1b, port_id None to router da773d20-a97d-4de4-b2cd-6177472e49bd
2025-01-13 16:06:43,283 - INFO - Waiting for VM ctest-TestRoutersBasic-28726769-83452197 to be up..
2025-01-13 16:06:43,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 16:06:48,658 - DEBUG - VM is in ACTIVE state now
2025-01-13 16:06:48,659 - INFO - VM name : ctest-TestRoutersBasic-28726769-83452197
2025-01-13 16:06:48,751 - DEBUG - VM ctest-TestRoutersBasic-28726769-83452197 ID is f670de62-cc81-494e-8226-a4db146b93ae
2025-01-13 16:06:48,781 - DEBUG - VM ctest-TestRoutersBasic-28726769-83452197 launched on Node cn-jenkins-deploy-platform-ansible-os-2613-1
2025-01-13 16:06:48,902 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/f670de62-cc81-494e-8226-a4db146b93ae
2025-01-13 16:06:49,222 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/f670de62-cc81-494e-8226-a4db146b93ae
2025-01-13 16:06:49,260 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/617cc641-8642-4594-bd6a-98864107ff53
2025-01-13 16:06:52,558 - 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 16:06:52,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28726769-83452197 failed!
2025-01-13 16:06:52,616 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28726769:ctest-vn-99173725 is 26.110.22.129 and allocation pool is NOT set
2025-01-13 16:06:54,680 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/2.117/3.740/1.623 ms')
2025-01-13 16:06:54,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28726769-83452197 passed
2025-01-13 16:06:54,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 16:06:54,836 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28726769-83452197, IP 26.110.22.131, Port 22
2025-01-13 16:06:54,996 - DEBUG - VM ctest-TestRoutersBasic-28726769-83452197 is ready for SSH connections
2025-01-13 16:06:54,996 - INFO - Waiting for VM ctest-TestRoutersBasic-28726769-13386402 to be up..
2025-01-13 16:06:55,088 - DEBUG - VM is in ACTIVE state now
2025-01-13 16:06:55,088 - INFO - VM name : ctest-TestRoutersBasic-28726769-13386402
2025-01-13 16:06:55,171 - DEBUG - VM ctest-TestRoutersBasic-28726769-13386402 ID is a8784843-e703-405c-9bce-86ffc236a408
2025-01-13 16:06:55,171 - DEBUG - VM ctest-TestRoutersBasic-28726769-13386402 launched on Node cn-jenkins-deploy-platform-ansible-os-2613-1
2025-01-13 16:06:55,327 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/a8784843-e703-405c-9bce-86ffc236a408
2025-01-13 16:06:55,339 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/75f7b89c-2a08-451c-8242-39f7682c0e00
2025-01-13 16:06:56,586 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.517/1.736/2.955/1.219 ms')
2025-01-13 16:06:56,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28726769-13386402 passed
2025-01-13 16:06:56,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 16:06:56,744 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28726769-13386402, IP 64.113.163.131, Port 22
2025-01-13 16:06:56,901 - DEBUG - VM ctest-TestRoutersBasic-28726769-13386402 is ready for SSH connections
2025-01-13 16:06:56,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 16:06:56,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.113.163.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123
2025-01-13 16:06:56,901 - DEBUG - ping -s 56 -c 3 -W 1 64.113.163.131
2025-01-13 16:07:00,609 - DEBUG - PING 64.113.163.131 (64.113.163.131): 56 data bytes
64 bytes from 64.113.163.131: seq=0 ttl=62 time=5.576 ms
64 bytes from 64.113.163.131: seq=1 ttl=62 time=1.041 ms
64 bytes from 64.113.163.131: seq=2 ttl=62 time=1.259 ms
--- 64.113.163.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.041/2.625/5.576 ms
2025-01-13 16:07:00,609 - INFO - Ping to IP 64.113.163.131 from VM ctest-TestRoutersBasic-28726769-83452197 passed
2025-01-13 16:07:00,610 - INFO - Deleting interface with subnet_id e0230cbe-c6fb-4ab3-89a6-2886ddf87f1b, port_id None from router da773d20-a97d-4de4-b2cd-6177472e49bd
2025-01-13 16:07:00,837 - INFO - Deleting VM ctest-TestRoutersBasic-28726769-13386402
2025-01-13 16:07:00,921 - INFO - Deleting VM ctest-TestRoutersBasic-28726769-83452197
2025-01-13 16:07:01,012 - INFO - Deleting VN ctest-ext_vn-40388370
2025-01-13 16:07:01,094 - DEBUG - VN e0d11495-c0b0-4880-855d-826cb48e5383 still in use: Unable to complete operation on network e0d11495-c0b0-4880-855d-826cb48e5383. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-844d7c58-cfc1-4f31-88c6-901825806f60']
2025-01-13 16:07:01,095 - WARNING - Deleting VN ctest-ext_vn-40388370 failed..Will retry
2025-01-13 16:07:03,218 - DEBUG - Response for deleting network ()
2025-01-13 16:07:03,218 - INFO - Deleting VN ctest-vn-99173725
2025-01-13 16:07:03,333 - DEBUG - Response for deleting network ()
2025-01-13 16:07:03,594 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 16:07:03,595 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-13 16:07:03,595 - INFO - --------------------------------------------------------------------------------
2025-01-13 16:07:04,317 - INFO - Deleted project: ctest-TestRoutersBasic-28726769, ID : 1786c6f8-d341-407a-96a7-68f782389a48