2024-09-04 14:22:55,649 - INFO - Domain Default found not creating 2024-09-04 14:22:55,801 - INFO - Project ctest-TestRoutersBasic-11326061 not found, creating it 2024-09-04 14:22:56,263 - INFO - Created Project:ctest-TestRoutersBasic-11326061, ID : d230a3b0-f14a-40d2-9d78-61a88a2c02e4 2024-09-04 14:22:57,809 - INFO - ================================================================================ 2024-09-04 14:22:57,810 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-04 14:22:57,810 - 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:22:58,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.7': '0'}} with 2024-09-04 14:22:58,063 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:22:58,063 - INFO - 2024-09-04 14:22:58,784 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11326061 2024-09-04 14:22:58,877 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11326061 2024-09-04 14:22:59,193 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11326061', 'default']} 2024-09-04 14:22:59,487 - DEBUG - Response for create_network : {'network': {'id': '53e07701-cc49-4a33-bd52-45e313fcf14d', 'name': 'ctest-vn-62217240', 'tenant_id': 'd230a3b0f14a40d29d7861a88a2c02e4', 'project_id': 'd230a3b0f14a40d29d7861a88a2c02e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11326061', 'ctest-vn-62217240'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:22:59,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '37003fa3-a50e-4519-8c3f-cf8621e51ac0', 'name': '', 'tenant_id': 'd230a3b0f14a40d29d7861a88a2c02e4', 'network_id': '53e07701-cc49-4a33-bd52-45e313fcf14d', 'ip_version': 4, 'cidr': '68.254.253.128/26', 'allocation_pools': [{'start': '68.254.253.130', 'end': '68.254.253.190'}], 'gateway_ip': '68.254.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.254.253.130', 'tags': [], 'project_id': 'd230a3b0f14a40d29d7861a88a2c02e4'}} 2024-09-04 14:22:59,689 - INFO - Created VN ctest-vn-62217240 2024-09-04 14:22:59,741 - DEBUG - VN ctest-vn-62217240 UUID is 53e07701-cc49-4a33-bd52-45e313fcf14d 2024-09-04 14:23:00,052 - DEBUG - Response for create_network : {'network': {'id': '23403177-3f10-4d40-9322-010444dfcbf6', 'name': 'ctest-ext_vn-89676533', 'tenant_id': 'd230a3b0f14a40d29d7861a88a2c02e4', 'project_id': 'd230a3b0f14a40d29d7861a88a2c02e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11326061', 'ctest-ext_vn-89676533'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:23:00,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '76446003-226e-4651-9cdd-469869f77b36', 'name': '', 'tenant_id': 'd230a3b0f14a40d29d7861a88a2c02e4', 'network_id': '23403177-3f10-4d40-9322-010444dfcbf6', 'ip_version': 4, 'cidr': '114.43.170.128/26', 'allocation_pools': [{'start': '114.43.170.130', 'end': '114.43.170.190'}], 'gateway_ip': '114.43.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.43.170.130', 'tags': [], 'project_id': 'd230a3b0f14a40d29d7861a88a2c02e4'}} 2024-09-04 14:23:00,271 - INFO - Created VN ctest-ext_vn-89676533 2024-09-04 14:23:00,329 - DEBUG - VN ctest-ext_vn-89676533 UUID is 23403177-3f10-4d40-9322-010444dfcbf6 2024-09-04 14:23:00,496 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:23:01,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1844-1) 2024-09-04 14:23:02,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1844-1) 2024-09-04 14:23:02,766 - INFO - Setting gateway for router 386634a0-430e-4d2e-bba2-421b3ce70854 to network 23403177-3f10-4d40-9322-010444dfcbf6 2024-09-04 14:23:02,824 - INFO - Adding interface with subnet_id 37003fa3-a50e-4519-8c3f-cf8621e51ac0, port_id None to router 386634a0-430e-4d2e-bba2-421b3ce70854 2024-09-04 14:23:03,133 - INFO - Waiting for VM ctest-TestRoutersBasic-11326061-09459033 to be up.. 2024-09-04 14:23:03,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:23:08,364 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:23:08,365 - INFO - VM name : ctest-TestRoutersBasic-11326061-09459033 2024-09-04 14:23:08,441 - DEBUG - VM ctest-TestRoutersBasic-11326061-09459033 ID is 47e57d3f-5239-40ef-93c0-07545e9d6359 2024-09-04 14:23:08,458 - DEBUG - VM ctest-TestRoutersBasic-11326061-09459033 launched on Node cn-jenkins-deploy-platform-ansible-os-1844-1 2024-09-04 14:23:08,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/47e57d3f-5239-40ef-93c0-07545e9d6359 2024-09-04 14:23:08,827 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/47e57d3f-5239-40ef-93c0-07545e9d6359 2024-09-04 14:23:08,861 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5b0d1b55-3915-405d-bbed-7031ff1e5ccc 2024-09-04 14:23:12,115 - 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 1023ms') 2024-09-04 14:23:12,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11326061-09459033 failed! 2024-09-04 14:23:12,169 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11326061:ctest-vn-62217240 is 68.254.253.129 and allocation pool is NOT set 2024-09-04 14:23:14,224 - 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=7.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/3.780/7.150/3.370 ms') 2024-09-04 14:23:14,225 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11326061-09459033 passed 2024-09-04 14:23:14,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:23:14,373 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11326061-09459033, IP 68.254.253.131, Port 22 2024-09-04 14:23:14,529 - DEBUG - VM ctest-TestRoutersBasic-11326061-09459033 is ready for SSH connections 2024-09-04 14:23:14,529 - INFO - Waiting for VM ctest-TestRoutersBasic-11326061-56986633 to be up.. 2024-09-04 14:23:14,603 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:23:14,603 - INFO - VM name : ctest-TestRoutersBasic-11326061-56986633 2024-09-04 14:23:14,675 - DEBUG - VM ctest-TestRoutersBasic-11326061-56986633 ID is f96ed6ec-0ce4-4a9a-9bc3-91518150bc8d 2024-09-04 14:23:14,675 - DEBUG - VM ctest-TestRoutersBasic-11326061-56986633 launched on Node cn-jenkins-deploy-platform-ansible-os-1844-1 2024-09-04 14:23:14,747 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f96ed6ec-0ce4-4a9a-9bc3-91518150bc8d 2024-09-04 14:23:14,755 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/436db94f-ad68-470a-b829-49e5258e659b 2024-09-04 14:23:15,989 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.855/3.300/1.444 ms') 2024-09-04 14:23:15,989 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11326061-56986633 passed 2024-09-04 14:23:16,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:23:16,137 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11326061-56986633, IP 114.43.170.131, Port 22 2024-09-04 14:23:16,293 - DEBUG - VM ctest-TestRoutersBasic-11326061-56986633 is ready for SSH connections 2024-09-04 14:23:16,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:23:16,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.43.170.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-04 14:23:16,293 - DEBUG - ping -s 56 -c 3 -W 1 114.43.170.131 2024-09-04 14:23:20,275 - DEBUG - PING 114.43.170.131 (114.43.170.131): 56 data bytes 64 bytes from 114.43.170.131: seq=0 ttl=62 time=7.009 ms 64 bytes from 114.43.170.131: seq=1 ttl=62 time=0.800 ms 64 bytes from 114.43.170.131: seq=2 ttl=62 time=0.826 ms --- 114.43.170.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/2.878/7.009 ms 2024-09-04 14:23:20,275 - INFO - Ping to IP 114.43.170.131 from VM ctest-TestRoutersBasic-11326061-09459033 passed 2024-09-04 14:23:20,275 - INFO - Deleting interface with subnet_id 37003fa3-a50e-4519-8c3f-cf8621e51ac0, port_id None from router 386634a0-430e-4d2e-bba2-421b3ce70854 2024-09-04 14:23:20,475 - INFO - Deleting VM ctest-TestRoutersBasic-11326061-56986633 2024-09-04 14:23:20,546 - INFO - Deleting VM ctest-TestRoutersBasic-11326061-09459033 2024-09-04 14:23:20,624 - INFO - Deleting VN ctest-ext_vn-89676533 2024-09-04 14:23:20,711 - DEBUG - VN 23403177-3f10-4d40-9322-010444dfcbf6 still in use: Unable to complete operation on network 23403177-3f10-4d40-9322-010444dfcbf6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83c1a382-6426-4f72-9f9c-370ee23c594a'] 2024-09-04 14:23:20,711 - WARNING - Deleting VN ctest-ext_vn-89676533 failed..Will retry 2024-09-04 14:23:22,822 - DEBUG - Response for deleting network () 2024-09-04 14:23:22,822 - INFO - Deleting VN ctest-vn-62217240 2024-09-04 14:23:22,940 - DEBUG - Response for deleting network () 2024-09-04 14:23:23,197 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 14:23:23,197 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-04 14:23:23,197 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:23:23,879 - INFO - Deleted project: ctest-TestRoutersBasic-11326061, ID : d230a3b0-f14a-40d2-9d78-61a88a2c02e4