2025-08-12 16:48:36,808 - INFO - Domain Default found not creating
2025-08-12 16:48:36,921 - INFO - Project ctest-TestRoutersBasic-06434116 not found, creating it
2025-08-12 16:48:37,342 - INFO - Created Project:ctest-TestRoutersBasic-06434116, ID : c71e6c1a-38c0-422a-9048-259f56bd2bdb
2025-08-12 16:48:38,653 - INFO - ================================================================================
2025-08-12 16:48:38,653 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-12 16:48:38,654 - 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-12 16:48:38,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-12 16:48:38,917 - INFO - Initial checks done. Running the testcase now
2025-08-12 16:48:38,917 - INFO -
2025-08-12 16:48:39,588 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06434116
2025-08-12 16:48:39,684 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06434116
2025-08-12 16:48:40,004 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06434116', 'default']}
2025-08-12 16:48:40,279 - DEBUG - Response for create_network : {'network': {'id': '797755a7-5ffd-4170-a100-265f97615103', 'name': 'ctest-vn-07755732', 'tenant_id': 'c71e6c1a38c0422a9048259f56bd2bdb', 'project_id': 'c71e6c1a38c0422a9048259f56bd2bdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06434116', 'ctest-vn-07755732'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 16:48:40,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cfa114b-2570-4201-9d2a-4a3f88178fbd', 'name': '', 'tenant_id': 'c71e6c1a38c0422a9048259f56bd2bdb', 'network_id': '797755a7-5ffd-4170-a100-265f97615103', 'ip_version': 4, 'cidr': '168.171.175.0/26', 'allocation_pools': [{'start': '168.171.175.2', 'end': '168.171.175.62'}], 'gateway_ip': '168.171.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.171.175.2', 'tags': [], 'project_id': 'c71e6c1a38c0422a9048259f56bd2bdb'}}
2025-08-12 16:48:40,440 - INFO - Created VN ctest-vn-07755732
2025-08-12 16:48:40,492 - DEBUG - VN ctest-vn-07755732 UUID is 797755a7-5ffd-4170-a100-265f97615103
2025-08-12 16:48:40,816 - DEBUG - Response for create_network : {'network': {'id': '6c155609-42e3-4af7-b4d5-4949c84d2713', 'name': 'ctest-ext_vn-95811183', 'tenant_id': 'c71e6c1a38c0422a9048259f56bd2bdb', 'project_id': 'c71e6c1a38c0422a9048259f56bd2bdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06434116', 'ctest-ext_vn-95811183'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 16:48:40,993 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b207dc21-c2c7-4d7d-821e-e64941b5fa10', 'name': '', 'tenant_id': 'c71e6c1a38c0422a9048259f56bd2bdb', 'network_id': '6c155609-42e3-4af7-b4d5-4949c84d2713', 'ip_version': 4, 'cidr': '46.245.31.128/26', 'allocation_pools': [{'start': '46.245.31.130', 'end': '46.245.31.190'}], 'gateway_ip': '46.245.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.245.31.130', 'tags': [], 'project_id': 'c71e6c1a38c0422a9048259f56bd2bdb'}}
2025-08-12 16:48:41,008 - INFO - Created VN ctest-ext_vn-95811183
2025-08-12 16:48:41,060 - DEBUG - VN ctest-ext_vn-95811183 UUID is 6c155609-42e3-4af7-b4d5-4949c84d2713
2025-08-12 16:48:41,242 - DEBUG - Services list from nova: [, , ]
2025-08-12 16:48:42,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3835-1)
2025-08-12 16:48:43,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3835-1)
2025-08-12 16:48:43,280 - INFO - Setting gateway for router 4c1ecd28-67a2-47d2-8217-b69bd7149353 to network 6c155609-42e3-4af7-b4d5-4949c84d2713
2025-08-12 16:48:43,345 - INFO - Adding interface with subnet_id 6cfa114b-2570-4201-9d2a-4a3f88178fbd, port_id None to router 4c1ecd28-67a2-47d2-8217-b69bd7149353
2025-08-12 16:48:43,799 - INFO - Waiting for VM ctest-TestRoutersBasic-06434116-10504583 to be up..
2025-08-12 16:48:43,939 - DEBUG - VM is in ACTIVE state now
2025-08-12 16:48:43,939 - INFO - VM name : ctest-TestRoutersBasic-06434116-10504583
2025-08-12 16:48:44,031 - DEBUG - VM ctest-TestRoutersBasic-06434116-10504583 ID is 4aabba47-66b2-44e0-8d1d-0dc21d73e98a
2025-08-12 16:48:44,049 - DEBUG - VM ctest-TestRoutersBasic-06434116-10504583 launched on Node cn-jenkins-deploy-platform-ansible-os-3835-1
2025-08-12 16:48:44,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4aabba47-66b2-44e0-8d1d-0dc21d73e98a
2025-08-12 16:48:44,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4aabba47-66b2-44e0-8d1d-0dc21d73e98a
2025-08-12 16:48:44,468 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d639d47-0840-47a7-a198-52f32d5eb327
2025-08-12 16:48:47,753 - 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 1027ms')
2025-08-12 16:48:47,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06434116-10504583 failed!
2025-08-12 16:48:47,808 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06434116:ctest-vn-07755732 is 168.171.175.1 and allocation pool is NOT set
2025-08-12 16:48:51,881 - 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 1020ms')
2025-08-12 16:48:51,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06434116-10504583 failed!
2025-08-12 16:48:51,940 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06434116:ctest-vn-07755732 is 168.171.175.1 and allocation pool is NOT set
2025-08-12 16:48:53,999 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.878/3.367/1.488 ms')
2025-08-12 16:48:53,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06434116-10504583 passed
2025-08-12 16:48:54,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 16:48:54,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06434116-10504583, IP 168.171.175.3, Port 22
2025-08-12 16:48:54,319 - DEBUG - VM ctest-TestRoutersBasic-06434116-10504583 is ready for SSH connections
2025-08-12 16:48:54,320 - INFO - Waiting for VM ctest-TestRoutersBasic-06434116-45860476 to be up..
2025-08-12 16:48:54,391 - DEBUG - VM is in ACTIVE state now
2025-08-12 16:48:54,391 - INFO - VM name : ctest-TestRoutersBasic-06434116-45860476
2025-08-12 16:48:54,461 - DEBUG - VM ctest-TestRoutersBasic-06434116-45860476 ID is 99ddaec7-bc49-4f27-b805-55ceb5315754
2025-08-12 16:48:54,462 - DEBUG - VM ctest-TestRoutersBasic-06434116-45860476 launched on Node cn-jenkins-deploy-platform-ansible-os-3835-1
2025-08-12 16:48:54,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/99ddaec7-bc49-4f27-b805-55ceb5315754
2025-08-12 16:48:54,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/553d4343-6012-463b-a4e1-3ab150cb18aa
2025-08-12 16:48:55,778 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.17 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 = 2.170/3.140/4.110/0.970 ms')
2025-08-12 16:48:55,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06434116-45860476 passed
2025-08-12 16:48:55,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 16:48:55,932 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06434116-45860476, IP 46.245.31.131, Port 22
2025-08-12 16:48:56,095 - DEBUG - VM ctest-TestRoutersBasic-06434116-45860476 is ready for SSH connections
2025-08-12 16:48:56,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 16:48:56,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.245.31.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-12 16:48:56,095 - DEBUG - ping -s 56 -c 3 -W 1 46.245.31.131
2025-08-12 16:49:00,030 - DEBUG - PING 46.245.31.131 (46.245.31.131): 56 data bytes
64 bytes from 46.245.31.131: seq=0 ttl=62 time=4.999 ms
64 bytes from 46.245.31.131: seq=1 ttl=62 time=0.834 ms
64 bytes from 46.245.31.131: seq=2 ttl=62 time=0.868 ms
--- 46.245.31.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.834/2.233/4.999 ms
2025-08-12 16:49:00,030 - INFO - Ping to IP 46.245.31.131 from VM ctest-TestRoutersBasic-06434116-10504583 passed
2025-08-12 16:49:00,031 - INFO - Deleting interface with subnet_id 6cfa114b-2570-4201-9d2a-4a3f88178fbd, port_id None from router 4c1ecd28-67a2-47d2-8217-b69bd7149353
2025-08-12 16:49:00,236 - INFO - Deleting VM ctest-TestRoutersBasic-06434116-45860476
2025-08-12 16:49:00,300 - INFO - Deleting VM ctest-TestRoutersBasic-06434116-10504583
2025-08-12 16:49:00,374 - INFO - Deleting VN ctest-ext_vn-95811183
2025-08-12 16:49:00,455 - DEBUG - VN 6c155609-42e3-4af7-b4d5-4949c84d2713 still in use: Unable to complete operation on network 6c155609-42e3-4af7-b4d5-4949c84d2713. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-001f186c-f406-4385-9a7d-3c4468f6d0dd']
2025-08-12 16:49:00,455 - WARNING - Deleting VN ctest-ext_vn-95811183 failed..Will retry
2025-08-12 16:49:02,551 - DEBUG - Response for deleting network ()
2025-08-12 16:49:02,551 - INFO - Deleting VN ctest-vn-07755732
2025-08-12 16:49:02,637 - DEBUG - Response for deleting network ()
2025-08-12 16:49:02,900 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 16:49:02,900 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-12 16:49:02,901 - INFO - --------------------------------------------------------------------------------
2025-08-12 16:49:03,549 - INFO - Deleted project: ctest-TestRoutersBasic-06434116, ID : c71e6c1a-38c0-422a-9048-259f56bd2bdb