2025-08-28 14:19:10,919 - INFO - Domain Default found not creating
2025-08-28 14:19:11,065 - INFO - Project ctest-TestRoutersBasic-42534217 not found, creating it
2025-08-28 14:19:11,512 - INFO - Created Project:ctest-TestRoutersBasic-42534217, ID : 68e936f3-fe3b-4089-a8e1-95c242c216e2
2025-08-28 14:19:13,006 - INFO - ================================================================================
2025-08-28 14:19:13,006 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-28 14:19:13,006 - 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-08-28 14:19:13,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-08-28 14:19:13,265 - INFO - Initial checks done. Running the testcase now
2025-08-28 14:19:13,265 - INFO -
2025-08-28 14:19:14,031 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42534217
2025-08-28 14:19:14,124 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42534217
2025-08-28 14:19:14,443 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42534217', 'default']}
2025-08-28 14:19:14,713 - DEBUG - Response for create_network : {'network': {'id': '2e43d4cc-776d-4997-b227-7753e1d8880b', 'name': 'ctest-vn-12656121', 'tenant_id': '68e936f3fe3b4089a8e195c242c216e2', 'project_id': '68e936f3fe3b4089a8e195c242c216e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42534217', 'ctest-vn-12656121'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 14:19:14,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '97a034d9-f90b-49a9-8d53-b7c50689c54a', 'name': '', 'tenant_id': '68e936f3fe3b4089a8e195c242c216e2', 'network_id': '2e43d4cc-776d-4997-b227-7753e1d8880b', 'ip_version': 4, 'cidr': '209.112.240.192/26', 'allocation_pools': [{'start': '209.112.240.194', 'end': '209.112.240.254'}], 'gateway_ip': '209.112.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.112.240.194', 'tags': [], 'project_id': '68e936f3fe3b4089a8e195c242c216e2'}}
2025-08-28 14:19:14,937 - INFO - Created VN ctest-vn-12656121
2025-08-28 14:19:14,988 - DEBUG - VN ctest-vn-12656121 UUID is 2e43d4cc-776d-4997-b227-7753e1d8880b
2025-08-28 14:19:15,304 - DEBUG - Response for create_network : {'network': {'id': '9a8a54ed-5ead-4ce6-98ee-706ca2af7453', 'name': 'ctest-ext_vn-48324465', 'tenant_id': '68e936f3fe3b4089a8e195c242c216e2', 'project_id': '68e936f3fe3b4089a8e195c242c216e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42534217', 'ctest-ext_vn-48324465'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 14:19:15,457 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6f4bf27-71f2-4d7e-bf96-1398e4b7072c', 'name': '', 'tenant_id': '68e936f3fe3b4089a8e195c242c216e2', 'network_id': '9a8a54ed-5ead-4ce6-98ee-706ca2af7453', 'ip_version': 4, 'cidr': '180.206.177.128/26', 'allocation_pools': [{'start': '180.206.177.130', 'end': '180.206.177.190'}], 'gateway_ip': '180.206.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.206.177.130', 'tags': [], 'project_id': '68e936f3fe3b4089a8e195c242c216e2'}}
2025-08-28 14:19:15,473 - INFO - Created VN ctest-ext_vn-48324465
2025-08-28 14:19:15,523 - DEBUG - VN ctest-ext_vn-48324465 UUID is 9a8a54ed-5ead-4ce6-98ee-706ca2af7453
2025-08-28 14:19:15,689 - DEBUG - Services list from nova: [, , ]
2025-08-28 14:19:16,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3959-1)
2025-08-28 14:19:18,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3959-1)
2025-08-28 14:19:18,101 - INFO - Setting gateway for router c8b25a19-95af-43d8-a724-1f9abb646a8f to network 9a8a54ed-5ead-4ce6-98ee-706ca2af7453
2025-08-28 14:19:18,194 - INFO - Adding interface with subnet_id 97a034d9-f90b-49a9-8d53-b7c50689c54a, port_id None to router c8b25a19-95af-43d8-a724-1f9abb646a8f
2025-08-28 14:19:18,517 - INFO - Waiting for VM ctest-TestRoutersBasic-42534217-14544827 to be up..
2025-08-28 14:19:18,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-28 14:19:23,751 - DEBUG - VM is in ACTIVE state now
2025-08-28 14:19:23,751 - INFO - VM name : ctest-TestRoutersBasic-42534217-14544827
2025-08-28 14:19:23,826 - DEBUG - VM ctest-TestRoutersBasic-42534217-14544827 ID is c6df0b83-eb98-4197-b9ee-535c22e717b2
2025-08-28 14:19:23,844 - DEBUG - VM ctest-TestRoutersBasic-42534217-14544827 launched on Node cn-jenkins-deploy-platform-ansible-os-3959-1
2025-08-28 14:19:23,912 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c6df0b83-eb98-4197-b9ee-535c22e717b2
2025-08-28 14:19:24,245 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c6df0b83-eb98-4197-b9ee-535c22e717b2
2025-08-28 14:19:24,276 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f419bdce-f2af-4e81-a365-8900bd8793ab
2025-08-28 14:19:27,539 - 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 1023ms')
2025-08-28 14:19:27,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42534217-14544827 failed!
2025-08-28 14:19:27,592 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42534217:ctest-vn-12656121 is 209.112.240.193 and allocation pool is NOT set
2025-08-28 14:19:29,653 - 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=4.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.583 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.583/2.331/4.079/1.748 ms')
2025-08-28 14:19:29,654 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42534217-14544827 passed
2025-08-28 14:19:29,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 14:19:29,804 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42534217-14544827, IP 209.112.240.195, Port 22
2025-08-28 14:19:29,958 - DEBUG - VM ctest-TestRoutersBasic-42534217-14544827 is ready for SSH connections
2025-08-28 14:19:29,959 - INFO - Waiting for VM ctest-TestRoutersBasic-42534217-40074501 to be up..
2025-08-28 14:19:30,030 - DEBUG - VM is in ACTIVE state now
2025-08-28 14:19:30,030 - INFO - VM name : ctest-TestRoutersBasic-42534217-40074501
2025-08-28 14:19:30,098 - DEBUG - VM ctest-TestRoutersBasic-42534217-40074501 ID is e530a12e-1424-49c1-a81b-1774fab0b782
2025-08-28 14:19:30,098 - DEBUG - VM ctest-TestRoutersBasic-42534217-40074501 launched on Node cn-jenkins-deploy-platform-ansible-os-3959-1
2025-08-28 14:19:30,172 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e530a12e-1424-49c1-a81b-1774fab0b782
2025-08-28 14:19:30,182 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/be5c6e78-5e99-4cb8-8d37-e7294977b092
2025-08-28 14:19:31,434 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.829 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.829/2.413/3.998/1.584 ms')
2025-08-28 14:19:31,434 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42534217-40074501 passed
2025-08-28 14:19:31,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 14:19:31,584 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42534217-40074501, IP 180.206.177.131, Port 22
2025-08-28 14:19:31,739 - DEBUG - VM ctest-TestRoutersBasic-42534217-40074501 is ready for SSH connections
2025-08-28 14:19:31,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 14:19:31,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.206.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-28 14:19:31,739 - DEBUG - ping -s 56 -c 3 -W 1 180.206.177.131
2025-08-28 14:19:35,458 - DEBUG - PING 180.206.177.131 (180.206.177.131): 56 data bytes
64 bytes from 180.206.177.131: seq=0 ttl=62 time=5.491 ms
64 bytes from 180.206.177.131: seq=1 ttl=62 time=0.848 ms
64 bytes from 180.206.177.131: seq=2 ttl=62 time=0.916 ms
--- 180.206.177.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.848/2.418/5.491 ms
2025-08-28 14:19:35,458 - INFO - Ping to IP 180.206.177.131 from VM ctest-TestRoutersBasic-42534217-14544827 passed
2025-08-28 14:19:35,458 - INFO - Deleting interface with subnet_id 97a034d9-f90b-49a9-8d53-b7c50689c54a, port_id None from router c8b25a19-95af-43d8-a724-1f9abb646a8f
2025-08-28 14:19:35,641 - INFO - Deleting VM ctest-TestRoutersBasic-42534217-40074501
2025-08-28 14:19:35,714 - INFO - Deleting VM ctest-TestRoutersBasic-42534217-14544827
2025-08-28 14:19:35,789 - INFO - Deleting VN ctest-ext_vn-48324465
2025-08-28 14:19:35,853 - DEBUG - VN 9a8a54ed-5ead-4ce6-98ee-706ca2af7453 still in use: Unable to complete operation on network 9a8a54ed-5ead-4ce6-98ee-706ca2af7453. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-37837261-77d0-4afc-818f-67ac57a7631c']
2025-08-28 14:19:35,853 - WARNING - Deleting VN ctest-ext_vn-48324465 failed..Will retry
2025-08-28 14:19:37,944 - DEBUG - Response for deleting network ()
2025-08-28 14:19:37,944 - INFO - Deleting VN ctest-vn-12656121
2025-08-28 14:19:38,032 - DEBUG - Response for deleting network ()
2025-08-28 14:19:38,288 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 14:19:38,288 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-28 14:19:38,288 - INFO - --------------------------------------------------------------------------------
2025-08-28 14:19:39,003 - INFO - Deleted project: ctest-TestRoutersBasic-42534217, ID : 68e936f3-fe3b-4089-a8e1-95c242c216e2