2025-02-03 12:30:44,533 - INFO - Domain Default found not creating 2025-02-03 12:30:44,719 - INFO - Project ctest-TestRoutersBasic-14713168 not found, creating it 2025-02-03 12:30:45,230 - INFO - Created Project:ctest-TestRoutersBasic-14713168, ID : 91b3c6ea-a68e-4bf4-9a73-d5629a0d6c65 2025-02-03 12:30:46,645 - INFO - ================================================================================ 2025-02-03 12:30:46,645 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-03 12:30:46,645 - 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-03 12:30:46,901 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2025-02-03 12:30:46,901 - INFO - Initial checks done. Running the testcase now 2025-02-03 12:30:46,901 - INFO - 2025-02-03 12:30:47,602 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14713168 2025-02-03 12:30:47,699 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14713168 2025-02-03 12:30:48,027 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14713168', 'default']} 2025-02-03 12:30:48,350 - DEBUG - Response for create_network : {'network': {'id': '85f1ced9-5055-4e83-bdd3-b295f1792091', 'name': 'ctest-vn-60167129', 'tenant_id': '91b3c6eaa68e4bf49a73d5629a0d6c65', 'project_id': '91b3c6eaa68e4bf49a73d5629a0d6c65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14713168', 'ctest-vn-60167129'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 12:30:48,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '19dfdbd3-dffd-4c87-9543-bd357a482bf7', 'name': '', 'tenant_id': '91b3c6eaa68e4bf49a73d5629a0d6c65', 'network_id': '85f1ced9-5055-4e83-bdd3-b295f1792091', 'ip_version': 4, 'cidr': '144.158.74.192/26', 'allocation_pools': [{'start': '144.158.74.194', 'end': '144.158.74.254'}], 'gateway_ip': '144.158.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.158.74.194', 'tags': [], 'project_id': '91b3c6eaa68e4bf49a73d5629a0d6c65'}} 2025-02-03 12:30:48,580 - INFO - Created VN ctest-vn-60167129 2025-02-03 12:30:48,635 - DEBUG - VN ctest-vn-60167129 UUID is 85f1ced9-5055-4e83-bdd3-b295f1792091 2025-02-03 12:30:48,999 - DEBUG - Response for create_network : {'network': {'id': '42a0b317-4684-4472-9f2b-2dfa3985b214', 'name': 'ctest-ext_vn-44008521', 'tenant_id': '91b3c6eaa68e4bf49a73d5629a0d6c65', 'project_id': '91b3c6eaa68e4bf49a73d5629a0d6c65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14713168', 'ctest-ext_vn-44008521'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 12:30:49,163 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de8fc9b3-7185-480d-a65c-c5b6e5d1319d', 'name': '', 'tenant_id': '91b3c6eaa68e4bf49a73d5629a0d6c65', 'network_id': '42a0b317-4684-4472-9f2b-2dfa3985b214', 'ip_version': 4, 'cidr': '136.166.230.192/26', 'allocation_pools': [{'start': '136.166.230.194', 'end': '136.166.230.254'}], 'gateway_ip': '136.166.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.166.230.194', 'tags': [], 'project_id': '91b3c6eaa68e4bf49a73d5629a0d6c65'}} 2025-02-03 12:30:49,182 - INFO - Created VN ctest-ext_vn-44008521 2025-02-03 12:30:49,235 - DEBUG - VN ctest-ext_vn-44008521 UUID is 42a0b317-4684-4472-9f2b-2dfa3985b214 2025-02-03 12:30:49,408 - DEBUG - Services list from nova: [, , ] 2025-02-03 12:30:50,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2678-1) 2025-02-03 12:30:51,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2678-1) 2025-02-03 12:30:51,613 - INFO - Setting gateway for router 4120316e-58a2-45d2-b8d0-3d188a51147b to network 42a0b317-4684-4472-9f2b-2dfa3985b214 2025-02-03 12:30:51,683 - INFO - Adding interface with subnet_id 19dfdbd3-dffd-4c87-9543-bd357a482bf7, port_id None to router 4120316e-58a2-45d2-b8d0-3d188a51147b 2025-02-03 12:30:52,072 - INFO - Waiting for VM ctest-TestRoutersBasic-14713168-32705092 to be up.. 2025-02-03 12:30:52,269 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 12:30:57,379 - DEBUG - VM is in ACTIVE state now 2025-02-03 12:30:57,379 - INFO - VM name : ctest-TestRoutersBasic-14713168-32705092 2025-02-03 12:30:57,462 - DEBUG - VM ctest-TestRoutersBasic-14713168-32705092 ID is e95ee7cb-1c5c-45c2-b442-a4a1472ad808 2025-02-03 12:30:57,489 - DEBUG - VM ctest-TestRoutersBasic-14713168-32705092 launched on Node cn-jenkins-deploy-platform-ansible-os-2678-1 2025-02-03 12:30:57,573 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e95ee7cb-1c5c-45c2-b442-a4a1472ad808 2025-02-03 12:30:57,870 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e95ee7cb-1c5c-45c2-b442-a4a1472ad808 2025-02-03 12:30:57,901 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/240bc39f-36af-4a78-a571-fde92b897d31 2025-02-03 12:31:01,181 - 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-02-03 12:31:01,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14713168-32705092 failed! 2025-02-03 12:31:01,235 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14713168:ctest-vn-60167129 is 144.158.74.193 and allocation pool is NOT set 2025-02-03 12:31:03,297 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/2.432/4.484/2.051 ms') 2025-02-03 12:31:03,297 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14713168-32705092 passed 2025-02-03 12:31:03,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:03,411 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14713168-32705092, IP 144.158.74.195, Port 22 2025-02-03 12:31:03,567 - DEBUG - VM ctest-TestRoutersBasic-14713168-32705092 is ready for SSH connections 2025-02-03 12:31:03,567 - INFO - Waiting for VM ctest-TestRoutersBasic-14713168-38359641 to be up.. 2025-02-03 12:31:03,646 - DEBUG - VM is in ACTIVE state now 2025-02-03 12:31:03,646 - INFO - VM name : ctest-TestRoutersBasic-14713168-38359641 2025-02-03 12:31:03,732 - DEBUG - VM ctest-TestRoutersBasic-14713168-38359641 ID is 6f834047-489c-48b2-a5e8-3e5d142293d1 2025-02-03 12:31:03,732 - DEBUG - VM ctest-TestRoutersBasic-14713168-38359641 launched on Node cn-jenkins-deploy-platform-ansible-os-2678-1 2025-02-03 12:31:03,812 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/6f834047-489c-48b2-a5e8-3e5d142293d1 2025-02-03 12:31:03,823 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6e2afeb3-ca91-4a38-a5d4-6931621fa961 2025-02-03 12:31:05,065 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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 = 0.383/1.937/3.491/1.554 ms') 2025-02-03 12:31:05,065 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14713168-38359641 passed 2025-02-03 12:31:05,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:05,223 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14713168-38359641, IP 136.166.230.195, Port 22 2025-02-03 12:31:05,386 - DEBUG - VM ctest-TestRoutersBasic-14713168-38359641 is ready for SSH connections 2025-02-03 12:31:05,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:05,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.166.230.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-03 12:31:05,387 - DEBUG - ping -s 56 -c 3 -W 1 136.166.230.195 2025-02-03 12:31:09,151 - DEBUG - PING 136.166.230.195 (136.166.230.195): 56 data bytes 64 bytes from 136.166.230.195: seq=0 ttl=62 time=6.384 ms 64 bytes from 136.166.230.195: seq=1 ttl=62 time=1.011 ms 64 bytes from 136.166.230.195: seq=2 ttl=62 time=0.872 ms --- 136.166.230.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/2.755/6.384 ms 2025-02-03 12:31:09,152 - INFO - Ping to IP 136.166.230.195 from VM ctest-TestRoutersBasic-14713168-32705092 passed 2025-02-03 12:31:09,152 - INFO - Deleting interface with subnet_id 19dfdbd3-dffd-4c87-9543-bd357a482bf7, port_id None from router 4120316e-58a2-45d2-b8d0-3d188a51147b 2025-02-03 12:31:09,472 - INFO - Deleting VM ctest-TestRoutersBasic-14713168-38359641 2025-02-03 12:31:09,548 - INFO - Deleting VM ctest-TestRoutersBasic-14713168-32705092 2025-02-03 12:31:09,647 - INFO - Deleting VN ctest-ext_vn-44008521 2025-02-03 12:31:09,727 - DEBUG - VN 42a0b317-4684-4472-9f2b-2dfa3985b214 still in use: Unable to complete operation on network 42a0b317-4684-4472-9f2b-2dfa3985b214. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c2f7787-ab3e-4b5f-8b47-aaeacd37163f'] 2025-02-03 12:31:09,728 - WARNING - Deleting VN ctest-ext_vn-44008521 failed..Will retry 2025-02-03 12:31:11,847 - DEBUG - Response for deleting network () 2025-02-03 12:31:11,847 - INFO - Deleting VN ctest-vn-60167129 2025-02-03 12:31:11,955 - DEBUG - Response for deleting network () 2025-02-03 12:31:12,213 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 12:31:12,214 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-03 12:31:12,214 - INFO - -------------------------------------------------------------------------------- 2025-02-03 12:31:13,003 - INFO - Deleted project: ctest-TestRoutersBasic-14713168, ID : 91b3c6ea-a68e-4bf4-9a73-d5629a0d6c65