2025-09-04 17:14:56,353 - INFO - Domain Default found not creating
2025-09-04 17:14:56,486 - INFO - Project ctest-TestRoutersBasic-90694227 not found, creating it
2025-09-04 17:14:56,938 - INFO - Created Project:ctest-TestRoutersBasic-90694227, ID : cb103ff5-10cf-447a-86dc-d5f68484a41c
2025-09-04 17:14:58,375 - INFO - ================================================================================
2025-09-04 17:14:58,375 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-04 17:14:58,375 - 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-09-04 17:14:58,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-09-04 17:14:58,631 - INFO - Initial checks done. Running the testcase now
2025-09-04 17:14:58,631 - INFO -
2025-09-04 17:14:59,333 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90694227
2025-09-04 17:14:59,430 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90694227
2025-09-04 17:14:59,753 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90694227', 'default']}
2025-09-04 17:15:00,042 - DEBUG - Response for create_network : {'network': {'id': 'fb04d280-866e-4be5-8208-3117c4ac8528', 'name': 'ctest-vn-38231850', 'tenant_id': 'cb103ff510cf447a86dcd5f68484a41c', 'project_id': 'cb103ff510cf447a86dcd5f68484a41c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90694227', 'ctest-vn-38231850'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 17:15:00,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '97623fcf-5c20-40fe-a6f3-207589b99df6', 'name': '', 'tenant_id': 'cb103ff510cf447a86dcd5f68484a41c', 'network_id': 'fb04d280-866e-4be5-8208-3117c4ac8528', 'ip_version': 4, 'cidr': '1.11.139.128/26', 'allocation_pools': [{'start': '1.11.139.130', 'end': '1.11.139.190'}], 'gateway_ip': '1.11.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.11.139.130', 'tags': [], 'project_id': 'cb103ff510cf447a86dcd5f68484a41c'}}
2025-09-04 17:15:00,241 - INFO - Created VN ctest-vn-38231850
2025-09-04 17:15:00,294 - DEBUG - VN ctest-vn-38231850 UUID is fb04d280-866e-4be5-8208-3117c4ac8528
2025-09-04 17:15:00,724 - DEBUG - Response for create_network : {'network': {'id': '2e21b641-bd6e-4000-a96b-f254cdd958f0', 'name': 'ctest-ext_vn-14282991', 'tenant_id': 'cb103ff510cf447a86dcd5f68484a41c', 'project_id': 'cb103ff510cf447a86dcd5f68484a41c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90694227', 'ctest-ext_vn-14282991'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 17:15:00,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ad8f433-1692-4132-9e70-0d68ab24bac5', 'name': '', 'tenant_id': 'cb103ff510cf447a86dcd5f68484a41c', 'network_id': '2e21b641-bd6e-4000-a96b-f254cdd958f0', 'ip_version': 4, 'cidr': '39.129.7.64/26', 'allocation_pools': [{'start': '39.129.7.66', 'end': '39.129.7.126'}], 'gateway_ip': '39.129.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.129.7.66', 'tags': [], 'project_id': 'cb103ff510cf447a86dcd5f68484a41c'}}
2025-09-04 17:15:00,934 - INFO - Created VN ctest-ext_vn-14282991
2025-09-04 17:15:00,986 - DEBUG - VN ctest-ext_vn-14282991 UUID is 2e21b641-bd6e-4000-a96b-f254cdd958f0
2025-09-04 17:15:01,172 - DEBUG - Services list from nova: [, , ]
2025-09-04 17:15:02,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1)
2025-09-04 17:15:03,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4018-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4018-1)
2025-09-04 17:15:03,375 - INFO - Setting gateway for router a0b352b1-108f-4dc5-8f0f-ca1d1cc06509 to network 2e21b641-bd6e-4000-a96b-f254cdd958f0
2025-09-04 17:15:03,450 - INFO - Adding interface with subnet_id 97623fcf-5c20-40fe-a6f3-207589b99df6, port_id None to router a0b352b1-108f-4dc5-8f0f-ca1d1cc06509
2025-09-04 17:15:03,790 - INFO - Waiting for VM ctest-TestRoutersBasic-90694227-24227583 to be up..
2025-09-04 17:15:03,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 17:15:09,042 - DEBUG - VM is in ACTIVE state now
2025-09-04 17:15:09,042 - INFO - VM name : ctest-TestRoutersBasic-90694227-24227583
2025-09-04 17:15:09,117 - DEBUG - VM ctest-TestRoutersBasic-90694227-24227583 ID is 1a6d5c11-df23-491d-a7b7-92afe45596ae
2025-09-04 17:15:09,141 - DEBUG - VM ctest-TestRoutersBasic-90694227-24227583 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1
2025-09-04 17:15:09,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1a6d5c11-df23-491d-a7b7-92afe45596ae
2025-09-04 17:15:09,519 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1a6d5c11-df23-491d-a7b7-92afe45596ae
2025-09-04 17:15:09,550 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3f1e1df6-6ba0-4cda-96c2-65f94f2bd765
2025-09-04 17:15:12,799 - 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 1007ms')
2025-09-04 17:15:12,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90694227-24227583 failed!
2025-09-04 17:15:12,858 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90694227:ctest-vn-38231850 is 1.11.139.129 and allocation pool is NOT set
2025-09-04 17:15:14,916 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 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 = 2.435/3.087/3.739/0.652 ms')
2025-09-04 17:15:14,917 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90694227-24227583 passed
2025-09-04 17:15:15,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 17:15:15,066 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90694227-24227583, IP 1.11.139.131, Port 22
2025-09-04 17:15:15,221 - DEBUG - VM ctest-TestRoutersBasic-90694227-24227583 is ready for SSH connections
2025-09-04 17:15:15,221 - INFO - Waiting for VM ctest-TestRoutersBasic-90694227-54308976 to be up..
2025-09-04 17:15:15,295 - DEBUG - VM is in ACTIVE state now
2025-09-04 17:15:15,295 - INFO - VM name : ctest-TestRoutersBasic-90694227-54308976
2025-09-04 17:15:15,365 - DEBUG - VM ctest-TestRoutersBasic-90694227-54308976 ID is d999bbe3-d19a-4c09-9983-10d903633233
2025-09-04 17:15:15,366 - DEBUG - VM ctest-TestRoutersBasic-90694227-54308976 launched on Node cn-jenkins-deploy-platform-ansible-os-4018-1
2025-09-04 17:15:15,432 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d999bbe3-d19a-4c09-9983-10d903633233
2025-09-04 17:15:15,441 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4ce1950a-3e0b-4533-bf5f-95ea8d21f20e
2025-09-04 17:15:16,676 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.945 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.945/2.327/3.710/1.382 ms')
2025-09-04 17:15:16,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90694227-54308976 passed
2025-09-04 17:15:16,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 17:15:16,826 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90694227-54308976, IP 39.129.7.67, Port 22
2025-09-04 17:15:16,981 - DEBUG - VM ctest-TestRoutersBasic-90694227-54308976 is ready for SSH connections
2025-09-04 17:15:16,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 17:15:16,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.129.7.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-09-04 17:15:16,982 - DEBUG - ping -s 56 -c 3 -W 1 39.129.7.67
2025-09-04 17:15:20,708 - DEBUG - PING 39.129.7.67 (39.129.7.67): 56 data bytes
64 bytes from 39.129.7.67: seq=0 ttl=62 time=5.280 ms
64 bytes from 39.129.7.67: seq=1 ttl=62 time=0.872 ms
64 bytes from 39.129.7.67: seq=2 ttl=62 time=0.790 ms
--- 39.129.7.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.790/2.314/5.280 ms
2025-09-04 17:15:20,708 - INFO - Ping to IP 39.129.7.67 from VM ctest-TestRoutersBasic-90694227-24227583 passed
2025-09-04 17:15:20,708 - INFO - Deleting interface with subnet_id 97623fcf-5c20-40fe-a6f3-207589b99df6, port_id None from router a0b352b1-108f-4dc5-8f0f-ca1d1cc06509
2025-09-04 17:15:20,936 - INFO - Deleting VM ctest-TestRoutersBasic-90694227-54308976
2025-09-04 17:15:21,018 - INFO - Deleting VM ctest-TestRoutersBasic-90694227-24227583
2025-09-04 17:15:21,110 - INFO - Deleting VN ctest-ext_vn-14282991
2025-09-04 17:15:21,195 - DEBUG - VN 2e21b641-bd6e-4000-a96b-f254cdd958f0 still in use: Unable to complete operation on network 2e21b641-bd6e-4000-a96b-f254cdd958f0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fd69ebce-efb7-4170-9d1b-55bc77090556']
2025-09-04 17:15:21,195 - WARNING - Deleting VN ctest-ext_vn-14282991 failed..Will retry
2025-09-04 17:15:23,287 - DEBUG - Response for deleting network ()
2025-09-04 17:15:23,287 - INFO - Deleting VN ctest-vn-38231850
2025-09-04 17:15:23,380 - DEBUG - Response for deleting network ()
2025-09-04 17:15:23,637 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 17:15:23,637 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-04 17:15:23,638 - INFO - --------------------------------------------------------------------------------
2025-09-04 17:15:24,302 - INFO - Deleted project: ctest-TestRoutersBasic-90694227, ID : cb103ff5-10cf-447a-86dc-d5f68484a41c