2024-11-08 08:54:36,853 - INFO - Domain Default found not creating 2024-11-08 08:54:37,024 - INFO - Project ctest-TestRoutersBasic-99459793 not found, creating it 2024-11-08 08:54:37,544 - INFO - Created Project:ctest-TestRoutersBasic-99459793, ID : 3d0b3026-b095-42fd-829a-4872b66007ae 2024-11-08 08:54:39,186 - INFO - ================================================================================ 2024-11-08 08:54:39,187 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-11-08 08:54:39,187 - 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 2024-11-08 08:54:39,444 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with 2024-11-08 08:54:39,444 - INFO - Initial checks done. Running the testcase now 2024-11-08 08:54:39,444 - INFO - 2024-11-08 08:54:40,269 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99459793 2024-11-08 08:54:40,370 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99459793 2024-11-08 08:54:40,713 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99459793', 'default']} 2024-11-08 08:54:41,038 - DEBUG - Response for create_network : {'network': {'id': '89c1f307-1eb1-484e-a3c0-b4f9d88bb316', 'name': 'ctest-vn-26905985', 'tenant_id': '3d0b3026b09542fd829a4872b66007ae', 'project_id': '3d0b3026b09542fd829a4872b66007ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99459793', 'ctest-vn-26905985'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 08:54:41,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fa25664-08f8-4669-9814-997dfe69bba7', 'name': '', 'tenant_id': '3d0b3026b09542fd829a4872b66007ae', 'network_id': '89c1f307-1eb1-484e-a3c0-b4f9d88bb316', 'ip_version': 4, 'cidr': '80.118.186.64/26', 'allocation_pools': [{'start': '80.118.186.66', 'end': '80.118.186.126'}], 'gateway_ip': '80.118.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.118.186.66', 'tags': [], 'project_id': '3d0b3026b09542fd829a4872b66007ae'}} 2024-11-08 08:54:41,269 - INFO - Created VN ctest-vn-26905985 2024-11-08 08:54:41,329 - DEBUG - VN ctest-vn-26905985 UUID is 89c1f307-1eb1-484e-a3c0-b4f9d88bb316 2024-11-08 08:54:41,703 - DEBUG - Response for create_network : {'network': {'id': 'c68fd974-2b29-4917-85a4-da043d6f68b6', 'name': 'ctest-ext_vn-11549826', 'tenant_id': '3d0b3026b09542fd829a4872b66007ae', 'project_id': '3d0b3026b09542fd829a4872b66007ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99459793', 'ctest-ext_vn-11549826'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 08:54:41,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '7db73328-63be-44de-b100-7bd73748253e', 'name': '', 'tenant_id': '3d0b3026b09542fd829a4872b66007ae', 'network_id': 'c68fd974-2b29-4917-85a4-da043d6f68b6', 'ip_version': 4, 'cidr': '144.223.64.0/26', 'allocation_pools': [{'start': '144.223.64.2', 'end': '144.223.64.62'}], 'gateway_ip': '144.223.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.223.64.2', 'tags': [], 'project_id': '3d0b3026b09542fd829a4872b66007ae'}} 2024-11-08 08:54:41,907 - INFO - Created VN ctest-ext_vn-11549826 2024-11-08 08:54:41,969 - DEBUG - VN ctest-ext_vn-11549826 UUID is c68fd974-2b29-4917-85a4-da043d6f68b6 2024-11-08 08:54:42,155 - DEBUG - Services list from nova: [, , ] 2024-11-08 08:54:43,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2224-1) 2024-11-08 08:54:44,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2224-1) 2024-11-08 08:54:44,892 - INFO - Setting gateway for router 19ad1142-5d69-43a7-8062-f041f21d89e4 to network c68fd974-2b29-4917-85a4-da043d6f68b6 2024-11-08 08:54:45,011 - INFO - Adding interface with subnet_id 8fa25664-08f8-4669-9814-997dfe69bba7, port_id None to router 19ad1142-5d69-43a7-8062-f041f21d89e4 2024-11-08 08:54:45,415 - INFO - Waiting for VM ctest-TestRoutersBasic-99459793-62279770 to be up.. 2024-11-08 08:54:45,613 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 08:54:50,710 - DEBUG - VM is in ACTIVE state now 2024-11-08 08:54:50,710 - INFO - VM name : ctest-TestRoutersBasic-99459793-62279770 2024-11-08 08:54:50,809 - DEBUG - VM ctest-TestRoutersBasic-99459793-62279770 ID is 8dd97b93-c28c-4c6e-bb4c-bec154b53121 2024-11-08 08:54:50,841 - DEBUG - VM ctest-TestRoutersBasic-99459793-62279770 launched on Node cn-jenkins-deploy-platform-ansible-os-2224-1 2024-11-08 08:54:50,952 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8dd97b93-c28c-4c6e-bb4c-bec154b53121 2024-11-08 08:54:51,345 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8dd97b93-c28c-4c6e-bb4c-bec154b53121 2024-11-08 08:54:51,394 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/c8e1cd41-d56f-436a-9f2a-294bd18f0024 2024-11-08 08:54:54,705 - 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 1002ms') 2024-11-08 08:54:54,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99459793-62279770 failed! 2024-11-08 08:54:54,765 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99459793:ctest-vn-26905985 is 80.118.186.65 and allocation pool is NOT set 2024-11-08 08:54:56,826 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.929 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.929/2.025/3.122/1.096 ms') 2024-11-08 08:54:56,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99459793-62279770 passed 2024-11-08 08:54:56,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:54:56,985 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99459793-62279770, IP 80.118.186.67, Port 22 2024-11-08 08:54:57,141 - DEBUG - VM ctest-TestRoutersBasic-99459793-62279770 is ready for SSH connections 2024-11-08 08:54:57,141 - INFO - Waiting for VM ctest-TestRoutersBasic-99459793-87495074 to be up.. 2024-11-08 08:54:57,226 - DEBUG - VM is in ACTIVE state now 2024-11-08 08:54:57,226 - INFO - VM name : ctest-TestRoutersBasic-99459793-87495074 2024-11-08 08:54:57,305 - DEBUG - VM ctest-TestRoutersBasic-99459793-87495074 ID is 427a76b5-683d-429c-a639-661fa510bb70 2024-11-08 08:54:57,306 - DEBUG - VM ctest-TestRoutersBasic-99459793-87495074 launched on Node cn-jenkins-deploy-platform-ansible-os-2224-1 2024-11-08 08:54:57,382 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/427a76b5-683d-429c-a639-661fa510bb70 2024-11-08 08:54:57,393 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/d381c116-8f6a-4693-830f-570d1d9e0239 2024-11-08 08:54:58,641 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/2.023/3.632/1.608 ms') 2024-11-08 08:54:58,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99459793-87495074 passed 2024-11-08 08:54:58,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:54:58,802 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99459793-87495074, IP 144.223.64.3, Port 22 2024-11-08 08:54:58,961 - DEBUG - VM ctest-TestRoutersBasic-99459793-87495074 is ready for SSH connections 2024-11-08 08:54:58,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 08:54:58,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.223.64.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-11-08 08:54:58,962 - DEBUG - ping -s 56 -c 3 -W 1 144.223.64.3 2024-11-08 08:55:02,686 - DEBUG - PING 144.223.64.3 (144.223.64.3): 56 data bytes 64 bytes from 144.223.64.3: seq=0 ttl=62 time=6.105 ms 64 bytes from 144.223.64.3: seq=1 ttl=62 time=0.877 ms 64 bytes from 144.223.64.3: seq=2 ttl=62 time=0.888 ms --- 144.223.64.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/2.623/6.105 ms 2024-11-08 08:55:02,686 - INFO - Ping to IP 144.223.64.3 from VM ctest-TestRoutersBasic-99459793-62279770 passed 2024-11-08 08:55:02,686 - INFO - Deleting interface with subnet_id 8fa25664-08f8-4669-9814-997dfe69bba7, port_id None from router 19ad1142-5d69-43a7-8062-f041f21d89e4 2024-11-08 08:55:02,908 - INFO - Deleting VM ctest-TestRoutersBasic-99459793-87495074 2024-11-08 08:55:02,987 - INFO - Deleting VM ctest-TestRoutersBasic-99459793-62279770 2024-11-08 08:55:03,070 - INFO - Deleting VN ctest-ext_vn-11549826 2024-11-08 08:55:03,148 - DEBUG - VN c68fd974-2b29-4917-85a4-da043d6f68b6 still in use: Unable to complete operation on network c68fd974-2b29-4917-85a4-da043d6f68b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa74742f-76bb-4b5e-b9d7-df748c4b0e9a'] 2024-11-08 08:55:03,148 - WARNING - Deleting VN ctest-ext_vn-11549826 failed..Will retry 2024-11-08 08:55:05,287 - DEBUG - Response for deleting network () 2024-11-08 08:55:05,287 - INFO - Deleting VN ctest-vn-26905985 2024-11-08 08:55:05,419 - DEBUG - Response for deleting network () 2024-11-08 08:55:05,680 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 08:55:05,680 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-08 08:55:05,680 - INFO - -------------------------------------------------------------------------------- 2024-11-08 08:55:06,420 - INFO - Deleted project: ctest-TestRoutersBasic-99459793, ID : 3d0b3026-b095-42fd-829a-4872b66007ae