2025-07-01 14:51:43,854 - INFO - Domain Default found not creating
2025-07-01 14:51:43,996 - INFO - Project ctest-TestRoutersBasic-86035163 not found, creating it
2025-07-01 14:51:44,438 - INFO - Created Project:ctest-TestRoutersBasic-86035163, ID : b20e7bf1-e87d-4e53-8f6f-ce06b3fbd360
2025-07-01 14:51:45,845 - INFO - ================================================================================
2025-07-01 14:51:45,845 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-01 14:51:45,845 - 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-01 14:51:46,102 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.0.0.49': '0'}} with
2025-07-01 14:51:46,103 - INFO - Initial checks done. Running the testcase now
2025-07-01 14:51:46,103 - INFO -
2025-07-01 14:51:46,812 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86035163
2025-07-01 14:51:46,905 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86035163
2025-07-01 14:51:47,229 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86035163', 'default']}
2025-07-01 14:51:47,510 - DEBUG - Response for create_network : {'network': {'id': '794883a2-1926-426c-92fb-e0f41e78afe6', 'name': 'ctest-vn-61556418', 'tenant_id': 'b20e7bf1e87d4e538f6fce06b3fbd360', 'project_id': 'b20e7bf1e87d4e538f6fce06b3fbd360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86035163', 'ctest-vn-61556418'], 'port_security_enabled': True, 'description': ''}}
2025-07-01 14:51:47,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '73c3ecec-3d19-47df-995d-727a0b054cfb', 'name': '', 'tenant_id': 'b20e7bf1e87d4e538f6fce06b3fbd360', 'network_id': '794883a2-1926-426c-92fb-e0f41e78afe6', 'ip_version': 4, 'cidr': '130.62.133.128/26', 'allocation_pools': [{'start': '130.62.133.130', 'end': '130.62.133.190'}], 'gateway_ip': '130.62.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.62.133.130', 'tags': [], 'project_id': 'b20e7bf1e87d4e538f6fce06b3fbd360'}}
2025-07-01 14:51:47,727 - INFO - Created VN ctest-vn-61556418
2025-07-01 14:51:47,777 - DEBUG - VN ctest-vn-61556418 UUID is 794883a2-1926-426c-92fb-e0f41e78afe6
2025-07-01 14:51:48,216 - DEBUG - Response for create_network : {'network': {'id': 'a5bb602f-4475-41b7-b3bb-476ffbceea5f', 'name': 'ctest-ext_vn-91923442', 'tenant_id': 'b20e7bf1e87d4e538f6fce06b3fbd360', 'project_id': 'b20e7bf1e87d4e538f6fce06b3fbd360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86035163', 'ctest-ext_vn-91923442'], 'port_security_enabled': True, 'description': ''}}
2025-07-01 14:51:48,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a04ce4e6-61d2-4386-b018-be2b0e3d038b', 'name': '', 'tenant_id': 'b20e7bf1e87d4e538f6fce06b3fbd360', 'network_id': 'a5bb602f-4475-41b7-b3bb-476ffbceea5f', 'ip_version': 4, 'cidr': '210.124.60.128/26', 'allocation_pools': [{'start': '210.124.60.130', 'end': '210.124.60.190'}], 'gateway_ip': '210.124.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.124.60.130', 'tags': [], 'project_id': 'b20e7bf1e87d4e538f6fce06b3fbd360'}}
2025-07-01 14:51:48,441 - INFO - Created VN ctest-ext_vn-91923442
2025-07-01 14:51:48,493 - DEBUG - VN ctest-ext_vn-91923442 UUID is a5bb602f-4475-41b7-b3bb-476ffbceea5f
2025-07-01 14:51:48,673 - DEBUG - Services list from nova: [, , ]
2025-07-01 14:51:49,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3587-1)
2025-07-01 14:51:50,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3587-1)
2025-07-01 14:51:50,993 - INFO - Setting gateway for router 784f36f6-1ed9-4741-beaf-919193150132 to network a5bb602f-4475-41b7-b3bb-476ffbceea5f
2025-07-01 14:51:51,060 - INFO - Adding interface with subnet_id 73c3ecec-3d19-47df-995d-727a0b054cfb, port_id None to router 784f36f6-1ed9-4741-beaf-919193150132
2025-07-01 14:51:51,409 - INFO - Waiting for VM ctest-TestRoutersBasic-86035163-23539252 to be up..
2025-07-01 14:51:51,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-01 14:51:56,664 - DEBUG - VM is in ACTIVE state now
2025-07-01 14:51:56,664 - INFO - VM name : ctest-TestRoutersBasic-86035163-23539252
2025-07-01 14:51:56,758 - DEBUG - VM ctest-TestRoutersBasic-86035163-23539252 ID is 7dbd0031-728a-4f85-98c8-9b7d5c465cb6
2025-07-01 14:51:56,780 - DEBUG - VM ctest-TestRoutersBasic-86035163-23539252 launched on Node cn-jenkins-deploy-platform-ansible-os-3587-1.
2025-07-01 14:51:56,874 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7dbd0031-728a-4f85-98c8-9b7d5c465cb6
2025-07-01 14:51:57,179 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7dbd0031-728a-4f85-98c8-9b7d5c465cb6
2025-07-01 14:51:57,219 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d595f650-bced-480d-8339-f5112b643a29
2025-07-01 14:52:00,472 - 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 1014ms')
2025-07-01 14:52:00,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86035163-23539252 failed!
2025-07-01 14:52:00,533 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86035163:ctest-vn-61556418 is 130.62.133.129 and allocation pool is NOT set
2025-07-01 14:52:02,591 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.599/2.796/1.197 ms')
2025-07-01 14:52:02,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86035163-23539252 passed
2025-07-01 14:52:02,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 14:52:02,737 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86035163-23539252, IP 130.62.133.131, Port 22
2025-07-01 14:52:02,893 - DEBUG - VM ctest-TestRoutersBasic-86035163-23539252 is ready for SSH connections
2025-07-01 14:52:02,893 - INFO - Waiting for VM ctest-TestRoutersBasic-86035163-43894083 to be up..
2025-07-01 14:52:02,971 - DEBUG - VM is in ACTIVE state now
2025-07-01 14:52:02,971 - INFO - VM name : ctest-TestRoutersBasic-86035163-43894083
2025-07-01 14:52:03,048 - DEBUG - VM ctest-TestRoutersBasic-86035163-43894083 ID is 441f24da-46ca-44da-a72f-3c25ca610161
2025-07-01 14:52:03,048 - DEBUG - VM ctest-TestRoutersBasic-86035163-43894083 launched on Node cn-jenkins-deploy-platform-ansible-os-3587-1.
2025-07-01 14:52:03,136 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/441f24da-46ca-44da-a72f-3c25ca610161
2025-07-01 14:52:03,144 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/72276ec7-85e5-4ac1-9f52-b08c98352725
2025-07-01 14:52:04,380 - 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=6.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.25 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 = 2.252/4.184/6.116/1.932 ms')
2025-07-01 14:52:04,380 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86035163-43894083 passed
2025-07-01 14:52:04,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 14:52:04,533 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86035163-43894083, IP 210.124.60.131, Port 22
2025-07-01 14:52:04,689 - DEBUG - VM ctest-TestRoutersBasic-86035163-43894083 is ready for SSH connections
2025-07-01 14:52:04,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-01 14:52:04,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.124.60.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-07-01 14:52:04,689 - DEBUG - ping -s 56 -c 3 -W 1 210.124.60.131
2025-07-01 14:52:08,418 - DEBUG - PING 210.124.60.131 (210.124.60.131): 56 data bytes
64 bytes from 210.124.60.131: seq=0 ttl=62 time=4.675 ms
64 bytes from 210.124.60.131: seq=1 ttl=62 time=0.801 ms
64 bytes from 210.124.60.131: seq=2 ttl=62 time=1.115 ms
--- 210.124.60.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.801/2.197/4.675 ms
2025-07-01 14:52:08,418 - INFO - Ping to IP 210.124.60.131 from VM ctest-TestRoutersBasic-86035163-23539252 passed
2025-07-01 14:52:08,418 - INFO - Deleting interface with subnet_id 73c3ecec-3d19-47df-995d-727a0b054cfb, port_id None from router 784f36f6-1ed9-4741-beaf-919193150132
2025-07-01 14:52:08,622 - INFO - Deleting VM ctest-TestRoutersBasic-86035163-43894083
2025-07-01 14:52:08,689 - INFO - Deleting VM ctest-TestRoutersBasic-86035163-23539252
2025-07-01 14:52:08,798 - INFO - Deleting VN ctest-ext_vn-91923442
2025-07-01 14:52:08,871 - DEBUG - VN a5bb602f-4475-41b7-b3bb-476ffbceea5f still in use: Unable to complete operation on network a5bb602f-4475-41b7-b3bb-476ffbceea5f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6c2e433d-5241-4043-aba6-951a451617f8']
2025-07-01 14:52:08,871 - WARNING - Deleting VN ctest-ext_vn-91923442 failed..Will retry
2025-07-01 14:52:10,963 - DEBUG - Response for deleting network ()
2025-07-01 14:52:10,963 - INFO - Deleting VN ctest-vn-61556418
2025-07-01 14:52:11,095 - DEBUG - Response for deleting network ()
2025-07-01 14:52:11,351 - DEBUG - No XMPP flaps were noticed during the test
2025-07-01 14:52:11,351 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-01 14:52:11,351 - INFO - --------------------------------------------------------------------------------
2025-07-01 14:52:12,009 - INFO - Deleted project: ctest-TestRoutersBasic-86035163, ID : b20e7bf1-e87d-4e53-8f6f-ce06b3fbd360