2025-01-11 21:53:21,956 - INFO - Domain Default found not creating 2025-01-11 21:53:22,108 - INFO - Project ctest-TestRoutersBasic-34325866 not found, creating it 2025-01-11 21:53:22,573 - INFO - Created Project:ctest-TestRoutersBasic-34325866, ID : dc38c520-a1df-41e6-b43b-c753378ff3fb 2025-01-11 21:53:23,994 - INFO - ================================================================================ 2025-01-11 21:53:23,994 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-11 21:53:23,994 - 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-11 21:53:24,248 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.33': '0'}} with 2025-01-11 21:53:24,248 - INFO - Initial checks done. Running the testcase now 2025-01-11 21:53:24,248 - INFO - 2025-01-11 21:53:24,947 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34325866 2025-01-11 21:53:25,045 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34325866 2025-01-11 21:53:25,385 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34325866', 'default']} 2025-01-11 21:53:25,675 - DEBUG - Response for create_network : {'network': {'id': '441643b1-c5f4-4ea1-9fad-976ff875705c', 'name': 'ctest-vn-96992320', 'tenant_id': 'dc38c520a1df41e6b43bc753378ff3fb', 'project_id': 'dc38c520a1df41e6b43bc753378ff3fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34325866', 'ctest-vn-96992320'], 'port_security_enabled': True, 'description': ''}} 2025-01-11 21:53:25,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '104e6702-a2d0-475d-a239-16908b6936a8', 'name': '', 'tenant_id': 'dc38c520a1df41e6b43bc753378ff3fb', 'network_id': '441643b1-c5f4-4ea1-9fad-976ff875705c', 'ip_version': 4, 'cidr': '119.228.45.0/26', 'allocation_pools': [{'start': '119.228.45.2', 'end': '119.228.45.62'}], 'gateway_ip': '119.228.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.228.45.2', 'tags': [], 'project_id': 'dc38c520a1df41e6b43bc753378ff3fb'}} 2025-01-11 21:53:25,905 - INFO - Created VN ctest-vn-96992320 2025-01-11 21:53:25,957 - DEBUG - VN ctest-vn-96992320 UUID is 441643b1-c5f4-4ea1-9fad-976ff875705c 2025-01-11 21:53:26,298 - DEBUG - Response for create_network : {'network': {'id': 'acaaeca3-3bb5-41ca-a64a-753dd26e1321', 'name': 'ctest-ext_vn-29895143', 'tenant_id': 'dc38c520a1df41e6b43bc753378ff3fb', 'project_id': 'dc38c520a1df41e6b43bc753378ff3fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34325866', 'ctest-ext_vn-29895143'], 'port_security_enabled': True, 'description': ''}} 2025-01-11 21:53:26,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '348c4afd-9a30-49ac-bc92-e2874beaf0af', 'name': '', 'tenant_id': 'dc38c520a1df41e6b43bc753378ff3fb', 'network_id': 'acaaeca3-3bb5-41ca-a64a-753dd26e1321', 'ip_version': 4, 'cidr': '180.204.131.64/26', 'allocation_pools': [{'start': '180.204.131.66', 'end': '180.204.131.126'}], 'gateway_ip': '180.204.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.204.131.66', 'tags': [], 'project_id': 'dc38c520a1df41e6b43bc753378ff3fb'}} 2025-01-11 21:53:26,459 - INFO - Created VN ctest-ext_vn-29895143 2025-01-11 21:53:26,513 - DEBUG - VN ctest-ext_vn-29895143 UUID is acaaeca3-3bb5-41ca-a64a-753dd26e1321 2025-01-11 21:53:26,692 - DEBUG - Services list from nova: [, , ] 2025-01-11 21:53:27,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2601-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2601-1) 2025-01-11 21:53:28,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2601-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2601-1) 2025-01-11 21:53:28,981 - INFO - Setting gateway for router 39c2a1e9-ccc7-49e9-b2cd-25b8d0e5b697 to network acaaeca3-3bb5-41ca-a64a-753dd26e1321 2025-01-11 21:53:29,046 - INFO - Adding interface with subnet_id 104e6702-a2d0-475d-a239-16908b6936a8, port_id None to router 39c2a1e9-ccc7-49e9-b2cd-25b8d0e5b697 2025-01-11 21:53:29,468 - INFO - Waiting for VM ctest-TestRoutersBasic-34325866-86870157 to be up.. 2025-01-11 21:53:29,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-11 21:53:34,742 - DEBUG - VM is in ACTIVE state now 2025-01-11 21:53:34,742 - INFO - VM name : ctest-TestRoutersBasic-34325866-86870157 2025-01-11 21:53:34,814 - DEBUG - VM ctest-TestRoutersBasic-34325866-86870157 ID is 8b179bd1-3626-4662-80f7-bb82007d0210 2025-01-11 21:53:34,832 - DEBUG - VM ctest-TestRoutersBasic-34325866-86870157 launched on Node cn-jenkins-deploy-platform-ansible-os-2601-1 2025-01-11 21:53:34,911 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8b179bd1-3626-4662-80f7-bb82007d0210 2025-01-11 21:53:35,206 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8b179bd1-3626-4662-80f7-bb82007d0210 2025-01-11 21:53:35,239 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d24cf618-7091-4c66-92e6-158f1259c445 2025-01-11 21:53:38,487 - 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 1007ms') 2025-01-11 21:53:38,488 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34325866-86870157 failed! 2025-01-11 21:53:38,542 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34325866:ctest-vn-96992320 is 119.228.45.1 and allocation pool is NOT set 2025-01-11 21:53:40,606 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.683/2.915/1.231 ms') 2025-01-11 21:53:40,607 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34325866-86870157 passed 2025-01-11 21:53:40,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-11 21:53:40,758 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34325866-86870157, IP 119.228.45.3, Port 22 2025-01-11 21:53:40,917 - DEBUG - VM ctest-TestRoutersBasic-34325866-86870157 is ready for SSH connections 2025-01-11 21:53:40,917 - INFO - Waiting for VM ctest-TestRoutersBasic-34325866-03205381 to be up.. 2025-01-11 21:53:40,996 - DEBUG - VM is in ACTIVE state now 2025-01-11 21:53:40,996 - INFO - VM name : ctest-TestRoutersBasic-34325866-03205381 2025-01-11 21:53:41,073 - DEBUG - VM ctest-TestRoutersBasic-34325866-03205381 ID is 5102b595-34ce-4566-b1e3-f254687eaac5 2025-01-11 21:53:41,073 - DEBUG - VM ctest-TestRoutersBasic-34325866-03205381 launched on Node cn-jenkins-deploy-platform-ansible-os-2601-1 2025-01-11 21:53:41,154 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5102b595-34ce-4566-b1e3-f254687eaac5 2025-01-11 21:53:41,165 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/767b7458-326c-49fc-acef-047ebf5721dd 2025-01-11 21:53:42,405 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/1.957/3.292/1.335 ms') 2025-01-11 21:53:42,405 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34325866-03205381 passed 2025-01-11 21:53:42,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-11 21:53:42,558 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34325866-03205381, IP 180.204.131.67, Port 22 2025-01-11 21:53:42,713 - DEBUG - VM ctest-TestRoutersBasic-34325866-03205381 is ready for SSH connections 2025-01-11 21:53:42,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-11 21:53:42,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.204.131.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-11 21:53:42,713 - DEBUG - ping -s 56 -c 3 -W 1 180.204.131.67 2025-01-11 21:53:46,715 - DEBUG - PING 180.204.131.67 (180.204.131.67): 56 data bytes 64 bytes from 180.204.131.67: seq=0 ttl=62 time=6.389 ms 64 bytes from 180.204.131.67: seq=1 ttl=62 time=0.875 ms 64 bytes from 180.204.131.67: seq=2 ttl=62 time=1.448 ms --- 180.204.131.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/2.904/6.389 ms 2025-01-11 21:53:46,715 - INFO - Ping to IP 180.204.131.67 from VM ctest-TestRoutersBasic-34325866-86870157 passed 2025-01-11 21:53:46,715 - INFO - Deleting interface with subnet_id 104e6702-a2d0-475d-a239-16908b6936a8, port_id None from router 39c2a1e9-ccc7-49e9-b2cd-25b8d0e5b697 2025-01-11 21:53:46,952 - INFO - Deleting VM ctest-TestRoutersBasic-34325866-03205381 2025-01-11 21:53:47,020 - INFO - Deleting VM ctest-TestRoutersBasic-34325866-86870157 2025-01-11 21:53:47,108 - INFO - Deleting VN ctest-ext_vn-29895143 2025-01-11 21:53:47,187 - DEBUG - VN acaaeca3-3bb5-41ca-a64a-753dd26e1321 still in use: Unable to complete operation on network acaaeca3-3bb5-41ca-a64a-753dd26e1321. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02e64965-d703-4d22-80d1-4fedce51876c'] 2025-01-11 21:53:47,187 - WARNING - Deleting VN ctest-ext_vn-29895143 failed..Will retry 2025-01-11 21:53:49,298 - DEBUG - Response for deleting network () 2025-01-11 21:53:49,299 - INFO - Deleting VN ctest-vn-96992320 2025-01-11 21:53:49,404 - DEBUG - Response for deleting network () 2025-01-11 21:53:49,663 - DEBUG - No XMPP flaps were noticed during the test
2025-01-11 21:53:49,663 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-11 21:53:49,663 - INFO - -------------------------------------------------------------------------------- 2025-01-11 21:53:50,351 - INFO - Deleted project: ctest-TestRoutersBasic-34325866, ID : dc38c520-a1df-41e6-b43b-c753378ff3fb