2025-03-29 21:01:34,093 - INFO - Domain Default found not creating 2025-03-29 21:01:34,302 - INFO - Project ctest-TestRoutersBasic-01049293 not found, creating it 2025-03-29 21:01:34,857 - INFO - Created Project:ctest-TestRoutersBasic-01049293, ID : 5d26286f-4e88-4530-82f8-1d068e346a18 2025-03-29 21:01:36,523 - INFO - ================================================================================ 2025-03-29 21:01:36,523 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-29 21:01:36,523 - 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-03-29 21:01:36,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2025-03-29 21:01:36,789 - INFO - Initial checks done. Running the testcase now 2025-03-29 21:01:36,789 - INFO - 2025-03-29 21:01:37,519 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01049293 2025-03-29 21:01:37,620 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01049293 2025-03-29 21:01:37,963 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01049293', 'default']} 2025-03-29 21:01:38,294 - DEBUG - Response for create_network : {'network': {'id': 'ab88d8eb-13ce-43cb-a52d-7c6cae840acb', 'name': 'ctest-vn-02108709', 'tenant_id': '5d26286f4e88453082f81d068e346a18', 'project_id': '5d26286f4e88453082f81d068e346a18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01049293', 'ctest-vn-02108709'], 'port_security_enabled': True, 'description': ''}} 2025-03-29 21:01:38,520 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9e5c800-2d82-40cb-8499-573f1a946633', 'name': '', 'tenant_id': '5d26286f4e88453082f81d068e346a18', 'network_id': 'ab88d8eb-13ce-43cb-a52d-7c6cae840acb', 'ip_version': 4, 'cidr': '2.165.131.0/26', 'allocation_pools': [{'start': '2.165.131.2', 'end': '2.165.131.62'}], 'gateway_ip': '2.165.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.165.131.2', 'tags': [], 'project_id': '5d26286f4e88453082f81d068e346a18'}} 2025-03-29 21:01:38,545 - INFO - Created VN ctest-vn-02108709 2025-03-29 21:01:38,600 - DEBUG - VN ctest-vn-02108709 UUID is ab88d8eb-13ce-43cb-a52d-7c6cae840acb 2025-03-29 21:01:38,978 - DEBUG - Response for create_network : {'network': {'id': '33fc8524-a611-4c31-b07e-80b22a40bb17', 'name': 'ctest-ext_vn-69574362', 'tenant_id': '5d26286f4e88453082f81d068e346a18', 'project_id': '5d26286f4e88453082f81d068e346a18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01049293', 'ctest-ext_vn-69574362'], 'port_security_enabled': True, 'description': ''}} 2025-03-29 21:01:39,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '477745c7-7228-409c-990c-0110ba71a4f8', 'name': '', 'tenant_id': '5d26286f4e88453082f81d068e346a18', 'network_id': '33fc8524-a611-4c31-b07e-80b22a40bb17', 'ip_version': 4, 'cidr': '57.79.247.128/26', 'allocation_pools': [{'start': '57.79.247.130', 'end': '57.79.247.190'}], 'gateway_ip': '57.79.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.79.247.130', 'tags': [], 'project_id': '5d26286f4e88453082f81d068e346a18'}} 2025-03-29 21:01:39,211 - INFO - Created VN ctest-ext_vn-69574362 2025-03-29 21:01:39,272 - DEBUG - VN ctest-ext_vn-69574362 UUID is 33fc8524-a611-4c31-b07e-80b22a40bb17 2025-03-29 21:01:39,477 - DEBUG - Services list from nova: [, , ] 2025-03-29 21:01:40,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3002-1) 2025-03-29 21:01:41,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3002-1) 2025-03-29 21:01:42,046 - INFO - Setting gateway for router a52901ad-101f-4e16-b5cb-7d86a467e03c to network 33fc8524-a611-4c31-b07e-80b22a40bb17 2025-03-29 21:01:42,115 - INFO - Adding interface with subnet_id b9e5c800-2d82-40cb-8499-573f1a946633, port_id None to router a52901ad-101f-4e16-b5cb-7d86a467e03c 2025-03-29 21:01:42,597 - INFO - Waiting for VM ctest-TestRoutersBasic-01049293-89541753 to be up.. 2025-03-29 21:01:42,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-29 21:01:47,861 - DEBUG - VM is in ACTIVE state now 2025-03-29 21:01:47,862 - INFO - VM name : ctest-TestRoutersBasic-01049293-89541753 2025-03-29 21:01:47,952 - DEBUG - VM ctest-TestRoutersBasic-01049293-89541753 ID is dba387f2-4f49-4e0c-a3be-ab90f05df285 2025-03-29 21:01:47,974 - DEBUG - VM ctest-TestRoutersBasic-01049293-89541753 launched on Node cn-jenkins-deploy-platform-ansible-os-3002-1 2025-03-29 21:01:48,064 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/dba387f2-4f49-4e0c-a3be-ab90f05df285 2025-03-29 21:01:48,369 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/dba387f2-4f49-4e0c-a3be-ab90f05df285 2025-03-29 21:01:48,406 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c2c72481-9542-4c5b-bc2e-983dd64dafb6 2025-03-29 21:01:51,691 - 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 1026ms') 2025-03-29 21:01:51,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01049293-89541753 failed! 2025-03-29 21:01:51,752 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01049293:ctest-vn-02108709 is 2.165.131.1 and allocation pool is NOT set 2025-03-29 21:01:53,826 - 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.439 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.439/2.634/4.829/2.195 ms') 2025-03-29 21:01:53,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01049293-89541753 passed 2025-03-29 21:01:53,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:01:53,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01049293-89541753, IP 2.165.131.3, Port 22 2025-03-29 21:01:54,151 - DEBUG - VM ctest-TestRoutersBasic-01049293-89541753 is ready for SSH connections 2025-03-29 21:01:54,151 - INFO - Waiting for VM ctest-TestRoutersBasic-01049293-73081919 to be up.. 2025-03-29 21:01:54,252 - DEBUG - VM is in ACTIVE state now 2025-03-29 21:01:54,252 - INFO - VM name : ctest-TestRoutersBasic-01049293-73081919 2025-03-29 21:01:54,350 - DEBUG - VM ctest-TestRoutersBasic-01049293-73081919 ID is 25f3f924-05c8-4027-bb4e-2a5b30a44d91 2025-03-29 21:01:54,350 - DEBUG - VM ctest-TestRoutersBasic-01049293-73081919 launched on Node cn-jenkins-deploy-platform-ansible-os-3002-1 2025-03-29 21:01:54,440 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/25f3f924-05c8-4027-bb4e-2a5b30a44d91 2025-03-29 21:01:54,452 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b4636872-47a8-4b2e-afe3-be46672a3fce 2025-03-29 21:01:55,710 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.634 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.634/1.694/2.755/1.060 ms') 2025-03-29 21:01:55,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01049293-73081919 passed 2025-03-29 21:01:55,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:01:55,872 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01049293-73081919, IP 57.79.247.131, Port 22 2025-03-29 21:01:56,038 - DEBUG - VM ctest-TestRoutersBasic-01049293-73081919 is ready for SSH connections 2025-03-29 21:01:56,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-29 21:01:56,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.79.247.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-03-29 21:01:56,039 - DEBUG - ping -s 56 -c 3 -W 1 57.79.247.131 2025-03-29 21:01:59,802 - DEBUG - PING 57.79.247.131 (57.79.247.131): 56 data bytes 64 bytes from 57.79.247.131: seq=0 ttl=62 time=5.419 ms 64 bytes from 57.79.247.131: seq=1 ttl=62 time=0.910 ms 64 bytes from 57.79.247.131: seq=2 ttl=62 time=0.950 ms --- 57.79.247.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.426/5.419 ms 2025-03-29 21:01:59,802 - INFO - Ping to IP 57.79.247.131 from VM ctest-TestRoutersBasic-01049293-89541753 passed 2025-03-29 21:01:59,802 - INFO - Deleting interface with subnet_id b9e5c800-2d82-40cb-8499-573f1a946633, port_id None from router a52901ad-101f-4e16-b5cb-7d86a467e03c 2025-03-29 21:02:00,066 - INFO - Deleting VM ctest-TestRoutersBasic-01049293-73081919 2025-03-29 21:02:00,168 - INFO - Deleting VM ctest-TestRoutersBasic-01049293-89541753 2025-03-29 21:02:00,315 - INFO - Deleting VN ctest-ext_vn-69574362 2025-03-29 21:02:00,495 - DEBUG - VN 33fc8524-a611-4c31-b07e-80b22a40bb17 still in use: Unable to complete operation on network 33fc8524-a611-4c31-b07e-80b22a40bb17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79800007-3312-4009-961b-9e64dd011bb5'] 2025-03-29 21:02:00,496 - WARNING - Deleting VN ctest-ext_vn-69574362 failed..Will retry 2025-03-29 21:02:02,638 - DEBUG - Response for deleting network () 2025-03-29 21:02:02,638 - INFO - Deleting VN ctest-vn-02108709 2025-03-29 21:02:02,764 - DEBUG - Response for deleting network () 2025-03-29 21:02:03,025 - DEBUG - No XMPP flaps were noticed during the test 2025-03-29 21:02:03,026 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-03-29 21:02:03,026 - INFO - -------------------------------------------------------------------------------- 2025-03-29 21:02:03,768 - INFO - Deleted project: ctest-TestRoutersBasic-01049293, ID : 5d26286f-4e88-4530-82f8-1d068e346a18