2025-04-28 09:53:33,321 - INFO - Domain Default found not creating
2025-04-28 09:53:33,462 - INFO - Project ctest-TestRoutersBasic-97221678 not found, creating it
2025-04-28 09:53:33,910 - INFO - Created Project:ctest-TestRoutersBasic-97221678, ID : 37c385c5-d0bd-4400-aa44-44335daa77ff
2025-04-28 09:53:35,459 - INFO - ================================================================================
2025-04-28 09:53:35,460 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-28 09:53:35,460 - 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-28 09:53:35,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-28 09:53:35,722 - INFO - Initial checks done. Running the testcase now
2025-04-28 09:53:35,722 - INFO -
2025-04-28 09:53:36,501 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97221678
2025-04-28 09:53:36,596 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97221678
2025-04-28 09:53:36,920 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97221678', 'default']}
2025-04-28 09:53:37,224 - DEBUG - Response for create_network : {'network': {'id': 'ee6d0328-7c57-4ec7-a8da-e3138efd764d', 'name': 'ctest-vn-79836876', 'tenant_id': '37c385c5d0bd4400aa4444335daa77ff', 'project_id': '37c385c5d0bd4400aa4444335daa77ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97221678', 'ctest-vn-79836876'], 'port_security_enabled': True, 'description': ''}}
2025-04-28 09:53:37,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a524c23-01b2-4739-ab06-847c32e769cd', 'name': '', 'tenant_id': '37c385c5d0bd4400aa4444335daa77ff', 'network_id': 'ee6d0328-7c57-4ec7-a8da-e3138efd764d', 'ip_version': 4, 'cidr': '202.151.254.128/26', 'allocation_pools': [{'start': '202.151.254.130', 'end': '202.151.254.190'}], 'gateway_ip': '202.151.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.151.254.130', 'tags': [], 'project_id': '37c385c5d0bd4400aa4444335daa77ff'}}
2025-04-28 09:53:37,427 - INFO - Created VN ctest-vn-79836876
2025-04-28 09:53:37,480 - DEBUG - VN ctest-vn-79836876 UUID is ee6d0328-7c57-4ec7-a8da-e3138efd764d
2025-04-28 09:53:37,842 - DEBUG - Response for create_network : {'network': {'id': 'aa3e09d4-eba4-453d-8c5f-14303228d46e', 'name': 'ctest-ext_vn-89638109', 'tenant_id': '37c385c5d0bd4400aa4444335daa77ff', 'project_id': '37c385c5d0bd4400aa4444335daa77ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97221678', 'ctest-ext_vn-89638109'], 'port_security_enabled': True, 'description': ''}}
2025-04-28 09:53:38,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b2845ad-083b-469e-a962-561088e5c981', 'name': '', 'tenant_id': '37c385c5d0bd4400aa4444335daa77ff', 'network_id': 'aa3e09d4-eba4-453d-8c5f-14303228d46e', 'ip_version': 4, 'cidr': '11.157.57.192/26', 'allocation_pools': [{'start': '11.157.57.194', 'end': '11.157.57.254'}], 'gateway_ip': '11.157.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.157.57.194', 'tags': [], 'project_id': '37c385c5d0bd4400aa4444335daa77ff'}}
2025-04-28 09:53:38,050 - INFO - Created VN ctest-ext_vn-89638109
2025-04-28 09:53:38,104 - DEBUG - VN ctest-ext_vn-89638109 UUID is aa3e09d4-eba4-453d-8c5f-14303228d46e
2025-04-28 09:53:38,307 - DEBUG - Services list from nova: [, , ]
2025-04-28 09:53:39,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3235-1)
2025-04-28 09:53:40,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3235-1)
2025-04-28 09:53:40,895 - INFO - Setting gateway for router 18753256-88aa-4fd7-8614-14a334cfe80d to network aa3e09d4-eba4-453d-8c5f-14303228d46e
2025-04-28 09:53:41,013 - INFO - Adding interface with subnet_id 1a524c23-01b2-4739-ab06-847c32e769cd, port_id None to router 18753256-88aa-4fd7-8614-14a334cfe80d
2025-04-28 09:53:41,487 - INFO - Waiting for VM ctest-TestRoutersBasic-97221678-21725448 to be up..
2025-04-28 09:53:41,650 - DEBUG - VM is in ACTIVE state now
2025-04-28 09:53:41,650 - INFO - VM name : ctest-TestRoutersBasic-97221678-21725448
2025-04-28 09:53:41,793 - DEBUG - VM ctest-TestRoutersBasic-97221678-21725448 ID is 9f8c4fc6-359c-40b0-8878-c6311f310800
2025-04-28 09:53:41,812 - DEBUG - VM ctest-TestRoutersBasic-97221678-21725448 launched on Node cn-jenkins-deploy-platform-ansible-os-3235-1
2025-04-28 09:53:41,901 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9f8c4fc6-359c-40b0-8878-c6311f310800
2025-04-28 09:53:42,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9f8c4fc6-359c-40b0-8878-c6311f310800
2025-04-28 09:53:42,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/023de799-2e2f-4595-b5a6-fe97f2def242
2025-04-28 09:53:45,558 - 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 1017ms')
2025-04-28 09:53:45,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97221678-21725448 failed!
2025-04-28 09:53:45,620 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97221678:ctest-vn-79836876 is 202.151.254.129 and allocation pool is NOT set
2025-04-28 09:53:49,685 - 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 1010ms')
2025-04-28 09:53:49,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97221678-21725448 failed!
2025-04-28 09:53:49,744 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97221678:ctest-vn-79836876 is 202.151.254.129 and allocation pool is NOT set
2025-04-28 09:53:51,808 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.278/3.206/4.135/0.928 ms')
2025-04-28 09:53:51,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97221678-21725448 passed
2025-04-28 09:53:51,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 09:53:51,968 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97221678-21725448, IP 202.151.254.131, Port 22
2025-04-28 09:53:52,128 - DEBUG - VM ctest-TestRoutersBasic-97221678-21725448 is ready for SSH connections
2025-04-28 09:53:52,128 - INFO - Waiting for VM ctest-TestRoutersBasic-97221678-97595816 to be up..
2025-04-28 09:53:52,217 - DEBUG - VM is in ACTIVE state now
2025-04-28 09:53:52,217 - INFO - VM name : ctest-TestRoutersBasic-97221678-97595816
2025-04-28 09:53:52,298 - DEBUG - VM ctest-TestRoutersBasic-97221678-97595816 ID is 19f9bc07-a45d-4312-b064-dda9ecaaf6a3
2025-04-28 09:53:52,298 - DEBUG - VM ctest-TestRoutersBasic-97221678-97595816 launched on Node cn-jenkins-deploy-platform-ansible-os-3235-1
2025-04-28 09:53:52,373 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/19f9bc07-a45d-4312-b064-dda9ecaaf6a3
2025-04-28 09:53:52,382 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/59be0b2a-d3cf-4751-b126-31f408e84ee8
2025-04-28 09:53:53,626 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.680 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.680/1.884/3.089/1.204 ms')
2025-04-28 09:53:53,626 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97221678-97595816 passed
2025-04-28 09:53:53,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 09:53:53,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97221678-97595816, IP 11.157.57.195, Port 22
2025-04-28 09:53:53,944 - DEBUG - VM ctest-TestRoutersBasic-97221678-97595816 is ready for SSH connections
2025-04-28 09:53:53,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 09:53:53,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.157.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-28 09:53:53,944 - DEBUG - ping -s 56 -c 3 -W 1 11.157.57.195
2025-04-28 09:53:57,655 - DEBUG - PING 11.157.57.195 (11.157.57.195): 56 data bytes
64 bytes from 11.157.57.195: seq=0 ttl=62 time=7.320 ms
64 bytes from 11.157.57.195: seq=1 ttl=62 time=0.963 ms
64 bytes from 11.157.57.195: seq=2 ttl=62 time=0.853 ms
--- 11.157.57.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.853/3.045/7.320 ms
2025-04-28 09:53:57,655 - INFO - Ping to IP 11.157.57.195 from VM ctest-TestRoutersBasic-97221678-21725448 passed
2025-04-28 09:53:57,655 - INFO - Deleting interface with subnet_id 1a524c23-01b2-4739-ab06-847c32e769cd, port_id None from router 18753256-88aa-4fd7-8614-14a334cfe80d
2025-04-28 09:53:57,848 - INFO - Deleting VM ctest-TestRoutersBasic-97221678-97595816
2025-04-28 09:53:57,919 - INFO - Deleting VM ctest-TestRoutersBasic-97221678-21725448
2025-04-28 09:53:57,998 - INFO - Deleting VN ctest-ext_vn-89638109
2025-04-28 09:53:58,075 - DEBUG - VN aa3e09d4-eba4-453d-8c5f-14303228d46e still in use: Unable to complete operation on network aa3e09d4-eba4-453d-8c5f-14303228d46e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e7eeebf4-d31d-4f0f-a41e-9455224fae2f']
2025-04-28 09:53:58,075 - WARNING - Deleting VN ctest-ext_vn-89638109 failed..Will retry
2025-04-28 09:54:00,180 - DEBUG - Response for deleting network ()
2025-04-28 09:54:00,181 - INFO - Deleting VN ctest-vn-79836876
2025-04-28 09:54:00,291 - DEBUG - Response for deleting network ()
2025-04-28 09:54:00,554 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 09:54:00,554 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-28 09:54:00,554 - INFO - --------------------------------------------------------------------------------
2025-04-28 09:54:01,276 - INFO - Deleted project: ctest-TestRoutersBasic-97221678, ID : 37c385c5-d0bd-4400-aa44-44335daa77ff