2025-06-23 19:05:18,030 - INFO - Domain Default found not creating
2025-06-23 19:05:18,174 - INFO - Project ctest-TestRoutersBasic-10817885 not found, creating it
2025-06-23 19:05:18,626 - INFO - Created Project:ctest-TestRoutersBasic-10817885, ID : c8d4c5fe-23e6-4398-bb7a-994d8d6707e1
2025-06-23 19:05:20,158 - INFO - ================================================================================
2025-06-23 19:05:20,158 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-23 19:05:20,159 - 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-23 19:05:20,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-23 19:05:20,415 - INFO - Initial checks done. Running the testcase now
2025-06-23 19:05:20,415 - INFO -
2025-06-23 19:05:21,210 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10817885
2025-06-23 19:05:21,309 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10817885
2025-06-23 19:05:21,636 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10817885', 'default']}
2025-06-23 19:05:21,950 - DEBUG - Response for create_network : {'network': {'id': '5d7b5ac4-e699-4411-b5ea-296be98d737e', 'name': 'ctest-vn-34197636', 'tenant_id': 'c8d4c5fe23e64398bb7a994d8d6707e1', 'project_id': 'c8d4c5fe23e64398bb7a994d8d6707e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10817885', 'ctest-vn-34197636'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 19:05:22,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9442267-0295-4fab-ad0a-9524ebdb55b4', 'name': '', 'tenant_id': 'c8d4c5fe23e64398bb7a994d8d6707e1', 'network_id': '5d7b5ac4-e699-4411-b5ea-296be98d737e', 'ip_version': 4, 'cidr': '60.189.166.192/26', 'allocation_pools': [{'start': '60.189.166.194', 'end': '60.189.166.254'}], 'gateway_ip': '60.189.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.189.166.194', 'tags': [], 'project_id': 'c8d4c5fe23e64398bb7a994d8d6707e1'}}
2025-06-23 19:05:22,191 - INFO - Created VN ctest-vn-34197636
2025-06-23 19:05:22,244 - DEBUG - VN ctest-vn-34197636 UUID is 5d7b5ac4-e699-4411-b5ea-296be98d737e
2025-06-23 19:05:22,590 - DEBUG - Response for create_network : {'network': {'id': 'b1a45a14-8af4-4f0e-abb1-81c26bd99264', 'name': 'ctest-ext_vn-28173919', 'tenant_id': 'c8d4c5fe23e64398bb7a994d8d6707e1', 'project_id': 'c8d4c5fe23e64398bb7a994d8d6707e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10817885', 'ctest-ext_vn-28173919'], 'port_security_enabled': True, 'description': ''}}
2025-06-23 19:05:22,813 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a68166c2-e362-420d-86ad-cea03aadee97', 'name': '', 'tenant_id': 'c8d4c5fe23e64398bb7a994d8d6707e1', 'network_id': 'b1a45a14-8af4-4f0e-abb1-81c26bd99264', 'ip_version': 4, 'cidr': '210.89.169.64/26', 'allocation_pools': [{'start': '210.89.169.66', 'end': '210.89.169.126'}], 'gateway_ip': '210.89.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.89.169.66', 'tags': [], 'project_id': 'c8d4c5fe23e64398bb7a994d8d6707e1'}}
2025-06-23 19:05:22,831 - INFO - Created VN ctest-ext_vn-28173919
2025-06-23 19:05:22,885 - DEBUG - VN ctest-ext_vn-28173919 UUID is b1a45a14-8af4-4f0e-abb1-81c26bd99264
2025-06-23 19:05:23,055 - DEBUG - Services list from nova: [, , ]
2025-06-23 19:05:24,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3523-1)
2025-06-23 19:05:25,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3523-1)
2025-06-23 19:05:25,488 - INFO - Setting gateway for router ec044cc3-9dc5-4197-a0b4-716d0e773ed5 to network b1a45a14-8af4-4f0e-abb1-81c26bd99264
2025-06-23 19:05:25,545 - INFO - Adding interface with subnet_id e9442267-0295-4fab-ad0a-9524ebdb55b4, port_id None to router ec044cc3-9dc5-4197-a0b4-716d0e773ed5
2025-06-23 19:05:26,011 - INFO - Waiting for VM ctest-TestRoutersBasic-10817885-19629332 to be up..
2025-06-23 19:05:26,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-23 19:05:31,352 - DEBUG - VM is in ACTIVE state now
2025-06-23 19:05:31,352 - INFO - VM name : ctest-TestRoutersBasic-10817885-19629332
2025-06-23 19:05:31,432 - DEBUG - VM ctest-TestRoutersBasic-10817885-19629332 ID is 5735068d-607f-4344-a0d7-9c8778f867fb
2025-06-23 19:05:31,453 - DEBUG - VM ctest-TestRoutersBasic-10817885-19629332 launched on Node cn-jenkins-deploy-platform-ansible-os-3523-1
2025-06-23 19:05:31,547 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5735068d-607f-4344-a0d7-9c8778f867fb
2025-06-23 19:05:31,891 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5735068d-607f-4344-a0d7-9c8778f867fb
2025-06-23 19:05:31,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/db98db63-fff1-466c-949b-4b9d73650ff2
2025-06-23 19:05:35,182 - 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 1018ms')
2025-06-23 19:05:35,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10817885-19629332 failed!
2025-06-23 19:05:35,240 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10817885:ctest-vn-34197636 is 60.189.166.193 and allocation pool is NOT set
2025-06-23 19:05:37,305 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.856 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.856/2.844/4.833/1.988 ms')
2025-06-23 19:05:37,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10817885-19629332 passed
2025-06-23 19:05:37,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 19:05:37,461 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10817885-19629332, IP 60.189.166.195, Port 22
2025-06-23 19:05:37,630 - DEBUG - VM ctest-TestRoutersBasic-10817885-19629332 is ready for SSH connections
2025-06-23 19:05:37,630 - INFO - Waiting for VM ctest-TestRoutersBasic-10817885-79185791 to be up..
2025-06-23 19:05:37,729 - DEBUG - VM is in ACTIVE state now
2025-06-23 19:05:37,729 - INFO - VM name : ctest-TestRoutersBasic-10817885-79185791
2025-06-23 19:05:37,824 - DEBUG - VM ctest-TestRoutersBasic-10817885-79185791 ID is 2b02b8c8-ca77-40e2-a26d-e2d946d984c8
2025-06-23 19:05:37,824 - DEBUG - VM ctest-TestRoutersBasic-10817885-79185791 launched on Node cn-jenkins-deploy-platform-ansible-os-3523-1
2025-06-23 19:05:37,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2b02b8c8-ca77-40e2-a26d-e2d946d984c8
2025-06-23 19:05:37,914 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ee6454c-b2e6-47f5-8800-d7e065aa5f74
2025-06-23 19:05:39,164 - 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=5.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.188/3.484/5.780/2.296 ms')
2025-06-23 19:05:39,165 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10817885-79185791 passed
2025-06-23 19:05:39,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 19:05:39,321 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10817885-79185791, IP 210.89.169.67, Port 22
2025-06-23 19:05:39,476 - DEBUG - VM ctest-TestRoutersBasic-10817885-79185791 is ready for SSH connections
2025-06-23 19:05:39,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 19:05:39,476 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.89.169.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-23 19:05:39,476 - DEBUG - ping -s 56 -c 3 -W 1 210.89.169.67
2025-06-23 19:05:43,194 - DEBUG - PING 210.89.169.67 (210.89.169.67): 56 data bytes
64 bytes from 210.89.169.67: seq=0 ttl=62 time=5.064 ms
64 bytes from 210.89.169.67: seq=1 ttl=62 time=0.920 ms
64 bytes from 210.89.169.67: seq=2 ttl=62 time=1.062 ms
--- 210.89.169.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.920/2.348/5.064 ms
2025-06-23 19:05:43,195 - INFO - Ping to IP 210.89.169.67 from VM ctest-TestRoutersBasic-10817885-19629332 passed
2025-06-23 19:05:43,195 - INFO - Deleting interface with subnet_id e9442267-0295-4fab-ad0a-9524ebdb55b4, port_id None from router ec044cc3-9dc5-4197-a0b4-716d0e773ed5
2025-06-23 19:05:43,411 - INFO - Deleting VM ctest-TestRoutersBasic-10817885-79185791
2025-06-23 19:05:43,485 - INFO - Deleting VM ctest-TestRoutersBasic-10817885-19629332
2025-06-23 19:05:43,581 - INFO - Deleting VN ctest-ext_vn-28173919
2025-06-23 19:05:43,667 - DEBUG - VN b1a45a14-8af4-4f0e-abb1-81c26bd99264 still in use: Unable to complete operation on network b1a45a14-8af4-4f0e-abb1-81c26bd99264. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ad92b18f-23af-4444-a41c-526e3b4aeb5a']
2025-06-23 19:05:43,667 - WARNING - Deleting VN ctest-ext_vn-28173919 failed..Will retry
2025-06-23 19:05:45,779 - DEBUG - Response for deleting network ()
2025-06-23 19:05:45,779 - INFO - Deleting VN ctest-vn-34197636
2025-06-23 19:05:45,881 - DEBUG - Response for deleting network ()
2025-06-23 19:05:46,134 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 19:05:46,134 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-23 19:05:46,135 - INFO - --------------------------------------------------------------------------------
2025-06-23 19:05:46,911 - INFO - Deleted project: ctest-TestRoutersBasic-10817885, ID : c8d4c5fe-23e6-4398-bb7a-994d8d6707e1