2025-04-26 13:21:59,256 - INFO - Domain Default found not creating 2025-04-26 13:21:59,425 - INFO - Project ctest-TestRoutersBasic-63501503 not found, creating it 2025-04-26 13:21:59,905 - INFO - Created Project:ctest-TestRoutersBasic-63501503, ID : adfd5594-8a67-4f8a-8faf-a5a1bee0a554 2025-04-26 13:22:01,540 - INFO - ================================================================================ 2025-04-26 13:22:01,540 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-26 13:22:01,540 - 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-04-26 13:22:01,798 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-04-26 13:22:01,799 - INFO - Initial checks done. Running the testcase now 2025-04-26 13:22:01,799 - INFO - 2025-04-26 13:22:02,603 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63501503 2025-04-26 13:22:02,703 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63501503 2025-04-26 13:22:03,035 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63501503', 'default']} 2025-04-26 13:22:03,341 - DEBUG - Response for create_network : {'network': {'id': 'f31f7667-9c32-454d-b3c2-e527ebc12c3b', 'name': 'ctest-vn-17793252', 'tenant_id': 'adfd55948a674f8a8fafa5a1bee0a554', 'project_id': 'adfd55948a674f8a8fafa5a1bee0a554', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63501503', 'ctest-vn-17793252'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:03,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '708666b5-f78a-45c4-8282-eca1b799e11c', 'name': '', 'tenant_id': 'adfd55948a674f8a8fafa5a1bee0a554', 'network_id': 'f31f7667-9c32-454d-b3c2-e527ebc12c3b', 'ip_version': 4, 'cidr': '99.58.54.64/26', 'allocation_pools': [{'start': '99.58.54.66', 'end': '99.58.54.126'}], 'gateway_ip': '99.58.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.58.54.66', 'tags': [], 'project_id': 'adfd55948a674f8a8fafa5a1bee0a554'}} 2025-04-26 13:22:03,578 - INFO - Created VN ctest-vn-17793252 2025-04-26 13:22:03,635 - DEBUG - VN ctest-vn-17793252 UUID is f31f7667-9c32-454d-b3c2-e527ebc12c3b 2025-04-26 13:22:04,039 - DEBUG - Response for create_network : {'network': {'id': 'a56155ad-3e1e-4bb8-9016-5fb03034be45', 'name': 'ctest-ext_vn-29813884', 'tenant_id': 'adfd55948a674f8a8fafa5a1bee0a554', 'project_id': 'adfd55948a674f8a8fafa5a1bee0a554', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63501503', 'ctest-ext_vn-29813884'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:04,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '1edf055e-d991-4f1a-a8d0-656d773e71a1', 'name': '', 'tenant_id': 'adfd55948a674f8a8fafa5a1bee0a554', 'network_id': 'a56155ad-3e1e-4bb8-9016-5fb03034be45', 'ip_version': 4, 'cidr': '174.101.112.192/26', 'allocation_pools': [{'start': '174.101.112.194', 'end': '174.101.112.254'}], 'gateway_ip': '174.101.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.101.112.194', 'tags': [], 'project_id': 'adfd55948a674f8a8fafa5a1bee0a554'}} 2025-04-26 13:22:04,305 - INFO - Created VN ctest-ext_vn-29813884 2025-04-26 13:22:04,363 - DEBUG - VN ctest-ext_vn-29813884 UUID is a56155ad-3e1e-4bb8-9016-5fb03034be45 2025-04-26 13:22:04,540 - DEBUG - Services list from nova: [, , ] 2025-04-26 13:22:05,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3223-1) 2025-04-26 13:22:07,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3223-1) 2025-04-26 13:22:07,191 - INFO - Setting gateway for router 29228b5a-5f20-40f2-b58d-529bd2ee5fd1 to network a56155ad-3e1e-4bb8-9016-5fb03034be45 2025-04-26 13:22:07,255 - INFO - Adding interface with subnet_id 708666b5-f78a-45c4-8282-eca1b799e11c, port_id None to router 29228b5a-5f20-40f2-b58d-529bd2ee5fd1 2025-04-26 13:22:07,826 - INFO - Waiting for VM ctest-TestRoutersBasic-63501503-58721339 to be up.. 2025-04-26 13:22:08,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 13:22:13,134 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:22:13,134 - INFO - VM name : ctest-TestRoutersBasic-63501503-58721339 2025-04-26 13:22:13,221 - DEBUG - VM ctest-TestRoutersBasic-63501503-58721339 ID is 8092eebe-f925-48b5-a63c-653b5c4235be 2025-04-26 13:22:13,241 - DEBUG - VM ctest-TestRoutersBasic-63501503-58721339 launched on Node cn-jenkins-deploy-platform-ansible-os-3223-1 2025-04-26 13:22:13,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8092eebe-f925-48b5-a63c-653b5c4235be 2025-04-26 13:22:13,650 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8092eebe-f925-48b5-a63c-653b5c4235be 2025-04-26 13:22:13,686 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1d5b924b-d834-48eb-92da-0c7a2ab5f008 2025-04-26 13:22:16,952 - 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-04-26 13:22:16,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63501503-58721339 failed! 2025-04-26 13:22:17,011 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63501503:ctest-vn-17793252 is 99.58.54.65 and allocation pool is NOT set 2025-04-26 13:22:19,074 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/1.804/3.128/1.323 ms') 2025-04-26 13:22:19,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63501503-58721339 passed 2025-04-26 13:22:19,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:19,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63501503-58721339, IP 99.58.54.67, Port 22 2025-04-26 13:22:19,398 - DEBUG - VM ctest-TestRoutersBasic-63501503-58721339 is ready for SSH connections 2025-04-26 13:22:19,398 - INFO - Waiting for VM ctest-TestRoutersBasic-63501503-21889204 to be up.. 2025-04-26 13:22:19,479 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:22:19,479 - INFO - VM name : ctest-TestRoutersBasic-63501503-21889204 2025-04-26 13:22:19,560 - DEBUG - VM ctest-TestRoutersBasic-63501503-21889204 ID is 726cbfcf-a09b-41dc-8e0b-f4d4a343dc88 2025-04-26 13:22:19,560 - DEBUG - VM ctest-TestRoutersBasic-63501503-21889204 launched on Node cn-jenkins-deploy-platform-ansible-os-3223-1 2025-04-26 13:22:19,646 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/726cbfcf-a09b-41dc-8e0b-f4d4a343dc88 2025-04-26 13:22:19,658 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e04db951-e29d-4fb4-9163-759ded146632 2025-04-26 13:22:20,910 - 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=3.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/2.206/3.807/1.600 ms') 2025-04-26 13:22:20,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63501503-21889204 passed 2025-04-26 13:22:21,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:21,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63501503-21889204, IP 174.101.112.195, Port 22 2025-04-26 13:22:21,233 - DEBUG - VM ctest-TestRoutersBasic-63501503-21889204 is ready for SSH connections 2025-04-26 13:22:21,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:21,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.101.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 13:22:21,233 - DEBUG - ping -s 56 -c 3 -W 1 174.101.112.195 2025-04-26 13:22:24,965 - DEBUG - PING 174.101.112.195 (174.101.112.195): 56 data bytes 64 bytes from 174.101.112.195: seq=0 ttl=62 time=5.922 ms 64 bytes from 174.101.112.195: seq=1 ttl=62 time=0.907 ms 64 bytes from 174.101.112.195: seq=2 ttl=62 time=0.904 ms --- 174.101.112.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.577/5.922 ms 2025-04-26 13:22:24,965 - INFO - Ping to IP 174.101.112.195 from VM ctest-TestRoutersBasic-63501503-58721339 passed 2025-04-26 13:22:24,965 - INFO - Deleting interface with subnet_id 708666b5-f78a-45c4-8282-eca1b799e11c, port_id None from router 29228b5a-5f20-40f2-b58d-529bd2ee5fd1 2025-04-26 13:22:25,230 - INFO - Deleting VM ctest-TestRoutersBasic-63501503-21889204 2025-04-26 13:22:25,329 - INFO - Deleting VM ctest-TestRoutersBasic-63501503-58721339 2025-04-26 13:22:25,408 - INFO - Deleting VN ctest-ext_vn-29813884 2025-04-26 13:22:25,523 - DEBUG - VN a56155ad-3e1e-4bb8-9016-5fb03034be45 still in use: Unable to complete operation on network a56155ad-3e1e-4bb8-9016-5fb03034be45. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-64439f31-52d4-4874-a9e3-0d59c17830a8'] 2025-04-26 13:22:25,523 - WARNING - Deleting VN ctest-ext_vn-29813884 failed..Will retry 2025-04-26 13:22:27,673 - DEBUG - Response for deleting network () 2025-04-26 13:22:27,673 - INFO - Deleting VN ctest-vn-17793252 2025-04-26 13:22:27,801 - DEBUG - Response for deleting network () 2025-04-26 13:22:28,056 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 13:22:28,056 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-04-26 13:22:28,056 - INFO - -------------------------------------------------------------------------------- 2025-04-26 13:22:28,779 - INFO - Deleted project: ctest-TestRoutersBasic-63501503, ID : adfd5594-8a67-4f8a-8faf-a5a1bee0a554