2025-02-06 02:20:53,461 - INFO - Domain Default found not creating
2025-02-06 02:20:53,598 - INFO - Project ctest-TestRoutersBasic-33072686 not found, creating it
2025-02-06 02:20:54,044 - INFO - Created Project:ctest-TestRoutersBasic-33072686, ID : e1016e7f-0e3d-4532-94b7-bc3247a437be
2025-02-06 02:20:55,524 - INFO - ================================================================================
2025-02-06 02:20:55,524 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-06 02:20:55,524 - 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 02:20:55,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.39': '0'}} with
2025-02-06 02:20:55,793 - INFO - Initial checks done. Running the testcase now
2025-02-06 02:20:55,793 - INFO -
2025-02-06 02:20:56,575 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33072686
2025-02-06 02:20:56,672 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33072686
2025-02-06 02:20:57,000 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33072686', 'default']}
2025-02-06 02:20:57,309 - DEBUG - Response for create_network : {'network': {'id': '816fa931-6733-474d-9deb-1efd95df83c4', 'name': 'ctest-vn-28067514', 'tenant_id': 'e1016e7f0e3d453294b7bc3247a437be', 'project_id': 'e1016e7f0e3d453294b7bc3247a437be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33072686', 'ctest-vn-28067514'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 02:20:57,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '33954b6f-ceed-4fa1-8ba9-26c57dc49d2c', 'name': '', 'tenant_id': 'e1016e7f0e3d453294b7bc3247a437be', 'network_id': '816fa931-6733-474d-9deb-1efd95df83c4', 'ip_version': 4, 'cidr': '20.154.97.192/26', 'allocation_pools': [{'start': '20.154.97.194', 'end': '20.154.97.254'}], 'gateway_ip': '20.154.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.154.97.194', 'tags': [], 'project_id': 'e1016e7f0e3d453294b7bc3247a437be'}}
2025-02-06 02:20:57,550 - INFO - Created VN ctest-vn-28067514
2025-02-06 02:20:57,608 - DEBUG - VN ctest-vn-28067514 UUID is 816fa931-6733-474d-9deb-1efd95df83c4
2025-02-06 02:20:57,950 - DEBUG - Response for create_network : {'network': {'id': 'c5b6e902-48d1-41fa-84da-af8ed93bd0ca', 'name': 'ctest-ext_vn-77065558', 'tenant_id': 'e1016e7f0e3d453294b7bc3247a437be', 'project_id': 'e1016e7f0e3d453294b7bc3247a437be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33072686', 'ctest-ext_vn-77065558'], 'port_security_enabled': True, 'description': ''}}
2025-02-06 02:20:58,103 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acc1c626-7b69-4211-89af-c4051d414002', 'name': '', 'tenant_id': 'e1016e7f0e3d453294b7bc3247a437be', 'network_id': 'c5b6e902-48d1-41fa-84da-af8ed93bd0ca', 'ip_version': 4, 'cidr': '162.210.220.192/26', 'allocation_pools': [{'start': '162.210.220.194', 'end': '162.210.220.254'}], 'gateway_ip': '162.210.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.210.220.194', 'tags': [], 'project_id': 'e1016e7f0e3d453294b7bc3247a437be'}}
2025-02-06 02:20:58,121 - INFO - Created VN ctest-ext_vn-77065558
2025-02-06 02:20:58,172 - DEBUG - VN ctest-ext_vn-77065558 UUID is c5b6e902-48d1-41fa-84da-af8ed93bd0ca
2025-02-06 02:20:58,463 - DEBUG - Services list from nova: [, , ]
2025-02-06 02:20:59,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2699-1)
2025-02-06 02:21:00,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2699-1)
2025-02-06 02:21:00,855 - INFO - Setting gateway for router 4a916a00-1455-44cd-8539-055aa7f7052a to network c5b6e902-48d1-41fa-84da-af8ed93bd0ca
2025-02-06 02:21:00,942 - INFO - Adding interface with subnet_id 33954b6f-ceed-4fa1-8ba9-26c57dc49d2c, port_id None to router 4a916a00-1455-44cd-8539-055aa7f7052a
2025-02-06 02:21:01,443 - INFO - Waiting for VM ctest-TestRoutersBasic-33072686-48828909 to be up..
2025-02-06 02:21:01,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-06 02:21:06,742 - DEBUG - VM is in ACTIVE state now
2025-02-06 02:21:06,743 - INFO - VM name : ctest-TestRoutersBasic-33072686-48828909
2025-02-06 02:21:06,813 - DEBUG - VM ctest-TestRoutersBasic-33072686-48828909 ID is efb3243e-81d3-4783-a6cb-d622eae5cda7
2025-02-06 02:21:06,833 - DEBUG - VM ctest-TestRoutersBasic-33072686-48828909 launched on Node cn-jenkins-deploy-platform-ansible-os-2699-1
2025-02-06 02:21:06,905 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/efb3243e-81d3-4783-a6cb-d622eae5cda7
2025-02-06 02:21:07,237 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/efb3243e-81d3-4783-a6cb-d622eae5cda7
2025-02-06 02:21:07,272 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/bc221eef-dbd5-4ac1-827e-76788b525dd3
2025-02-06 02:21:10,518 - 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 1011ms')
2025-02-06 02:21:10,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33072686-48828909 failed!
2025-02-06 02:21:10,572 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33072686:ctest-vn-28067514 is 20.154.97.193 and allocation pool is NOT set
2025-02-06 02:21:12,629 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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 = 0.394/1.618/2.842/1.224 ms')
2025-02-06 02:21:12,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33072686-48828909 passed
2025-02-06 02:21:12,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:21:12,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33072686-48828909, IP 20.154.97.195, Port 22
2025-02-06 02:21:12,939 - DEBUG - VM ctest-TestRoutersBasic-33072686-48828909 is ready for SSH connections
2025-02-06 02:21:12,939 - INFO - Waiting for VM ctest-TestRoutersBasic-33072686-34467678 to be up..
2025-02-06 02:21:13,014 - DEBUG - VM is in ACTIVE state now
2025-02-06 02:21:13,014 - INFO - VM name : ctest-TestRoutersBasic-33072686-34467678
2025-02-06 02:21:13,087 - DEBUG - VM ctest-TestRoutersBasic-33072686-34467678 ID is b01e953f-f89c-46f6-9496-7d21ace9f365
2025-02-06 02:21:13,087 - DEBUG - VM ctest-TestRoutersBasic-33072686-34467678 launched on Node cn-jenkins-deploy-platform-ansible-os-2699-1
2025-02-06 02:21:13,160 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/b01e953f-f89c-46f6-9496-7d21ace9f365
2025-02-06 02:21:13,171 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/99db680e-77b3-4fd6-8297-ff473e39f8d2
2025-02-06 02:21:14,425 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/2.167/3.918/1.750 ms')
2025-02-06 02:21:14,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33072686-34467678 passed
2025-02-06 02:21:14,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:21:14,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33072686-34467678, IP 162.210.220.195, Port 22
2025-02-06 02:21:14,740 - DEBUG - VM ctest-TestRoutersBasic-33072686-34467678 is ready for SSH connections
2025-02-06 02:21:14,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-06 02:21:14,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.210.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2025-02-06 02:21:14,740 - DEBUG - ping -s 56 -c 3 -W 1 162.210.220.195
2025-02-06 02:21:18,798 - DEBUG - PING 162.210.220.195 (162.210.220.195): 56 data bytes
64 bytes from 162.210.220.195: seq=0 ttl=62 time=4.621 ms
64 bytes from 162.210.220.195: seq=1 ttl=62 time=0.784 ms
64 bytes from 162.210.220.195: seq=2 ttl=62 time=0.780 ms
--- 162.210.220.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.780/2.061/4.621 ms
2025-02-06 02:21:18,798 - INFO - Ping to IP 162.210.220.195 from VM ctest-TestRoutersBasic-33072686-48828909 passed
2025-02-06 02:21:18,799 - INFO - Deleting interface with subnet_id 33954b6f-ceed-4fa1-8ba9-26c57dc49d2c, port_id None from router 4a916a00-1455-44cd-8539-055aa7f7052a
2025-02-06 02:21:19,009 - INFO - Deleting VM ctest-TestRoutersBasic-33072686-34467678
2025-02-06 02:21:19,074 - INFO - Deleting VM ctest-TestRoutersBasic-33072686-48828909
2025-02-06 02:21:19,157 - INFO - Deleting VN ctest-ext_vn-77065558
2025-02-06 02:21:19,247 - DEBUG - VN c5b6e902-48d1-41fa-84da-af8ed93bd0ca still in use: Unable to complete operation on network c5b6e902-48d1-41fa-84da-af8ed93bd0ca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bf488726-2c5c-4252-a3ed-eb8a405aefaf']
2025-02-06 02:21:19,247 - WARNING - Deleting VN ctest-ext_vn-77065558 failed..Will retry
2025-02-06 02:21:21,360 - DEBUG - Response for deleting network ()
2025-02-06 02:21:21,360 - INFO - Deleting VN ctest-vn-28067514
2025-02-06 02:21:21,471 - DEBUG - Response for deleting network ()
2025-02-06 02:21:21,726 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 02:21:21,726 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-06 02:21:21,726 - INFO - --------------------------------------------------------------------------------
2025-02-06 02:21:22,458 - INFO - Deleted project: ctest-TestRoutersBasic-33072686, ID : e1016e7f-0e3d-4532-94b7-bc3247a437be