2025-06-24 12:47:57,424 - INFO - Domain Default found not creating
2025-06-24 12:47:57,594 - INFO - Project ctest-TestRoutersBasic-25010895 not found, creating it
2025-06-24 12:47:58,125 - INFO - Created Project:ctest-TestRoutersBasic-25010895, ID : bc5296fc-05b8-4cb3-bd8a-90b4cc581ccf
2025-06-24 12:47:59,779 - INFO - ================================================================================
2025-06-24 12:47:59,780 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-24 12:47:59,780 - 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-06-24 12:48:00,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.14': '0'}} with
2025-06-24 12:48:00,041 - INFO - Initial checks done. Running the testcase now
2025-06-24 12:48:00,041 - INFO -
2025-06-24 12:48:00,781 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25010895
2025-06-24 12:48:00,881 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25010895
2025-06-24 12:48:01,226 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25010895', 'default']}
2025-06-24 12:48:01,560 - DEBUG - Response for create_network : {'network': {'id': 'b2dc4fb9-1ef9-4288-a256-67b400be1cdf', 'name': 'ctest-vn-87673300', 'tenant_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf', 'project_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25010895', 'ctest-vn-87673300'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 12:48:01,784 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0a3c47c-8f36-4c32-ae6d-9208c35fc3ae', 'name': '', 'tenant_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf', 'network_id': 'b2dc4fb9-1ef9-4288-a256-67b400be1cdf', 'ip_version': 4, 'cidr': '118.193.215.192/26', 'allocation_pools': [{'start': '118.193.215.194', 'end': '118.193.215.254'}], 'gateway_ip': '118.193.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.193.215.194', 'tags': [], 'project_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf'}}
2025-06-24 12:48:01,808 - INFO - Created VN ctest-vn-87673300
2025-06-24 12:48:01,869 - DEBUG - VN ctest-vn-87673300 UUID is b2dc4fb9-1ef9-4288-a256-67b400be1cdf
2025-06-24 12:48:02,266 - DEBUG - Response for create_network : {'network': {'id': '30d6895b-829b-45a9-9ebe-d64e23b820ba', 'name': 'ctest-ext_vn-97003342', 'tenant_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf', 'project_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25010895', 'ctest-ext_vn-97003342'], 'port_security_enabled': True, 'description': ''}}
2025-06-24 12:48:02,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb72468d-f727-4890-ae3f-986f31bb5107', 'name': '', 'tenant_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf', 'network_id': '30d6895b-829b-45a9-9ebe-d64e23b820ba', 'ip_version': 4, 'cidr': '194.80.57.64/26', 'allocation_pools': [{'start': '194.80.57.66', 'end': '194.80.57.126'}], 'gateway_ip': '194.80.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.80.57.66', 'tags': [], 'project_id': 'bc5296fc05b84cb3bd8a90b4cc581ccf'}}
2025-06-24 12:48:02,569 - INFO - Created VN ctest-ext_vn-97003342
2025-06-24 12:48:02,625 - DEBUG - VN ctest-ext_vn-97003342 UUID is 30d6895b-829b-45a9-9ebe-d64e23b820ba
2025-06-24 12:48:02,820 - DEBUG - Services list from nova: [, , ]
2025-06-24 12:48:03,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3532-1)
2025-06-24 12:48:05,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3532-1)
2025-06-24 12:48:05,305 - INFO - Setting gateway for router 05ebb246-0d6a-4f3d-b339-63d9eb1d7aef to network 30d6895b-829b-45a9-9ebe-d64e23b820ba
2025-06-24 12:48:05,394 - INFO - Adding interface with subnet_id f0a3c47c-8f36-4c32-ae6d-9208c35fc3ae, port_id None to router 05ebb246-0d6a-4f3d-b339-63d9eb1d7aef
2025-06-24 12:48:05,932 - INFO - Waiting for VM ctest-TestRoutersBasic-25010895-23417899 to be up..
2025-06-24 12:48:06,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-24 12:48:11,187 - DEBUG - VM is in ACTIVE state now
2025-06-24 12:48:11,187 - INFO - VM name : ctest-TestRoutersBasic-25010895-23417899
2025-06-24 12:48:11,285 - DEBUG - VM ctest-TestRoutersBasic-25010895-23417899 ID is b94fa5e7-9079-4848-b1d5-cf2eb03fdc3b
2025-06-24 12:48:11,309 - DEBUG - VM ctest-TestRoutersBasic-25010895-23417899 launched on Node cn-jenkins-deploy-platform-ansible-os-3532-1
2025-06-24 12:48:11,404 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/b94fa5e7-9079-4848-b1d5-cf2eb03fdc3b
2025-06-24 12:48:11,713 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/b94fa5e7-9079-4848-b1d5-cf2eb03fdc3b
2025-06-24 12:48:11,748 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/b45f14dc-ea89-43ff-afae-fd5e03f11cd3
2025-06-24 12:48:15,000 - 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 1006ms')
2025-06-24 12:48:15,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25010895-23417899 failed!
2025-06-24 12:48:15,057 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25010895:ctest-vn-87673300 is 118.193.215.193 and allocation pool is NOT set
2025-06-24 12:48:17,126 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.864 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.864/2.232/3.601/1.368 ms')
2025-06-24 12:48:17,126 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25010895-23417899 passed
2025-06-24 12:48:17,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 12:48:17,281 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25010895-23417899, IP 118.193.215.195, Port 22
2025-06-24 12:48:17,463 - DEBUG - VM ctest-TestRoutersBasic-25010895-23417899 is ready for SSH connections
2025-06-24 12:48:17,464 - INFO - Waiting for VM ctest-TestRoutersBasic-25010895-71156815 to be up..
2025-06-24 12:48:17,564 - DEBUG - VM is in ACTIVE state now
2025-06-24 12:48:17,564 - INFO - VM name : ctest-TestRoutersBasic-25010895-71156815
2025-06-24 12:48:17,662 - DEBUG - VM ctest-TestRoutersBasic-25010895-71156815 ID is 8739b41c-f1b1-4d24-a95b-264515d74a54
2025-06-24 12:48:17,662 - DEBUG - VM ctest-TestRoutersBasic-25010895-71156815 launched on Node cn-jenkins-deploy-platform-ansible-os-3532-1
2025-06-24 12:48:17,775 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/8739b41c-f1b1-4d24-a95b-264515d74a54
2025-06-24 12:48:17,790 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/95eff607-1497-4a47-8121-cf18cc6f5c6a
2025-06-24 12:48:19,067 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.796 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.796/2.555/4.314/1.759 ms')
2025-06-24 12:48:19,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25010895-71156815 passed
2025-06-24 12:48:19,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 12:48:19,229 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25010895-71156815, IP 194.80.57.67, Port 22
2025-06-24 12:48:19,391 - DEBUG - VM ctest-TestRoutersBasic-25010895-71156815 is ready for SSH connections
2025-06-24 12:48:19,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-24 12:48:19,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.80.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2025-06-24 12:48:19,391 - DEBUG - ping -s 56 -c 3 -W 1 194.80.57.67
2025-06-24 12:48:23,107 - DEBUG - PING 194.80.57.67 (194.80.57.67): 56 data bytes
64 bytes from 194.80.57.67: seq=0 ttl=62 time=8.249 ms
64 bytes from 194.80.57.67: seq=1 ttl=62 time=0.970 ms
64 bytes from 194.80.57.67: seq=2 ttl=62 time=0.981 ms
--- 194.80.57.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.970/3.400/8.249 ms
2025-06-24 12:48:23,107 - INFO - Ping to IP 194.80.57.67 from VM ctest-TestRoutersBasic-25010895-23417899 passed
2025-06-24 12:48:23,107 - INFO - Deleting interface with subnet_id f0a3c47c-8f36-4c32-ae6d-9208c35fc3ae, port_id None from router 05ebb246-0d6a-4f3d-b339-63d9eb1d7aef
2025-06-24 12:48:23,357 - INFO - Deleting VM ctest-TestRoutersBasic-25010895-71156815
2025-06-24 12:48:23,428 - INFO - Deleting VM ctest-TestRoutersBasic-25010895-23417899
2025-06-24 12:48:23,523 - INFO - Deleting VN ctest-ext_vn-97003342
2025-06-24 12:48:23,605 - DEBUG - VN 30d6895b-829b-45a9-9ebe-d64e23b820ba still in use: Unable to complete operation on network 30d6895b-829b-45a9-9ebe-d64e23b820ba. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-432a7a5c-79b0-46af-983f-5c5e9e35240f']
2025-06-24 12:48:23,605 - WARNING - Deleting VN ctest-ext_vn-97003342 failed..Will retry
2025-06-24 12:48:25,728 - DEBUG - Response for deleting network ()
2025-06-24 12:48:25,728 - INFO - Deleting VN ctest-vn-87673300
2025-06-24 12:48:25,850 - DEBUG - Response for deleting network ()
2025-06-24 12:48:26,114 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 12:48:26,114 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-24 12:48:26,114 - INFO - --------------------------------------------------------------------------------
2025-06-24 12:48:26,824 - INFO - Deleted project: ctest-TestRoutersBasic-25010895, ID : bc5296fc-05b8-4cb3-bd8a-90b4cc581ccf