2024-09-17 10:37:20,043 - INFO - Domain Default found not creating 2024-09-17 10:37:20,218 - INFO - Project ctest-TestRoutersBasic-00203874 not found, creating it 2024-09-17 10:37:20,709 - INFO - Created Project:ctest-TestRoutersBasic-00203874, ID : 3a14b9d6-12de-431f-b8d4-82b35bbf532f 2024-09-17 10:37:22,413 - INFO - ================================================================================ 2024-09-17 10:37:22,413 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-17 10:37:22,413 - 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-09-17 10:37:22,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.21': '0'}} with 2024-09-17 10:37:22,671 - INFO - Initial checks done. Running the testcase now 2024-09-17 10:37:22,671 - INFO - 2024-09-17 10:37:23,427 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00203874 2024-09-17 10:37:23,529 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00203874 2024-09-17 10:37:23,864 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00203874', 'default']} 2024-09-17 10:37:24,182 - DEBUG - Response for create_network : {'network': {'id': 'ce26c292-fed1-4ce4-a401-88f10863764a', 'name': 'ctest-vn-11356594', 'tenant_id': '3a14b9d612de431fb8d482b35bbf532f', 'project_id': '3a14b9d612de431fb8d482b35bbf532f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00203874', 'ctest-vn-11356594'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 10:37:24,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '6151d166-10df-439e-bebe-1b3c00063f15', 'name': '', 'tenant_id': '3a14b9d612de431fb8d482b35bbf532f', 'network_id': 'ce26c292-fed1-4ce4-a401-88f10863764a', 'ip_version': 4, 'cidr': '21.10.18.0/26', 'allocation_pools': [{'start': '21.10.18.2', 'end': '21.10.18.62'}], 'gateway_ip': '21.10.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.10.18.2', 'tags': [], 'project_id': '3a14b9d612de431fb8d482b35bbf532f'}} 2024-09-17 10:37:24,386 - INFO - Created VN ctest-vn-11356594 2024-09-17 10:37:24,445 - DEBUG - VN ctest-vn-11356594 UUID is ce26c292-fed1-4ce4-a401-88f10863764a 2024-09-17 10:37:24,843 - DEBUG - Response for create_network : {'network': {'id': 'f50c00db-961d-4998-ae89-f45767e3f9be', 'name': 'ctest-ext_vn-89900342', 'tenant_id': '3a14b9d612de431fb8d482b35bbf532f', 'project_id': '3a14b9d612de431fb8d482b35bbf532f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00203874', 'ctest-ext_vn-89900342'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 10:37:25,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '945f10cc-813b-4c1e-a10a-d33a1138f399', 'name': '', 'tenant_id': '3a14b9d612de431fb8d482b35bbf532f', 'network_id': 'f50c00db-961d-4998-ae89-f45767e3f9be', 'ip_version': 4, 'cidr': '205.206.193.64/26', 'allocation_pools': [{'start': '205.206.193.66', 'end': '205.206.193.126'}], 'gateway_ip': '205.206.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.206.193.66', 'tags': [], 'project_id': '3a14b9d612de431fb8d482b35bbf532f'}} 2024-09-17 10:37:25,082 - INFO - Created VN ctest-ext_vn-89900342 2024-09-17 10:37:25,141 - DEBUG - VN ctest-ext_vn-89900342 UUID is f50c00db-961d-4998-ae89-f45767e3f9be 2024-09-17 10:37:25,316 - DEBUG - Services list from nova: [, , ] 2024-09-17 10:37:26,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1960-1) 2024-09-17 10:37:27,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1960-1) 2024-09-17 10:37:27,662 - INFO - Setting gateway for router a041bbad-76ee-4aaa-9f5a-fff368afdaae to network f50c00db-961d-4998-ae89-f45767e3f9be 2024-09-17 10:37:27,746 - INFO - Adding interface with subnet_id 6151d166-10df-439e-bebe-1b3c00063f15, port_id None to router a041bbad-76ee-4aaa-9f5a-fff368afdaae 2024-09-17 10:37:28,203 - INFO - Waiting for VM ctest-TestRoutersBasic-00203874-09778400 to be up.. 2024-09-17 10:37:28,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 10:37:33,553 - DEBUG - VM is in ACTIVE state now 2024-09-17 10:37:33,553 - INFO - VM name : ctest-TestRoutersBasic-00203874-09778400 2024-09-17 10:37:33,640 - DEBUG - VM ctest-TestRoutersBasic-00203874-09778400 ID is cfa262a7-1917-42c9-8cd6-408a5a4a60d8 2024-09-17 10:37:33,660 - DEBUG - VM ctest-TestRoutersBasic-00203874-09778400 launched on Node cn-jenkins-deploy-platform-ansible-os-1960-1 2024-09-17 10:37:33,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cfa262a7-1917-42c9-8cd6-408a5a4a60d8 2024-09-17 10:37:34,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cfa262a7-1917-42c9-8cd6-408a5a4a60d8 2024-09-17 10:37:34,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/690a2034-3686-4f3b-b852-11873fe395af 2024-09-17 10:37:37,369 - 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 1006ms') 2024-09-17 10:37:37,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00203874-09778400 failed! 2024-09-17 10:37:37,428 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00203874:ctest-vn-11356594 is 21.10.18.1 and allocation pool is NOT set 2024-09-17 10:37:39,489 - 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=6.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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.439/3.699/6.960/3.260 ms') 2024-09-17 10:37:39,489 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00203874-09778400 passed 2024-09-17 10:37:39,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:37:39,649 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00203874-09778400, IP 21.10.18.3, Port 22 2024-09-17 10:37:39,804 - DEBUG - VM ctest-TestRoutersBasic-00203874-09778400 is ready for SSH connections 2024-09-17 10:37:39,804 - INFO - Waiting for VM ctest-TestRoutersBasic-00203874-72468524 to be up.. 2024-09-17 10:37:39,889 - DEBUG - VM is in ACTIVE state now 2024-09-17 10:37:39,889 - INFO - VM name : ctest-TestRoutersBasic-00203874-72468524 2024-09-17 10:37:39,965 - DEBUG - VM ctest-TestRoutersBasic-00203874-72468524 ID is bb5b8054-d6af-445e-82cb-11424069a5c7 2024-09-17 10:37:39,965 - DEBUG - VM ctest-TestRoutersBasic-00203874-72468524 launched on Node cn-jenkins-deploy-platform-ansible-os-1960-1 2024-09-17 10:37:40,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bb5b8054-d6af-445e-82cb-11424069a5c7 2024-09-17 10:37:40,053 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ccac6ff6-88d4-4254-86ed-7e9783cbc16c 2024-09-17 10:37:41,314 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.611 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.611/1.855/3.099/1.244 ms') 2024-09-17 10:37:41,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00203874-72468524 passed 2024-09-17 10:37:41,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:37:41,473 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00203874-72468524, IP 205.206.193.67, Port 22 2024-09-17 10:37:41,628 - DEBUG - VM ctest-TestRoutersBasic-00203874-72468524 is ready for SSH connections 2024-09-17 10:37:41,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:37:41,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.206.193.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-17 10:37:41,629 - DEBUG - ping -s 56 -c 3 -W 1 205.206.193.67 2024-09-17 10:37:45,340 - DEBUG - PING 205.206.193.67 (205.206.193.67): 56 data bytes 64 bytes from 205.206.193.67: seq=0 ttl=62 time=6.243 ms 64 bytes from 205.206.193.67: seq=1 ttl=62 time=1.035 ms 64 bytes from 205.206.193.67: seq=2 ttl=62 time=1.032 ms --- 205.206.193.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.770/6.243 ms 2024-09-17 10:37:45,340 - INFO - Ping to IP 205.206.193.67 from VM ctest-TestRoutersBasic-00203874-09778400 passed 2024-09-17 10:37:45,341 - INFO - Deleting interface with subnet_id 6151d166-10df-439e-bebe-1b3c00063f15, port_id None from router a041bbad-76ee-4aaa-9f5a-fff368afdaae 2024-09-17 10:37:45,574 - INFO - Deleting VM ctest-TestRoutersBasic-00203874-72468524 2024-09-17 10:37:45,656 - INFO - Deleting VM ctest-TestRoutersBasic-00203874-09778400 2024-09-17 10:37:45,739 - INFO - Deleting VN ctest-ext_vn-89900342 2024-09-17 10:37:45,826 - DEBUG - VN f50c00db-961d-4998-ae89-f45767e3f9be still in use: Unable to complete operation on network f50c00db-961d-4998-ae89-f45767e3f9be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a29584ae-120d-4167-84c6-54dce834466a'] 2024-09-17 10:37:45,827 - WARNING - Deleting VN ctest-ext_vn-89900342 failed..Will retry 2024-09-17 10:37:47,951 - DEBUG - Response for deleting network () 2024-09-17 10:37:47,951 - INFO - Deleting VN ctest-vn-11356594 2024-09-17 10:37:48,078 - DEBUG - Response for deleting network () 2024-09-17 10:37:48,338 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 10:37:48,338 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-17 10:37:48,338 - INFO - -------------------------------------------------------------------------------- 2024-09-17 10:37:49,049 - INFO - Deleted project: ctest-TestRoutersBasic-00203874, ID : 3a14b9d6-12de-431f-b8d4-82b35bbf532f