2024-10-28 16:30:30,326 - INFO - Domain Default found not creating
2024-10-28 16:30:30,527 - INFO - Project ctest-TestRoutersBasic-24361476 not found, creating it
2024-10-28 16:30:31,056 - INFO - Created Project:ctest-TestRoutersBasic-24361476, ID : e24bc6af-7e2b-4d23-bef4-61f98cb1f769
2024-10-28 16:30:32,755 - INFO - ================================================================================
2024-10-28 16:30:32,755 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-28 16:30:32,755 - 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-10-28 16:30:33,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.31': '0'}} with
2024-10-28 16:30:33,019 - INFO - Initial checks done. Running the testcase now
2024-10-28 16:30:33,019 - INFO -
2024-10-28 16:30:33,773 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24361476
2024-10-28 16:30:33,872 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24361476
2024-10-28 16:30:34,217 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24361476', 'default']}
2024-10-28 16:30:34,553 - DEBUG - Response for create_network : {'network': {'id': '7ad16ea0-3811-439a-8ec3-0a012c4cb1f5', 'name': 'ctest-vn-60485734', 'tenant_id': 'e24bc6af7e2b4d23bef461f98cb1f769', 'project_id': 'e24bc6af7e2b4d23bef461f98cb1f769', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24361476', 'ctest-vn-60485734'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 16:30:34,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec088a1c-1083-4c90-b5f0-c4c3aefaa94d', 'name': '', 'tenant_id': 'e24bc6af7e2b4d23bef461f98cb1f769', 'network_id': '7ad16ea0-3811-439a-8ec3-0a012c4cb1f5', 'ip_version': 4, 'cidr': '5.217.208.64/26', 'allocation_pools': [{'start': '5.217.208.66', 'end': '5.217.208.126'}], 'gateway_ip': '5.217.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.217.208.66', 'tags': [], 'project_id': 'e24bc6af7e2b4d23bef461f98cb1f769'}}
2024-10-28 16:30:34,744 - INFO - Created VN ctest-vn-60485734
2024-10-28 16:30:34,804 - DEBUG - VN ctest-vn-60485734 UUID is 7ad16ea0-3811-439a-8ec3-0a012c4cb1f5
2024-10-28 16:30:35,176 - DEBUG - Response for create_network : {'network': {'id': '448bcb17-ba8a-47c3-bed4-95905015a68a', 'name': 'ctest-ext_vn-31477099', 'tenant_id': 'e24bc6af7e2b4d23bef461f98cb1f769', 'project_id': 'e24bc6af7e2b4d23bef461f98cb1f769', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24361476', 'ctest-ext_vn-31477099'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 16:30:35,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '21c2fa78-065b-4198-bb54-1ca453c6e64b', 'name': '', 'tenant_id': 'e24bc6af7e2b4d23bef461f98cb1f769', 'network_id': '448bcb17-ba8a-47c3-bed4-95905015a68a', 'ip_version': 4, 'cidr': '130.178.98.0/26', 'allocation_pools': [{'start': '130.178.98.2', 'end': '130.178.98.62'}], 'gateway_ip': '130.178.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.178.98.2', 'tags': [], 'project_id': 'e24bc6af7e2b4d23bef461f98cb1f769'}}
2024-10-28 16:30:35,370 - INFO - Created VN ctest-ext_vn-31477099
2024-10-28 16:30:35,428 - DEBUG - VN ctest-ext_vn-31477099 UUID is 448bcb17-ba8a-47c3-bed4-95905015a68a
2024-10-28 16:30:35,621 - DEBUG - Services list from nova: [, , ]
2024-10-28 16:30:36,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2168-1)
2024-10-28 16:30:37,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2168-1)
2024-10-28 16:30:38,029 - INFO - Setting gateway for router 46834c29-9bfa-4fd2-9263-d286ad7b9220 to network 448bcb17-ba8a-47c3-bed4-95905015a68a
2024-10-28 16:30:38,092 - INFO - Adding interface with subnet_id ec088a1c-1083-4c90-b5f0-c4c3aefaa94d, port_id None to router 46834c29-9bfa-4fd2-9263-d286ad7b9220
2024-10-28 16:30:38,480 - INFO - Waiting for VM ctest-TestRoutersBasic-24361476-09802779 to be up..
2024-10-28 16:30:38,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 16:30:43,772 - DEBUG - VM is in ACTIVE state now
2024-10-28 16:30:43,772 - INFO - VM name : ctest-TestRoutersBasic-24361476-09802779
2024-10-28 16:30:43,857 - DEBUG - VM ctest-TestRoutersBasic-24361476-09802779 ID is 8d3faa1b-38a1-4e24-91b2-95293f66f6ef
2024-10-28 16:30:43,879 - DEBUG - VM ctest-TestRoutersBasic-24361476-09802779 launched on Node cn-jenkins-deploy-platform-ansible-os-2168-1
2024-10-28 16:30:43,964 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/8d3faa1b-38a1-4e24-91b2-95293f66f6ef
2024-10-28 16:30:44,269 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/8d3faa1b-38a1-4e24-91b2-95293f66f6ef
2024-10-28 16:30:44,308 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/a94f4209-f2a6-45bb-8ee2-6e45fd801d9e
2024-10-28 16:30:47,605 - 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 1034ms')
2024-10-28 16:30:47,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24361476-09802779 failed!
2024-10-28 16:30:47,668 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24361476:ctest-vn-60485734 is 5.217.208.65 and allocation pool is NOT set
2024-10-28 16:30:49,729 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/1.701/2.925/1.224 ms')
2024-10-28 16:30:49,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24361476-09802779 passed
2024-10-28 16:30:49,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:30:49,892 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24361476-09802779, IP 5.217.208.67, Port 22
2024-10-28 16:30:50,058 - DEBUG - VM ctest-TestRoutersBasic-24361476-09802779 is ready for SSH connections
2024-10-28 16:30:50,059 - INFO - Waiting for VM ctest-TestRoutersBasic-24361476-32412395 to be up..
2024-10-28 16:30:50,171 - DEBUG - VM is in ACTIVE state now
2024-10-28 16:30:50,172 - INFO - VM name : ctest-TestRoutersBasic-24361476-32412395
2024-10-28 16:30:50,279 - DEBUG - VM ctest-TestRoutersBasic-24361476-32412395 ID is 7db40171-7e2e-43f6-8665-6d9967c9c48b
2024-10-28 16:30:50,279 - DEBUG - VM ctest-TestRoutersBasic-24361476-32412395 launched on Node cn-jenkins-deploy-platform-ansible-os-2168-1
2024-10-28 16:30:50,382 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/7db40171-7e2e-43f6-8665-6d9967c9c48b
2024-10-28 16:30:50,393 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/ba05173a-4649-4363-8c5e-c1cca336cb85
2024-10-28 16:30:51,658 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/1.599/2.660/1.061 ms')
2024-10-28 16:30:51,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24361476-32412395 passed
2024-10-28 16:30:51,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:30:51,820 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24361476-32412395, IP 130.178.98.3, Port 22
2024-10-28 16:30:51,976 - DEBUG - VM ctest-TestRoutersBasic-24361476-32412395 is ready for SSH connections
2024-10-28 16:30:51,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:30:51,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.178.98.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:30:51,976 - DEBUG - ping -s 56 -c 3 -W 1 130.178.98.3
2024-10-28 16:30:55,766 - DEBUG - PING 130.178.98.3 (130.178.98.3): 56 data bytes
64 bytes from 130.178.98.3: seq=0 ttl=62 time=6.141 ms
64 bytes from 130.178.98.3: seq=1 ttl=62 time=1.234 ms
64 bytes from 130.178.98.3: seq=2 ttl=62 time=1.070 ms
--- 130.178.98.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.070/2.815/6.141 ms
2024-10-28 16:30:55,766 - INFO - Ping to IP 130.178.98.3 from VM ctest-TestRoutersBasic-24361476-09802779 passed
2024-10-28 16:30:55,766 - INFO - Deleting interface with subnet_id ec088a1c-1083-4c90-b5f0-c4c3aefaa94d, port_id None from router 46834c29-9bfa-4fd2-9263-d286ad7b9220
2024-10-28 16:30:56,024 - INFO - Deleting VM ctest-TestRoutersBasic-24361476-32412395
2024-10-28 16:30:56,120 - INFO - Deleting VM ctest-TestRoutersBasic-24361476-09802779
2024-10-28 16:30:56,210 - INFO - Deleting VN ctest-ext_vn-31477099
2024-10-28 16:30:56,298 - DEBUG - VN 448bcb17-ba8a-47c3-bed4-95905015a68a still in use: Unable to complete operation on network 448bcb17-ba8a-47c3-bed4-95905015a68a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0b6a4da9-14e4-449a-98fc-13a2faf433aa']
2024-10-28 16:30:56,298 - WARNING - Deleting VN ctest-ext_vn-31477099 failed..Will retry
2024-10-28 16:30:58,426 - DEBUG - Response for deleting network ()
2024-10-28 16:30:58,426 - INFO - Deleting VN ctest-vn-60485734
2024-10-28 16:30:58,546 - DEBUG - Response for deleting network ()
2024-10-28 16:30:58,802 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 16:30:58,802 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-28 16:30:58,802 - INFO - --------------------------------------------------------------------------------
2024-10-28 16:30:59,542 - INFO - Deleted project: ctest-TestRoutersBasic-24361476, ID : e24bc6af-7e2b-4d23-bef4-61f98cb1f769