2025-02-06 17:44:47,737 - INFO - Domain Default found not creating
2025-02-06 17:44:47,873 - INFO - Project ctest-TestRoutersBasic-70828256 not found, creating it
2025-02-06 17:44:48,312 - INFO - Created Project:ctest-TestRoutersBasic-70828256, ID : e25caeac-c97d-4b5b-b484-a8696689f190
2025-02-06 17:44:49,671 - INFO - ================================================================================
2025-02-06 17:44:49,671 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-06 17:44:49,671 - 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
2025-02-06 17:44:49,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.5': '0'}} with
2025-02-06 17:44:49,927 - INFO - Initial checks done. Running the testcase now
2025-02-06 17:44:49,927 - INFO -
2025-02-06 17:44:50,610 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70828256
2025-02-06 17:44:50,709 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70828256
2025-02-06 17:44:51,045 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70828256', 'default']}
2025-02-06 17:44:51,340 - DEBUG - Response for create_network : {'network': {'id': 'bef5bbe1-4619-4d02-bce1-d5a758cfac49', 'name': 'ctest-vn-14605153', 'tenant_id': 'e25caeacc97d4b5bb484a8696689f190', 'project_id': 'e25caeacc97d4b5bb484a8696689f190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70828256', 'ctest-vn-14605153'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 17:44:51,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddbea99c-092e-4927-b9a8-09cfc7411a0d', 'name': '', 'tenant_id': 'e25caeacc97d4b5bb484a8696689f190', 'network_id': 'bef5bbe1-4619-4d02-bce1-d5a758cfac49', 'ip_version': 4, 'cidr': '35.156.136.64/26', 'allocation_pools': [{'start': '35.156.136.66', 'end': '35.156.136.126'}], 'gateway_ip': '35.156.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.156.136.66', 'tags': [], 'project_id': 'e25caeacc97d4b5bb484a8696689f190'}}
2025-02-06 17:44:51,558 - INFO - Created VN ctest-vn-14605153
2025-02-06 17:44:51,609 - DEBUG - VN ctest-vn-14605153 UUID is bef5bbe1-4619-4d02-bce1-d5a758cfac49
2025-02-06 17:44:51,933 - DEBUG - Response for create_network : {'network': {'id': '93950d85-b3cb-41b8-8f6a-81b5103f2416', 'name': 'ctest-ext_vn-67118412', 'tenant_id': 'e25caeacc97d4b5bb484a8696689f190', 'project_id': 'e25caeacc97d4b5bb484a8696689f190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70828256', 'ctest-ext_vn-67118412'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 17:44:52,070 - DEBUG - Response for create_subnet : {'subnet': {'id': '72a76462-b211-4a69-9541-f856bea5e77d', 'name': '', 'tenant_id': 'e25caeacc97d4b5bb484a8696689f190', 'network_id': '93950d85-b3cb-41b8-8f6a-81b5103f2416', 'ip_version': 4, 'cidr': '45.202.45.192/26', 'allocation_pools': [{'start': '45.202.45.194', 'end': '45.202.45.254'}], 'gateway_ip': '45.202.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.202.45.194', 'tags': [], 'project_id': 'e25caeacc97d4b5bb484a8696689f190'}}
2025-02-06 17:44:52,086 - INFO - Created VN ctest-ext_vn-67118412
2025-02-06 17:44:52,137 - DEBUG - VN ctest-ext_vn-67118412 UUID is 93950d85-b3cb-41b8-8f6a-81b5103f2416
2025-02-06 17:44:52,328 - DEBUG - Services list from nova: [, , ]
2025-02-06 17:44:53,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2703-1)
2025-02-06 17:44:54,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2703-1)
2025-02-06 17:44:54,491 - INFO - Setting gateway for router 52acd6f8-f127-4368-bd19-6e66dd5a0d7f to network 93950d85-b3cb-41b8-8f6a-81b5103f2416
2025-02-06 17:44:54,552 - INFO - Adding interface with subnet_id ddbea99c-092e-4927-b9a8-09cfc7411a0d, port_id None to router 52acd6f8-f127-4368-bd19-6e66dd5a0d7f
2025-02-06 17:44:54,876 - INFO - Waiting for VM ctest-TestRoutersBasic-70828256-00506761 to be up..
2025-02-06 17:44:55,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-06 17:45:00,097 - DEBUG - VM is in ACTIVE state now
2025-02-06 17:45:00,097 - INFO - VM name : ctest-TestRoutersBasic-70828256-00506761
2025-02-06 17:45:00,161 - DEBUG - VM ctest-TestRoutersBasic-70828256-00506761 ID is fe4833e5-3d8d-4660-9926-becbb2b09375
2025-02-06 17:45:00,180 - DEBUG - VM ctest-TestRoutersBasic-70828256-00506761 launched on Node cn-jenkins-deploy-platform-ansible-os-2703-1
2025-02-06 17:45:00,243 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fe4833e5-3d8d-4660-9926-becbb2b09375
2025-02-06 17:45:00,533 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/fe4833e5-3d8d-4660-9926-becbb2b09375
2025-02-06 17:45:00,562 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/fa08b7a9-82ed-4cb4-868b-1680710838c2
2025-02-06 17:45:03,817 - 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 1015ms')
2025-02-06 17:45:03,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70828256-00506761 failed!
2025-02-06 17:45:03,873 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70828256:ctest-vn-14605153 is 35.156.136.65 and allocation pool is NOT set
2025-02-06 17:45:05,932 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.846/3.307/1.461 ms')
2025-02-06 17:45:05,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70828256-00506761 passed
2025-02-06 17:45:06,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 17:45:06,085 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70828256-00506761, IP 35.156.136.67, Port 22
2025-02-06 17:45:06,237 - DEBUG - VM ctest-TestRoutersBasic-70828256-00506761 is ready for SSH connections
2025-02-06 17:45:06,237 - INFO - Waiting for VM ctest-TestRoutersBasic-70828256-37679202 to be up..
2025-02-06 17:45:06,307 - DEBUG - VM is in ACTIVE state now
2025-02-06 17:45:06,307 - INFO - VM name : ctest-TestRoutersBasic-70828256-37679202
2025-02-06 17:45:06,386 - DEBUG - VM ctest-TestRoutersBasic-70828256-37679202 ID is ae6f8314-5d38-4350-8cdb-ca1fc51c3a8e
2025-02-06 17:45:06,386 - DEBUG - VM ctest-TestRoutersBasic-70828256-37679202 launched on Node cn-jenkins-deploy-platform-ansible-os-2703-1
2025-02-06 17:45:06,453 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ae6f8314-5d38-4350-8cdb-ca1fc51c3a8e
2025-02-06 17:45:06,461 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/b95c117e-7331-4549-a56f-0bafdf92ed65
2025-02-06 17:45:07,693 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.622/2.771/1.148 ms')
2025-02-06 17:45:07,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70828256-37679202 passed
2025-02-06 17:45:07,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 17:45:07,845 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70828256-37679202, IP 45.202.45.195, Port 22
2025-02-06 17:45:08,000 - DEBUG - VM ctest-TestRoutersBasic-70828256-37679202 is ready for SSH connections
2025-02-06 17:45:08,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 17:45:08,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.202.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123
2025-02-06 17:45:08,001 - DEBUG - ping -s 56 -c 3 -W 1 45.202.45.195
2025-02-06 17:45:11,978 - DEBUG - PING 45.202.45.195 (45.202.45.195): 56 data bytes
64 bytes from 45.202.45.195: seq=0 ttl=62 time=5.434 ms
64 bytes from 45.202.45.195: seq=1 ttl=62 time=0.892 ms
64 bytes from 45.202.45.195: seq=2 ttl=62 time=0.787 ms
--- 45.202.45.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.787/2.371/5.434 ms
2025-02-06 17:45:11,978 - INFO - Ping to IP 45.202.45.195 from VM ctest-TestRoutersBasic-70828256-00506761 passed
2025-02-06 17:45:11,978 - INFO - Deleting interface with subnet_id ddbea99c-092e-4927-b9a8-09cfc7411a0d, port_id None from router 52acd6f8-f127-4368-bd19-6e66dd5a0d7f
2025-02-06 17:45:12,186 - INFO - Deleting VM ctest-TestRoutersBasic-70828256-37679202
2025-02-06 17:45:12,249 - INFO - Deleting VM ctest-TestRoutersBasic-70828256-00506761
2025-02-06 17:45:12,358 - INFO - Deleting VN ctest-ext_vn-67118412
2025-02-06 17:45:12,476 - DEBUG - VN 93950d85-b3cb-41b8-8f6a-81b5103f2416 still in use: Unable to complete operation on network 93950d85-b3cb-41b8-8f6a-81b5103f2416. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dded1c78-fbcd-4dec-adf5-21b772f4c2cc']
2025-02-06 17:45:12,476 - WARNING - Deleting VN ctest-ext_vn-67118412 failed..Will retry
2025-02-06 17:45:14,596 - DEBUG - Response for deleting network ()
2025-02-06 17:45:14,597 - INFO - Deleting VN ctest-vn-14605153
2025-02-06 17:45:14,708 - DEBUG - Response for deleting network ()
2025-02-06 17:45:14,967 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 17:45:14,967 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-06 17:45:14,967 - INFO - --------------------------------------------------------------------------------
2025-02-06 17:45:15,641 - INFO - Deleted project: ctest-TestRoutersBasic-70828256, ID : e25caeac-c97d-4b5b-b484-a8696689f190