2024-10-29 22:20:40,710 - INFO - Domain Default found not creating
2024-10-29 22:20:40,897 - INFO - Project ctest-TestRoutersBasic-53106463 not found, creating it
2024-10-29 22:20:41,593 - INFO - Created Project:ctest-TestRoutersBasic-53106463, ID : b93d5104-0283-4540-9ea2-201cf5aa2b5d
2024-10-29 22:20:43,638 - INFO - ================================================================================
2024-10-29 22:20:43,639 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-29 22:20:43,639 - 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-29 22:20:43,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.14': '0'}} with
2024-10-29 22:20:43,921 - INFO - Initial checks done. Running the testcase now
2024-10-29 22:20:43,921 - INFO -
2024-10-29 22:20:44,806 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53106463
2024-10-29 22:20:44,906 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53106463
2024-10-29 22:20:45,262 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53106463', 'default']}
2024-10-29 22:20:45,636 - DEBUG - Response for create_network : {'network': {'id': '95c41fea-4f39-4b98-920f-6cde32e1d478', 'name': 'ctest-vn-08641071', 'tenant_id': 'b93d5104028345409ea2201cf5aa2b5d', 'project_id': 'b93d5104028345409ea2201cf5aa2b5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53106463', 'ctest-vn-08641071'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 22:20:45,870 - DEBUG - Response for create_subnet : {'subnet': {'id': '3942b2a0-a1a5-4c04-ba7f-0cd359c1e308', 'name': '', 'tenant_id': 'b93d5104028345409ea2201cf5aa2b5d', 'network_id': '95c41fea-4f39-4b98-920f-6cde32e1d478', 'ip_version': 4, 'cidr': '222.167.190.192/26', 'allocation_pools': [{'start': '222.167.190.194', 'end': '222.167.190.254'}], 'gateway_ip': '222.167.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.167.190.194', 'tags': [], 'project_id': 'b93d5104028345409ea2201cf5aa2b5d'}}
2024-10-29 22:20:45,892 - INFO - Created VN ctest-vn-08641071
2024-10-29 22:20:45,954 - DEBUG - VN ctest-vn-08641071 UUID is 95c41fea-4f39-4b98-920f-6cde32e1d478
2024-10-29 22:20:46,345 - DEBUG - Response for create_network : {'network': {'id': 'ef995801-bbf1-425b-8ff4-2b44edb6f4ef', 'name': 'ctest-ext_vn-58342450', 'tenant_id': 'b93d5104028345409ea2201cf5aa2b5d', 'project_id': 'b93d5104028345409ea2201cf5aa2b5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53106463', 'ctest-ext_vn-58342450'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 22:20:46,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '09f1085e-9252-4fc1-ba52-fdb7e5ec9bd5', 'name': '', 'tenant_id': 'b93d5104028345409ea2201cf5aa2b5d', 'network_id': 'ef995801-bbf1-425b-8ff4-2b44edb6f4ef', 'ip_version': 4, 'cidr': '45.2.188.0/26', 'allocation_pools': [{'start': '45.2.188.2', 'end': '45.2.188.62'}], 'gateway_ip': '45.2.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.2.188.2', 'tags': [], 'project_id': 'b93d5104028345409ea2201cf5aa2b5d'}}
2024-10-29 22:20:46,611 - INFO - Created VN ctest-ext_vn-58342450
2024-10-29 22:20:46,670 - DEBUG - VN ctest-ext_vn-58342450 UUID is ef995801-bbf1-425b-8ff4-2b44edb6f4ef
2024-10-29 22:20:46,874 - DEBUG - Services list from nova: [, , ]
2024-10-29 22:20:48,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2178-1)
2024-10-29 22:20:49,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2178-1)
2024-10-29 22:20:49,673 - INFO - Setting gateway for router a13c9b59-1243-4b6d-9c34-356857f9b805 to network ef995801-bbf1-425b-8ff4-2b44edb6f4ef
2024-10-29 22:20:49,805 - INFO - Adding interface with subnet_id 3942b2a0-a1a5-4c04-ba7f-0cd359c1e308, port_id None to router a13c9b59-1243-4b6d-9c34-356857f9b805
2024-10-29 22:20:50,311 - INFO - Waiting for VM ctest-TestRoutersBasic-53106463-98734421 to be up..
2024-10-29 22:20:50,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-29 22:20:55,578 - DEBUG - VM is in ACTIVE state now
2024-10-29 22:20:55,578 - INFO - VM name : ctest-TestRoutersBasic-53106463-98734421
2024-10-29 22:20:55,687 - DEBUG - VM ctest-TestRoutersBasic-53106463-98734421 ID is b5405f2d-35ab-4d98-a872-b16623c1c8e8
2024-10-29 22:20:55,709 - DEBUG - VM ctest-TestRoutersBasic-53106463-98734421 launched on Node cn-jenkins-deploy-platform-ansible-os-2178-1
2024-10-29 22:20:55,812 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b5405f2d-35ab-4d98-a872-b16623c1c8e8
2024-10-29 22:20:56,268 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b5405f2d-35ab-4d98-a872-b16623c1c8e8
2024-10-29 22:20:56,307 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/3e972634-d6cb-4b18-8fd5-c25c5788812b
2024-10-29 22:20:59,608 - 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 1026ms')
2024-10-29 22:20:59,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53106463-98734421 failed!
2024-10-29 22:20:59,674 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53106463:ctest-vn-08641071 is 222.167.190.193 and allocation pool is NOT set
2024-10-29 22:21:01,741 - 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=4.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.931 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.931/2.921/4.911/1.990 ms')
2024-10-29 22:21:01,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53106463-98734421 passed
2024-10-29 22:21:01,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 22:21:01,863 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53106463-98734421, IP 222.167.190.195, Port 22
2024-10-29 22:21:02,029 - DEBUG - VM ctest-TestRoutersBasic-53106463-98734421 is ready for SSH connections
2024-10-29 22:21:02,029 - INFO - Waiting for VM ctest-TestRoutersBasic-53106463-70818641 to be up..
2024-10-29 22:21:02,126 - DEBUG - VM is in ACTIVE state now
2024-10-29 22:21:02,126 - INFO - VM name : ctest-TestRoutersBasic-53106463-70818641
2024-10-29 22:21:02,225 - DEBUG - VM ctest-TestRoutersBasic-53106463-70818641 ID is ed957927-276b-4f3f-93a3-63e70bacecbb
2024-10-29 22:21:02,225 - DEBUG - VM ctest-TestRoutersBasic-53106463-70818641 launched on Node cn-jenkins-deploy-platform-ansible-os-2178-1
2024-10-29 22:21:02,325 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/ed957927-276b-4f3f-93a3-63e70bacecbb
2024-10-29 22:21:02,337 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/78e8eb10-caee-4202-a49c-06069499bcc6
2024-10-29 22:21:03,613 - 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=4.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.66 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 = 1.661/3.020/4.380/1.359 ms')
2024-10-29 22:21:03,613 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53106463-70818641 passed
2024-10-29 22:21:03,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 22:21:03,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53106463-70818641, IP 45.2.188.3, Port 22
2024-10-29 22:21:03,958 - DEBUG - VM ctest-TestRoutersBasic-53106463-70818641 is ready for SSH connections
2024-10-29 22:21:03,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 22:21:03,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.2.188.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-10-29 22:21:03,959 - DEBUG - ping -s 56 -c 3 -W 1 45.2.188.3
2024-10-29 22:21:07,961 - DEBUG - PING 45.2.188.3 (45.2.188.3): 56 data bytes
64 bytes from 45.2.188.3: seq=0 ttl=62 time=4.854 ms
64 bytes from 45.2.188.3: seq=1 ttl=62 time=1.035 ms
64 bytes from 45.2.188.3: seq=2 ttl=62 time=1.053 ms
--- 45.2.188.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.035/2.314/4.854 ms
2024-10-29 22:21:07,961 - INFO - Ping to IP 45.2.188.3 from VM ctest-TestRoutersBasic-53106463-98734421 passed
2024-10-29 22:21:07,961 - INFO - Deleting interface with subnet_id 3942b2a0-a1a5-4c04-ba7f-0cd359c1e308, port_id None from router a13c9b59-1243-4b6d-9c34-356857f9b805
2024-10-29 22:21:08,225 - INFO - Deleting VM ctest-TestRoutersBasic-53106463-70818641
2024-10-29 22:21:08,439 - INFO - Deleting VM ctest-TestRoutersBasic-53106463-98734421
2024-10-29 22:21:08,536 - INFO - Deleting VN ctest-ext_vn-58342450
2024-10-29 22:21:08,643 - DEBUG - VN ef995801-bbf1-425b-8ff4-2b44edb6f4ef still in use: Unable to complete operation on network ef995801-bbf1-425b-8ff4-2b44edb6f4ef. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cec83586-71e8-4a19-98bc-ed23c6727fe7']
2024-10-29 22:21:08,643 - WARNING - Deleting VN ctest-ext_vn-58342450 failed..Will retry
2024-10-29 22:21:10,775 - DEBUG - Response for deleting network ()
2024-10-29 22:21:10,775 - INFO - Deleting VN ctest-vn-08641071
2024-10-29 22:21:10,911 - DEBUG - Response for deleting network ()
2024-10-29 22:21:11,180 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 22:21:11,180 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2024-10-29 22:21:11,180 - INFO - --------------------------------------------------------------------------------
2024-10-29 22:21:11,972 - INFO - Deleted project: ctest-TestRoutersBasic-53106463, ID : b93d5104-0283-4540-9ea2-201cf5aa2b5d