2025-05-08 11:07:04,580 - INFO - Domain Default found not creating
2025-05-08 11:07:04,709 - INFO - Project ctest-TestRoutersBasic-65132633 not found, creating it
2025-05-08 11:07:05,149 - INFO - Created Project:ctest-TestRoutersBasic-65132633, ID : 6dc24b9a-3b4f-49ec-95c6-29be7e375d7c
2025-05-08 11:07:06,474 - INFO - ================================================================================
2025-05-08 11:07:06,475 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-08 11:07:06,475 - 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-05-08 11:07:06,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-08 11:07:06,731 - INFO - Initial checks done. Running the testcase now
2025-05-08 11:07:06,731 - INFO -
2025-05-08 11:07:07,413 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65132633
2025-05-08 11:07:07,509 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65132633
2025-05-08 11:07:07,829 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65132633', 'default']}
2025-05-08 11:07:08,104 - DEBUG - Response for create_network : {'network': {'id': '0a6f030b-ab73-4fb9-9ac5-0a01dd28ee9a', 'name': 'ctest-vn-47607142', 'tenant_id': '6dc24b9a3b4f49ec95c629be7e375d7c', 'project_id': '6dc24b9a3b4f49ec95c629be7e375d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65132633', 'ctest-vn-47607142'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 11:07:08,264 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e102db7-546d-42e6-84d7-a5fff7d2a4d6', 'name': '', 'tenant_id': '6dc24b9a3b4f49ec95c629be7e375d7c', 'network_id': '0a6f030b-ab73-4fb9-9ac5-0a01dd28ee9a', 'ip_version': 4, 'cidr': '199.242.192.0/26', 'allocation_pools': [{'start': '199.242.192.2', 'end': '199.242.192.62'}], 'gateway_ip': '199.242.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.242.192.2', 'tags': [], 'project_id': '6dc24b9a3b4f49ec95c629be7e375d7c'}}
2025-05-08 11:07:08,279 - INFO - Created VN ctest-vn-47607142
2025-05-08 11:07:08,329 - DEBUG - VN ctest-vn-47607142 UUID is 0a6f030b-ab73-4fb9-9ac5-0a01dd28ee9a
2025-05-08 11:07:08,649 - DEBUG - Response for create_network : {'network': {'id': 'fd1cfb1c-2127-40c2-bf50-d0159cad85da', 'name': 'ctest-ext_vn-65232031', 'tenant_id': '6dc24b9a3b4f49ec95c629be7e375d7c', 'project_id': '6dc24b9a3b4f49ec95c629be7e375d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65132633', 'ctest-ext_vn-65232031'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 11:07:08,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f71fc3e-c0df-457b-9302-fdc326c1bfd1', 'name': '', 'tenant_id': '6dc24b9a3b4f49ec95c629be7e375d7c', 'network_id': 'fd1cfb1c-2127-40c2-bf50-d0159cad85da', 'ip_version': 4, 'cidr': '23.6.84.0/26', 'allocation_pools': [{'start': '23.6.84.2', 'end': '23.6.84.62'}], 'gateway_ip': '23.6.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.6.84.2', 'tags': [], 'project_id': '6dc24b9a3b4f49ec95c629be7e375d7c'}}
2025-05-08 11:07:08,793 - INFO - Created VN ctest-ext_vn-65232031
2025-05-08 11:07:08,845 - DEBUG - VN ctest-ext_vn-65232031 UUID is fd1cfb1c-2127-40c2-bf50-d0159cad85da
2025-05-08 11:07:09,035 - DEBUG - Services list from nova: [, , ]
2025-05-08 11:07:09,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3288-1)
2025-05-08 11:07:11,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3288-1)
2025-05-08 11:07:11,252 - INFO - Setting gateway for router 4230f0dc-14da-41d1-8f33-e3407b6f2985 to network fd1cfb1c-2127-40c2-bf50-d0159cad85da
2025-05-08 11:07:11,318 - INFO - Adding interface with subnet_id 3e102db7-546d-42e6-84d7-a5fff7d2a4d6, port_id None to router 4230f0dc-14da-41d1-8f33-e3407b6f2985
2025-05-08 11:07:11,908 - INFO - Waiting for VM ctest-TestRoutersBasic-65132633-64053008 to be up..
2025-05-08 11:07:12,041 - DEBUG - VM is in ACTIVE state now
2025-05-08 11:07:12,041 - INFO - VM name : ctest-TestRoutersBasic-65132633-64053008
2025-05-08 11:07:12,127 - DEBUG - VM ctest-TestRoutersBasic-65132633-64053008 ID is 7f8730ae-fd74-4209-a967-a345b6409d74
2025-05-08 11:07:12,149 - DEBUG - VM ctest-TestRoutersBasic-65132633-64053008 launched on Node cn-jenkins-deploy-platform-ansible-os-3288-1
2025-05-08 11:07:12,221 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f8730ae-fd74-4209-a967-a345b6409d74
2025-05-08 11:07:12,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f8730ae-fd74-4209-a967-a345b6409d74
2025-05-08 11:07:12,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/447b53f3-ef48-4114-ab66-e34a88395bc4
2025-05-08 11:07:15,797 - 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 1007ms')
2025-05-08 11:07:15,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65132633-64053008 failed!
2025-05-08 11:07:15,857 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65132633:ctest-vn-47607142 is 199.242.192.1 and allocation pool is NOT set
2025-05-08 11:07:19,922 - 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 1008ms')
2025-05-08 11:07:19,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65132633-64053008 failed!
2025-05-08 11:07:19,977 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65132633:ctest-vn-47607142 is 199.242.192.1 and allocation pool is NOT set
2025-05-08 11:07:22,041 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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.482/2.648/2.815/0.166 ms')
2025-05-08 11:07:22,041 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65132633-64053008 passed
2025-05-08 11:07:22,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:07:22,193 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65132633-64053008, IP 199.242.192.3, Port 22
2025-05-08 11:07:22,349 - DEBUG - VM ctest-TestRoutersBasic-65132633-64053008 is ready for SSH connections
2025-05-08 11:07:22,349 - INFO - Waiting for VM ctest-TestRoutersBasic-65132633-50050994 to be up..
2025-05-08 11:07:22,418 - DEBUG - VM is in ACTIVE state now
2025-05-08 11:07:22,418 - INFO - VM name : ctest-TestRoutersBasic-65132633-50050994
2025-05-08 11:07:22,486 - DEBUG - VM ctest-TestRoutersBasic-65132633-50050994 ID is d37feec5-112f-4c3d-b40d-130c865da0b1
2025-05-08 11:07:22,486 - DEBUG - VM ctest-TestRoutersBasic-65132633-50050994 launched on Node cn-jenkins-deploy-platform-ansible-os-3288-1
2025-05-08 11:07:22,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d37feec5-112f-4c3d-b40d-130c865da0b1
2025-05-08 11:07:22,565 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c195213b-74c8-40d0-a401-9b65a7137873
2025-05-08 11:07:23,803 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.478/2.608/1.129 ms')
2025-05-08 11:07:23,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65132633-50050994 passed
2025-05-08 11:07:23,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:07:23,958 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65132633-50050994, IP 23.6.84.3, Port 22
2025-05-08 11:07:24,108 - DEBUG - VM ctest-TestRoutersBasic-65132633-50050994 is ready for SSH connections
2025-05-08 11:07:24,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 11:07:24,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.6.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-08 11:07:24,109 - DEBUG - ping -s 56 -c 3 -W 1 23.6.84.3
2025-05-08 11:07:28,039 - DEBUG - PING 23.6.84.3 (23.6.84.3): 56 data bytes
64 bytes from 23.6.84.3: seq=0 ttl=62 time=5.499 ms
64 bytes from 23.6.84.3: seq=1 ttl=62 time=0.745 ms
64 bytes from 23.6.84.3: seq=2 ttl=62 time=0.883 ms
--- 23.6.84.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.745/2.375/5.499 ms
2025-05-08 11:07:28,039 - INFO - Ping to IP 23.6.84.3 from VM ctest-TestRoutersBasic-65132633-64053008 passed
2025-05-08 11:07:28,039 - INFO - Deleting interface with subnet_id 3e102db7-546d-42e6-84d7-a5fff7d2a4d6, port_id None from router 4230f0dc-14da-41d1-8f33-e3407b6f2985
2025-05-08 11:07:28,205 - INFO - Deleting VM ctest-TestRoutersBasic-65132633-50050994
2025-05-08 11:07:28,266 - INFO - Deleting VM ctest-TestRoutersBasic-65132633-64053008
2025-05-08 11:07:28,336 - INFO - Deleting VN ctest-ext_vn-65232031
2025-05-08 11:07:28,389 - DEBUG - VN fd1cfb1c-2127-40c2-bf50-d0159cad85da still in use: Unable to complete operation on network fd1cfb1c-2127-40c2-bf50-d0159cad85da. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1fa423ce-be2f-4b33-8499-5d4e93064063']
2025-05-08 11:07:28,390 - WARNING - Deleting VN ctest-ext_vn-65232031 failed..Will retry
2025-05-08 11:07:30,496 - DEBUG - Response for deleting network ()
2025-05-08 11:07:30,496 - INFO - Deleting VN ctest-vn-47607142
2025-05-08 11:07:30,586 - DEBUG - Response for deleting network ()
2025-05-08 11:07:30,839 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 11:07:30,840 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-05-08 11:07:30,840 - INFO - --------------------------------------------------------------------------------
2025-05-08 11:07:31,488 - INFO - Deleted project: ctest-TestRoutersBasic-65132633, ID : 6dc24b9a-3b4f-49ec-95c6-29be7e375d7c