2025-04-08 13:54:05,761 - INFO - Domain Default found not creating
2025-04-08 13:54:05,915 - INFO - Project ctest-TestRoutersBasic-31047504 not found, creating it
2025-04-08 13:54:06,393 - INFO - Created Project:ctest-TestRoutersBasic-31047504, ID : da19c385-9242-4b22-b716-685a79e3cf29
2025-04-08 13:54:07,915 - INFO - ================================================================================
2025-04-08 13:54:07,915 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-08 13:54:07,915 - 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-04-08 13:54:08,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with
2025-04-08 13:54:08,171 - INFO - Initial checks done. Running the testcase now
2025-04-08 13:54:08,172 - INFO -
2025-04-08 13:54:08,911 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31047504
2025-04-08 13:54:09,008 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31047504
2025-04-08 13:54:09,348 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31047504', 'default']}
2025-04-08 13:54:09,663 - DEBUG - Response for create_network : {'network': {'id': 'e38c70e0-ed43-4f48-b7b9-059fca89f265', 'name': 'ctest-vn-12922614', 'tenant_id': 'da19c38592424b22b716685a79e3cf29', 'project_id': 'da19c38592424b22b716685a79e3cf29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31047504', 'ctest-vn-12922614'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 13:54:09,839 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef0ca2f9-b054-4df5-8412-fe6f17fa3aec', 'name': '', 'tenant_id': 'da19c38592424b22b716685a79e3cf29', 'network_id': 'e38c70e0-ed43-4f48-b7b9-059fca89f265', 'ip_version': 4, 'cidr': '70.151.7.128/26', 'allocation_pools': [{'start': '70.151.7.130', 'end': '70.151.7.190'}], 'gateway_ip': '70.151.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.151.7.130', 'tags': [], 'project_id': 'da19c38592424b22b716685a79e3cf29'}}
2025-04-08 13:54:09,861 - INFO - Created VN ctest-vn-12922614
2025-04-08 13:54:09,916 - DEBUG - VN ctest-vn-12922614 UUID is e38c70e0-ed43-4f48-b7b9-059fca89f265
2025-04-08 13:54:10,251 - DEBUG - Response for create_network : {'network': {'id': 'b8f36d22-cfd7-4b80-8f92-998f5ba72b4d', 'name': 'ctest-ext_vn-86119522', 'tenant_id': 'da19c38592424b22b716685a79e3cf29', 'project_id': 'da19c38592424b22b716685a79e3cf29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31047504', 'ctest-ext_vn-86119522'], 'port_security_enabled': True, 'description': ''}}
2025-04-08 13:54:10,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfa6490d-0072-49bd-85a2-f080c3b845aa', 'name': '', 'tenant_id': 'da19c38592424b22b716685a79e3cf29', 'network_id': 'b8f36d22-cfd7-4b80-8f92-998f5ba72b4d', 'ip_version': 4, 'cidr': '30.253.23.128/26', 'allocation_pools': [{'start': '30.253.23.130', 'end': '30.253.23.190'}], 'gateway_ip': '30.253.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.253.23.130', 'tags': [], 'project_id': 'da19c38592424b22b716685a79e3cf29'}}
2025-04-08 13:54:10,441 - INFO - Created VN ctest-ext_vn-86119522
2025-04-08 13:54:10,496 - DEBUG - VN ctest-ext_vn-86119522 UUID is b8f36d22-cfd7-4b80-8f92-998f5ba72b4d
2025-04-08 13:54:10,664 - DEBUG - Services list from nova: [, , ]
2025-04-08 13:54:11,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3052-1)
2025-04-08 13:54:12,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3052-1)
2025-04-08 13:54:12,953 - INFO - Setting gateway for router 3b99bf23-4a02-474d-8387-77214770597e to network b8f36d22-cfd7-4b80-8f92-998f5ba72b4d
2025-04-08 13:54:13,019 - INFO - Adding interface with subnet_id ef0ca2f9-b054-4df5-8412-fe6f17fa3aec, port_id None to router 3b99bf23-4a02-474d-8387-77214770597e
2025-04-08 13:54:13,432 - INFO - Waiting for VM ctest-TestRoutersBasic-31047504-34651052 to be up..
2025-04-08 13:54:13,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-08 13:54:18,681 - DEBUG - VM is in ACTIVE state now
2025-04-08 13:54:18,682 - INFO - VM name : ctest-TestRoutersBasic-31047504-34651052
2025-04-08 13:54:18,774 - DEBUG - VM ctest-TestRoutersBasic-31047504-34651052 ID is a5097d1d-bd15-46c0-b3c1-3cb792686417
2025-04-08 13:54:18,795 - DEBUG - VM ctest-TestRoutersBasic-31047504-34651052 launched on Node cn-jenkins-deploy-platform-ansible-os-3052-1
2025-04-08 13:54:18,884 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a5097d1d-bd15-46c0-b3c1-3cb792686417
2025-04-08 13:54:19,183 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a5097d1d-bd15-46c0-b3c1-3cb792686417
2025-04-08 13:54:19,218 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6c658b09-6887-450c-ac2b-54b0318c3bc8
2025-04-08 13:54:22,485 - 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 1025ms')
2025-04-08 13:54:22,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31047504-34651052 failed!
2025-04-08 13:54:22,540 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31047504:ctest-vn-12922614 is 70.151.7.129 and allocation pool is NOT set
2025-04-08 13:54:24,600 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.45 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.449/3.318/4.187/0.869 ms')
2025-04-08 13:54:24,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31047504-34651052 passed
2025-04-08 13:54:24,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 13:54:24,712 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31047504-34651052, IP 70.151.7.131, Port 22
2025-04-08 13:54:24,868 - DEBUG - VM ctest-TestRoutersBasic-31047504-34651052 is ready for SSH connections
2025-04-08 13:54:24,868 - INFO - Waiting for VM ctest-TestRoutersBasic-31047504-97749271 to be up..
2025-04-08 13:54:24,953 - DEBUG - VM is in ACTIVE state now
2025-04-08 13:54:24,953 - INFO - VM name : ctest-TestRoutersBasic-31047504-97749271
2025-04-08 13:54:25,115 - DEBUG - VM ctest-TestRoutersBasic-31047504-97749271 ID is 9eec72e7-81a4-44f9-98ca-5ff489d0be6d
2025-04-08 13:54:25,115 - DEBUG - VM ctest-TestRoutersBasic-31047504-97749271 launched on Node cn-jenkins-deploy-platform-ansible-os-3052-1
2025-04-08 13:54:25,212 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/9eec72e7-81a4-44f9-98ca-5ff489d0be6d
2025-04-08 13:54:25,222 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/ec3434be-771d-49fe-a0ce-68722094cb34
2025-04-08 13:54:26,489 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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 = 1.154/2.685/4.217/1.531 ms')
2025-04-08 13:54:26,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31047504-97749271 passed
2025-04-08 13:54:26,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 13:54:26,648 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31047504-97749271, IP 30.253.23.131, Port 22
2025-04-08 13:54:26,804 - DEBUG - VM ctest-TestRoutersBasic-31047504-97749271 is ready for SSH connections
2025-04-08 13:54:26,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 13:54:26,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.253.23.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-08 13:54:26,804 - DEBUG - ping -s 56 -c 3 -W 1 30.253.23.131
2025-04-08 13:54:30,814 - DEBUG - PING 30.253.23.131 (30.253.23.131): 56 data bytes
64 bytes from 30.253.23.131: seq=0 ttl=62 time=5.224 ms
64 bytes from 30.253.23.131: seq=1 ttl=62 time=0.807 ms
64 bytes from 30.253.23.131: seq=2 ttl=62 time=1.005 ms
--- 30.253.23.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.807/2.345/5.224 ms
2025-04-08 13:54:30,815 - INFO - Ping to IP 30.253.23.131 from VM ctest-TestRoutersBasic-31047504-34651052 passed
2025-04-08 13:54:30,815 - INFO - Deleting interface with subnet_id ef0ca2f9-b054-4df5-8412-fe6f17fa3aec, port_id None from router 3b99bf23-4a02-474d-8387-77214770597e
2025-04-08 13:54:31,064 - INFO - Deleting VM ctest-TestRoutersBasic-31047504-97749271
2025-04-08 13:54:31,135 - INFO - Deleting VM ctest-TestRoutersBasic-31047504-34651052
2025-04-08 13:54:31,218 - INFO - Deleting VN ctest-ext_vn-86119522
2025-04-08 13:54:31,303 - DEBUG - VN b8f36d22-cfd7-4b80-8f92-998f5ba72b4d still in use: Unable to complete operation on network b8f36d22-cfd7-4b80-8f92-998f5ba72b4d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ce48479f-8ab4-48c1-8ae4-faabb297e932']
2025-04-08 13:54:31,303 - WARNING - Deleting VN ctest-ext_vn-86119522 failed..Will retry
2025-04-08 13:54:33,433 - DEBUG - Response for deleting network ()
2025-04-08 13:54:33,433 - INFO - Deleting VN ctest-vn-12922614
2025-04-08 13:54:33,559 - DEBUG - Response for deleting network ()
2025-04-08 13:54:33,821 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 13:54:33,821 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-08 13:54:33,822 - INFO - --------------------------------------------------------------------------------
2025-04-08 13:54:34,532 - INFO - Deleted project: ctest-TestRoutersBasic-31047504, ID : da19c385-9242-4b22-b716-685a79e3cf29