2024-11-07 08:41:21,144 - INFO - Domain Default found not creating
2024-11-07 08:41:21,335 - INFO - Project ctest-TestRoutersBasic-17328524 not found, creating it
2024-11-07 08:41:21,870 - INFO - Created Project:ctest-TestRoutersBasic-17328524, ID : 9c397e76-0f2e-443f-8efa-b16518822021
2024-11-07 08:41:23,461 - INFO - ================================================================================
2024-11-07 08:41:23,461 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-07 08:41:23,461 - 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-11-07 08:41:23,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with
2024-11-07 08:41:23,726 - INFO - Initial checks done. Running the testcase now
2024-11-07 08:41:23,726 - INFO -
2024-11-07 08:41:24,480 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17328524
2024-11-07 08:41:24,580 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17328524
2024-11-07 08:41:24,948 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17328524', 'default']}
2024-11-07 08:41:25,290 - DEBUG - Response for create_network : {'network': {'id': '0e04573d-5ac6-4539-ae4e-490482647d45', 'name': 'ctest-vn-58808237', 'tenant_id': '9c397e760f2e443f8efab16518822021', 'project_id': '9c397e760f2e443f8efab16518822021', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17328524', 'ctest-vn-58808237'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 08:41:25,488 - DEBUG - Response for create_subnet : {'subnet': {'id': '69ff1b99-578d-4cc6-add8-1037872defa9', 'name': '', 'tenant_id': '9c397e760f2e443f8efab16518822021', 'network_id': '0e04573d-5ac6-4539-ae4e-490482647d45', 'ip_version': 4, 'cidr': '23.47.142.0/26', 'allocation_pools': [{'start': '23.47.142.2', 'end': '23.47.142.62'}], 'gateway_ip': '23.47.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.47.142.2', 'tags': [], 'project_id': '9c397e760f2e443f8efab16518822021'}}
2024-11-07 08:41:25,510 - INFO - Created VN ctest-vn-58808237
2024-11-07 08:41:25,568 - DEBUG - VN ctest-vn-58808237 UUID is 0e04573d-5ac6-4539-ae4e-490482647d45
2024-11-07 08:41:25,933 - DEBUG - Response for create_network : {'network': {'id': '7822049a-7f01-4051-94f0-9d46f811251f', 'name': 'ctest-ext_vn-17030681', 'tenant_id': '9c397e760f2e443f8efab16518822021', 'project_id': '9c397e760f2e443f8efab16518822021', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17328524', 'ctest-ext_vn-17030681'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 08:41:26,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '603b5a0a-dc66-4782-818d-40a437425c1e', 'name': '', 'tenant_id': '9c397e760f2e443f8efab16518822021', 'network_id': '7822049a-7f01-4051-94f0-9d46f811251f', 'ip_version': 4, 'cidr': '140.251.201.64/26', 'allocation_pools': [{'start': '140.251.201.66', 'end': '140.251.201.126'}], 'gateway_ip': '140.251.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.251.201.66', 'tags': [], 'project_id': '9c397e760f2e443f8efab16518822021'}}
2024-11-07 08:41:26,210 - INFO - Created VN ctest-ext_vn-17030681
2024-11-07 08:41:26,268 - DEBUG - VN ctest-ext_vn-17030681 UUID is 7822049a-7f01-4051-94f0-9d46f811251f
2024-11-07 08:41:26,467 - DEBUG - Services list from nova: [, , ]
2024-11-07 08:41:27,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2213-1)
2024-11-07 08:41:28,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2213-1)
2024-11-07 08:41:28,892 - INFO - Setting gateway for router 032a3636-5858-4998-8f9d-8cd2e4d5b8ab to network 7822049a-7f01-4051-94f0-9d46f811251f
2024-11-07 08:41:28,964 - INFO - Adding interface with subnet_id 69ff1b99-578d-4cc6-add8-1037872defa9, port_id None to router 032a3636-5858-4998-8f9d-8cd2e4d5b8ab
2024-11-07 08:41:29,335 - INFO - Waiting for VM ctest-TestRoutersBasic-17328524-72155074 to be up..
2024-11-07 08:41:29,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 08:41:34,644 - DEBUG - VM is in ACTIVE state now
2024-11-07 08:41:34,644 - INFO - VM name : ctest-TestRoutersBasic-17328524-72155074
2024-11-07 08:41:34,739 - DEBUG - VM ctest-TestRoutersBasic-17328524-72155074 ID is 95c8b5d1-fb81-49f5-be4d-e59b91b5de72
2024-11-07 08:41:34,758 - DEBUG - VM ctest-TestRoutersBasic-17328524-72155074 launched on Node cn-jenkins-deploy-platform-ansible-os-2213-1
2024-11-07 08:41:34,854 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/95c8b5d1-fb81-49f5-be4d-e59b91b5de72
2024-11-07 08:41:35,148 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/95c8b5d1-fb81-49f5-be4d-e59b91b5de72
2024-11-07 08:41:35,188 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/8063b122-5f67-4295-be48-83b034e3b8aa
2024-11-07 08:41:38,481 - 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 1027ms')
2024-11-07 08:41:38,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17328524-72155074 failed!
2024-11-07 08:41:38,540 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17328524:ctest-vn-58808237 is 23.47.142.1 and allocation pool is NOT set
2024-11-07 08:41:40,598 - 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=5.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/2.894/5.363/2.469 ms')
2024-11-07 08:41:40,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17328524-72155074 passed
2024-11-07 08:41:40,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 08:41:40,760 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17328524-72155074, IP 23.47.142.3, Port 22
2024-11-07 08:41:40,929 - DEBUG - VM ctest-TestRoutersBasic-17328524-72155074 is ready for SSH connections
2024-11-07 08:41:40,930 - INFO - Waiting for VM ctest-TestRoutersBasic-17328524-88709276 to be up..
2024-11-07 08:41:41,034 - DEBUG - VM is in ACTIVE state now
2024-11-07 08:41:41,034 - INFO - VM name : ctest-TestRoutersBasic-17328524-88709276
2024-11-07 08:41:41,116 - DEBUG - VM ctest-TestRoutersBasic-17328524-88709276 ID is 3f3a6185-dd1b-4adb-b2d8-95945cd97b4f
2024-11-07 08:41:41,117 - DEBUG - VM ctest-TestRoutersBasic-17328524-88709276 launched on Node cn-jenkins-deploy-platform-ansible-os-2213-1
2024-11-07 08:41:41,199 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/3f3a6185-dd1b-4adb-b2d8-95945cd97b4f
2024-11-07 08:41:41,211 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b210817a-9e24-4020-afb8-89adb7f9ae05
2024-11-07 08:41:42,483 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.316 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.316/1.686/3.056/1.370 ms')
2024-11-07 08:41:42,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17328524-88709276 passed
2024-11-07 08:41:42,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 08:41:42,644 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17328524-88709276, IP 140.251.201.67, Port 22
2024-11-07 08:41:42,804 - DEBUG - VM ctest-TestRoutersBasic-17328524-88709276 is ready for SSH connections
2024-11-07 08:41:42,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 08:41:42,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.251.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-07 08:41:42,804 - DEBUG - ping -s 56 -c 3 -W 1 140.251.201.67
2024-11-07 08:41:46,565 - DEBUG - PING 140.251.201.67 (140.251.201.67): 56 data bytes
64 bytes from 140.251.201.67: seq=0 ttl=62 time=6.077 ms
64 bytes from 140.251.201.67: seq=1 ttl=62 time=0.868 ms
64 bytes from 140.251.201.67: seq=2 ttl=62 time=0.753 ms
--- 140.251.201.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.753/2.566/6.077 ms
2024-11-07 08:41:46,565 - INFO - Ping to IP 140.251.201.67 from VM ctest-TestRoutersBasic-17328524-72155074 passed
2024-11-07 08:41:46,565 - INFO - Deleting interface with subnet_id 69ff1b99-578d-4cc6-add8-1037872defa9, port_id None from router 032a3636-5858-4998-8f9d-8cd2e4d5b8ab
2024-11-07 08:41:46,832 - INFO - Deleting VM ctest-TestRoutersBasic-17328524-88709276
2024-11-07 08:41:46,912 - INFO - Deleting VM ctest-TestRoutersBasic-17328524-72155074
2024-11-07 08:41:47,036 - INFO - Deleting VN ctest-ext_vn-17030681
2024-11-07 08:41:47,139 - DEBUG - VN 7822049a-7f01-4051-94f0-9d46f811251f still in use: Unable to complete operation on network 7822049a-7f01-4051-94f0-9d46f811251f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-778982ec-1971-45ea-88bb-9635b1d07a71']
2024-11-07 08:41:47,139 - WARNING - Deleting VN ctest-ext_vn-17030681 failed..Will retry
2024-11-07 08:41:49,260 - DEBUG - Response for deleting network ()
2024-11-07 08:41:49,260 - INFO - Deleting VN ctest-vn-58808237
2024-11-07 08:41:49,393 - DEBUG - Response for deleting network ()
2024-11-07 08:41:49,651 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 08:41:49,651 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-07 08:41:49,651 - INFO - --------------------------------------------------------------------------------
2024-11-07 08:41:50,422 - INFO - Deleted project: ctest-TestRoutersBasic-17328524, ID : 9c397e76-0f2e-443f-8efa-b16518822021