2025-04-14 15:41:31,125 - INFO - Domain Default found not creating
2025-04-14 15:41:31,277 - INFO - Project ctest-TestRoutersBasic-94305347 not found, creating it
2025-04-14 15:41:31,748 - INFO - Created Project:ctest-TestRoutersBasic-94305347, ID : 2cb04210-922f-4c80-b325-1027ebf48859
2025-04-14 15:41:33,183 - INFO - ================================================================================
2025-04-14 15:41:33,183 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-14 15:41:33,183 - 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-04-14 15:41:33,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-04-14 15:41:33,445 - INFO - Initial checks done. Running the testcase now
2025-04-14 15:41:33,445 - INFO -
2025-04-14 15:41:34,140 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94305347
2025-04-14 15:41:34,238 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94305347
2025-04-14 15:41:34,558 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94305347', 'default']}
2025-04-14 15:41:34,883 - DEBUG - Response for create_network : {'network': {'id': 'c8621395-8c74-4637-a4fd-7d50564be137', 'name': 'ctest-vn-90588797', 'tenant_id': '2cb04210922f4c80b3251027ebf48859', 'project_id': '2cb04210922f4c80b3251027ebf48859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94305347', 'ctest-vn-90588797'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 15:41:35,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea3b1085-8e20-453d-947f-cb8eee43987b', 'name': '', 'tenant_id': '2cb04210922f4c80b3251027ebf48859', 'network_id': 'c8621395-8c74-4637-a4fd-7d50564be137', 'ip_version': 4, 'cidr': '96.119.215.192/26', 'allocation_pools': [{'start': '96.119.215.194', 'end': '96.119.215.254'}], 'gateway_ip': '96.119.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.119.215.194', 'tags': [], 'project_id': '2cb04210922f4c80b3251027ebf48859'}}
2025-04-14 15:41:35,143 - INFO - Created VN ctest-vn-90588797
2025-04-14 15:41:35,202 - DEBUG - VN ctest-vn-90588797 UUID is c8621395-8c74-4637-a4fd-7d50564be137
2025-04-14 15:41:35,543 - DEBUG - Response for create_network : {'network': {'id': '79ae13bd-4c9f-4dbd-9470-10002497e3e5', 'name': 'ctest-ext_vn-22224350', 'tenant_id': '2cb04210922f4c80b3251027ebf48859', 'project_id': '2cb04210922f4c80b3251027ebf48859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94305347', 'ctest-ext_vn-22224350'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 15:41:35,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c64dbd25-8ec7-4cc0-a526-8982789ff628', 'name': '', 'tenant_id': '2cb04210922f4c80b3251027ebf48859', 'network_id': '79ae13bd-4c9f-4dbd-9470-10002497e3e5', 'ip_version': 4, 'cidr': '211.253.226.0/26', 'allocation_pools': [{'start': '211.253.226.2', 'end': '211.253.226.62'}], 'gateway_ip': '211.253.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.253.226.2', 'tags': [], 'project_id': '2cb04210922f4c80b3251027ebf48859'}}
2025-04-14 15:41:35,776 - INFO - Created VN ctest-ext_vn-22224350
2025-04-14 15:41:35,830 - DEBUG - VN ctest-ext_vn-22224350 UUID is 79ae13bd-4c9f-4dbd-9470-10002497e3e5
2025-04-14 15:41:36,013 - DEBUG - Services list from nova: [, , ]
2025-04-14 15:41:37,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3103-1)
2025-04-14 15:41:38,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3103-1)
2025-04-14 15:41:38,288 - INFO - Setting gateway for router 4642e6aa-5765-499a-a1e3-8350a284106b to network 79ae13bd-4c9f-4dbd-9470-10002497e3e5
2025-04-14 15:41:38,356 - INFO - Adding interface with subnet_id ea3b1085-8e20-453d-947f-cb8eee43987b, port_id None to router 4642e6aa-5765-499a-a1e3-8350a284106b
2025-04-14 15:41:38,779 - INFO - Waiting for VM ctest-TestRoutersBasic-94305347-03407799 to be up..
2025-04-14 15:41:39,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-14 15:41:44,101 - DEBUG - VM is in ACTIVE state now
2025-04-14 15:41:44,101 - INFO - VM name : ctest-TestRoutersBasic-94305347-03407799
2025-04-14 15:41:44,196 - DEBUG - VM ctest-TestRoutersBasic-94305347-03407799 ID is 662fc26c-c530-4791-bb43-48711103a204
2025-04-14 15:41:44,217 - DEBUG - VM ctest-TestRoutersBasic-94305347-03407799 launched on Node cn-jenkins-deploy-platform-ansible-os-3103-1
2025-04-14 15:41:44,321 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/662fc26c-c530-4791-bb43-48711103a204
2025-04-14 15:41:44,625 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/662fc26c-c530-4791-bb43-48711103a204
2025-04-14 15:41:44,662 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e110f328-7034-46cd-8b48-bb32535a6a17
2025-04-14 15:41:47,906 - 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 1002ms')
2025-04-14 15:41:47,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94305347-03407799 failed!
2025-04-14 15:41:47,962 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94305347:ctest-vn-90588797 is 96.119.215.193 and allocation pool is NOT set
2025-04-14 15:41:50,028 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.896/3.349/1.452 ms')
2025-04-14 15:41:50,028 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94305347-03407799 passed
2025-04-14 15:41:50,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 15:41:50,186 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94305347-03407799, IP 96.119.215.195, Port 22
2025-04-14 15:41:50,349 - DEBUG - VM ctest-TestRoutersBasic-94305347-03407799 is ready for SSH connections
2025-04-14 15:41:50,349 - INFO - Waiting for VM ctest-TestRoutersBasic-94305347-38955704 to be up..
2025-04-14 15:41:50,428 - DEBUG - VM is in ACTIVE state now
2025-04-14 15:41:50,428 - INFO - VM name : ctest-TestRoutersBasic-94305347-38955704
2025-04-14 15:41:50,506 - DEBUG - VM ctest-TestRoutersBasic-94305347-38955704 ID is 40a5c65f-ede5-44ca-8074-45d843fb08be
2025-04-14 15:41:50,506 - DEBUG - VM ctest-TestRoutersBasic-94305347-38955704 launched on Node cn-jenkins-deploy-platform-ansible-os-3103-1
2025-04-14 15:41:50,584 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/40a5c65f-ede5-44ca-8074-45d843fb08be
2025-04-14 15:41:50,594 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/20d495fe-f088-42b1-bc99-db39d2081311
2025-04-14 15:41:51,844 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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 = 2.137/3.140/4.143/1.003 ms')
2025-04-14 15:41:51,844 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94305347-38955704 passed
2025-04-14 15:41:51,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 15:41:51,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94305347-38955704, IP 211.253.226.3, Port 22
2025-04-14 15:41:52,154 - DEBUG - VM ctest-TestRoutersBasic-94305347-38955704 is ready for SSH connections
2025-04-14 15:41:52,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 15:41:52,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.253.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-04-14 15:41:52,154 - DEBUG - ping -s 56 -c 3 -W 1 211.253.226.3
2025-04-14 15:41:56,204 - DEBUG - PING 211.253.226.3 (211.253.226.3): 56 data bytes
64 bytes from 211.253.226.3: seq=0 ttl=62 time=9.396 ms
64 bytes from 211.253.226.3: seq=1 ttl=62 time=0.854 ms
64 bytes from 211.253.226.3: seq=2 ttl=62 time=0.946 ms
--- 211.253.226.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.854/3.732/9.396 ms
2025-04-14 15:41:56,205 - INFO - Ping to IP 211.253.226.3 from VM ctest-TestRoutersBasic-94305347-03407799 passed
2025-04-14 15:41:56,205 - INFO - Deleting interface with subnet_id ea3b1085-8e20-453d-947f-cb8eee43987b, port_id None from router 4642e6aa-5765-499a-a1e3-8350a284106b
2025-04-14 15:41:56,428 - INFO - Deleting VM ctest-TestRoutersBasic-94305347-38955704
2025-04-14 15:41:56,499 - INFO - Deleting VM ctest-TestRoutersBasic-94305347-03407799
2025-04-14 15:41:56,590 - INFO - Deleting VN ctest-ext_vn-22224350
2025-04-14 15:41:56,660 - DEBUG - VN 79ae13bd-4c9f-4dbd-9470-10002497e3e5 still in use: Unable to complete operation on network 79ae13bd-4c9f-4dbd-9470-10002497e3e5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-05edc175-0890-4f3d-bb1e-28c281abfb5a']
2025-04-14 15:41:56,660 - WARNING - Deleting VN ctest-ext_vn-22224350 failed..Will retry
2025-04-14 15:41:58,853 - DEBUG - Response for deleting network ()
2025-04-14 15:41:58,853 - INFO - Deleting VN ctest-vn-90588797
2025-04-14 15:41:59,061 - DEBUG - Response for deleting network ()
2025-04-14 15:41:59,316 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 15:41:59,316 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-14 15:41:59,316 - INFO - --------------------------------------------------------------------------------
2025-04-14 15:41:59,993 - INFO - Deleted project: ctest-TestRoutersBasic-94305347, ID : 2cb04210-922f-4c80-b325-1027ebf48859