2025-03-24 02:16:54,885 - INFO - Domain Default found not creating
2025-03-24 02:16:55,026 - INFO - Project ctest-TestRoutersBasic-03263617 not found, creating it
2025-03-24 02:16:55,473 - INFO - Created Project:ctest-TestRoutersBasic-03263617, ID : 6c645a11-e88b-45b9-adb3-13cc12dd49c4
2025-03-24 02:16:56,876 - INFO - ================================================================================
2025-03-24 02:16:56,876 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-24 02:16:56,876 - 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-03-24 02:16:57,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.6': '0'}} with
2025-03-24 02:16:57,139 - INFO - Initial checks done. Running the testcase now
2025-03-24 02:16:57,139 - INFO -
2025-03-24 02:16:57,834 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03263617
2025-03-24 02:16:57,933 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03263617
2025-03-24 02:16:58,257 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03263617', 'default']}
2025-03-24 02:16:58,548 - DEBUG - Response for create_network : {'network': {'id': '1f01edcb-3a7d-4a37-8396-dc8d590520ba', 'name': 'ctest-vn-30820684', 'tenant_id': '6c645a11e88b45b9adb313cc12dd49c4', 'project_id': '6c645a11e88b45b9adb313cc12dd49c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03263617', 'ctest-vn-30820684'], 'port_security_enabled': True, 'description': ''}}
2025-03-24 02:16:58,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '90f12701-6094-45f3-984f-4b58ff8d6b1e', 'name': '', 'tenant_id': '6c645a11e88b45b9adb313cc12dd49c4', 'network_id': '1f01edcb-3a7d-4a37-8396-dc8d590520ba', 'ip_version': 4, 'cidr': '177.77.131.192/26', 'allocation_pools': [{'start': '177.77.131.194', 'end': '177.77.131.254'}], 'gateway_ip': '177.77.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.77.131.194', 'tags': [], 'project_id': '6c645a11e88b45b9adb313cc12dd49c4'}}
2025-03-24 02:16:58,773 - INFO - Created VN ctest-vn-30820684
2025-03-24 02:16:58,825 - DEBUG - VN ctest-vn-30820684 UUID is 1f01edcb-3a7d-4a37-8396-dc8d590520ba
2025-03-24 02:16:59,138 - DEBUG - Response for create_network : {'network': {'id': '8a738965-ea0a-4103-abba-01252fb75070', 'name': 'ctest-ext_vn-88845843', 'tenant_id': '6c645a11e88b45b9adb313cc12dd49c4', 'project_id': '6c645a11e88b45b9adb313cc12dd49c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03263617', 'ctest-ext_vn-88845843'], 'port_security_enabled': True, 'description': ''}}
2025-03-24 02:16:59,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdc618e1-9bd8-4836-a51d-42913bb71053', 'name': '', 'tenant_id': '6c645a11e88b45b9adb313cc12dd49c4', 'network_id': '8a738965-ea0a-4103-abba-01252fb75070', 'ip_version': 4, 'cidr': '22.177.116.64/26', 'allocation_pools': [{'start': '22.177.116.66', 'end': '22.177.116.126'}], 'gateway_ip': '22.177.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.177.116.66', 'tags': [], 'project_id': '6c645a11e88b45b9adb313cc12dd49c4'}}
2025-03-24 02:16:59,439 - INFO - Created VN ctest-ext_vn-88845843
2025-03-24 02:16:59,489 - DEBUG - VN ctest-ext_vn-88845843 UUID is 8a738965-ea0a-4103-abba-01252fb75070
2025-03-24 02:16:59,693 - DEBUG - Services list from nova: [, , ]
2025-03-24 02:17:00,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2941-1)
2025-03-24 02:17:01,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2941-1)
2025-03-24 02:17:01,835 - INFO - Setting gateway for router ffdf6d37-88fd-407f-a140-9b81b4fb0d88 to network 8a738965-ea0a-4103-abba-01252fb75070
2025-03-24 02:17:01,908 - INFO - Adding interface with subnet_id 90f12701-6094-45f3-984f-4b58ff8d6b1e, port_id None to router ffdf6d37-88fd-407f-a140-9b81b4fb0d88
2025-03-24 02:17:02,190 - INFO - Waiting for VM ctest-TestRoutersBasic-03263617-19809081 to be up..
2025-03-24 02:17:02,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-24 02:17:07,463 - DEBUG - VM is in ACTIVE state now
2025-03-24 02:17:07,463 - INFO - VM name : ctest-TestRoutersBasic-03263617-19809081
2025-03-24 02:17:07,531 - DEBUG - VM ctest-TestRoutersBasic-03263617-19809081 ID is 42820511-eb43-4898-bbea-4543a1053eb1
2025-03-24 02:17:07,548 - DEBUG - VM ctest-TestRoutersBasic-03263617-19809081 launched on Node cn-jenkins-deploy-platform-ansible-os-2941-1
2025-03-24 02:17:07,618 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/42820511-eb43-4898-bbea-4543a1053eb1
2025-03-24 02:17:07,911 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/42820511-eb43-4898-bbea-4543a1053eb1
2025-03-24 02:17:07,940 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/fcc1e7ce-17d1-4115-9806-5623f390790e
2025-03-24 02:17:11,188 - 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 1019ms')
2025-03-24 02:17:11,188 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03263617-19809081 failed!
2025-03-24 02:17:11,246 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03263617:ctest-vn-30820684 is 177.77.131.193 and allocation pool is NOT set
2025-03-24 02:17:13,307 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.779/3.177/1.398 ms')
2025-03-24 02:17:13,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03263617-19809081 passed
2025-03-24 02:17:13,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 02:17:13,454 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03263617-19809081, IP 177.77.131.195, Port 22
2025-03-24 02:17:13,609 - DEBUG - VM ctest-TestRoutersBasic-03263617-19809081 is ready for SSH connections
2025-03-24 02:17:13,609 - INFO - Waiting for VM ctest-TestRoutersBasic-03263617-28398795 to be up..
2025-03-24 02:17:13,685 - DEBUG - VM is in ACTIVE state now
2025-03-24 02:17:13,686 - INFO - VM name : ctest-TestRoutersBasic-03263617-28398795
2025-03-24 02:17:13,764 - DEBUG - VM ctest-TestRoutersBasic-03263617-28398795 ID is 711814c8-8cd5-4d56-a672-3433d8650b63
2025-03-24 02:17:13,764 - DEBUG - VM ctest-TestRoutersBasic-03263617-28398795 launched on Node cn-jenkins-deploy-platform-ansible-os-2941-1
2025-03-24 02:17:13,838 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/711814c8-8cd5-4d56-a672-3433d8650b63
2025-03-24 02:17:13,846 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/cf65ed6f-6ee3-40e1-8d34-c563c860366f
2025-03-24 02:17:15,085 - 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=5.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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 = 0.367/2.764/5.162/2.397 ms')
2025-03-24 02:17:15,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03263617-28398795 passed
2025-03-24 02:17:15,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 02:17:15,246 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03263617-28398795, IP 22.177.116.67, Port 22
2025-03-24 02:17:15,401 - DEBUG - VM ctest-TestRoutersBasic-03263617-28398795 is ready for SSH connections
2025-03-24 02:17:15,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-24 02:17:15,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.177.116.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2025-03-24 02:17:15,401 - DEBUG - ping -s 56 -c 3 -W 1 22.177.116.67
2025-03-24 02:17:19,082 - DEBUG - PING 22.177.116.67 (22.177.116.67): 56 data bytes
64 bytes from 22.177.116.67: seq=0 ttl=62 time=7.398 ms
64 bytes from 22.177.116.67: seq=1 ttl=62 time=1.017 ms
64 bytes from 22.177.116.67: seq=2 ttl=62 time=1.027 ms
--- 22.177.116.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.017/3.147/7.398 ms
2025-03-24 02:17:19,082 - INFO - Ping to IP 22.177.116.67 from VM ctest-TestRoutersBasic-03263617-19809081 passed
2025-03-24 02:17:19,083 - INFO - Deleting interface with subnet_id 90f12701-6094-45f3-984f-4b58ff8d6b1e, port_id None from router ffdf6d37-88fd-407f-a140-9b81b4fb0d88
2025-03-24 02:17:19,295 - INFO - Deleting VM ctest-TestRoutersBasic-03263617-28398795
2025-03-24 02:17:19,361 - INFO - Deleting VM ctest-TestRoutersBasic-03263617-19809081
2025-03-24 02:17:19,448 - INFO - Deleting VN ctest-ext_vn-88845843
2025-03-24 02:17:19,527 - DEBUG - VN 8a738965-ea0a-4103-abba-01252fb75070 still in use: Unable to complete operation on network 8a738965-ea0a-4103-abba-01252fb75070. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b85409cb-763d-4240-9e11-1b61e7190b99']
2025-03-24 02:17:19,528 - WARNING - Deleting VN ctest-ext_vn-88845843 failed..Will retry
2025-03-24 02:17:21,655 - DEBUG - Response for deleting network ()
2025-03-24 02:17:21,655 - INFO - Deleting VN ctest-vn-30820684
2025-03-24 02:17:21,793 - DEBUG - Response for deleting network ()
2025-03-24 02:17:22,055 - DEBUG - No XMPP flaps were noticed during the test
2025-03-24 02:17:22,055 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-24 02:17:22,055 - INFO - --------------------------------------------------------------------------------
2025-03-24 02:17:22,729 - INFO - Deleted project: ctest-TestRoutersBasic-03263617, ID : 6c645a11-e88b-45b9-adb3-13cc12dd49c4