2025-06-17 06:59:46,606 - INFO - Domain Default found not creating
2025-06-17 06:59:46,754 - INFO - Project ctest-TestRoutersBasic-02314108 not found, creating it
2025-06-17 06:59:47,214 - INFO - Created Project:ctest-TestRoutersBasic-02314108, ID : 38eb8770-7c4f-4480-a69f-5ae41a72483e
2025-06-17 06:59:48,626 - INFO - ================================================================================
2025-06-17 06:59:48,626 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-17 06:59:48,626 - 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-17 06:59:48,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-06-17 06:59:48,881 - INFO - Initial checks done. Running the testcase now
2025-06-17 06:59:48,881 - INFO -
2025-06-17 06:59:49,578 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02314108
2025-06-17 06:59:49,674 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02314108
2025-06-17 06:59:49,993 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02314108', 'default']}
2025-06-17 06:59:50,287 - DEBUG - Response for create_network : {'network': {'id': 'f3fcf9d3-9418-4eb4-9710-dc870d01a2b9', 'name': 'ctest-vn-62351574', 'tenant_id': '38eb87707c4f4480a69f5ae41a72483e', 'project_id': '38eb87707c4f4480a69f5ae41a72483e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02314108', 'ctest-vn-62351574'], 'port_security_enabled': True, 'description': ''}}
2025-06-17 06:59:50,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '398fcce7-047d-422d-b48e-cc54e7e4e1d0', 'name': '', 'tenant_id': '38eb87707c4f4480a69f5ae41a72483e', 'network_id': 'f3fcf9d3-9418-4eb4-9710-dc870d01a2b9', 'ip_version': 4, 'cidr': '128.67.167.128/26', 'allocation_pools': [{'start': '128.67.167.130', 'end': '128.67.167.190'}], 'gateway_ip': '128.67.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.67.167.130', 'tags': [], 'project_id': '38eb87707c4f4480a69f5ae41a72483e'}}
2025-06-17 06:59:50,496 - INFO - Created VN ctest-vn-62351574
2025-06-17 06:59:50,554 - DEBUG - VN ctest-vn-62351574 UUID is f3fcf9d3-9418-4eb4-9710-dc870d01a2b9
2025-06-17 06:59:50,876 - DEBUG - Response for create_network : {'network': {'id': 'd07e2341-8867-46a4-89a9-6e2aab8ea98d', 'name': 'ctest-ext_vn-79250778', 'tenant_id': '38eb87707c4f4480a69f5ae41a72483e', 'project_id': '38eb87707c4f4480a69f5ae41a72483e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02314108', 'ctest-ext_vn-79250778'], 'port_security_enabled': True, 'description': ''}}
2025-06-17 06:59:51,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d2593c4-cc2f-4acf-9506-beaf09cf677f', 'name': '', 'tenant_id': '38eb87707c4f4480a69f5ae41a72483e', 'network_id': 'd07e2341-8867-46a4-89a9-6e2aab8ea98d', 'ip_version': 4, 'cidr': '155.223.30.192/26', 'allocation_pools': [{'start': '155.223.30.194', 'end': '155.223.30.254'}], 'gateway_ip': '155.223.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.223.30.194', 'tags': [], 'project_id': '38eb87707c4f4480a69f5ae41a72483e'}}
2025-06-17 06:59:51,050 - INFO - Created VN ctest-ext_vn-79250778
2025-06-17 06:59:51,102 - DEBUG - VN ctest-ext_vn-79250778 UUID is d07e2341-8867-46a4-89a9-6e2aab8ea98d
2025-06-17 06:59:51,311 - DEBUG - Services list from nova: [, , ]
2025-06-17 06:59:52,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3459-1)
2025-06-17 06:59:53,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3459-1)
2025-06-17 06:59:53,579 - INFO - Setting gateway for router 3ddb5c82-729f-4087-8263-6f5030513a38 to network d07e2341-8867-46a4-89a9-6e2aab8ea98d
2025-06-17 06:59:53,645 - INFO - Adding interface with subnet_id 398fcce7-047d-422d-b48e-cc54e7e4e1d0, port_id None to router 3ddb5c82-729f-4087-8263-6f5030513a38
2025-06-17 06:59:54,041 - INFO - Waiting for VM ctest-TestRoutersBasic-02314108-38552957 to be up..
2025-06-17 06:59:54,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-17 06:59:59,274 - DEBUG - VM is in ACTIVE state now
2025-06-17 06:59:59,275 - INFO - VM name : ctest-TestRoutersBasic-02314108-38552957
2025-06-17 06:59:59,348 - DEBUG - VM ctest-TestRoutersBasic-02314108-38552957 ID is f7cd0bc4-8bec-4d3a-a083-0884f474b0a2
2025-06-17 06:59:59,368 - DEBUG - VM ctest-TestRoutersBasic-02314108-38552957 launched on Node cn-jenkins-deploy-platform-ansible-os-3459-1
2025-06-17 06:59:59,448 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f7cd0bc4-8bec-4d3a-a083-0884f474b0a2
2025-06-17 06:59:59,742 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f7cd0bc4-8bec-4d3a-a083-0884f474b0a2
2025-06-17 06:59:59,772 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/35080fb3-c107-4749-81dd-d1f27d01603f
2025-06-17 07:00:03,011 - 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 1003ms')
2025-06-17 07:00:03,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02314108-38552957 failed!
2025-06-17 07:00:03,066 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02314108:ctest-vn-62351574 is 128.67.167.129 and allocation pool is NOT set
2025-06-17 07:00:05,123 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.492 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.492/1.614/2.737/1.122 ms')
2025-06-17 07:00:05,123 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02314108-38552957 passed
2025-06-17 07:00:05,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-17 07:00:05,234 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02314108-38552957, IP 128.67.167.131, Port 22
2025-06-17 07:00:05,389 - DEBUG - VM ctest-TestRoutersBasic-02314108-38552957 is ready for SSH connections
2025-06-17 07:00:05,389 - INFO - Waiting for VM ctest-TestRoutersBasic-02314108-01818615 to be up..
2025-06-17 07:00:05,470 - DEBUG - VM is in ACTIVE state now
2025-06-17 07:00:05,470 - INFO - VM name : ctest-TestRoutersBasic-02314108-01818615
2025-06-17 07:00:05,549 - DEBUG - VM ctest-TestRoutersBasic-02314108-01818615 ID is ac72c566-9f94-46e0-a16e-f5dd0d913600
2025-06-17 07:00:05,549 - DEBUG - VM ctest-TestRoutersBasic-02314108-01818615 launched on Node cn-jenkins-deploy-platform-ansible-os-3459-1
2025-06-17 07:00:05,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ac72c566-9f94-46e0-a16e-f5dd0d913600
2025-06-17 07:00:05,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/46bfb1a4-5578-4cf1-b98a-a52b2f22e0fa
2025-06-17 07:00:06,880 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.913 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.913/1.970/3.028/1.057 ms')
2025-06-17 07:00:06,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02314108-01818615 passed
2025-06-17 07:00:07,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-17 07:00:07,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02314108-01818615, IP 155.223.30.195, Port 22
2025-06-17 07:00:07,193 - DEBUG - VM ctest-TestRoutersBasic-02314108-01818615 is ready for SSH connections
2025-06-17 07:00:07,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-17 07:00:07,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.223.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-17 07:00:07,194 - DEBUG - ping -s 56 -c 3 -W 1 155.223.30.195
2025-06-17 07:00:11,176 - DEBUG - PING 155.223.30.195 (155.223.30.195): 56 data bytes
64 bytes from 155.223.30.195: seq=0 ttl=62 time=4.549 ms
64 bytes from 155.223.30.195: seq=1 ttl=62 time=1.035 ms
64 bytes from 155.223.30.195: seq=2 ttl=62 time=1.279 ms
--- 155.223.30.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.035/2.287/4.549 ms
2025-06-17 07:00:11,176 - INFO - Ping to IP 155.223.30.195 from VM ctest-TestRoutersBasic-02314108-38552957 passed
2025-06-17 07:00:11,176 - INFO - Deleting interface with subnet_id 398fcce7-047d-422d-b48e-cc54e7e4e1d0, port_id None from router 3ddb5c82-729f-4087-8263-6f5030513a38
2025-06-17 07:00:11,447 - INFO - Deleting VM ctest-TestRoutersBasic-02314108-01818615
2025-06-17 07:00:11,555 - INFO - Deleting VM ctest-TestRoutersBasic-02314108-38552957
2025-06-17 07:00:11,648 - INFO - Deleting VN ctest-ext_vn-79250778
2025-06-17 07:00:11,746 - DEBUG - VN d07e2341-8867-46a4-89a9-6e2aab8ea98d still in use: Unable to complete operation on network d07e2341-8867-46a4-89a9-6e2aab8ea98d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6a4063d9-584a-4397-9c1d-bb6d949aa834']
2025-06-17 07:00:11,746 - WARNING - Deleting VN ctest-ext_vn-79250778 failed..Will retry
2025-06-17 07:00:13,860 - DEBUG - Response for deleting network ()
2025-06-17 07:00:13,860 - INFO - Deleting VN ctest-vn-62351574
2025-06-17 07:00:13,980 - DEBUG - Response for deleting network ()
2025-06-17 07:00:14,242 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 07:00:14,242 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-17 07:00:14,243 - INFO - --------------------------------------------------------------------------------
2025-06-17 07:00:14,927 - INFO - Deleted project: ctest-TestRoutersBasic-02314108, ID : 38eb8770-7c4f-4480-a69f-5ae41a72483e