2025-05-31 12:54:04,795 - INFO - Domain Default found not creating
2025-05-31 12:54:04,925 - INFO - Project ctest-TestRoutersBasic-98074139 not found, creating it
2025-05-31 12:54:05,364 - INFO - Created Project:ctest-TestRoutersBasic-98074139, ID : 4fa2b6ab-9e46-4ff3-bef3-a0fd8583aec1
2025-05-31 12:54:06,845 - INFO - ================================================================================
2025-05-31 12:54:06,845 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-31 12:54:06,845 - 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-05-31 12:54:07,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-31 12:54:07,100 - INFO - Initial checks done. Running the testcase now
2025-05-31 12:54:07,100 - INFO -
2025-05-31 12:54:07,877 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98074139
2025-05-31 12:54:07,978 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98074139
2025-05-31 12:54:08,302 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98074139', 'default']}
2025-05-31 12:54:08,596 - DEBUG - Response for create_network : {'network': {'id': '7a72855c-438d-4aff-834b-8551150238ef', 'name': 'ctest-vn-19804311', 'tenant_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1', 'project_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98074139', 'ctest-vn-19804311'], 'port_security_enabled': True, 'description': ''}}
2025-05-31 12:54:08,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '8589bede-006c-4c5d-93d4-2a8c2bac7715', 'name': '', 'tenant_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1', 'network_id': '7a72855c-438d-4aff-834b-8551150238ef', 'ip_version': 4, 'cidr': '197.134.206.192/26', 'allocation_pools': [{'start': '197.134.206.194', 'end': '197.134.206.254'}], 'gateway_ip': '197.134.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.134.206.194', 'tags': [], 'project_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1'}}
2025-05-31 12:54:08,811 - INFO - Created VN ctest-vn-19804311
2025-05-31 12:54:08,866 - DEBUG - VN ctest-vn-19804311 UUID is 7a72855c-438d-4aff-834b-8551150238ef
2025-05-31 12:54:09,207 - DEBUG - Response for create_network : {'network': {'id': '1745eacf-70bd-4979-851f-9abe7cd1adda', 'name': 'ctest-ext_vn-96381679', 'tenant_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1', 'project_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98074139', 'ctest-ext_vn-96381679'], 'port_security_enabled': True, 'description': ''}}
2025-05-31 12:54:09,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b9b1411-5c22-4355-a401-f052f8ca67bd', 'name': '', 'tenant_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1', 'network_id': '1745eacf-70bd-4979-851f-9abe7cd1adda', 'ip_version': 4, 'cidr': '189.160.253.0/26', 'allocation_pools': [{'start': '189.160.253.2', 'end': '189.160.253.62'}], 'gateway_ip': '189.160.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.160.253.2', 'tags': [], 'project_id': '4fa2b6ab9e464ff3bef3a0fd8583aec1'}}
2025-05-31 12:54:09,385 - INFO - Created VN ctest-ext_vn-96381679
2025-05-31 12:54:09,438 - DEBUG - VN ctest-ext_vn-96381679 UUID is 1745eacf-70bd-4979-851f-9abe7cd1adda
2025-05-31 12:54:09,637 - DEBUG - Services list from nova: [, , ]
2025-05-31 12:54:10,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3377-1)
2025-05-31 12:54:12,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3377-1)
2025-05-31 12:54:12,142 - INFO - Setting gateway for router a6dcd233-a7ac-4772-9750-31d242127535 to network 1745eacf-70bd-4979-851f-9abe7cd1adda
2025-05-31 12:54:12,236 - INFO - Adding interface with subnet_id 8589bede-006c-4c5d-93d4-2a8c2bac7715, port_id None to router a6dcd233-a7ac-4772-9750-31d242127535
2025-05-31 12:54:12,736 - INFO - Waiting for VM ctest-TestRoutersBasic-98074139-44011270 to be up..
2025-05-31 12:54:12,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-31 12:54:18,065 - DEBUG - VM is in ACTIVE state now
2025-05-31 12:54:18,065 - INFO - VM name : ctest-TestRoutersBasic-98074139-44011270
2025-05-31 12:54:18,142 - DEBUG - VM ctest-TestRoutersBasic-98074139-44011270 ID is 0f9169ea-f569-4e6d-a847-d3a1ca8c5dea
2025-05-31 12:54:18,161 - DEBUG - VM ctest-TestRoutersBasic-98074139-44011270 launched on Node cn-jenkins-deploy-platform-ansible-os-3377-1
2025-05-31 12:54:18,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f9169ea-f569-4e6d-a847-d3a1ca8c5dea
2025-05-31 12:54:18,594 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f9169ea-f569-4e6d-a847-d3a1ca8c5dea
2025-05-31 12:54:18,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c12e6ab5-0710-4401-8f70-580ca3f9d43d
2025-05-31 12:54:21,882 - 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 1011ms')
2025-05-31 12:54:21,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98074139-44011270 failed!
2025-05-31 12:54:21,938 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98074139:ctest-vn-19804311 is 197.134.206.193 and allocation pool is NOT set
2025-05-31 12:54:23,995 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.856/3.326/1.469 ms')
2025-05-31 12:54:23,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98074139-44011270 passed
2025-05-31 12:54:24,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-31 12:54:24,146 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98074139-44011270, IP 197.134.206.195, Port 22
2025-05-31 12:54:24,301 - DEBUG - VM ctest-TestRoutersBasic-98074139-44011270 is ready for SSH connections
2025-05-31 12:54:24,301 - INFO - Waiting for VM ctest-TestRoutersBasic-98074139-65443363 to be up..
2025-05-31 12:54:24,376 - DEBUG - VM is in ACTIVE state now
2025-05-31 12:54:24,376 - INFO - VM name : ctest-TestRoutersBasic-98074139-65443363
2025-05-31 12:54:24,447 - DEBUG - VM ctest-TestRoutersBasic-98074139-65443363 ID is d12754f0-78a9-4595-a812-bebc00531c8d
2025-05-31 12:54:24,447 - DEBUG - VM ctest-TestRoutersBasic-98074139-65443363 launched on Node cn-jenkins-deploy-platform-ansible-os-3377-1
2025-05-31 12:54:24,515 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d12754f0-78a9-4595-a812-bebc00531c8d
2025-05-31 12:54:24,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cad6d272-4938-4617-a162-e19bdff5f7ec
2025-05-31 12:54:25,764 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.670/2.976/1.306 ms')
2025-05-31 12:54:25,764 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98074139-65443363 passed
2025-05-31 12:54:25,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-31 12:54:25,918 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98074139-65443363, IP 189.160.253.3, Port 22
2025-05-31 12:54:26,070 - DEBUG - VM ctest-TestRoutersBasic-98074139-65443363 is ready for SSH connections
2025-05-31 12:54:26,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-31 12:54:26,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.160.253.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-31 12:54:26,070 - DEBUG - ping -s 56 -c 3 -W 1 189.160.253.3
2025-05-31 12:54:30,123 - DEBUG - PING 189.160.253.3 (189.160.253.3): 56 data bytes
64 bytes from 189.160.253.3: seq=0 ttl=62 time=6.203 ms
64 bytes from 189.160.253.3: seq=1 ttl=62 time=0.831 ms
64 bytes from 189.160.253.3: seq=2 ttl=62 time=0.837 ms
--- 189.160.253.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.831/2.623/6.203 ms
2025-05-31 12:54:30,123 - INFO - Ping to IP 189.160.253.3 from VM ctest-TestRoutersBasic-98074139-44011270 passed
2025-05-31 12:54:30,123 - INFO - Deleting interface with subnet_id 8589bede-006c-4c5d-93d4-2a8c2bac7715, port_id None from router a6dcd233-a7ac-4772-9750-31d242127535
2025-05-31 12:54:30,324 - INFO - Deleting VM ctest-TestRoutersBasic-98074139-65443363
2025-05-31 12:54:30,387 - INFO - Deleting VM ctest-TestRoutersBasic-98074139-44011270
2025-05-31 12:54:30,463 - INFO - Deleting VN ctest-ext_vn-96381679
2025-05-31 12:54:30,541 - DEBUG - VN 1745eacf-70bd-4979-851f-9abe7cd1adda still in use: Unable to complete operation on network 1745eacf-70bd-4979-851f-9abe7cd1adda. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-599ca407-bcbe-4f06-9113-42b24e7c64db']
2025-05-31 12:54:30,541 - WARNING - Deleting VN ctest-ext_vn-96381679 failed..Will retry
2025-05-31 12:54:32,639 - DEBUG - Response for deleting network ()
2025-05-31 12:54:32,639 - INFO - Deleting VN ctest-vn-19804311
2025-05-31 12:54:32,748 - DEBUG - Response for deleting network ()
2025-05-31 12:54:33,008 - DEBUG - No XMPP flaps were noticed during the test
2025-05-31 12:54:33,008 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-05-31 12:54:33,008 - INFO - --------------------------------------------------------------------------------
2025-05-31 12:54:33,712 - INFO - Deleted project: ctest-TestRoutersBasic-98074139, ID : 4fa2b6ab-9e46-4ff3-bef3-a0fd8583aec1