2025-01-02 13:00:38,967 - INFO - Domain Default found not creating 2025-01-02 13:00:39,105 - INFO - Project ctest-TestRoutersBasic-96801669 not found, creating it 2025-01-02 13:00:39,544 - INFO - Created Project:ctest-TestRoutersBasic-96801669, ID : 6859d369-3a67-49b8-9feb-06f37a432aaa 2025-01-02 13:00:41,029 - INFO - ================================================================================ 2025-01-02 13:00:41,029 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 13:00:41,029 - 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-01-02 13:00:41,293 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.17': '0'}} with 2025-01-02 13:00:41,293 - INFO - Initial checks done. Running the testcase now 2025-01-02 13:00:41,293 - INFO - 2025-01-02 13:00:41,996 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96801669 2025-01-02 13:00:42,096 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96801669 2025-01-02 13:00:42,428 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96801669', 'default']} 2025-01-02 13:00:42,716 - DEBUG - Response for create_network : {'network': {'id': '95c076a4-9f29-4719-a5b7-0f3beabcf0a0', 'name': 'ctest-vn-49525436', 'tenant_id': '6859d3693a6749b89feb06f37a432aaa', 'project_id': '6859d3693a6749b89feb06f37a432aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96801669', 'ctest-vn-49525436'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:00:42,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d362567-7c6d-49e9-8df5-0c2e8e5f7b3f', 'name': '', 'tenant_id': '6859d3693a6749b89feb06f37a432aaa', 'network_id': '95c076a4-9f29-4719-a5b7-0f3beabcf0a0', 'ip_version': 4, 'cidr': '220.137.183.0/26', 'allocation_pools': [{'start': '220.137.183.2', 'end': '220.137.183.62'}], 'gateway_ip': '220.137.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.137.183.2', 'tags': [], 'project_id': '6859d3693a6749b89feb06f37a432aaa'}} 2025-01-02 13:00:42,907 - INFO - Created VN ctest-vn-49525436 2025-01-02 13:00:42,960 - DEBUG - VN ctest-vn-49525436 UUID is 95c076a4-9f29-4719-a5b7-0f3beabcf0a0 2025-01-02 13:00:43,279 - DEBUG - Response for create_network : {'network': {'id': 'e9c7bc67-257f-4bb3-9fab-08bfd89df28f', 'name': 'ctest-ext_vn-23130809', 'tenant_id': '6859d3693a6749b89feb06f37a432aaa', 'project_id': '6859d3693a6749b89feb06f37a432aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96801669', 'ctest-ext_vn-23130809'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:00:43,425 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e30186b8-7426-4d56-8b26-f0d33960a069', 'name': '', 'tenant_id': '6859d3693a6749b89feb06f37a432aaa', 'network_id': 'e9c7bc67-257f-4bb3-9fab-08bfd89df28f', 'ip_version': 4, 'cidr': '113.112.158.128/26', 'allocation_pools': [{'start': '113.112.158.130', 'end': '113.112.158.190'}], 'gateway_ip': '113.112.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.112.158.130', 'tags': [], 'project_id': '6859d3693a6749b89feb06f37a432aaa'}} 2025-01-02 13:00:43,441 - INFO - Created VN ctest-ext_vn-23130809 2025-01-02 13:00:43,492 - DEBUG - VN ctest-ext_vn-23130809 UUID is e9c7bc67-257f-4bb3-9fab-08bfd89df28f 2025-01-02 13:00:43,693 - DEBUG - Services list from nova: [, , ] 2025-01-02 13:00:44,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2510-1) 2025-01-02 13:00:45,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2510-1) 2025-01-02 13:00:45,923 - INFO - Setting gateway for router e288351d-c8b9-47fa-8755-9fddc49fcd52 to network e9c7bc67-257f-4bb3-9fab-08bfd89df28f 2025-01-02 13:00:45,984 - INFO - Adding interface with subnet_id 3d362567-7c6d-49e9-8df5-0c2e8e5f7b3f, port_id None to router e288351d-c8b9-47fa-8755-9fddc49fcd52 2025-01-02 13:00:46,323 - INFO - Waiting for VM ctest-TestRoutersBasic-96801669-18761477 to be up.. 2025-01-02 13:00:46,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 13:00:51,574 - DEBUG - VM is in ACTIVE state now 2025-01-02 13:00:51,574 - INFO - VM name : ctest-TestRoutersBasic-96801669-18761477 2025-01-02 13:00:51,657 - DEBUG - VM ctest-TestRoutersBasic-96801669-18761477 ID is a766a774-d2e4-4fc9-b91f-2ee6013cc552 2025-01-02 13:00:51,678 - DEBUG - VM ctest-TestRoutersBasic-96801669-18761477 launched on Node cn-jenkins-deploy-platform-ansible-os-2510-1 2025-01-02 13:00:51,772 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/a766a774-d2e4-4fc9-b91f-2ee6013cc552 2025-01-02 13:00:52,065 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/a766a774-d2e4-4fc9-b91f-2ee6013cc552 2025-01-02 13:00:52,099 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/c39ea0b7-e100-4cc8-a489-cc8451fc1c59 2025-01-02 13:00:55,368 - 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 1027ms') 2025-01-02 13:00:55,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96801669-18761477 failed! 2025-01-02 13:00:55,424 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96801669:ctest-vn-49525436 is 220.137.183.1 and allocation pool is NOT set 2025-01-02 13:00:57,486 - 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.71 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 1002ms\r\nrtt min/avg/max/mdev = 0.396/1.551/2.707/1.155 ms') 2025-01-02 13:00:57,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96801669-18761477 passed 2025-01-02 13:00:57,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:00:57,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96801669-18761477, IP 220.137.183.3, Port 22 2025-01-02 13:00:57,818 - DEBUG - VM ctest-TestRoutersBasic-96801669-18761477 is ready for SSH connections 2025-01-02 13:00:57,818 - INFO - Waiting for VM ctest-TestRoutersBasic-96801669-18012206 to be up.. 2025-01-02 13:00:57,916 - DEBUG - VM is in ACTIVE state now 2025-01-02 13:00:57,916 - INFO - VM name : ctest-TestRoutersBasic-96801669-18012206 2025-01-02 13:00:57,990 - DEBUG - VM ctest-TestRoutersBasic-96801669-18012206 ID is 9382faec-759c-4011-a671-1a214f5f1695 2025-01-02 13:00:57,990 - DEBUG - VM ctest-TestRoutersBasic-96801669-18012206 launched on Node cn-jenkins-deploy-platform-ansible-os-2510-1 2025-01-02 13:00:58,062 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/9382faec-759c-4011-a671-1a214f5f1695 2025-01-02 13:00:58,074 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/89af36ac-00f7-470a-a100-048cf2ae884d 2025-01-02 13:00:59,312 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/2.209/4.064/1.854 ms') 2025-01-02 13:00:59,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96801669-18012206 passed 2025-01-02 13:00:59,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:00:59,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96801669-18012206, IP 113.112.158.131, Port 22 2025-01-02 13:00:59,619 - DEBUG - VM ctest-TestRoutersBasic-96801669-18012206 is ready for SSH connections 2025-01-02 13:00:59,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:00:59,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.112.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-01-02 13:00:59,620 - DEBUG - ping -s 56 -c 3 -W 1 113.112.158.131 2025-01-02 13:01:03,303 - DEBUG - PING 113.112.158.131 (113.112.158.131): 56 data bytes 64 bytes from 113.112.158.131: seq=0 ttl=62 time=7.621 ms 64 bytes from 113.112.158.131: seq=1 ttl=62 time=0.798 ms 64 bytes from 113.112.158.131: seq=2 ttl=62 time=0.960 ms --- 113.112.158.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/3.126/7.621 ms 2025-01-02 13:01:03,303 - INFO - Ping to IP 113.112.158.131 from VM ctest-TestRoutersBasic-96801669-18761477 passed 2025-01-02 13:01:03,303 - INFO - Deleting interface with subnet_id 3d362567-7c6d-49e9-8df5-0c2e8e5f7b3f, port_id None from router e288351d-c8b9-47fa-8755-9fddc49fcd52 2025-01-02 13:01:03,522 - INFO - Deleting VM ctest-TestRoutersBasic-96801669-18012206 2025-01-02 13:01:03,591 - INFO - Deleting VM ctest-TestRoutersBasic-96801669-18761477 2025-01-02 13:01:03,688 - INFO - Deleting VN ctest-ext_vn-23130809 2025-01-02 13:01:03,754 - DEBUG - VN e9c7bc67-257f-4bb3-9fab-08bfd89df28f still in use: Unable to complete operation on network e9c7bc67-257f-4bb3-9fab-08bfd89df28f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-824d61a6-de07-4e43-800c-9bfdcbb56ceb'] 2025-01-02 13:01:03,754 - WARNING - Deleting VN ctest-ext_vn-23130809 failed..Will retry 2025-01-02 13:01:05,856 - DEBUG - Response for deleting network () 2025-01-02 13:01:05,856 - INFO - Deleting VN ctest-vn-49525436 2025-01-02 13:01:05,954 - DEBUG - Response for deleting network () 2025-01-02 13:01:06,210 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 13:01:06,210 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-01-02 13:01:06,210 - INFO - -------------------------------------------------------------------------------- 2025-01-02 13:01:06,874 - INFO - Deleted project: ctest-TestRoutersBasic-96801669, ID : 6859d369-3a67-49b8-9feb-06f37a432aaa