2025-08-26 00:07:38,508 - INFO - Domain Default found not creating
2025-08-26 00:07:38,654 - INFO - Project ctest-TestRoutersBasic-55004189 not found, creating it
2025-08-26 00:07:39,125 - INFO - Created Project:ctest-TestRoutersBasic-55004189, ID : a96f2011-12e9-46ca-9bd9-7be11160ab62
2025-08-26 00:07:40,514 - INFO - ================================================================================
2025-08-26 00:07:40,515 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-26 00:07:40,515 - 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-26 00:07:40,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with
2025-08-26 00:07:40,780 - INFO - Initial checks done. Running the testcase now
2025-08-26 00:07:40,780 - INFO -
2025-08-26 00:07:41,471 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55004189
2025-08-26 00:07:41,565 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55004189
2025-08-26 00:07:41,897 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55004189', 'default']}
2025-08-26 00:07:42,235 - DEBUG - Response for create_network : {'network': {'id': '9ba5324b-272a-4a77-a744-0f235c0ee9ff', 'name': 'ctest-vn-45075706', 'tenant_id': 'a96f201112e946ca9bd97be11160ab62', 'project_id': 'a96f201112e946ca9bd97be11160ab62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55004189', 'ctest-vn-45075706'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 00:07:42,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db2dba4c-f119-44ae-b25f-de080f5b3db5', 'name': '', 'tenant_id': 'a96f201112e946ca9bd97be11160ab62', 'network_id': '9ba5324b-272a-4a77-a744-0f235c0ee9ff', 'ip_version': 4, 'cidr': '42.117.158.192/26', 'allocation_pools': [{'start': '42.117.158.194', 'end': '42.117.158.254'}], 'gateway_ip': '42.117.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.117.158.194', 'tags': [], 'project_id': 'a96f201112e946ca9bd97be11160ab62'}}
2025-08-26 00:07:42,447 - INFO - Created VN ctest-vn-45075706
2025-08-26 00:07:42,505 - DEBUG - VN ctest-vn-45075706 UUID is 9ba5324b-272a-4a77-a744-0f235c0ee9ff
2025-08-26 00:07:42,886 - DEBUG - Response for create_network : {'network': {'id': 'fd42c894-8b68-4280-9943-512afe824a58', 'name': 'ctest-ext_vn-72053016', 'tenant_id': 'a96f201112e946ca9bd97be11160ab62', 'project_id': 'a96f201112e946ca9bd97be11160ab62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55004189', 'ctest-ext_vn-72053016'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 00:07:43,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0621802-bf7b-4737-a271-9befd5452c01', 'name': '', 'tenant_id': 'a96f201112e946ca9bd97be11160ab62', 'network_id': 'fd42c894-8b68-4280-9943-512afe824a58', 'ip_version': 4, 'cidr': '62.164.108.192/26', 'allocation_pools': [{'start': '62.164.108.194', 'end': '62.164.108.254'}], 'gateway_ip': '62.164.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.164.108.194', 'tags': [], 'project_id': 'a96f201112e946ca9bd97be11160ab62'}}
2025-08-26 00:07:43,094 - INFO - Created VN ctest-ext_vn-72053016
2025-08-26 00:07:43,145 - DEBUG - VN ctest-ext_vn-72053016 UUID is fd42c894-8b68-4280-9943-512afe824a58
2025-08-26 00:07:43,338 - DEBUG - Services list from nova: [, , ]
2025-08-26 00:07:44,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1)
2025-08-26 00:07:45,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1)
2025-08-26 00:07:45,640 - INFO - Setting gateway for router 962dd5dc-619d-4152-8ff0-9507ce1d1b2f to network fd42c894-8b68-4280-9943-512afe824a58
2025-08-26 00:07:45,701 - INFO - Adding interface with subnet_id db2dba4c-f119-44ae-b25f-de080f5b3db5, port_id None to router 962dd5dc-619d-4152-8ff0-9507ce1d1b2f
2025-08-26 00:07:46,088 - INFO - Waiting for VM ctest-TestRoutersBasic-55004189-77872723 to be up..
2025-08-26 00:07:46,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 00:07:51,320 - DEBUG - VM is in ACTIVE state now
2025-08-26 00:07:51,320 - INFO - VM name : ctest-TestRoutersBasic-55004189-77872723
2025-08-26 00:07:51,399 - DEBUG - VM ctest-TestRoutersBasic-55004189-77872723 ID is c17f27a1-aacc-447c-8750-538c5e8ac277
2025-08-26 00:07:51,419 - DEBUG - VM ctest-TestRoutersBasic-55004189-77872723 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1
2025-08-26 00:07:51,491 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c17f27a1-aacc-447c-8750-538c5e8ac277
2025-08-26 00:07:51,789 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c17f27a1-aacc-447c-8750-538c5e8ac277
2025-08-26 00:07:51,819 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/211019b1-79af-4066-a9f7-618f147a28a0
2025-08-26 00:07:55,087 - 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 1022ms')
2025-08-26 00:07:55,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55004189-77872723 failed!
2025-08-26 00:07:55,149 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55004189:ctest-vn-45075706 is 42.117.158.193 and allocation pool is NOT set
2025-08-26 00:07:57,213 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/1.708/3.013/1.305 ms')
2025-08-26 00:07:57,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55004189-77872723 passed
2025-08-26 00:07:57,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:57,369 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55004189-77872723, IP 42.117.158.195, Port 22
2025-08-26 00:07:57,534 - DEBUG - VM ctest-TestRoutersBasic-55004189-77872723 is ready for SSH connections
2025-08-26 00:07:57,534 - INFO - Waiting for VM ctest-TestRoutersBasic-55004189-99068565 to be up..
2025-08-26 00:07:57,619 - DEBUG - VM is in ACTIVE state now
2025-08-26 00:07:57,619 - INFO - VM name : ctest-TestRoutersBasic-55004189-99068565
2025-08-26 00:07:57,694 - DEBUG - VM ctest-TestRoutersBasic-55004189-99068565 ID is 2207124d-c498-4abc-938f-0c18ec152494
2025-08-26 00:07:57,694 - DEBUG - VM ctest-TestRoutersBasic-55004189-99068565 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1
2025-08-26 00:07:57,770 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2207124d-c498-4abc-938f-0c18ec152494
2025-08-26 00:07:57,779 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/88647baa-3355-44b5-b967-404a3d080bec
2025-08-26 00:07:59,031 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/2.152/3.868/1.715 ms')
2025-08-26 00:07:59,031 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55004189-99068565 passed
2025-08-26 00:07:59,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:59,181 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55004189-99068565, IP 62.164.108.195, Port 22
2025-08-26 00:07:59,337 - DEBUG - VM ctest-TestRoutersBasic-55004189-99068565 is ready for SSH connections
2025-08-26 00:07:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 00:07:59,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.164.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-08-26 00:07:59,337 - DEBUG - ping -s 56 -c 3 -W 1 62.164.108.195
2025-08-26 00:08:03,002 - DEBUG - PING 62.164.108.195 (62.164.108.195): 56 data bytes
64 bytes from 62.164.108.195: seq=0 ttl=62 time=3.974 ms
64 bytes from 62.164.108.195: seq=1 ttl=62 time=0.778 ms
64 bytes from 62.164.108.195: seq=2 ttl=62 time=1.045 ms
--- 62.164.108.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.778/1.932/3.974 ms
2025-08-26 00:08:03,003 - INFO - Ping to IP 62.164.108.195 from VM ctest-TestRoutersBasic-55004189-77872723 passed
2025-08-26 00:08:03,003 - INFO - Deleting interface with subnet_id db2dba4c-f119-44ae-b25f-de080f5b3db5, port_id None from router 962dd5dc-619d-4152-8ff0-9507ce1d1b2f
2025-08-26 00:08:03,236 - INFO - Deleting VM ctest-TestRoutersBasic-55004189-99068565
2025-08-26 00:08:03,323 - INFO - Deleting VM ctest-TestRoutersBasic-55004189-77872723
2025-08-26 00:08:03,406 - INFO - Deleting VN ctest-ext_vn-72053016
2025-08-26 00:08:03,488 - DEBUG - VN fd42c894-8b68-4280-9943-512afe824a58 still in use: Unable to complete operation on network fd42c894-8b68-4280-9943-512afe824a58. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b7eed06e-c29b-4f19-bfc0-150eea0a8b9f']
2025-08-26 00:08:03,488 - WARNING - Deleting VN ctest-ext_vn-72053016 failed..Will retry
2025-08-26 00:08:05,607 - DEBUG - Response for deleting network ()
2025-08-26 00:08:05,608 - INFO - Deleting VN ctest-vn-45075706
2025-08-26 00:08:05,734 - DEBUG - Response for deleting network ()
2025-08-26 00:08:05,999 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 00:08:05,999 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-26 00:08:05,999 - INFO - --------------------------------------------------------------------------------
2025-08-26 00:08:06,724 - INFO - Deleted project: ctest-TestRoutersBasic-55004189, ID : a96f2011-12e9-46ca-9bd9-7be11160ab62