2025-08-18 02:09:42,224 - INFO - Domain Default found not creating
2025-08-18 02:09:42,350 - INFO - Project ctest-TestRoutersBasic-24555701 not found, creating it
2025-08-18 02:09:42,791 - INFO - Created Project:ctest-TestRoutersBasic-24555701, ID : 22512c6b-66b6-4d44-a06e-32a3b6bb1f35
2025-08-18 02:09:44,218 - INFO - ================================================================================
2025-08-18 02:09:44,218 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-18 02:09:44,218 - 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-18 02:09:44,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-18 02:09:44,478 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:09:44,478 - INFO -
2025-08-18 02:09:45,163 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24555701
2025-08-18 02:09:45,257 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24555701
2025-08-18 02:09:45,577 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24555701', 'default']}
2025-08-18 02:09:45,864 - DEBUG - Response for create_network : {'network': {'id': 'e2599338-3233-4a3c-bdbf-5c20ad41c2af', 'name': 'ctest-vn-70900388', 'tenant_id': '22512c6b66b64d44a06e32a3b6bb1f35', 'project_id': '22512c6b66b64d44a06e32a3b6bb1f35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24555701', 'ctest-vn-70900388'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:09:46,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '81a49273-18dc-4ba0-ad72-7c7b8cc2fed8', 'name': '', 'tenant_id': '22512c6b66b64d44a06e32a3b6bb1f35', 'network_id': 'e2599338-3233-4a3c-bdbf-5c20ad41c2af', 'ip_version': 4, 'cidr': '35.243.35.128/26', 'allocation_pools': [{'start': '35.243.35.130', 'end': '35.243.35.190'}], 'gateway_ip': '35.243.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.243.35.130', 'tags': [], 'project_id': '22512c6b66b64d44a06e32a3b6bb1f35'}}
2025-08-18 02:09:46,053 - INFO - Created VN ctest-vn-70900388
2025-08-18 02:09:46,105 - DEBUG - VN ctest-vn-70900388 UUID is e2599338-3233-4a3c-bdbf-5c20ad41c2af
2025-08-18 02:09:46,444 - DEBUG - Response for create_network : {'network': {'id': '88164bec-c7d9-4e11-a37d-03d21385d105', 'name': 'ctest-ext_vn-44928777', 'tenant_id': '22512c6b66b64d44a06e32a3b6bb1f35', 'project_id': '22512c6b66b64d44a06e32a3b6bb1f35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24555701', 'ctest-ext_vn-44928777'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:09:46,634 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e0be39-8f67-4a17-8a27-cc1c82959e00', 'name': '', 'tenant_id': '22512c6b66b64d44a06e32a3b6bb1f35', 'network_id': '88164bec-c7d9-4e11-a37d-03d21385d105', 'ip_version': 4, 'cidr': '150.125.78.192/26', 'allocation_pools': [{'start': '150.125.78.194', 'end': '150.125.78.254'}], 'gateway_ip': '150.125.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.125.78.194', 'tags': [], 'project_id': '22512c6b66b64d44a06e32a3b6bb1f35'}}
2025-08-18 02:09:46,649 - INFO - Created VN ctest-ext_vn-44928777
2025-08-18 02:09:46,705 - DEBUG - VN ctest-ext_vn-44928777 UUID is 88164bec-c7d9-4e11-a37d-03d21385d105
2025-08-18 02:09:46,903 - DEBUG - Services list from nova: [, , ]
2025-08-18 02:09:47,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1)
2025-08-18 02:09:49,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1)
2025-08-18 02:09:49,113 - INFO - Setting gateway for router ab75981a-a5a8-44b9-92cb-7c5d8eb8b618 to network 88164bec-c7d9-4e11-a37d-03d21385d105
2025-08-18 02:09:49,182 - INFO - Adding interface with subnet_id 81a49273-18dc-4ba0-ad72-7c7b8cc2fed8, port_id None to router ab75981a-a5a8-44b9-92cb-7c5d8eb8b618
2025-08-18 02:09:49,635 - INFO - Waiting for VM ctest-TestRoutersBasic-24555701-42249908 to be up..
2025-08-18 02:09:49,768 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:09:49,768 - INFO - VM name : ctest-TestRoutersBasic-24555701-42249908
2025-08-18 02:09:49,877 - DEBUG - VM ctest-TestRoutersBasic-24555701-42249908 ID is 3bd9913e-cf52-48f4-9ea6-ea4251c60b12
2025-08-18 02:09:49,899 - DEBUG - VM ctest-TestRoutersBasic-24555701-42249908 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1
2025-08-18 02:09:49,993 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3bd9913e-cf52-48f4-9ea6-ea4251c60b12
2025-08-18 02:09:50,306 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3bd9913e-cf52-48f4-9ea6-ea4251c60b12
2025-08-18 02:09:50,361 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/59906e9c-67da-481f-afbb-e74d6a15ad77
2025-08-18 02:09:53,638 - 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 1021ms')
2025-08-18 02:09:53,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24555701-42249908 failed!
2025-08-18 02:09:53,693 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24555701:ctest-vn-70900388 is 35.243.35.129 and allocation pool is NOT set
2025-08-18 02:09:57,776 - 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-08-18 02:09:57,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24555701-42249908 failed!
2025-08-18 02:09:57,829 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24555701:ctest-vn-70900388 is 35.243.35.129 and allocation pool is NOT set
2025-08-18 02:09:59,888 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.393/1.450/2.508/1.057 ms')
2025-08-18 02:09:59,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24555701-42249908 passed
2025-08-18 02:10:00,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:10:00,037 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24555701-42249908, IP 35.243.35.131, Port 22
2025-08-18 02:10:00,192 - DEBUG - VM ctest-TestRoutersBasic-24555701-42249908 is ready for SSH connections
2025-08-18 02:10:00,193 - INFO - Waiting for VM ctest-TestRoutersBasic-24555701-94952559 to be up..
2025-08-18 02:10:00,266 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:10:00,266 - INFO - VM name : ctest-TestRoutersBasic-24555701-94952559
2025-08-18 02:10:00,338 - DEBUG - VM ctest-TestRoutersBasic-24555701-94952559 ID is ae81c590-95ac-4d56-b292-fc35429df877
2025-08-18 02:10:00,338 - DEBUG - VM ctest-TestRoutersBasic-24555701-94952559 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1
2025-08-18 02:10:00,409 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ae81c590-95ac-4d56-b292-fc35429df877
2025-08-18 02:10:00,417 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0660b673-10f5-4266-afe8-33060be6f4df
2025-08-18 02:10:01,649 - 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=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.513/2.646/1.133 ms')
2025-08-18 02:10:01,649 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24555701-94952559 passed
2025-08-18 02:10:01,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:10:01,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24555701-94952559, IP 150.125.78.195, Port 22
2025-08-18 02:10:01,957 - DEBUG - VM ctest-TestRoutersBasic-24555701-94952559 is ready for SSH connections
2025-08-18 02:10:01,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:10:01,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.125.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-18 02:10:01,957 - DEBUG - ping -s 56 -c 3 -W 1 150.125.78.195
2025-08-18 02:10:05,589 - DEBUG - PING 150.125.78.195 (150.125.78.195): 56 data bytes
64 bytes from 150.125.78.195: seq=0 ttl=62 time=4.961 ms
64 bytes from 150.125.78.195: seq=1 ttl=62 time=0.729 ms
64 bytes from 150.125.78.195: seq=2 ttl=62 time=0.946 ms
--- 150.125.78.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.729/2.212/4.961 ms
2025-08-18 02:10:05,589 - INFO - Ping to IP 150.125.78.195 from VM ctest-TestRoutersBasic-24555701-42249908 passed
2025-08-18 02:10:05,589 - INFO - Deleting interface with subnet_id 81a49273-18dc-4ba0-ad72-7c7b8cc2fed8, port_id None from router ab75981a-a5a8-44b9-92cb-7c5d8eb8b618
2025-08-18 02:10:05,779 - INFO - Deleting VM ctest-TestRoutersBasic-24555701-94952559
2025-08-18 02:10:05,835 - INFO - Deleting VM ctest-TestRoutersBasic-24555701-42249908
2025-08-18 02:10:05,900 - INFO - Deleting VN ctest-ext_vn-44928777
2025-08-18 02:10:05,958 - DEBUG - VN 88164bec-c7d9-4e11-a37d-03d21385d105 still in use: Unable to complete operation on network 88164bec-c7d9-4e11-a37d-03d21385d105. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-82ecc876-af3c-427d-8623-f22c2049f98e']
2025-08-18 02:10:05,958 - WARNING - Deleting VN ctest-ext_vn-44928777 failed..Will retry
2025-08-18 02:10:08,097 - DEBUG - Response for deleting network ()
2025-08-18 02:10:08,097 - INFO - Deleting VN ctest-vn-70900388
2025-08-18 02:10:08,195 - DEBUG - Response for deleting network ()
2025-08-18 02:10:08,450 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:10:08,450 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-18 02:10:08,450 - INFO - --------------------------------------------------------------------------------
2025-08-18 02:10:09,101 - INFO - Deleted project: ctest-TestRoutersBasic-24555701, ID : 22512c6b-66b6-4d44-a06e-32a3b6bb1f35