2025-07-23 17:19:31,518 - INFO - Domain Default found not creating
2025-07-23 17:19:31,655 - INFO - Project ctest-TestRoutersBasic-82045361 not found, creating it
2025-07-23 17:19:32,116 - INFO - Created Project:ctest-TestRoutersBasic-82045361, ID : 19c8b2ba-6f99-466e-9e79-9ac1143d66d6
2025-07-23 17:19:33,544 - INFO - ================================================================================
2025-07-23 17:19:33,544 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-23 17:19:33,544 - 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-07-23 17:19:33,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with
2025-07-23 17:19:33,803 - INFO - Initial checks done. Running the testcase now
2025-07-23 17:19:33,803 - INFO -
2025-07-23 17:19:34,499 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82045361
2025-07-23 17:19:34,595 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82045361
2025-07-23 17:19:34,918 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82045361', 'default']}
2025-07-23 17:19:35,212 - DEBUG - Response for create_network : {'network': {'id': '2de41460-c74d-464d-a3a8-c9237990ebef', 'name': 'ctest-vn-12965695', 'tenant_id': '19c8b2ba6f99466e9e799ac1143d66d6', 'project_id': '19c8b2ba6f99466e9e799ac1143d66d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82045361', 'ctest-vn-12965695'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 17:19:35,368 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb47dbfc-f2e6-483b-b112-b8d13987e158', 'name': '', 'tenant_id': '19c8b2ba6f99466e9e799ac1143d66d6', 'network_id': '2de41460-c74d-464d-a3a8-c9237990ebef', 'ip_version': 4, 'cidr': '76.157.35.192/26', 'allocation_pools': [{'start': '76.157.35.194', 'end': '76.157.35.254'}], 'gateway_ip': '76.157.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.157.35.194', 'tags': [], 'project_id': '19c8b2ba6f99466e9e799ac1143d66d6'}}
2025-07-23 17:19:35,388 - INFO - Created VN ctest-vn-12965695
2025-07-23 17:19:35,443 - DEBUG - VN ctest-vn-12965695 UUID is 2de41460-c74d-464d-a3a8-c9237990ebef
2025-07-23 17:19:35,798 - DEBUG - Response for create_network : {'network': {'id': '381aac04-06a7-4c37-87f9-37172acecfe6', 'name': 'ctest-ext_vn-11588921', 'tenant_id': '19c8b2ba6f99466e9e799ac1143d66d6', 'project_id': '19c8b2ba6f99466e9e799ac1143d66d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82045361', 'ctest-ext_vn-11588921'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 17:19:36,016 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f912a829-29bc-45b0-8421-ecb5f0fd3e46', 'name': '', 'tenant_id': '19c8b2ba6f99466e9e799ac1143d66d6', 'network_id': '381aac04-06a7-4c37-87f9-37172acecfe6', 'ip_version': 4, 'cidr': '208.226.177.0/26', 'allocation_pools': [{'start': '208.226.177.2', 'end': '208.226.177.62'}], 'gateway_ip': '208.226.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.226.177.2', 'tags': [], 'project_id': '19c8b2ba6f99466e9e799ac1143d66d6'}}
2025-07-23 17:19:36,037 - INFO - Created VN ctest-ext_vn-11588921
2025-07-23 17:19:36,095 - DEBUG - VN ctest-ext_vn-11588921 UUID is 381aac04-06a7-4c37-87f9-37172acecfe6
2025-07-23 17:19:36,276 - DEBUG - Services list from nova: [, , ]
2025-07-23 17:19:37,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1)
2025-07-23 17:19:38,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1)
2025-07-23 17:19:38,505 - INFO - Setting gateway for router 7d9285c6-89ce-4518-9cce-4e07a5227eec to network 381aac04-06a7-4c37-87f9-37172acecfe6
2025-07-23 17:19:38,557 - INFO - Adding interface with subnet_id cb47dbfc-f2e6-483b-b112-b8d13987e158, port_id None to router 7d9285c6-89ce-4518-9cce-4e07a5227eec
2025-07-23 17:19:38,964 - INFO - Waiting for VM ctest-TestRoutersBasic-82045361-08805028 to be up..
2025-07-23 17:19:39,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 17:19:44,211 - DEBUG - VM is in ACTIVE state now
2025-07-23 17:19:44,211 - INFO - VM name : ctest-TestRoutersBasic-82045361-08805028
2025-07-23 17:19:44,294 - DEBUG - VM ctest-TestRoutersBasic-82045361-08805028 ID is 88a6c3ef-9813-4cce-a3ab-02bc62714246
2025-07-23 17:19:44,316 - DEBUG - VM ctest-TestRoutersBasic-82045361-08805028 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1
2025-07-23 17:19:44,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/88a6c3ef-9813-4cce-a3ab-02bc62714246
2025-07-23 17:19:44,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/88a6c3ef-9813-4cce-a3ab-02bc62714246
2025-07-23 17:19:44,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fb610bc4-d013-480d-8081-e6e262d9ead3
2025-07-23 17:19:47,996 - 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 1024ms')
2025-07-23 17:19:47,996 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82045361-08805028 failed!
2025-07-23 17:19:48,051 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82045361:ctest-vn-12965695 is 76.157.35.193 and allocation pool is NOT set
2025-07-23 17:19:50,108 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/1.600/2.666/1.065 ms')
2025-07-23 17:19:50,108 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82045361-08805028 passed
2025-07-23 17:19:50,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:19:50,259 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82045361-08805028, IP 76.157.35.195, Port 22
2025-07-23 17:19:50,414 - DEBUG - VM ctest-TestRoutersBasic-82045361-08805028 is ready for SSH connections
2025-07-23 17:19:50,415 - INFO - Waiting for VM ctest-TestRoutersBasic-82045361-35164842 to be up..
2025-07-23 17:19:50,484 - DEBUG - VM is in ACTIVE state now
2025-07-23 17:19:50,484 - INFO - VM name : ctest-TestRoutersBasic-82045361-35164842
2025-07-23 17:19:50,553 - DEBUG - VM ctest-TestRoutersBasic-82045361-35164842 ID is 14a3d425-4b18-495e-9e97-ba2ec639bc46
2025-07-23 17:19:50,553 - DEBUG - VM ctest-TestRoutersBasic-82045361-35164842 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1
2025-07-23 17:19:50,623 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14a3d425-4b18-495e-9e97-ba2ec639bc46
2025-07-23 17:19:50,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0e564fa8-3802-4310-b6ec-a1cf451d9ee9
2025-07-23 17:19:51,872 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.699/3.001/1.301 ms')
2025-07-23 17:19:51,872 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82045361-35164842 passed
2025-07-23 17:19:52,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:19:52,027 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82045361-35164842, IP 208.226.177.3, Port 22
2025-07-23 17:19:52,182 - DEBUG - VM ctest-TestRoutersBasic-82045361-35164842 is ready for SSH connections
2025-07-23 17:19:52,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 17:19:52,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.226.177.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-23 17:19:52,182 - DEBUG - ping -s 56 -c 3 -W 1 208.226.177.3
2025-07-23 17:19:56,202 - DEBUG - PING 208.226.177.3 (208.226.177.3): 56 data bytes
64 bytes from 208.226.177.3: seq=0 ttl=62 time=7.209 ms
64 bytes from 208.226.177.3: seq=1 ttl=62 time=0.801 ms
64 bytes from 208.226.177.3: seq=2 ttl=62 time=1.238 ms
--- 208.226.177.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.801/3.082/7.209 ms
2025-07-23 17:19:56,202 - INFO - Ping to IP 208.226.177.3 from VM ctest-TestRoutersBasic-82045361-08805028 passed
2025-07-23 17:19:56,202 - INFO - Deleting interface with subnet_id cb47dbfc-f2e6-483b-b112-b8d13987e158, port_id None from router 7d9285c6-89ce-4518-9cce-4e07a5227eec
2025-07-23 17:19:56,374 - INFO - Deleting VM ctest-TestRoutersBasic-82045361-35164842
2025-07-23 17:19:56,438 - INFO - Deleting VM ctest-TestRoutersBasic-82045361-08805028
2025-07-23 17:19:56,518 - INFO - Deleting VN ctest-ext_vn-11588921
2025-07-23 17:19:56,599 - DEBUG - VN 381aac04-06a7-4c37-87f9-37172acecfe6 still in use: Unable to complete operation on network 381aac04-06a7-4c37-87f9-37172acecfe6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-25e69958-126a-4760-ae6e-9dcd6285b122']
2025-07-23 17:19:56,599 - WARNING - Deleting VN ctest-ext_vn-11588921 failed..Will retry
2025-07-23 17:19:58,706 - DEBUG - Response for deleting network ()
2025-07-23 17:19:58,706 - INFO - Deleting VN ctest-vn-12965695
2025-07-23 17:19:58,809 - DEBUG - Response for deleting network ()
2025-07-23 17:19:59,068 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 17:19:59,068 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-23 17:19:59,068 - INFO - --------------------------------------------------------------------------------
2025-07-23 17:19:59,789 - INFO - Deleted project: ctest-TestRoutersBasic-82045361, ID : 19c8b2ba-6f99-466e-9e79-9ac1143d66d6