2024-09-05 02:31:05,747 - INFO - Domain Default found not creating
2024-09-05 02:31:05,908 - INFO - Project ctest-TestRoutersBasic-34238296 not found, creating it
2024-09-05 02:31:06,377 - INFO - Created Project:ctest-TestRoutersBasic-34238296, ID : 525e083c-5425-4ee4-9dc1-91e6009f9f59
2024-09-05 02:31:08,046 - INFO - ================================================================================
2024-09-05 02:31:08,047 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-09-05 02:31:08,047 - 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-05 02:31:08,309 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.10': '0'}} with
2024-09-05 02:31:08,309 - INFO - Initial checks done. Running the testcase now
2024-09-05 02:31:08,309 - INFO -
2024-09-05 02:31:08,983 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34238296
2024-09-05 02:31:09,086 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34238296
2024-09-05 02:31:09,422 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34238296', 'default']}
2024-09-05 02:31:09,710 - DEBUG - Response for create_network : {'network': {'id': '1c2539d9-2aa6-43e4-b809-f7da2a2de58c', 'name': 'ctest-vn-88314550', 'tenant_id': '525e083c54254ee49dc191e6009f9f59', 'project_id': '525e083c54254ee49dc191e6009f9f59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34238296', 'ctest-vn-88314550'], 'port_security_enabled': True, 'description': ''}}
2024-09-05 02:31:09,899 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c47b6de2-a58f-413b-96ff-05a49900e608', 'name': '', 'tenant_id': '525e083c54254ee49dc191e6009f9f59', 'network_id': '1c2539d9-2aa6-43e4-b809-f7da2a2de58c', 'ip_version': 4, 'cidr': '149.199.8.128/26', 'allocation_pools': [{'start': '149.199.8.130', 'end': '149.199.8.190'}], 'gateway_ip': '149.199.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.199.8.130', 'tags': [], 'project_id': '525e083c54254ee49dc191e6009f9f59'}}
2024-09-05 02:31:09,917 - INFO - Created VN ctest-vn-88314550
2024-09-05 02:31:09,970 - DEBUG - VN ctest-vn-88314550 UUID is 1c2539d9-2aa6-43e4-b809-f7da2a2de58c
2024-09-05 02:31:10,306 - DEBUG - Response for create_network : {'network': {'id': '5c0703c6-ba71-4567-8ec7-34ff60848700', 'name': 'ctest-ext_vn-54130163', 'tenant_id': '525e083c54254ee49dc191e6009f9f59', 'project_id': '525e083c54254ee49dc191e6009f9f59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34238296', 'ctest-ext_vn-54130163'], 'port_security_enabled': True, 'description': ''}}
2024-09-05 02:31:10,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c36dc85c-2502-4ea9-90af-e4b85a3712fc', 'name': '', 'tenant_id': '525e083c54254ee49dc191e6009f9f59', 'network_id': '5c0703c6-ba71-4567-8ec7-34ff60848700', 'ip_version': 4, 'cidr': '13.235.94.0/26', 'allocation_pools': [{'start': '13.235.94.2', 'end': '13.235.94.62'}], 'gateway_ip': '13.235.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.235.94.2', 'tags': [], 'project_id': '525e083c54254ee49dc191e6009f9f59'}}
2024-09-05 02:31:10,520 - INFO - Created VN ctest-ext_vn-54130163
2024-09-05 02:31:10,570 - DEBUG - VN ctest-ext_vn-54130163 UUID is 5c0703c6-ba71-4567-8ec7-34ff60848700
2024-09-05 02:31:10,734 - DEBUG - Services list from nova: [, , ]
2024-09-05 02:31:11,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1853-1)
2024-09-05 02:31:12,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1853-1)
2024-09-05 02:31:12,872 - INFO - Setting gateway for router 88d01dea-4910-4baa-aa16-7083188858f8 to network 5c0703c6-ba71-4567-8ec7-34ff60848700
2024-09-05 02:31:12,923 - INFO - Adding interface with subnet_id c47b6de2-a58f-413b-96ff-05a49900e608, port_id None to router 88d01dea-4910-4baa-aa16-7083188858f8
2024-09-05 02:31:13,237 - INFO - Waiting for VM ctest-TestRoutersBasic-34238296-07031571 to be up..
2024-09-05 02:31:13,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-05 02:31:18,457 - DEBUG - VM is in ACTIVE state now
2024-09-05 02:31:18,457 - INFO - VM name : ctest-TestRoutersBasic-34238296-07031571
2024-09-05 02:31:18,530 - DEBUG - VM ctest-TestRoutersBasic-34238296-07031571 ID is f702f16c-0ebd-48af-af8f-d1f6122daa5f
2024-09-05 02:31:18,547 - DEBUG - VM ctest-TestRoutersBasic-34238296-07031571 launched on Node cn-jenkins-deploy-platform-ansible-os-1853-1
2024-09-05 02:31:18,619 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/f702f16c-0ebd-48af-af8f-d1f6122daa5f
2024-09-05 02:31:18,913 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/f702f16c-0ebd-48af-af8f-d1f6122daa5f
2024-09-05 02:31:18,948 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/a5498e34-8c90-4772-a09c-5f87772099ff
2024-09-05 02:31:22,215 - 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 1011ms')
2024-09-05 02:31:22,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34238296-07031571 failed!
2024-09-05 02:31:22,266 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34238296:ctest-vn-88314550 is 149.199.8.129 and allocation pool is NOT set
2024-09-05 02:31:24,325 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.896/3.377/1.481 ms')
2024-09-05 02:31:24,325 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34238296-07031571 passed
2024-09-05 02:31:24,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 02:31:24,474 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34238296-07031571, IP 149.199.8.131, Port 22
2024-09-05 02:31:24,633 - DEBUG - VM ctest-TestRoutersBasic-34238296-07031571 is ready for SSH connections
2024-09-05 02:31:24,633 - INFO - Waiting for VM ctest-TestRoutersBasic-34238296-42271731 to be up..
2024-09-05 02:31:24,707 - DEBUG - VM is in ACTIVE state now
2024-09-05 02:31:24,707 - INFO - VM name : ctest-TestRoutersBasic-34238296-42271731
2024-09-05 02:31:24,782 - DEBUG - VM ctest-TestRoutersBasic-34238296-42271731 ID is 8aa3f6da-3992-4759-a80c-25ce37b1f73b
2024-09-05 02:31:24,782 - DEBUG - VM ctest-TestRoutersBasic-34238296-42271731 launched on Node cn-jenkins-deploy-platform-ansible-os-1853-1
2024-09-05 02:31:24,858 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/8aa3f6da-3992-4759-a80c-25ce37b1f73b
2024-09-05 02:31:24,866 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/47b53fb7-79fb-4916-a099-5035b39d4e77
2024-09-05 02:31:26,099 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.633/2.819/1.185 ms')
2024-09-05 02:31:26,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34238296-42271731 passed
2024-09-05 02:31:26,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 02:31:26,250 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34238296-42271731, IP 13.235.94.3, Port 22
2024-09-05 02:31:26,402 - DEBUG - VM ctest-TestRoutersBasic-34238296-42271731 is ready for SSH connections
2024-09-05 02:31:26,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 02:31:26,402 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.235.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123
2024-09-05 02:31:26,402 - DEBUG - ping -s 56 -c 3 -W 1 13.235.94.3
2024-09-05 02:31:30,346 - DEBUG - PING 13.235.94.3 (13.235.94.3): 56 data bytes
64 bytes from 13.235.94.3: seq=0 ttl=62 time=4.568 ms
64 bytes from 13.235.94.3: seq=1 ttl=62 time=0.777 ms
64 bytes from 13.235.94.3: seq=2 ttl=62 time=0.926 ms
--- 13.235.94.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.777/2.090/4.568 ms
2024-09-05 02:31:30,346 - INFO - Ping to IP 13.235.94.3 from VM ctest-TestRoutersBasic-34238296-07031571 passed
2024-09-05 02:31:30,347 - INFO - Deleting interface with subnet_id c47b6de2-a58f-413b-96ff-05a49900e608, port_id None from router 88d01dea-4910-4baa-aa16-7083188858f8
2024-09-05 02:31:30,558 - INFO - Deleting VM ctest-TestRoutersBasic-34238296-42271731
2024-09-05 02:31:30,624 - INFO - Deleting VM ctest-TestRoutersBasic-34238296-07031571
2024-09-05 02:31:30,693 - INFO - Deleting VN ctest-ext_vn-54130163
2024-09-05 02:31:30,768 - DEBUG - VN 5c0703c6-ba71-4567-8ec7-34ff60848700 still in use: Unable to complete operation on network 5c0703c6-ba71-4567-8ec7-34ff60848700. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d00f09ac-8c9b-4734-af07-61d86f703065']
2024-09-05 02:31:30,768 - WARNING - Deleting VN ctest-ext_vn-54130163 failed..Will retry
2024-09-05 02:31:32,863 - DEBUG - Response for deleting network ()
2024-09-05 02:31:32,863 - INFO - Deleting VN ctest-vn-88314550
2024-09-05 02:31:32,963 - DEBUG - Response for deleting network ()
2024-09-05 02:31:33,215 - DEBUG - No XMPP flaps were noticed during the test
2024-09-05 02:31:33,215 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-09-05 02:31:33,215 - INFO - --------------------------------------------------------------------------------
2024-09-05 02:31:33,864 - INFO - Deleted project: ctest-TestRoutersBasic-34238296, ID : 525e083c-5425-4ee4-9dc1-91e6009f9f59