2025-11-05 17:32:11,551 - INFO - Domain Default found not creating
2025-11-05 17:32:11,782 - INFO - Project ctest-TestRoutersBasic-19849211 not found, creating it
2025-11-05 17:32:12,282 - INFO - Created Project:ctest-TestRoutersBasic-19849211, ID : 27979585-86de-42af-a029-a903da3c265b
2025-11-05 17:32:13,943 - INFO - ================================================================================
2025-11-05 17:32:13,943 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-05 17:32:13,943 - 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-11-05 17:32:14,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with
2025-11-05 17:32:14,231 - INFO - Initial checks done. Running the testcase now
2025-11-05 17:32:14,231 - INFO -
2025-11-05 17:32:15,032 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19849211
2025-11-05 17:32:15,128 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19849211
2025-11-05 17:32:15,468 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19849211', 'default']}
2025-11-05 17:32:15,865 - DEBUG - Response for create_network : {'network': {'id': '4d52723c-9659-451f-826d-aa0bebdee145', 'name': 'ctest-vn-28235354', 'tenant_id': '2797958586de42afa029a903da3c265b', 'project_id': '2797958586de42afa029a903da3c265b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19849211', 'ctest-vn-28235354'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 17:32:16,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '654dbf4e-a1d6-4556-8f9e-aa52964e3569', 'name': '', 'tenant_id': '2797958586de42afa029a903da3c265b', 'network_id': '4d52723c-9659-451f-826d-aa0bebdee145', 'ip_version': 4, 'cidr': '50.206.31.0/26', 'allocation_pools': [{'start': '50.206.31.2', 'end': '50.206.31.62'}], 'gateway_ip': '50.206.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.206.31.2', 'tags': [], 'project_id': '2797958586de42afa029a903da3c265b'}}
2025-11-05 17:32:16,149 - INFO - Created VN ctest-vn-28235354
2025-11-05 17:32:16,208 - DEBUG - VN ctest-vn-28235354 UUID is 4d52723c-9659-451f-826d-aa0bebdee145
2025-11-05 17:32:16,574 - DEBUG - Response for create_network : {'network': {'id': '134c1a4c-d511-45b2-b79d-121a7632e2ff', 'name': 'ctest-ext_vn-85414552', 'tenant_id': '2797958586de42afa029a903da3c265b', 'project_id': '2797958586de42afa029a903da3c265b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19849211', 'ctest-ext_vn-85414552'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 17:32:16,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '83b7beed-7141-448c-a855-d5744936dc3a', 'name': '', 'tenant_id': '2797958586de42afa029a903da3c265b', 'network_id': '134c1a4c-d511-45b2-b79d-121a7632e2ff', 'ip_version': 4, 'cidr': '213.251.66.0/26', 'allocation_pools': [{'start': '213.251.66.2', 'end': '213.251.66.62'}], 'gateway_ip': '213.251.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.251.66.2', 'tags': [], 'project_id': '2797958586de42afa029a903da3c265b'}}
2025-11-05 17:32:16,750 - INFO - Created VN ctest-ext_vn-85414552
2025-11-05 17:32:16,804 - DEBUG - VN ctest-ext_vn-85414552 UUID is 134c1a4c-d511-45b2-b79d-121a7632e2ff
2025-11-05 17:32:17,014 - DEBUG - Services list from nova: [, , ]
2025-11-05 17:32:18,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4652-1)
2025-11-05 17:32:19,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4652-1)
2025-11-05 17:32:19,635 - INFO - Setting gateway for router 1dab808a-6841-4704-8f44-6b5655a6a6e3 to network 134c1a4c-d511-45b2-b79d-121a7632e2ff
2025-11-05 17:32:19,678 - INFO - Adding interface with subnet_id 654dbf4e-a1d6-4556-8f9e-aa52964e3569, port_id None to router 1dab808a-6841-4704-8f44-6b5655a6a6e3
2025-11-05 17:32:20,026 - INFO - Waiting for VM ctest-TestRoutersBasic-19849211-78573323 to be up..
2025-11-05 17:32:20,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 17:32:25,284 - DEBUG - VM is in ACTIVE state now
2025-11-05 17:32:25,284 - INFO - VM name : ctest-TestRoutersBasic-19849211-78573323
2025-11-05 17:32:25,387 - DEBUG - VM ctest-TestRoutersBasic-19849211-78573323 ID is 63287228-5b21-4689-994b-47f702331531
2025-11-05 17:32:25,413 - DEBUG - VM ctest-TestRoutersBasic-19849211-78573323 launched on Node cn-jenkins-deploy-platform-ansible-os-4652-1
2025-11-05 17:32:25,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63287228-5b21-4689-994b-47f702331531
2025-11-05 17:32:25,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/63287228-5b21-4689-994b-47f702331531
2025-11-05 17:32:25,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/53df2f3f-870f-4d0c-bf9f-39323a83839c
2025-11-05 17:32:29,165 - 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 1015ms')
2025-11-05 17:32:29,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19849211-78573323 failed!
2025-11-05 17:32:29,223 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19849211:ctest-vn-28235354 is 50.206.31.1 and allocation pool is NOT set
2025-11-05 17:32:31,281 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.740 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.740/1.936/3.133/1.196 ms')
2025-11-05 17:32:31,282 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19849211-78573323 passed
2025-11-05 17:32:31,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:32:31,436 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19849211-78573323, IP 50.206.31.3, Port 22
2025-11-05 17:32:31,611 - DEBUG - VM ctest-TestRoutersBasic-19849211-78573323 is ready for SSH connections
2025-11-05 17:32:31,611 - INFO - Waiting for VM ctest-TestRoutersBasic-19849211-70033038 to be up..
2025-11-05 17:32:31,710 - DEBUG - VM is in ACTIVE state now
2025-11-05 17:32:31,711 - INFO - VM name : ctest-TestRoutersBasic-19849211-70033038
2025-11-05 17:32:31,792 - DEBUG - VM ctest-TestRoutersBasic-19849211-70033038 ID is 713ccf7b-4f6c-4376-b47b-e1ef3f695b0c
2025-11-05 17:32:31,792 - DEBUG - VM ctest-TestRoutersBasic-19849211-70033038 launched on Node cn-jenkins-deploy-platform-ansible-os-4652-1
2025-11-05 17:32:31,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/713ccf7b-4f6c-4376-b47b-e1ef3f695b0c
2025-11-05 17:32:31,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e3411fcb-a288-4351-a3ad-8a7b623f0980
2025-11-05 17:32:33,154 - 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=6.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.882 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.882/3.543/6.204/2.661 ms')
2025-11-05 17:32:33,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19849211-70033038 passed
2025-11-05 17:32:33,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:32:33,308 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19849211-70033038, IP 213.251.66.3, Port 22
2025-11-05 17:32:33,473 - DEBUG - VM ctest-TestRoutersBasic-19849211-70033038 is ready for SSH connections
2025-11-05 17:32:33,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:32:33,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.251.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-05 17:32:33,474 - DEBUG - ping -s 56 -c 3 -W 1 213.251.66.3
2025-11-05 17:32:37,269 - DEBUG - PING 213.251.66.3 (213.251.66.3): 56 data bytes
64 bytes from 213.251.66.3: seq=0 ttl=62 time=7.639 ms
64 bytes from 213.251.66.3: seq=1 ttl=62 time=1.135 ms
64 bytes from 213.251.66.3: seq=2 ttl=62 time=1.383 ms
--- 213.251.66.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.135/3.385/7.639 ms
2025-11-05 17:32:37,269 - INFO - Ping to IP 213.251.66.3 from VM ctest-TestRoutersBasic-19849211-78573323 passed
2025-11-05 17:32:37,270 - INFO - Deleting interface with subnet_id 654dbf4e-a1d6-4556-8f9e-aa52964e3569, port_id None from router 1dab808a-6841-4704-8f44-6b5655a6a6e3
2025-11-05 17:32:37,476 - INFO - Deleting VM ctest-TestRoutersBasic-19849211-70033038
2025-11-05 17:32:37,553 - INFO - Deleting VM ctest-TestRoutersBasic-19849211-78573323
2025-11-05 17:32:37,656 - INFO - Deleting VN ctest-ext_vn-85414552
2025-11-05 17:32:37,750 - DEBUG - VN 134c1a4c-d511-45b2-b79d-121a7632e2ff still in use: Unable to complete operation on network 134c1a4c-d511-45b2-b79d-121a7632e2ff. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9974779f-59e7-4cb8-8c83-bb0b50315a0f']
2025-11-05 17:32:37,750 - WARNING - Deleting VN ctest-ext_vn-85414552 failed..Will retry
2025-11-05 17:32:39,902 - DEBUG - Response for deleting network ()
2025-11-05 17:32:39,902 - INFO - Deleting VN ctest-vn-28235354
2025-11-05 17:32:40,038 - DEBUG - Response for deleting network ()
2025-11-05 17:32:40,313 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 17:32:40,313 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-11-05 17:32:40,313 - INFO - --------------------------------------------------------------------------------
2025-11-05 17:32:41,018 - INFO - Deleted project: ctest-TestRoutersBasic-19849211, ID : 27979585-86de-42af-a029-a903da3c265b