2025-10-09 02:00:26,102 - INFO - Domain Default found not creating 2025-10-09 02:00:26,237 - INFO - Project ctest-TestRoutersBasic-66718662 not found, creating it 2025-10-09 02:00:26,675 - INFO - Created Project:ctest-TestRoutersBasic-66718662, ID : 2811bcbc-8c09-4639-ad3b-202b15f8973c 2025-10-09 02:00:28,096 - INFO - ================================================================================ 2025-10-09 02:00:28,097 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 02:00:28,097 - 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-10-09 02:00:28,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 02:00:28,354 - INFO - Initial checks done. Running the testcase now 2025-10-09 02:00:28,354 - INFO - 2025-10-09 02:00:29,054 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66718662 2025-10-09 02:00:29,153 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66718662 2025-10-09 02:00:29,477 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66718662', 'default']} 2025-10-09 02:00:29,755 - DEBUG - Response for create_network : {'network': {'id': 'd728df75-bfc3-410d-b022-deb17d8f12eb', 'name': 'ctest-vn-65564312', 'tenant_id': '2811bcbc8c094639ad3b202b15f8973c', 'project_id': '2811bcbc8c094639ad3b202b15f8973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66718662', 'ctest-vn-65564312'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:00:29,913 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd191527b-0b0b-48a0-bb48-6265a63e7222', 'name': '', 'tenant_id': '2811bcbc8c094639ad3b202b15f8973c', 'network_id': 'd728df75-bfc3-410d-b022-deb17d8f12eb', 'ip_version': 4, 'cidr': '170.120.51.64/26', 'allocation_pools': [{'start': '170.120.51.66', 'end': '170.120.51.126'}], 'gateway_ip': '170.120.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.120.51.66', 'tags': [], 'project_id': '2811bcbc8c094639ad3b202b15f8973c'}} 2025-10-09 02:00:29,930 - INFO - Created VN ctest-vn-65564312 2025-10-09 02:00:29,981 - DEBUG - VN ctest-vn-65564312 UUID is d728df75-bfc3-410d-b022-deb17d8f12eb 2025-10-09 02:00:30,277 - DEBUG - Response for create_network : {'network': {'id': 'd08c2ec9-cf03-4eeb-a2c1-e24812bad986', 'name': 'ctest-ext_vn-85247460', 'tenant_id': '2811bcbc8c094639ad3b202b15f8973c', 'project_id': '2811bcbc8c094639ad3b202b15f8973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66718662', 'ctest-ext_vn-85247460'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:00:30,475 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f95c406a-fa17-4719-961d-c467dde8ce99', 'name': '', 'tenant_id': '2811bcbc8c094639ad3b202b15f8973c', 'network_id': 'd08c2ec9-cf03-4eeb-a2c1-e24812bad986', 'ip_version': 4, 'cidr': '79.196.123.192/26', 'allocation_pools': [{'start': '79.196.123.194', 'end': '79.196.123.254'}], 'gateway_ip': '79.196.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.196.123.194', 'tags': [], 'project_id': '2811bcbc8c094639ad3b202b15f8973c'}} 2025-10-09 02:00:30,496 - INFO - Created VN ctest-ext_vn-85247460 2025-10-09 02:00:30,549 - DEBUG - VN ctest-ext_vn-85247460 UUID is d08c2ec9-cf03-4eeb-a2c1-e24812bad986 2025-10-09 02:00:30,744 - DEBUG - Services list from nova: [, , ] 2025-10-09 02:00:31,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4249-1) 2025-10-09 02:00:32,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4249-1) 2025-10-09 02:00:32,975 - INFO - Setting gateway for router 7d79a4ad-c1c3-45b8-8cc2-3ad54a95100e to network d08c2ec9-cf03-4eeb-a2c1-e24812bad986 2025-10-09 02:00:33,027 - INFO - Adding interface with subnet_id d191527b-0b0b-48a0-bb48-6265a63e7222, port_id None to router 7d79a4ad-c1c3-45b8-8cc2-3ad54a95100e 2025-10-09 02:00:33,452 - INFO - Waiting for VM ctest-TestRoutersBasic-66718662-19371472 to be up.. 2025-10-09 02:00:33,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 02:00:38,655 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:00:38,655 - INFO - VM name : ctest-TestRoutersBasic-66718662-19371472 2025-10-09 02:00:38,727 - DEBUG - VM ctest-TestRoutersBasic-66718662-19371472 ID is b3a61f07-0769-4576-998d-1202666febcb 2025-10-09 02:00:38,748 - DEBUG - VM ctest-TestRoutersBasic-66718662-19371472 launched on Node cn-jenkins-deploy-platform-ansible-os-4249-1 2025-10-09 02:00:38,819 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b3a61f07-0769-4576-998d-1202666febcb 2025-10-09 02:00:39,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b3a61f07-0769-4576-998d-1202666febcb 2025-10-09 02:00:39,140 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/50d9c514-7e65-4d9d-a340-5cf9b36bb980 2025-10-09 02:00:42,396 - 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 1023ms') 2025-10-09 02:00:42,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66718662-19371472 failed! 2025-10-09 02:00:42,453 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66718662:ctest-vn-65564312 is 170.120.51.65 and allocation pool is NOT set 2025-10-09 02:00:44,521 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 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 = 0.473/1.702/2.931/1.229 ms') 2025-10-09 02:00:44,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66718662-19371472 passed 2025-10-09 02:00:44,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:00:44,677 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66718662-19371472, IP 170.120.51.67, Port 22 2025-10-09 02:00:44,843 - DEBUG - VM ctest-TestRoutersBasic-66718662-19371472 is ready for SSH connections 2025-10-09 02:00:44,843 - INFO - Waiting for VM ctest-TestRoutersBasic-66718662-04215004 to be up.. 2025-10-09 02:00:44,909 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:00:44,909 - INFO - VM name : ctest-TestRoutersBasic-66718662-04215004 2025-10-09 02:00:44,975 - DEBUG - VM ctest-TestRoutersBasic-66718662-04215004 ID is f338a96a-26c7-4de0-be13-f2b5512c3482 2025-10-09 02:00:44,975 - DEBUG - VM ctest-TestRoutersBasic-66718662-04215004 launched on Node cn-jenkins-deploy-platform-ansible-os-4249-1 2025-10-09 02:00:45,049 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f338a96a-26c7-4de0-be13-f2b5512c3482 2025-10-09 02:00:45,057 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/852e42eb-e357-4220-bd87-760833e07ff8 2025-10-09 02:00:46,294 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/1.715/2.968/1.252 ms') 2025-10-09 02:00:46,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66718662-04215004 passed 2025-10-09 02:00:46,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:00:46,441 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66718662-04215004, IP 79.196.123.195, Port 22 2025-10-09 02:00:46,596 - DEBUG - VM ctest-TestRoutersBasic-66718662-04215004 is ready for SSH connections 2025-10-09 02:00:46,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:00:46,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.196.123.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 02:00:46,596 - DEBUG - ping -s 56 -c 3 -W 1 79.196.123.195 2025-10-09 02:00:50,585 - DEBUG - PING 79.196.123.195 (79.196.123.195): 56 data bytes 64 bytes from 79.196.123.195: seq=0 ttl=62 time=4.656 ms 64 bytes from 79.196.123.195: seq=1 ttl=62 time=0.864 ms 64 bytes from 79.196.123.195: seq=2 ttl=62 time=0.842 ms --- 79.196.123.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.120/4.656 ms 2025-10-09 02:00:50,585 - INFO - Ping to IP 79.196.123.195 from VM ctest-TestRoutersBasic-66718662-19371472 passed 2025-10-09 02:00:50,585 - INFO - Deleting interface with subnet_id d191527b-0b0b-48a0-bb48-6265a63e7222, port_id None from router 7d79a4ad-c1c3-45b8-8cc2-3ad54a95100e 2025-10-09 02:00:50,762 - INFO - Deleting VM ctest-TestRoutersBasic-66718662-04215004 2025-10-09 02:00:50,831 - INFO - Deleting VM ctest-TestRoutersBasic-66718662-19371472 2025-10-09 02:00:50,910 - INFO - Deleting VN ctest-ext_vn-85247460 2025-10-09 02:00:50,967 - DEBUG - VN d08c2ec9-cf03-4eeb-a2c1-e24812bad986 still in use: Unable to complete operation on network d08c2ec9-cf03-4eeb-a2c1-e24812bad986. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cd1a335-efcf-4ef5-89e9-8ac235719f70'] 2025-10-09 02:00:50,967 - WARNING - Deleting VN ctest-ext_vn-85247460 failed..Will retry 2025-10-09 02:00:53,056 - DEBUG - Response for deleting network () 2025-10-09 02:00:53,056 - INFO - Deleting VN ctest-vn-65564312 2025-10-09 02:00:53,142 - DEBUG - Response for deleting network () 2025-10-09 02:00:53,398 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 02:00:53,398 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-09 02:00:53,398 - INFO - -------------------------------------------------------------------------------- 2025-10-09 02:00:54,062 - INFO - Deleted project: ctest-TestRoutersBasic-66718662, ID : 2811bcbc-8c09-4639-ad3b-202b15f8973c