2024-09-11 06:58:52,632 - INFO - Domain Default found not creating
2024-09-11 06:58:52,815 - INFO - Project ctest-TestRoutersBasic-63403046 not found, creating it
2024-09-11 06:58:53,335 - INFO - Created Project:ctest-TestRoutersBasic-63403046, ID : 7cf78b15-1d99-4307-b42c-9c44859fe23c
2024-09-11 06:58:55,110 - INFO - ================================================================================
2024-09-11 06:58:55,110 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-09-11 06:58:55,110 - 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-11 06:58:55,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.21': '0'}} with
2024-09-11 06:58:55,368 - INFO - Initial checks done. Running the testcase now
2024-09-11 06:58:55,369 - INFO -
2024-09-11 06:58:56,313 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63403046
2024-09-11 06:58:56,412 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63403046
2024-09-11 06:58:56,747 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63403046', 'default']}
2024-09-11 06:58:57,074 - DEBUG - Response for create_network : {'network': {'id': '7e12255b-6fcb-418a-926b-f568f743cc11', 'name': 'ctest-vn-05914430', 'tenant_id': '7cf78b151d994307b42c9c44859fe23c', 'project_id': '7cf78b151d994307b42c9c44859fe23c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63403046', 'ctest-vn-05914430'], 'port_security_enabled': True, 'description': ''}}
2024-09-11 06:58:57,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a563c3-2395-4774-9c87-44ab8430f7da', 'name': '', 'tenant_id': '7cf78b151d994307b42c9c44859fe23c', 'network_id': '7e12255b-6fcb-418a-926b-f568f743cc11', 'ip_version': 4, 'cidr': '153.159.230.64/26', 'allocation_pools': [{'start': '153.159.230.66', 'end': '153.159.230.126'}], 'gateway_ip': '153.159.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.159.230.66', 'tags': [], 'project_id': '7cf78b151d994307b42c9c44859fe23c'}}
2024-09-11 06:58:57,328 - INFO - Created VN ctest-vn-05914430
2024-09-11 06:58:57,380 - DEBUG - VN ctest-vn-05914430 UUID is 7e12255b-6fcb-418a-926b-f568f743cc11
2024-09-11 06:58:57,742 - DEBUG - Response for create_network : {'network': {'id': '69e42997-e58b-4f16-949a-7e440cc1217d', 'name': 'ctest-ext_vn-37784969', 'tenant_id': '7cf78b151d994307b42c9c44859fe23c', 'project_id': '7cf78b151d994307b42c9c44859fe23c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63403046', 'ctest-ext_vn-37784969'], 'port_security_enabled': True, 'description': ''}}
2024-09-11 06:58:57,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '7247bb78-3860-4498-b97f-3c514bd80685', 'name': '', 'tenant_id': '7cf78b151d994307b42c9c44859fe23c', 'network_id': '69e42997-e58b-4f16-949a-7e440cc1217d', 'ip_version': 4, 'cidr': '98.133.222.192/26', 'allocation_pools': [{'start': '98.133.222.194', 'end': '98.133.222.254'}], 'gateway_ip': '98.133.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.133.222.194', 'tags': [], 'project_id': '7cf78b151d994307b42c9c44859fe23c'}}
2024-09-11 06:58:57,959 - INFO - Created VN ctest-ext_vn-37784969
2024-09-11 06:58:58,012 - DEBUG - VN ctest-ext_vn-37784969 UUID is 69e42997-e58b-4f16-949a-7e440cc1217d
2024-09-11 06:58:58,195 - DEBUG - Services list from nova: [, , ]
2024-09-11 06:58:59,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1890-1)
2024-09-11 06:59:00,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1890-1)
2024-09-11 06:59:00,794 - INFO - Setting gateway for router 0c02d59a-39ec-45b3-ad93-9b124d5a406c to network 69e42997-e58b-4f16-949a-7e440cc1217d
2024-09-11 06:59:00,897 - INFO - Adding interface with subnet_id 40a563c3-2395-4774-9c87-44ab8430f7da, port_id None to router 0c02d59a-39ec-45b3-ad93-9b124d5a406c
2024-09-11 06:59:01,385 - INFO - Waiting for VM ctest-TestRoutersBasic-63403046-74162591 to be up..
2024-09-11 06:59:01,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-11 06:59:06,680 - DEBUG - VM is in ACTIVE state now
2024-09-11 06:59:06,680 - INFO - VM name : ctest-TestRoutersBasic-63403046-74162591
2024-09-11 06:59:06,773 - DEBUG - VM ctest-TestRoutersBasic-63403046-74162591 ID is 07285b02-6f2b-457c-886f-8041d3b309a1
2024-09-11 06:59:06,796 - DEBUG - VM ctest-TestRoutersBasic-63403046-74162591 launched on Node cn-jenkins-deploy-platform-ansible-os-1890-1
2024-09-11 06:59:06,886 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/07285b02-6f2b-457c-886f-8041d3b309a1
2024-09-11 06:59:07,236 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/07285b02-6f2b-457c-886f-8041d3b309a1
2024-09-11 06:59:07,274 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/7a78a075-ba66-42fc-9625-b18309e089cd
2024-09-11 06:59:10,541 - 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 1014ms')
2024-09-11 06:59:10,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63403046-74162591 failed!
2024-09-11 06:59:10,600 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63403046:ctest-vn-05914430 is 153.159.230.65 and allocation pool is NOT set
2024-09-11 06:59:12,659 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.037/3.316/4.595/1.279 ms')
2024-09-11 06:59:12,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63403046-74162591 passed
2024-09-11 06:59:12,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-11 06:59:12,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63403046-74162591, IP 153.159.230.67, Port 22
2024-09-11 06:59:12,964 - DEBUG - VM ctest-TestRoutersBasic-63403046-74162591 is ready for SSH connections
2024-09-11 06:59:12,964 - INFO - Waiting for VM ctest-TestRoutersBasic-63403046-41587311 to be up..
2024-09-11 06:59:13,054 - DEBUG - VM is in ACTIVE state now
2024-09-11 06:59:13,054 - INFO - VM name : ctest-TestRoutersBasic-63403046-41587311
2024-09-11 06:59:13,142 - DEBUG - VM ctest-TestRoutersBasic-63403046-41587311 ID is dd408a40-8536-47a6-9f2d-20a24c25f076
2024-09-11 06:59:13,142 - DEBUG - VM ctest-TestRoutersBasic-63403046-41587311 launched on Node cn-jenkins-deploy-platform-ansible-os-1890-1
2024-09-11 06:59:13,230 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/dd408a40-8536-47a6-9f2d-20a24c25f076
2024-09-11 06:59:13,239 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6b8f75a0-d49e-40fb-8bf3-68ef54ea153e
2024-09-11 06:59:14,478 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 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 = 1.476/3.145/4.814/1.669 ms')
2024-09-11 06:59:14,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63403046-41587311 passed
2024-09-11 06:59:14,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-11 06:59:14,632 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63403046-41587311, IP 98.133.222.195, Port 22
2024-09-11 06:59:14,811 - DEBUG - VM ctest-TestRoutersBasic-63403046-41587311 is ready for SSH connections
2024-09-11 06:59:14,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-11 06:59:14,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.133.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-09-11 06:59:14,812 - DEBUG - ping -s 56 -c 3 -W 1 98.133.222.195
2024-09-11 06:59:18,565 - DEBUG - PING 98.133.222.195 (98.133.222.195): 56 data bytes
64 bytes from 98.133.222.195: seq=0 ttl=62 time=6.350 ms
64 bytes from 98.133.222.195: seq=1 ttl=62 time=0.851 ms
64 bytes from 98.133.222.195: seq=2 ttl=62 time=1.151 ms
--- 98.133.222.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.851/2.784/6.350 ms
2024-09-11 06:59:18,565 - INFO - Ping to IP 98.133.222.195 from VM ctest-TestRoutersBasic-63403046-74162591 passed
2024-09-11 06:59:18,566 - INFO - Deleting interface with subnet_id 40a563c3-2395-4774-9c87-44ab8430f7da, port_id None from router 0c02d59a-39ec-45b3-ad93-9b124d5a406c
2024-09-11 06:59:18,822 - INFO - Deleting VM ctest-TestRoutersBasic-63403046-41587311
2024-09-11 06:59:18,894 - INFO - Deleting VM ctest-TestRoutersBasic-63403046-74162591
2024-09-11 06:59:18,985 - INFO - Deleting VN ctest-ext_vn-37784969
2024-09-11 06:59:19,069 - DEBUG - VN 69e42997-e58b-4f16-949a-7e440cc1217d still in use: Unable to complete operation on network 69e42997-e58b-4f16-949a-7e440cc1217d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80726948-8277-4879-b3de-dae03a89865c']
2024-09-11 06:59:19,070 - WARNING - Deleting VN ctest-ext_vn-37784969 failed..Will retry
2024-09-11 06:59:21,192 - DEBUG - Response for deleting network ()
2024-09-11 06:59:21,192 - INFO - Deleting VN ctest-vn-05914430
2024-09-11 06:59:21,307 - DEBUG - Response for deleting network ()
2024-09-11 06:59:21,563 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 06:59:21,564 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-11 06:59:21,564 - INFO - --------------------------------------------------------------------------------
2024-09-11 06:59:22,307 - INFO - Deleted project: ctest-TestRoutersBasic-63403046, ID : 7cf78b15-1d99-4307-b42c-9c44859fe23c