2025-01-15 09:20:33,739 - INFO - Domain Default found not creating 2025-01-15 09:20:33,924 - INFO - Project ctest-TestRoutersBasic-70913700 not found, creating it 2025-01-15 09:20:34,441 - INFO - Created Project:ctest-TestRoutersBasic-70913700, ID : b052e650-e879-4282-9683-cc737ba449e4 2025-01-15 09:20:35,903 - INFO - ================================================================================ 2025-01-15 09:20:35,904 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-15 09:20:35,904 - 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-01-15 09:20:36,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.33': '0'}} with 2025-01-15 09:20:36,164 - INFO - Initial checks done. Running the testcase now 2025-01-15 09:20:36,164 - INFO - 2025-01-15 09:20:36,869 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70913700 2025-01-15 09:20:36,966 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70913700 2025-01-15 09:20:37,310 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70913700', 'default']} 2025-01-15 09:20:37,624 - DEBUG - Response for create_network : {'network': {'id': 'a91c826a-8923-47ba-9cae-1d3745739492', 'name': 'ctest-vn-34687320', 'tenant_id': 'b052e650e87942829683cc737ba449e4', 'project_id': 'b052e650e87942829683cc737ba449e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70913700', 'ctest-vn-34687320'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 09:20:37,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '0007d3f8-d38f-4e2d-be58-d0cc1115c34e', 'name': '', 'tenant_id': 'b052e650e87942829683cc737ba449e4', 'network_id': 'a91c826a-8923-47ba-9cae-1d3745739492', 'ip_version': 4, 'cidr': '114.191.32.192/26', 'allocation_pools': [{'start': '114.191.32.194', 'end': '114.191.32.254'}], 'gateway_ip': '114.191.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.191.32.194', 'tags': [], 'project_id': 'b052e650e87942829683cc737ba449e4'}} 2025-01-15 09:20:37,864 - INFO - Created VN ctest-vn-34687320 2025-01-15 09:20:37,918 - DEBUG - VN ctest-vn-34687320 UUID is a91c826a-8923-47ba-9cae-1d3745739492 2025-01-15 09:20:38,266 - DEBUG - Response for create_network : {'network': {'id': 'e1388f68-c00b-43ca-b52b-5fa48aacfa07', 'name': 'ctest-ext_vn-38687533', 'tenant_id': 'b052e650e87942829683cc737ba449e4', 'project_id': 'b052e650e87942829683cc737ba449e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70913700', 'ctest-ext_vn-38687533'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 09:20:38,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '44ce4f56-39fe-4627-978f-4c8366a9499e', 'name': '', 'tenant_id': 'b052e650e87942829683cc737ba449e4', 'network_id': 'e1388f68-c00b-43ca-b52b-5fa48aacfa07', 'ip_version': 4, 'cidr': '52.156.77.128/26', 'allocation_pools': [{'start': '52.156.77.130', 'end': '52.156.77.190'}], 'gateway_ip': '52.156.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.156.77.130', 'tags': [], 'project_id': 'b052e650e87942829683cc737ba449e4'}} 2025-01-15 09:20:38,492 - INFO - Created VN ctest-ext_vn-38687533 2025-01-15 09:20:38,546 - DEBUG - VN ctest-ext_vn-38687533 UUID is e1388f68-c00b-43ca-b52b-5fa48aacfa07 2025-01-15 09:20:38,731 - DEBUG - Services list from nova: [, , ] 2025-01-15 09:20:39,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2637-1) 2025-01-15 09:20:40,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2637-1) 2025-01-15 09:20:41,067 - INFO - Setting gateway for router fba11c34-3da2-4641-8506-ac0ed9811827 to network e1388f68-c00b-43ca-b52b-5fa48aacfa07 2025-01-15 09:20:41,133 - INFO - Adding interface with subnet_id 0007d3f8-d38f-4e2d-be58-d0cc1115c34e, port_id None to router fba11c34-3da2-4641-8506-ac0ed9811827 2025-01-15 09:20:41,546 - INFO - Waiting for VM ctest-TestRoutersBasic-70913700-13525743 to be up.. 2025-01-15 09:20:41,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 09:20:46,810 - DEBUG - VM is in ACTIVE state now 2025-01-15 09:20:46,810 - INFO - VM name : ctest-TestRoutersBasic-70913700-13525743 2025-01-15 09:20:46,895 - DEBUG - VM ctest-TestRoutersBasic-70913700-13525743 ID is 419cad69-4046-46af-b0c7-671a4775a4af 2025-01-15 09:20:46,916 - DEBUG - VM ctest-TestRoutersBasic-70913700-13525743 launched on Node cn-jenkins-deploy-platform-ansible-os-2637-1 2025-01-15 09:20:46,998 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/419cad69-4046-46af-b0c7-671a4775a4af 2025-01-15 09:20:47,390 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/419cad69-4046-46af-b0c7-671a4775a4af 2025-01-15 09:20:47,422 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fc82d323-462c-4f20-9ec2-374afdac7fa2 2025-01-15 09:20:50,688 - 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-01-15 09:20:50,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70913700-13525743 failed! 2025-01-15 09:20:50,747 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70913700:ctest-vn-34687320 is 114.191.32.193 and allocation pool is NOT set 2025-01-15 09:20:52,802 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/1.979/3.439/1.460 ms') 2025-01-15 09:20:52,802 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70913700-13525743 passed 2025-01-15 09:20:52,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:20:52,954 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70913700-13525743, IP 114.191.32.195, Port 22 2025-01-15 09:20:53,121 - DEBUG - VM ctest-TestRoutersBasic-70913700-13525743 is ready for SSH connections 2025-01-15 09:20:53,121 - INFO - Waiting for VM ctest-TestRoutersBasic-70913700-36605972 to be up.. 2025-01-15 09:20:53,201 - DEBUG - VM is in ACTIVE state now 2025-01-15 09:20:53,201 - INFO - VM name : ctest-TestRoutersBasic-70913700-36605972 2025-01-15 09:20:53,279 - DEBUG - VM ctest-TestRoutersBasic-70913700-36605972 ID is e6df9f66-40c2-4ece-af3b-bb69a8ecad03 2025-01-15 09:20:53,279 - DEBUG - VM ctest-TestRoutersBasic-70913700-36605972 launched on Node cn-jenkins-deploy-platform-ansible-os-2637-1 2025-01-15 09:20:53,352 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e6df9f66-40c2-4ece-af3b-bb69a8ecad03 2025-01-15 09:20:53,361 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b135e050-2cf1-417b-92bd-4dc48ab0cd6b 2025-01-15 09:20:54,601 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.614/2.761/1.147 ms') 2025-01-15 09:20:54,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70913700-36605972 passed 2025-01-15 09:20:54,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:20:54,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70913700-36605972, IP 52.156.77.131, Port 22 2025-01-15 09:20:54,909 - DEBUG - VM ctest-TestRoutersBasic-70913700-36605972 is ready for SSH connections 2025-01-15 09:20:54,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:20:54,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.156.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-15 09:20:54,909 - DEBUG - ping -s 56 -c 3 -W 1 52.156.77.131 2025-01-15 09:20:58,940 - DEBUG - PING 52.156.77.131 (52.156.77.131): 56 data bytes 64 bytes from 52.156.77.131: seq=0 ttl=62 time=8.731 ms 64 bytes from 52.156.77.131: seq=1 ttl=62 time=0.864 ms 64 bytes from 52.156.77.131: seq=2 ttl=62 time=1.353 ms --- 52.156.77.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/3.649/8.731 ms 2025-01-15 09:20:58,941 - INFO - Ping to IP 52.156.77.131 from VM ctest-TestRoutersBasic-70913700-13525743 passed 2025-01-15 09:20:58,941 - INFO - Deleting interface with subnet_id 0007d3f8-d38f-4e2d-be58-d0cc1115c34e, port_id None from router fba11c34-3da2-4641-8506-ac0ed9811827 2025-01-15 09:20:59,185 - INFO - Deleting VM ctest-TestRoutersBasic-70913700-36605972 2025-01-15 09:20:59,262 - INFO - Deleting VM ctest-TestRoutersBasic-70913700-13525743 2025-01-15 09:20:59,342 - INFO - Deleting VN ctest-ext_vn-38687533 2025-01-15 09:20:59,421 - DEBUG - VN e1388f68-c00b-43ca-b52b-5fa48aacfa07 still in use: Unable to complete operation on network e1388f68-c00b-43ca-b52b-5fa48aacfa07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbc063fc-bbe0-4713-97df-a15ddda90c7f'] 2025-01-15 09:20:59,422 - WARNING - Deleting VN ctest-ext_vn-38687533 failed..Will retry 2025-01-15 09:21:01,557 - DEBUG - Response for deleting network () 2025-01-15 09:21:01,557 - INFO - Deleting VN ctest-vn-34687320 2025-01-15 09:21:01,681 - DEBUG - Response for deleting network () 2025-01-15 09:21:01,948 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 09:21:01,948 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-15 09:21:01,948 - INFO - -------------------------------------------------------------------------------- 2025-01-15 09:21:03,302 - INFO - Deleted project: ctest-TestRoutersBasic-70913700, ID : b052e650-e879-4282-9683-cc737ba449e4