2025-06-07 10:20:45,805 - INFO - Domain Default found not creating 2025-06-07 10:20:45,949 - INFO - Project ctest-TestRoutersBasic-04601155 not found, creating it 2025-06-07 10:20:46,392 - INFO - Created Project:ctest-TestRoutersBasic-04601155, ID : a3f9a0b2-8286-4277-9d6f-a42701b7b53c 2025-06-07 10:20:47,770 - INFO - ================================================================================ 2025-06-07 10:20:47,770 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-07 10:20:47,770 - 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-06-07 10:20:48,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-06-07 10:20:48,024 - INFO - Initial checks done. Running the testcase now 2025-06-07 10:20:48,024 - INFO - 2025-06-07 10:20:48,718 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04601155 2025-06-07 10:20:48,814 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04601155 2025-06-07 10:20:49,134 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04601155', 'default']} 2025-06-07 10:20:49,433 - DEBUG - Response for create_network : {'network': {'id': '7f271d58-cabc-4cef-93b6-1a63c24ff63e', 'name': 'ctest-vn-80447584', 'tenant_id': 'a3f9a0b2828642779d6fa42701b7b53c', 'project_id': 'a3f9a0b2828642779d6fa42701b7b53c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04601155', 'ctest-vn-80447584'], 'port_security_enabled': True, 'description': ''}} 2025-06-07 10:20:49,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '17c00fc4-7e6f-4c27-bd93-946995765dcc', 'name': '', 'tenant_id': 'a3f9a0b2828642779d6fa42701b7b53c', 'network_id': '7f271d58-cabc-4cef-93b6-1a63c24ff63e', 'ip_version': 4, 'cidr': '157.165.64.0/26', 'allocation_pools': [{'start': '157.165.64.2', 'end': '157.165.64.62'}], 'gateway_ip': '157.165.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.165.64.2', 'tags': [], 'project_id': 'a3f9a0b2828642779d6fa42701b7b53c'}} 2025-06-07 10:20:49,674 - INFO - Created VN ctest-vn-80447584 2025-06-07 10:20:49,730 - DEBUG - VN ctest-vn-80447584 UUID is 7f271d58-cabc-4cef-93b6-1a63c24ff63e 2025-06-07 10:20:50,046 - DEBUG - Response for create_network : {'network': {'id': '408574d7-d17b-4139-a0ce-9e726df46778', 'name': 'ctest-ext_vn-37720267', 'tenant_id': 'a3f9a0b2828642779d6fa42701b7b53c', 'project_id': 'a3f9a0b2828642779d6fa42701b7b53c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04601155', 'ctest-ext_vn-37720267'], 'port_security_enabled': True, 'description': ''}} 2025-06-07 10:20:50,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dc8a15c-f439-459f-a6a0-2869ff38aead', 'name': '', 'tenant_id': 'a3f9a0b2828642779d6fa42701b7b53c', 'network_id': '408574d7-d17b-4139-a0ce-9e726df46778', 'ip_version': 4, 'cidr': '93.150.201.64/26', 'allocation_pools': [{'start': '93.150.201.66', 'end': '93.150.201.126'}], 'gateway_ip': '93.150.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.150.201.66', 'tags': [], 'project_id': 'a3f9a0b2828642779d6fa42701b7b53c'}} 2025-06-07 10:20:50,258 - INFO - Created VN ctest-ext_vn-37720267 2025-06-07 10:20:50,310 - DEBUG - VN ctest-ext_vn-37720267 UUID is 408574d7-d17b-4139-a0ce-9e726df46778 2025-06-07 10:20:50,507 - DEBUG - Services list from nova: [, , ] 2025-06-07 10:20:51,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3411-1) 2025-06-07 10:20:52,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3411-1) 2025-06-07 10:20:52,909 - INFO - Setting gateway for router 70dc0488-e0da-4703-a8c0-b0ce5abe8d5b to network 408574d7-d17b-4139-a0ce-9e726df46778 2025-06-07 10:20:52,975 - INFO - Adding interface with subnet_id 17c00fc4-7e6f-4c27-bd93-946995765dcc, port_id None to router 70dc0488-e0da-4703-a8c0-b0ce5abe8d5b 2025-06-07 10:20:53,377 - INFO - Waiting for VM ctest-TestRoutersBasic-04601155-98782010 to be up.. 2025-06-07 10:20:53,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-07 10:20:58,636 - DEBUG - VM is in ACTIVE state now 2025-06-07 10:20:58,636 - INFO - VM name : ctest-TestRoutersBasic-04601155-98782010 2025-06-07 10:20:58,705 - DEBUG - VM ctest-TestRoutersBasic-04601155-98782010 ID is c236f986-b93b-4759-9f48-b58ba67ed11b 2025-06-07 10:20:58,729 - DEBUG - VM ctest-TestRoutersBasic-04601155-98782010 launched on Node cn-jenkins-deploy-platform-ansible-os-3411-1 2025-06-07 10:20:58,804 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c236f986-b93b-4759-9f48-b58ba67ed11b 2025-06-07 10:20:59,100 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c236f986-b93b-4759-9f48-b58ba67ed11b 2025-06-07 10:20:59,131 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/08b87de2-52b9-4769-9fc8-eb269d801345 2025-06-07 10:21:02,369 - 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-06-07 10:21:02,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04601155-98782010 failed! 2025-06-07 10:21:02,426 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04601155:ctest-vn-80447584 is 157.165.64.1 and allocation pool is NOT set 2025-06-07 10:21:04,493 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.709 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.709/2.637/4.565/1.928 ms') 2025-06-07 10:21:04,493 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04601155-98782010 passed 2025-06-07 10:21:04,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:04,646 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04601155-98782010, IP 157.165.64.3, Port 22 2025-06-07 10:21:04,801 - DEBUG - VM ctest-TestRoutersBasic-04601155-98782010 is ready for SSH connections 2025-06-07 10:21:04,802 - INFO - Waiting for VM ctest-TestRoutersBasic-04601155-56059114 to be up.. 2025-06-07 10:21:04,885 - DEBUG - VM is in ACTIVE state now 2025-06-07 10:21:04,885 - INFO - VM name : ctest-TestRoutersBasic-04601155-56059114 2025-06-07 10:21:04,960 - DEBUG - VM ctest-TestRoutersBasic-04601155-56059114 ID is e55039c6-0c03-4106-909f-603cfd1ab4fe 2025-06-07 10:21:04,960 - DEBUG - VM ctest-TestRoutersBasic-04601155-56059114 launched on Node cn-jenkins-deploy-platform-ansible-os-3411-1 2025-06-07 10:21:05,033 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e55039c6-0c03-4106-909f-603cfd1ab4fe 2025-06-07 10:21:05,043 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a8d2ee37-16ed-4c79-b433-9a5156819e8d 2025-06-07 10:21:06,296 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.630/2.892/1.262 ms') 2025-06-07 10:21:06,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04601155-56059114 passed 2025-06-07 10:21:06,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:06,450 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04601155-56059114, IP 93.150.201.67, Port 22 2025-06-07 10:21:06,605 - DEBUG - VM ctest-TestRoutersBasic-04601155-56059114 is ready for SSH connections 2025-06-07 10:21:06,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:06,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.150.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-07 10:21:06,605 - DEBUG - ping -s 56 -c 3 -W 1 93.150.201.67 2025-06-07 10:21:10,676 - DEBUG - PING 93.150.201.67 (93.150.201.67): 56 data bytes 64 bytes from 93.150.201.67: seq=0 ttl=62 time=5.272 ms 64 bytes from 93.150.201.67: seq=1 ttl=62 time=1.100 ms 64 bytes from 93.150.201.67: seq=2 ttl=62 time=1.032 ms --- 93.150.201.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.468/5.272 ms 2025-06-07 10:21:10,676 - INFO - Ping to IP 93.150.201.67 from VM ctest-TestRoutersBasic-04601155-98782010 passed 2025-06-07 10:21:10,676 - INFO - Deleting interface with subnet_id 17c00fc4-7e6f-4c27-bd93-946995765dcc, port_id None from router 70dc0488-e0da-4703-a8c0-b0ce5abe8d5b 2025-06-07 10:21:10,873 - INFO - Deleting VM ctest-TestRoutersBasic-04601155-56059114 2025-06-07 10:21:10,953 - INFO - Deleting VM ctest-TestRoutersBasic-04601155-98782010 2025-06-07 10:21:11,033 - INFO - Deleting VN ctest-ext_vn-37720267 2025-06-07 10:21:11,111 - DEBUG - VN 408574d7-d17b-4139-a0ce-9e726df46778 still in use: Unable to complete operation on network 408574d7-d17b-4139-a0ce-9e726df46778. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f67a9c7-bf8b-4018-aaa2-6da0b1bd7c3f'] 2025-06-07 10:21:11,111 - WARNING - Deleting VN ctest-ext_vn-37720267 failed..Will retry 2025-06-07 10:21:13,226 - DEBUG - Response for deleting network () 2025-06-07 10:21:13,227 - INFO - Deleting VN ctest-vn-80447584 2025-06-07 10:21:13,345 - DEBUG - Response for deleting network () 2025-06-07 10:21:13,600 - DEBUG - No XMPP flaps were noticed during the test 2025-06-07 10:21:13,600 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-07 10:21:13,600 - INFO - -------------------------------------------------------------------------------- 2025-06-07 10:21:14,319 - INFO - Deleted project: ctest-TestRoutersBasic-04601155, ID : a3f9a0b2-8286-4277-9d6f-a42701b7b53c