2024-08-22 14:24:58,336 - INFO - Domain Default found not creating 2024-08-22 14:24:58,509 - INFO - Project ctest-TestRoutersBasic-25894079 not found, creating it 2024-08-22 14:24:58,999 - INFO - Created Project:ctest-TestRoutersBasic-25894079, ID : 99d93182-c142-4359-950b-ab2bca4c7844 2024-08-22 14:25:00,572 - INFO - ================================================================================ 2024-08-22 14:25:00,572 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-22 14:25:00,572 - 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-08-22 14:25:00,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2024-08-22 14:25:00,837 - INFO - Initial checks done. Running the testcase now 2024-08-22 14:25:00,837 - INFO - 2024-08-22 14:25:01,558 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25894079 2024-08-22 14:25:01,654 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25894079 2024-08-22 14:25:01,982 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25894079', 'default']} 2024-08-22 14:25:02,276 - DEBUG - Response for create_network : {'network': {'id': 'a293774b-0dad-4a75-b990-bd2fb8430fa8', 'name': 'ctest-vn-47451329', 'tenant_id': '99d93182c1424359950bab2bca4c7844', 'project_id': '99d93182c1424359950bab2bca4c7844', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25894079', 'ctest-vn-47451329'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 14:25:02,462 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfd14cf1-5660-4a16-bd3c-17a28b9147d2', 'name': '', 'tenant_id': '99d93182c1424359950bab2bca4c7844', 'network_id': 'a293774b-0dad-4a75-b990-bd2fb8430fa8', 'ip_version': 4, 'cidr': '188.11.235.64/26', 'allocation_pools': [{'start': '188.11.235.66', 'end': '188.11.235.126'}], 'gateway_ip': '188.11.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.11.235.66', 'tags': [], 'project_id': '99d93182c1424359950bab2bca4c7844'}} 2024-08-22 14:25:02,482 - INFO - Created VN ctest-vn-47451329 2024-08-22 14:25:02,534 - DEBUG - VN ctest-vn-47451329 UUID is a293774b-0dad-4a75-b990-bd2fb8430fa8 2024-08-22 14:25:02,914 - DEBUG - Response for create_network : {'network': {'id': '976d40a3-0868-4122-b2fc-cd423514a949', 'name': 'ctest-ext_vn-00437808', 'tenant_id': '99d93182c1424359950bab2bca4c7844', 'project_id': '99d93182c1424359950bab2bca4c7844', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25894079', 'ctest-ext_vn-00437808'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 14:25:03,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '6988a30b-843a-4ca7-9c16-ba263f08d624', 'name': '', 'tenant_id': '99d93182c1424359950bab2bca4c7844', 'network_id': '976d40a3-0868-4122-b2fc-cd423514a949', 'ip_version': 4, 'cidr': '70.214.235.192/26', 'allocation_pools': [{'start': '70.214.235.194', 'end': '70.214.235.254'}], 'gateway_ip': '70.214.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.214.235.194', 'tags': [], 'project_id': '99d93182c1424359950bab2bca4c7844'}} 2024-08-22 14:25:03,136 - INFO - Created VN ctest-ext_vn-00437808 2024-08-22 14:25:03,186 - DEBUG - VN ctest-ext_vn-00437808 UUID is 976d40a3-0868-4122-b2fc-cd423514a949 2024-08-22 14:25:03,353 - DEBUG - Services list from nova: [, , ] 2024-08-22 14:25:04,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1714-1) 2024-08-22 14:25:05,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1714-1) 2024-08-22 14:25:05,880 - INFO - Setting gateway for router 659be036-c219-4508-8701-baaacdc1aeaa to network 976d40a3-0868-4122-b2fc-cd423514a949 2024-08-22 14:25:05,943 - INFO - Adding interface with subnet_id bfd14cf1-5660-4a16-bd3c-17a28b9147d2, port_id None to router 659be036-c219-4508-8701-baaacdc1aeaa 2024-08-22 14:25:06,257 - INFO - Waiting for VM ctest-TestRoutersBasic-25894079-87405024 to be up.. 2024-08-22 14:25:06,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-22 14:25:11,495 - DEBUG - VM is in ACTIVE state now 2024-08-22 14:25:11,495 - INFO - VM name : ctest-TestRoutersBasic-25894079-87405024 2024-08-22 14:25:11,588 - DEBUG - VM ctest-TestRoutersBasic-25894079-87405024 ID is b7ad9362-7070-420e-b545-78e8be1412f5 2024-08-22 14:25:11,609 - DEBUG - VM ctest-TestRoutersBasic-25894079-87405024 launched on Node cn-jenkins-deploy-platform-ansible-os-1714-1 2024-08-22 14:25:11,699 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b7ad9362-7070-420e-b545-78e8be1412f5 2024-08-22 14:25:12,002 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b7ad9362-7070-420e-b545-78e8be1412f5 2024-08-22 14:25:12,037 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/e287fee5-ca5a-4bdf-9161-7470a2a0bff0 2024-08-22 14:25:15,282 - 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') 2024-08-22 14:25:15,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25894079-87405024 failed! 2024-08-22 14:25:15,338 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25894079:ctest-vn-47451329 is 188.11.235.65 and allocation pool is NOT set 2024-08-22 14:25:17,396 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.667 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.667/2.197/3.728/1.530 ms') 2024-08-22 14:25:17,396 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25894079-87405024 passed 2024-08-22 14:25:17,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:25:17,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25894079-87405024, IP 188.11.235.67, Port 22 2024-08-22 14:25:17,706 - DEBUG - VM ctest-TestRoutersBasic-25894079-87405024 is ready for SSH connections 2024-08-22 14:25:17,706 - INFO - Waiting for VM ctest-TestRoutersBasic-25894079-02284567 to be up.. 2024-08-22 14:25:17,784 - DEBUG - VM is in ACTIVE state now 2024-08-22 14:25:17,784 - INFO - VM name : ctest-TestRoutersBasic-25894079-02284567 2024-08-22 14:25:17,863 - DEBUG - VM ctest-TestRoutersBasic-25894079-02284567 ID is fcfa7307-b6c3-489b-b05d-6f63ee9759da 2024-08-22 14:25:17,863 - DEBUG - VM ctest-TestRoutersBasic-25894079-02284567 launched on Node cn-jenkins-deploy-platform-ansible-os-1714-1 2024-08-22 14:25:17,942 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fcfa7307-b6c3-489b-b05d-6f63ee9759da 2024-08-22 14:25:17,950 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/2187b2cb-b871-486c-bbbe-b1fcdb1a110f 2024-08-22 14:25:19,185 - 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=4.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/2.345/4.206/1.860 ms') 2024-08-22 14:25:19,186 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25894079-02284567 passed 2024-08-22 14:25:19,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:25:19,338 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25894079-02284567, IP 70.214.235.195, Port 22 2024-08-22 14:25:19,498 - DEBUG - VM ctest-TestRoutersBasic-25894079-02284567 is ready for SSH connections 2024-08-22 14:25:19,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 14:25:19,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.214.235.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-08-22 14:25:19,498 - DEBUG - ping -s 56 -c 3 -W 1 70.214.235.195 2024-08-22 14:25:23,481 - DEBUG - PING 70.214.235.195 (70.214.235.195): 56 data bytes 64 bytes from 70.214.235.195: seq=0 ttl=62 time=4.588 ms 64 bytes from 70.214.235.195: seq=1 ttl=62 time=0.849 ms 64 bytes from 70.214.235.195: seq=2 ttl=62 time=0.989 ms --- 70.214.235.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/2.142/4.588 ms 2024-08-22 14:25:23,481 - INFO - Ping to IP 70.214.235.195 from VM ctest-TestRoutersBasic-25894079-87405024 passed 2024-08-22 14:25:23,481 - INFO - Deleting interface with subnet_id bfd14cf1-5660-4a16-bd3c-17a28b9147d2, port_id None from router 659be036-c219-4508-8701-baaacdc1aeaa 2024-08-22 14:25:23,700 - INFO - Deleting VM ctest-TestRoutersBasic-25894079-02284567 2024-08-22 14:25:23,796 - INFO - Deleting VM ctest-TestRoutersBasic-25894079-87405024 2024-08-22 14:25:23,886 - INFO - Deleting VN ctest-ext_vn-00437808 2024-08-22 14:25:23,971 - DEBUG - VN 976d40a3-0868-4122-b2fc-cd423514a949 still in use: Unable to complete operation on network 976d40a3-0868-4122-b2fc-cd423514a949. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7a96c31-f994-4b25-a788-6bbc7e7ccff0'] 2024-08-22 14:25:23,971 - WARNING - Deleting VN ctest-ext_vn-00437808 failed..Will retry 2024-08-22 14:25:26,081 - DEBUG - Response for deleting network () 2024-08-22 14:25:26,081 - INFO - Deleting VN ctest-vn-47451329 2024-08-22 14:25:26,181 - DEBUG - Response for deleting network () 2024-08-22 14:25:26,441 - DEBUG - No XMPP flaps were noticed during the test
2024-08-22 14:25:26,441 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-22 14:25:26,441 - INFO - -------------------------------------------------------------------------------- 2024-08-22 14:25:27,128 - INFO - Deleted project: ctest-TestRoutersBasic-25894079, ID : 99d93182-c142-4359-950b-ab2bca4c7844