2024-09-04 14:02:04,031 - INFO - Domain Default found not creating 2024-09-04 14:02:04,189 - INFO - Project ctest-TestRoutersBasic-66681157 not found, creating it 2024-09-04 14:02:04,654 - INFO - Created Project:ctest-TestRoutersBasic-66681157, ID : 3b78a185-e2ba-4419-a5a6-b3042b58c461 2024-09-04 14:02:06,257 - INFO - ================================================================================ 2024-09-04 14:02:06,257 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-04 14:02:06,257 - 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-04 14:02:06,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.11': '0'}} with 2024-09-04 14:02:06,521 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:02:06,521 - INFO - 2024-09-04 14:02:07,251 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66681157 2024-09-04 14:02:07,359 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66681157 2024-09-04 14:02:07,699 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66681157', 'default']} 2024-09-04 14:02:08,032 - DEBUG - Response for create_network : {'network': {'id': 'c1af1cdf-8644-44ba-b271-f9e9799a53d1', 'name': 'ctest-vn-85780859', 'tenant_id': '3b78a185e2ba4419a5a6b3042b58c461', 'project_id': '3b78a185e2ba4419a5a6b3042b58c461', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66681157', 'ctest-vn-85780859'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:02:08,193 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e226a813-44e6-401e-a025-585dee1f2e4a', 'name': '', 'tenant_id': '3b78a185e2ba4419a5a6b3042b58c461', 'network_id': 'c1af1cdf-8644-44ba-b271-f9e9799a53d1', 'ip_version': 4, 'cidr': '75.128.208.192/26', 'allocation_pools': [{'start': '75.128.208.194', 'end': '75.128.208.254'}], 'gateway_ip': '75.128.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.128.208.194', 'tags': [], 'project_id': '3b78a185e2ba4419a5a6b3042b58c461'}} 2024-09-04 14:02:08,217 - INFO - Created VN ctest-vn-85780859 2024-09-04 14:02:08,272 - DEBUG - VN ctest-vn-85780859 UUID is c1af1cdf-8644-44ba-b271-f9e9799a53d1 2024-09-04 14:02:08,624 - DEBUG - Response for create_network : {'network': {'id': '841ff398-8a72-42a7-be07-7c1b703c4b62', 'name': 'ctest-ext_vn-89529707', 'tenant_id': '3b78a185e2ba4419a5a6b3042b58c461', 'project_id': '3b78a185e2ba4419a5a6b3042b58c461', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66681157', 'ctest-ext_vn-89529707'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:02:08,885 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aee8fab6-af63-48fb-9940-5facc7e0eed6', 'name': '', 'tenant_id': '3b78a185e2ba4419a5a6b3042b58c461', 'network_id': '841ff398-8a72-42a7-be07-7c1b703c4b62', 'ip_version': 4, 'cidr': '193.195.192.64/26', 'allocation_pools': [{'start': '193.195.192.66', 'end': '193.195.192.126'}], 'gateway_ip': '193.195.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.195.192.66', 'tags': [], 'project_id': '3b78a185e2ba4419a5a6b3042b58c461'}} 2024-09-04 14:02:08,908 - INFO - Created VN ctest-ext_vn-89529707 2024-09-04 14:02:08,963 - DEBUG - VN ctest-ext_vn-89529707 UUID is 841ff398-8a72-42a7-be07-7c1b703c4b62 2024-09-04 14:02:09,142 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:02:10,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1842-1) 2024-09-04 14:02:11,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1842-1) 2024-09-04 14:02:11,492 - INFO - Setting gateway for router e3dd6a72-f395-4a0e-8215-318d79024ae9 to network 841ff398-8a72-42a7-be07-7c1b703c4b62 2024-09-04 14:02:11,577 - INFO - Adding interface with subnet_id e226a813-44e6-401e-a025-585dee1f2e4a, port_id None to router e3dd6a72-f395-4a0e-8215-318d79024ae9 2024-09-04 14:02:12,088 - INFO - Waiting for VM ctest-TestRoutersBasic-66681157-36424877 to be up.. 2024-09-04 14:02:12,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:02:17,353 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:02:17,353 - INFO - VM name : ctest-TestRoutersBasic-66681157-36424877 2024-09-04 14:02:17,435 - DEBUG - VM ctest-TestRoutersBasic-66681157-36424877 ID is ba22262b-3d56-4682-8ecc-342a70a5b332 2024-09-04 14:02:17,456 - DEBUG - VM ctest-TestRoutersBasic-66681157-36424877 launched on Node cn-jenkins-deploy-platform-ansible-os-1842-1 2024-09-04 14:02:17,546 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ba22262b-3d56-4682-8ecc-342a70a5b332 2024-09-04 14:02:17,842 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ba22262b-3d56-4682-8ecc-342a70a5b332 2024-09-04 14:02:17,876 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/b54744c0-892d-4917-a552-8b3f5d3abc42 2024-09-04 14:02:21,145 - 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 1028ms') 2024-09-04 14:02:21,145 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66681157-36424877 failed! 2024-09-04 14:02:21,199 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66681157:ctest-vn-85780859 is 75.128.208.193 and allocation pool is NOT set 2024-09-04 14:02:23,263 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.796/3.181/1.384 ms') 2024-09-04 14:02:23,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66681157-36424877 passed 2024-09-04 14:02:23,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:23,416 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66681157-36424877, IP 75.128.208.195, Port 22 2024-09-04 14:02:23,571 - DEBUG - VM ctest-TestRoutersBasic-66681157-36424877 is ready for SSH connections 2024-09-04 14:02:23,571 - INFO - Waiting for VM ctest-TestRoutersBasic-66681157-34890275 to be up.. 2024-09-04 14:02:23,650 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:02:23,650 - INFO - VM name : ctest-TestRoutersBasic-66681157-34890275 2024-09-04 14:02:23,726 - DEBUG - VM ctest-TestRoutersBasic-66681157-34890275 ID is 927df0ba-cbc7-459e-a760-9b0845b67975 2024-09-04 14:02:23,726 - DEBUG - VM ctest-TestRoutersBasic-66681157-34890275 launched on Node cn-jenkins-deploy-platform-ansible-os-1842-1 2024-09-04 14:02:23,801 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/927df0ba-cbc7-459e-a760-9b0845b67975 2024-09-04 14:02:23,810 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ecbeac79-cd82-43ca-8f0a-5db12a612954 2024-09-04 14:02:25,048 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.625/2.918/1.292 ms') 2024-09-04 14:02:25,048 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66681157-34890275 passed 2024-09-04 14:02:25,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:25,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66681157-34890275, IP 193.195.192.67, Port 22 2024-09-04 14:02:25,347 - DEBUG - VM ctest-TestRoutersBasic-66681157-34890275 is ready for SSH connections 2024-09-04 14:02:25,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:02:25,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.195.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-04 14:02:25,347 - DEBUG - ping -s 56 -c 3 -W 1 193.195.192.67 2024-09-04 14:02:29,406 - DEBUG - PING 193.195.192.67 (193.195.192.67): 56 data bytes 64 bytes from 193.195.192.67: seq=0 ttl=62 time=5.291 ms 64 bytes from 193.195.192.67: seq=1 ttl=62 time=0.834 ms 64 bytes from 193.195.192.67: seq=2 ttl=62 time=0.810 ms --- 193.195.192.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/2.311/5.291 ms 2024-09-04 14:02:29,406 - INFO - Ping to IP 193.195.192.67 from VM ctest-TestRoutersBasic-66681157-36424877 passed 2024-09-04 14:02:29,406 - INFO - Deleting interface with subnet_id e226a813-44e6-401e-a025-585dee1f2e4a, port_id None from router e3dd6a72-f395-4a0e-8215-318d79024ae9 2024-09-04 14:02:29,611 - INFO - Deleting VM ctest-TestRoutersBasic-66681157-34890275 2024-09-04 14:02:29,673 - INFO - Deleting VM ctest-TestRoutersBasic-66681157-36424877 2024-09-04 14:02:29,744 - INFO - Deleting VN ctest-ext_vn-89529707 2024-09-04 14:02:29,832 - DEBUG - VN 841ff398-8a72-42a7-be07-7c1b703c4b62 still in use: Unable to complete operation on network 841ff398-8a72-42a7-be07-7c1b703c4b62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a1900cf-72cb-4d1f-9b10-75cd1f5e6bd3'] 2024-09-04 14:02:29,832 - WARNING - Deleting VN ctest-ext_vn-89529707 failed..Will retry 2024-09-04 14:02:31,953 - DEBUG - Response for deleting network () 2024-09-04 14:02:31,953 - INFO - Deleting VN ctest-vn-85780859 2024-09-04 14:02:32,076 - DEBUG - Response for deleting network () 2024-09-04 14:02:32,337 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 14:02:32,337 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-04 14:02:32,337 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:02:33,014 - INFO - Deleted project: ctest-TestRoutersBasic-66681157, ID : 3b78a185-e2ba-4419-a5a6-b3042b58c461