2025-07-08 09:52:44,308 - INFO - Domain Default found not creating 2025-07-08 09:52:44,440 - INFO - Project ctest-TestRoutersBasic-81420727 not found, creating it 2025-07-08 09:52:44,887 - INFO - Created Project:ctest-TestRoutersBasic-81420727, ID : abfe3d53-2fb2-4761-a5b1-a083d7bec858 2025-07-08 09:52:46,245 - INFO - ================================================================================ 2025-07-08 09:52:46,245 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-08 09:52:46,245 - 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-08 09:52:46,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-08 09:52:46,511 - INFO - Initial checks done. Running the testcase now 2025-07-08 09:52:46,511 - INFO - 2025-07-08 09:52:47,199 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81420727 2025-07-08 09:52:47,295 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81420727 2025-07-08 09:52:47,618 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81420727', 'default']} 2025-07-08 09:52:47,909 - DEBUG - Response for create_network : {'network': {'id': '8761726b-3c91-43d8-878b-c48b0477d29c', 'name': 'ctest-vn-60601753', 'tenant_id': 'abfe3d532fb24761a5b1a083d7bec858', 'project_id': 'abfe3d532fb24761a5b1a083d7bec858', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81420727', 'ctest-vn-60601753'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 09:52:48,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '886c7196-2cb0-4c00-a198-186ce2aec5b1', 'name': '', 'tenant_id': 'abfe3d532fb24761a5b1a083d7bec858', 'network_id': '8761726b-3c91-43d8-878b-c48b0477d29c', 'ip_version': 4, 'cidr': '36.169.36.192/26', 'allocation_pools': [{'start': '36.169.36.194', 'end': '36.169.36.254'}], 'gateway_ip': '36.169.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.169.36.194', 'tags': [], 'project_id': 'abfe3d532fb24761a5b1a083d7bec858'}} 2025-07-08 09:52:48,064 - INFO - Created VN ctest-vn-60601753 2025-07-08 09:52:48,119 - DEBUG - VN ctest-vn-60601753 UUID is 8761726b-3c91-43d8-878b-c48b0477d29c 2025-07-08 09:52:48,469 - DEBUG - Response for create_network : {'network': {'id': '5737b964-1113-4a50-99eb-2ab1913bc4f0', 'name': 'ctest-ext_vn-81654064', 'tenant_id': 'abfe3d532fb24761a5b1a083d7bec858', 'project_id': 'abfe3d532fb24761a5b1a083d7bec858', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81420727', 'ctest-ext_vn-81654064'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 09:52:48,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eefa410b-3127-43c0-bbfc-5f2da188e5a4', 'name': '', 'tenant_id': 'abfe3d532fb24761a5b1a083d7bec858', 'network_id': '5737b964-1113-4a50-99eb-2ab1913bc4f0', 'ip_version': 4, 'cidr': '187.146.60.64/26', 'allocation_pools': [{'start': '187.146.60.66', 'end': '187.146.60.126'}], 'gateway_ip': '187.146.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.146.60.66', 'tags': [], 'project_id': 'abfe3d532fb24761a5b1a083d7bec858'}} 2025-07-08 09:52:48,646 - INFO - Created VN ctest-ext_vn-81654064 2025-07-08 09:52:48,699 - DEBUG - VN ctest-ext_vn-81654064 UUID is 5737b964-1113-4a50-99eb-2ab1913bc4f0 2025-07-08 09:52:48,895 - DEBUG - Services list from nova: [, , ] 2025-07-08 09:52:49,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3611-1) 2025-07-08 09:52:50,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3611-1) 2025-07-08 09:52:51,016 - INFO - Setting gateway for router 59c881d5-6419-4302-b2ac-9f292615f6c9 to network 5737b964-1113-4a50-99eb-2ab1913bc4f0 2025-07-08 09:52:51,071 - INFO - Adding interface with subnet_id 886c7196-2cb0-4c00-a198-186ce2aec5b1, port_id None to router 59c881d5-6419-4302-b2ac-9f292615f6c9 2025-07-08 09:52:51,441 - INFO - Waiting for VM ctest-TestRoutersBasic-81420727-40631163 to be up.. 2025-07-08 09:52:51,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 09:52:56,628 - DEBUG - VM is in ACTIVE state now 2025-07-08 09:52:56,628 - INFO - VM name : ctest-TestRoutersBasic-81420727-40631163 2025-07-08 09:52:56,693 - DEBUG - VM ctest-TestRoutersBasic-81420727-40631163 ID is 7fd02e06-43c6-4a96-a854-f81880afa33b 2025-07-08 09:52:56,710 - DEBUG - VM ctest-TestRoutersBasic-81420727-40631163 launched on Node cn-jenkins-deploy-platform-ansible-os-3611-1 2025-07-08 09:52:56,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7fd02e06-43c6-4a96-a854-f81880afa33b 2025-07-08 09:52:57,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7fd02e06-43c6-4a96-a854-f81880afa33b 2025-07-08 09:52:57,096 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91cba787-2975-4ebe-b93a-4d9fdc31fe99 2025-07-08 09:53:00,356 - 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 1020ms') 2025-07-08 09:53:00,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81420727-40631163 failed! 2025-07-08 09:53:00,411 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81420727:ctest-vn-60601753 is 36.169.36.193 and allocation pool is NOT set 2025-07-08 09:53:02,474 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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.372/1.611/2.851/1.239 ms') 2025-07-08 09:53:02,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81420727-40631163 passed 2025-07-08 09:53:02,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:02,627 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81420727-40631163, IP 36.169.36.195, Port 22 2025-07-08 09:53:02,789 - DEBUG - VM ctest-TestRoutersBasic-81420727-40631163 is ready for SSH connections 2025-07-08 09:53:02,790 - INFO - Waiting for VM ctest-TestRoutersBasic-81420727-61303597 to be up.. 2025-07-08 09:53:02,875 - DEBUG - VM is in ACTIVE state now 2025-07-08 09:53:02,875 - INFO - VM name : ctest-TestRoutersBasic-81420727-61303597 2025-07-08 09:53:02,959 - DEBUG - VM ctest-TestRoutersBasic-81420727-61303597 ID is 33c13cf7-1ab1-4a61-81f2-d2ac2c4513c2 2025-07-08 09:53:02,959 - DEBUG - VM ctest-TestRoutersBasic-81420727-61303597 launched on Node cn-jenkins-deploy-platform-ansible-os-3611-1 2025-07-08 09:53:03,032 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/33c13cf7-1ab1-4a61-81f2-d2ac2c4513c2 2025-07-08 09:53:03,041 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/037bf4a6-becb-4f37-b236-c357fd7f5236 2025-07-08 09:53:04,290 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.436/1.556/2.676/1.120 ms') 2025-07-08 09:53:04,290 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81420727-61303597 passed 2025-07-08 09:53:04,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:04,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81420727-61303597, IP 187.146.60.67, Port 22 2025-07-08 09:53:04,598 - DEBUG - VM ctest-TestRoutersBasic-81420727-61303597 is ready for SSH connections 2025-07-08 09:53:04,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:04,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.146.60.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-08 09:53:04,599 - DEBUG - ping -s 56 -c 3 -W 1 187.146.60.67 2025-07-08 09:53:08,549 - DEBUG - PING 187.146.60.67 (187.146.60.67): 56 data bytes 64 bytes from 187.146.60.67: seq=0 ttl=62 time=4.062 ms 64 bytes from 187.146.60.67: seq=1 ttl=62 time=0.790 ms 64 bytes from 187.146.60.67: seq=2 ttl=62 time=0.760 ms --- 187.146.60.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.870/4.062 ms 2025-07-08 09:53:08,549 - INFO - Ping to IP 187.146.60.67 from VM ctest-TestRoutersBasic-81420727-40631163 passed 2025-07-08 09:53:08,549 - INFO - Deleting interface with subnet_id 886c7196-2cb0-4c00-a198-186ce2aec5b1, port_id None from router 59c881d5-6419-4302-b2ac-9f292615f6c9 2025-07-08 09:53:08,740 - INFO - Deleting VM ctest-TestRoutersBasic-81420727-61303597 2025-07-08 09:53:08,801 - INFO - Deleting VM ctest-TestRoutersBasic-81420727-40631163 2025-07-08 09:53:08,867 - INFO - Deleting VN ctest-ext_vn-81654064 2025-07-08 09:53:08,936 - DEBUG - VN 5737b964-1113-4a50-99eb-2ab1913bc4f0 still in use: Unable to complete operation on network 5737b964-1113-4a50-99eb-2ab1913bc4f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-900d7757-25b7-44dc-b7e2-94e10ba9cc67'] 2025-07-08 09:53:08,936 - WARNING - Deleting VN ctest-ext_vn-81654064 failed..Will retry 2025-07-08 09:53:11,036 - DEBUG - Response for deleting network () 2025-07-08 09:53:11,036 - INFO - Deleting VN ctest-vn-60601753 2025-07-08 09:53:11,133 - DEBUG - Response for deleting network () 2025-07-08 09:53:11,392 - DEBUG - No XMPP flaps were noticed during the test
2025-07-08 09:53:11,392 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-08 09:53:11,392 - INFO - -------------------------------------------------------------------------------- 2025-07-08 09:53:12,041 - INFO - Deleted project: ctest-TestRoutersBasic-81420727, ID : abfe3d53-2fb2-4761-a5b1-a083d7bec858