2025-02-05 15:59:34,869 - INFO - Domain Default found not creating 2025-02-05 15:59:35,013 - INFO - Project ctest-TestRoutersBasic-61835143 not found, creating it 2025-02-05 15:59:35,511 - INFO - Created Project:ctest-TestRoutersBasic-61835143, ID : 6c3ee40b-0445-4bb6-9de4-2319a15fc184 2025-02-05 15:59:36,921 - INFO - ================================================================================ 2025-02-05 15:59:36,921 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-05 15:59:36,921 - 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-02-05 15:59:37,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.8': '0'}} with 2025-02-05 15:59:37,174 - INFO - Initial checks done. Running the testcase now 2025-02-05 15:59:37,174 - INFO - 2025-02-05 15:59:37,864 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61835143 2025-02-05 15:59:37,965 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61835143 2025-02-05 15:59:38,289 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61835143', 'default']} 2025-02-05 15:59:38,571 - DEBUG - Response for create_network : {'network': {'id': '3763512c-b202-413d-9656-28c504da7da5', 'name': 'ctest-vn-23081434', 'tenant_id': '6c3ee40b04454bb69de42319a15fc184', 'project_id': '6c3ee40b04454bb69de42319a15fc184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61835143', 'ctest-vn-23081434'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:59:38,762 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6153b7c-372b-4d21-87b7-bff49f7d4159', 'name': '', 'tenant_id': '6c3ee40b04454bb69de42319a15fc184', 'network_id': '3763512c-b202-413d-9656-28c504da7da5', 'ip_version': 4, 'cidr': '7.177.45.64/26', 'allocation_pools': [{'start': '7.177.45.66', 'end': '7.177.45.126'}], 'gateway_ip': '7.177.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.177.45.66', 'tags': [], 'project_id': '6c3ee40b04454bb69de42319a15fc184'}} 2025-02-05 15:59:38,779 - INFO - Created VN ctest-vn-23081434 2025-02-05 15:59:38,833 - DEBUG - VN ctest-vn-23081434 UUID is 3763512c-b202-413d-9656-28c504da7da5 2025-02-05 15:59:39,150 - DEBUG - Response for create_network : {'network': {'id': '60cfbece-02dc-4b7d-a828-9ea8467ec5ea', 'name': 'ctest-ext_vn-92537894', 'tenant_id': '6c3ee40b04454bb69de42319a15fc184', 'project_id': '6c3ee40b04454bb69de42319a15fc184', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61835143', 'ctest-ext_vn-92537894'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:59:39,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '8916213e-5ce4-4fb9-8f67-2c49430ecb25', 'name': '', 'tenant_id': '6c3ee40b04454bb69de42319a15fc184', 'network_id': '60cfbece-02dc-4b7d-a828-9ea8467ec5ea', 'ip_version': 4, 'cidr': '161.128.100.128/26', 'allocation_pools': [{'start': '161.128.100.130', 'end': '161.128.100.190'}], 'gateway_ip': '161.128.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.128.100.130', 'tags': [], 'project_id': '6c3ee40b04454bb69de42319a15fc184'}} 2025-02-05 15:59:39,351 - INFO - Created VN ctest-ext_vn-92537894 2025-02-05 15:59:39,401 - DEBUG - VN ctest-ext_vn-92537894 UUID is 60cfbece-02dc-4b7d-a828-9ea8467ec5ea 2025-02-05 15:59:39,602 - DEBUG - Services list from nova: [, , ] 2025-02-05 15:59:40,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2694-1) 2025-02-05 15:59:41,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2694-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2694-1) 2025-02-05 15:59:41,739 - INFO - Setting gateway for router 6679bb61-f704-44e0-ba31-03657746021c to network 60cfbece-02dc-4b7d-a828-9ea8467ec5ea 2025-02-05 15:59:41,812 - INFO - Adding interface with subnet_id b6153b7c-372b-4d21-87b7-bff49f7d4159, port_id None to router 6679bb61-f704-44e0-ba31-03657746021c 2025-02-05 15:59:42,331 - INFO - Waiting for VM ctest-TestRoutersBasic-61835143-00780286 to be up.. 2025-02-05 15:59:42,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 15:59:47,666 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:59:47,666 - INFO - VM name : ctest-TestRoutersBasic-61835143-00780286 2025-02-05 15:59:47,771 - DEBUG - VM ctest-TestRoutersBasic-61835143-00780286 ID is 3c0aa49d-eefb-4b2d-8e55-8c891e4a9b40 2025-02-05 15:59:47,789 - DEBUG - VM ctest-TestRoutersBasic-61835143-00780286 launched on Node cn-jenkins-deploy-platform-ansible-os-2694-1 2025-02-05 15:59:47,864 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3c0aa49d-eefb-4b2d-8e55-8c891e4a9b40 2025-02-05 15:59:48,158 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/3c0aa49d-eefb-4b2d-8e55-8c891e4a9b40 2025-02-05 15:59:48,187 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/53108dd3-da86-4c4d-bb11-c5371beed587 2025-02-05 15:59:51,439 - 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 1007ms') 2025-02-05 15:59:51,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61835143-00780286 failed! 2025-02-05 15:59:51,497 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61835143:ctest-vn-23081434 is 7.177.45.65 and allocation pool is NOT set 2025-02-05 15:59:53,557 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/1.694/2.993/1.298 ms') 2025-02-05 15:59:53,557 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61835143-00780286 passed 2025-02-05 15:59:53,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:59:53,709 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61835143-00780286, IP 7.177.45.67, Port 22 2025-02-05 15:59:53,864 - DEBUG - VM ctest-TestRoutersBasic-61835143-00780286 is ready for SSH connections 2025-02-05 15:59:53,864 - INFO - Waiting for VM ctest-TestRoutersBasic-61835143-06358362 to be up.. 2025-02-05 15:59:53,942 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:59:53,942 - INFO - VM name : ctest-TestRoutersBasic-61835143-06358362 2025-02-05 15:59:54,021 - DEBUG - VM ctest-TestRoutersBasic-61835143-06358362 ID is 0b88086c-195f-42be-a164-bb0c4ac47fbd 2025-02-05 15:59:54,021 - DEBUG - VM ctest-TestRoutersBasic-61835143-06358362 launched on Node cn-jenkins-deploy-platform-ansible-os-2694-1 2025-02-05 15:59:54,102 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/0b88086c-195f-42be-a164-bb0c4ac47fbd 2025-02-05 15:59:54,113 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/beabd744-3e42-4d3c-8b90-a44672ef9fb2 2025-02-05 15:59:55,367 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.929/3.457/1.527 ms') 2025-02-05 15:59:55,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61835143-06358362 passed 2025-02-05 15:59:55,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:59:55,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61835143-06358362, IP 161.128.100.131, Port 22 2025-02-05 15:59:55,677 - DEBUG - VM ctest-TestRoutersBasic-61835143-06358362 is ready for SSH connections 2025-02-05 15:59:55,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:59:55,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.128.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-05 15:59:55,677 - DEBUG - ping -s 56 -c 3 -W 1 161.128.100.131 2025-02-05 15:59:59,660 - DEBUG - PING 161.128.100.131 (161.128.100.131): 56 data bytes 64 bytes from 161.128.100.131: seq=0 ttl=62 time=7.145 ms 64 bytes from 161.128.100.131: seq=1 ttl=62 time=0.823 ms 64 bytes from 161.128.100.131: seq=2 ttl=62 time=0.845 ms --- 161.128.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/2.937/7.145 ms 2025-02-05 15:59:59,660 - INFO - Ping to IP 161.128.100.131 from VM ctest-TestRoutersBasic-61835143-00780286 passed 2025-02-05 15:59:59,660 - INFO - Deleting interface with subnet_id b6153b7c-372b-4d21-87b7-bff49f7d4159, port_id None from router 6679bb61-f704-44e0-ba31-03657746021c 2025-02-05 15:59:59,857 - INFO - Deleting VM ctest-TestRoutersBasic-61835143-06358362 2025-02-05 15:59:59,925 - INFO - Deleting VM ctest-TestRoutersBasic-61835143-00780286 2025-02-05 16:00:00,016 - INFO - Deleting VN ctest-ext_vn-92537894 2025-02-05 16:00:00,094 - DEBUG - VN 60cfbece-02dc-4b7d-a828-9ea8467ec5ea still in use: Unable to complete operation on network 60cfbece-02dc-4b7d-a828-9ea8467ec5ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d290664-c32c-434b-9f9f-2129cfcd8e16'] 2025-02-05 16:00:00,095 - WARNING - Deleting VN ctest-ext_vn-92537894 failed..Will retry 2025-02-05 16:00:02,211 - DEBUG - Response for deleting network () 2025-02-05 16:00:02,211 - INFO - Deleting VN ctest-vn-23081434 2025-02-05 16:00:02,337 - DEBUG - Response for deleting network () 2025-02-05 16:00:02,591 - DEBUG - No XMPP flaps were noticed during the test 2025-02-05 16:00:02,591 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-05 16:00:02,591 - INFO - -------------------------------------------------------------------------------- 2025-02-05 16:00:03,288 - INFO - Deleted project: ctest-TestRoutersBasic-61835143, ID : 6c3ee40b-0445-4bb6-9de4-2319a15fc184