2025-01-15 17:35:04,213 - INFO - Domain Default found not creating
2025-01-15 17:35:04,357 - INFO - Project ctest-TestRoutersBasic-15652360 not found, creating it
2025-01-15 17:35:04,809 - INFO - Created Project:ctest-TestRoutersBasic-15652360, ID : ad2267aa-6adb-4dc2-b17c-9f7c413e551c
2025-01-15 17:35:06,211 - INFO - ================================================================================
2025-01-15 17:35:06,211 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-15 17:35:06,211 - 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-15 17:35:06,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with
2025-01-15 17:35:06,465 - INFO - Initial checks done. Running the testcase now
2025-01-15 17:35:06,465 - INFO -
2025-01-15 17:35:07,157 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15652360
2025-01-15 17:35:07,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15652360
2025-01-15 17:35:07,580 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15652360', 'default']}
2025-01-15 17:35:07,880 - DEBUG - Response for create_network : {'network': {'id': 'd25fc458-9a1b-4bb3-9e71-eccb4eef55da', 'name': 'ctest-vn-71673006', 'tenant_id': 'ad2267aa6adb4dc2b17c9f7c413e551c', 'project_id': 'ad2267aa6adb4dc2b17c9f7c413e551c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15652360', 'ctest-vn-71673006'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 17:35:08,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5ae3b9c-3b98-4fc8-9890-b96686eeac53', 'name': '', 'tenant_id': 'ad2267aa6adb4dc2b17c9f7c413e551c', 'network_id': 'd25fc458-9a1b-4bb3-9e71-eccb4eef55da', 'ip_version': 4, 'cidr': '194.217.113.64/26', 'allocation_pools': [{'start': '194.217.113.66', 'end': '194.217.113.126'}], 'gateway_ip': '194.217.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.217.113.66', 'tags': [], 'project_id': 'ad2267aa6adb4dc2b17c9f7c413e551c'}}
2025-01-15 17:35:08,082 - INFO - Created VN ctest-vn-71673006
2025-01-15 17:35:08,140 - DEBUG - VN ctest-vn-71673006 UUID is d25fc458-9a1b-4bb3-9e71-eccb4eef55da
2025-01-15 17:35:08,482 - DEBUG - Response for create_network : {'network': {'id': '49f2e2d2-d6db-4408-9b6f-7f5e5f5e0f94', 'name': 'ctest-ext_vn-18994866', 'tenant_id': 'ad2267aa6adb4dc2b17c9f7c413e551c', 'project_id': 'ad2267aa6adb4dc2b17c9f7c413e551c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15652360', 'ctest-ext_vn-18994866'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 17:35:08,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a331348-6cbd-457d-a27b-61f8061afd3a', 'name': '', 'tenant_id': 'ad2267aa6adb4dc2b17c9f7c413e551c', 'network_id': '49f2e2d2-d6db-4408-9b6f-7f5e5f5e0f94', 'ip_version': 4, 'cidr': '31.64.78.64/26', 'allocation_pools': [{'start': '31.64.78.66', 'end': '31.64.78.126'}], 'gateway_ip': '31.64.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.64.78.66', 'tags': [], 'project_id': 'ad2267aa6adb4dc2b17c9f7c413e551c'}}
2025-01-15 17:35:08,709 - INFO - Created VN ctest-ext_vn-18994866
2025-01-15 17:35:08,760 - DEBUG - VN ctest-ext_vn-18994866 UUID is 49f2e2d2-d6db-4408-9b6f-7f5e5f5e0f94
2025-01-15 17:35:08,961 - DEBUG - Services list from nova: [, , ]
2025-01-15 17:35:09,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2643-1)
2025-01-15 17:35:11,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2643-1)
2025-01-15 17:35:11,184 - INFO - Setting gateway for router 92ef5021-3b3f-49b8-a479-d418e2d6701b to network 49f2e2d2-d6db-4408-9b6f-7f5e5f5e0f94
2025-01-15 17:35:11,247 - INFO - Adding interface with subnet_id b5ae3b9c-3b98-4fc8-9890-b96686eeac53, port_id None to router 92ef5021-3b3f-49b8-a479-d418e2d6701b
2025-01-15 17:35:11,605 - INFO - Waiting for VM ctest-TestRoutersBasic-15652360-60349634 to be up..
2025-01-15 17:35:11,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 17:35:16,826 - DEBUG - VM is in ACTIVE state now
2025-01-15 17:35:16,826 - INFO - VM name : ctest-TestRoutersBasic-15652360-60349634
2025-01-15 17:35:16,902 - DEBUG - VM ctest-TestRoutersBasic-15652360-60349634 ID is f89fa397-e1d8-4e06-9390-ff71b6761244
2025-01-15 17:35:16,919 - DEBUG - VM ctest-TestRoutersBasic-15652360-60349634 launched on Node cn-jenkins-deploy-platform-ansible-os-2643-1
2025-01-15 17:35:16,988 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f89fa397-e1d8-4e06-9390-ff71b6761244
2025-01-15 17:35:17,282 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f89fa397-e1d8-4e06-9390-ff71b6761244
2025-01-15 17:35:17,311 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ec9affe8-5c78-41a5-91f0-174d30e706e9
2025-01-15 17:35:20,566 - 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 1010ms')
2025-01-15 17:35:20,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15652360-60349634 failed!
2025-01-15 17:35:20,624 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15652360:ctest-vn-71673006 is 194.217.113.65 and allocation pool is NOT set
2025-01-15 17:35:22,687 - 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=3.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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.357/1.837/3.318/1.480 ms')
2025-01-15 17:35:22,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15652360-60349634 passed
2025-01-15 17:35:22,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 17:35:22,840 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15652360-60349634, IP 194.217.113.67, Port 22
2025-01-15 17:35:23,000 - DEBUG - VM ctest-TestRoutersBasic-15652360-60349634 is ready for SSH connections
2025-01-15 17:35:23,000 - INFO - Waiting for VM ctest-TestRoutersBasic-15652360-88796241 to be up..
2025-01-15 17:35:23,073 - DEBUG - VM is in ACTIVE state now
2025-01-15 17:35:23,073 - INFO - VM name : ctest-TestRoutersBasic-15652360-88796241
2025-01-15 17:35:23,155 - DEBUG - VM ctest-TestRoutersBasic-15652360-88796241 ID is 5ea319c6-3a10-4867-8019-931f66474c89
2025-01-15 17:35:23,155 - DEBUG - VM ctest-TestRoutersBasic-15652360-88796241 launched on Node cn-jenkins-deploy-platform-ansible-os-2643-1
2025-01-15 17:35:23,230 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/5ea319c6-3a10-4867-8019-931f66474c89
2025-01-15 17:35:23,239 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ebd094af-e8de-4be1-bfd9-d57f2eaa0f6a
2025-01-15 17:35:24,487 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.689/2.966/1.276 ms')
2025-01-15 17:35:24,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15652360-88796241 passed
2025-01-15 17:35:24,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 17:35:24,636 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15652360-88796241, IP 31.64.78.67, Port 22
2025-01-15 17:35:24,796 - DEBUG - VM ctest-TestRoutersBasic-15652360-88796241 is ready for SSH connections
2025-01-15 17:35:24,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 17:35:24,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.64.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2025-01-15 17:35:24,796 - DEBUG - ping -s 56 -c 3 -W 1 31.64.78.67
2025-01-15 17:35:28,466 - DEBUG - PING 31.64.78.67 (31.64.78.67): 56 data bytes
64 bytes from 31.64.78.67: seq=0 ttl=62 time=6.309 ms
64 bytes from 31.64.78.67: seq=1 ttl=62 time=0.769 ms
64 bytes from 31.64.78.67: seq=2 ttl=62 time=0.968 ms
--- 31.64.78.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.769/2.682/6.309 ms
2025-01-15 17:35:28,466 - INFO - Ping to IP 31.64.78.67 from VM ctest-TestRoutersBasic-15652360-60349634 passed
2025-01-15 17:35:28,466 - INFO - Deleting interface with subnet_id b5ae3b9c-3b98-4fc8-9890-b96686eeac53, port_id None from router 92ef5021-3b3f-49b8-a479-d418e2d6701b
2025-01-15 17:35:28,684 - INFO - Deleting VM ctest-TestRoutersBasic-15652360-88796241
2025-01-15 17:35:28,746 - INFO - Deleting VM ctest-TestRoutersBasic-15652360-60349634
2025-01-15 17:35:28,839 - INFO - Deleting VN ctest-ext_vn-18994866
2025-01-15 17:35:28,930 - DEBUG - VN 49f2e2d2-d6db-4408-9b6f-7f5e5f5e0f94 still in use: Unable to complete operation on network 49f2e2d2-d6db-4408-9b6f-7f5e5f5e0f94. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8e347919-4353-4b25-9e2d-ab9a2f63bd81']
2025-01-15 17:35:28,931 - WARNING - Deleting VN ctest-ext_vn-18994866 failed..Will retry
2025-01-15 17:35:31,059 - DEBUG - Response for deleting network ()
2025-01-15 17:35:31,059 - INFO - Deleting VN ctest-vn-71673006
2025-01-15 17:35:31,167 - DEBUG - Response for deleting network ()
2025-01-15 17:35:31,426 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 17:35:31,426 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-15 17:35:31,426 - INFO - --------------------------------------------------------------------------------
2025-01-15 17:35:32,095 - INFO - Deleted project: ctest-TestRoutersBasic-15652360, ID : ad2267aa-6adb-4dc2-b17c-9f7c413e551c