2025-03-28 08:06:34,060 - INFO - Domain Default found not creating
2025-03-28 08:06:34,213 - INFO - Project ctest-TestRoutersBasic-02899240 not found, creating it
2025-03-28 08:06:34,694 - INFO - Created Project:ctest-TestRoutersBasic-02899240, ID : ff00cd4d-c5e5-4c3c-8636-f18761a7e589
2025-03-28 08:06:36,129 - INFO - ================================================================================
2025-03-28 08:06:36,129 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-28 08:06:36,129 - 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-03-28 08:06:36,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.5': '0'}} with
2025-03-28 08:06:36,388 - INFO - Initial checks done. Running the testcase now
2025-03-28 08:06:36,388 - INFO -
2025-03-28 08:06:37,090 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02899240
2025-03-28 08:06:37,187 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02899240
2025-03-28 08:06:37,510 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02899240', 'default']}
2025-03-28 08:06:37,796 - DEBUG - Response for create_network : {'network': {'id': 'a16a3be0-723a-4112-bc23-73128c537c0b', 'name': 'ctest-vn-24210099', 'tenant_id': 'ff00cd4dc5e54c3c8636f18761a7e589', 'project_id': 'ff00cd4dc5e54c3c8636f18761a7e589', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02899240', 'ctest-vn-24210099'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 08:06:37,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '51f6320e-038d-4282-a529-b0878e7f8fbd', 'name': '', 'tenant_id': 'ff00cd4dc5e54c3c8636f18761a7e589', 'network_id': 'a16a3be0-723a-4112-bc23-73128c537c0b', 'ip_version': 4, 'cidr': '128.137.30.0/26', 'allocation_pools': [{'start': '128.137.30.2', 'end': '128.137.30.62'}], 'gateway_ip': '128.137.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.137.30.2', 'tags': [], 'project_id': 'ff00cd4dc5e54c3c8636f18761a7e589'}}
2025-03-28 08:06:37,986 - INFO - Created VN ctest-vn-24210099
2025-03-28 08:06:38,038 - DEBUG - VN ctest-vn-24210099 UUID is a16a3be0-723a-4112-bc23-73128c537c0b
2025-03-28 08:06:38,348 - DEBUG - Response for create_network : {'network': {'id': '9e84d6c8-7258-491e-95a7-ec3e3fabad69', 'name': 'ctest-ext_vn-03453447', 'tenant_id': 'ff00cd4dc5e54c3c8636f18761a7e589', 'project_id': 'ff00cd4dc5e54c3c8636f18761a7e589', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02899240', 'ctest-ext_vn-03453447'], 'port_security_enabled': True, 'description': ''}}
2025-03-28 08:06:38,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '11e40c07-3850-4752-8a8d-cdd5dcd297fb', 'name': '', 'tenant_id': 'ff00cd4dc5e54c3c8636f18761a7e589', 'network_id': '9e84d6c8-7258-491e-95a7-ec3e3fabad69', 'ip_version': 4, 'cidr': '16.172.119.0/26', 'allocation_pools': [{'start': '16.172.119.2', 'end': '16.172.119.62'}], 'gateway_ip': '16.172.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.172.119.2', 'tags': [], 'project_id': 'ff00cd4dc5e54c3c8636f18761a7e589'}}
2025-03-28 08:06:38,547 - INFO - Created VN ctest-ext_vn-03453447
2025-03-28 08:06:38,598 - DEBUG - VN ctest-ext_vn-03453447 UUID is 9e84d6c8-7258-491e-95a7-ec3e3fabad69
2025-03-28 08:06:38,759 - DEBUG - Services list from nova: [, , ]
2025-03-28 08:06:39,747 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2985-1)
2025-03-28 08:06:40,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2985-1)
2025-03-28 08:06:40,945 - INFO - Setting gateway for router 7b20ffcb-faf2-40e3-9cc9-50d102addaaf to network 9e84d6c8-7258-491e-95a7-ec3e3fabad69
2025-03-28 08:06:41,007 - INFO - Adding interface with subnet_id 51f6320e-038d-4282-a529-b0878e7f8fbd, port_id None to router 7b20ffcb-faf2-40e3-9cc9-50d102addaaf
2025-03-28 08:06:41,329 - INFO - Waiting for VM ctest-TestRoutersBasic-02899240-42093457 to be up..
2025-03-28 08:06:41,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-28 08:06:46,594 - DEBUG - VM is in ACTIVE state now
2025-03-28 08:06:46,595 - INFO - VM name : ctest-TestRoutersBasic-02899240-42093457
2025-03-28 08:06:46,683 - DEBUG - VM ctest-TestRoutersBasic-02899240-42093457 ID is d37e5cd9-ec8c-4c74-a2e2-8c8369a8555e
2025-03-28 08:06:46,707 - DEBUG - VM ctest-TestRoutersBasic-02899240-42093457 launched on Node cn-jenkins-deploy-platform-ansible-os-2985-1
2025-03-28 08:06:46,799 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d37e5cd9-ec8c-4c74-a2e2-8c8369a8555e
2025-03-28 08:06:47,098 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d37e5cd9-ec8c-4c74-a2e2-8c8369a8555e
2025-03-28 08:06:47,131 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/596735e6-f658-4a3d-9ba0-49e20ff961cf
2025-03-28 08:06:50,395 - 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 1019ms')
2025-03-28 08:06:50,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02899240-42093457 failed!
2025-03-28 08:06:50,450 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02899240:ctest-vn-24210099 is 128.137.30.1 and allocation pool is NOT set
2025-03-28 08:06:52,516 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/1.525/2.647/1.122 ms')
2025-03-28 08:06:52,516 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02899240-42093457 passed
2025-03-28 08:06:52,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 08:06:52,678 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02899240-42093457, IP 128.137.30.3, Port 22
2025-03-28 08:06:52,833 - DEBUG - VM ctest-TestRoutersBasic-02899240-42093457 is ready for SSH connections
2025-03-28 08:06:52,833 - INFO - Waiting for VM ctest-TestRoutersBasic-02899240-02248290 to be up..
2025-03-28 08:06:52,913 - DEBUG - VM is in ACTIVE state now
2025-03-28 08:06:52,913 - INFO - VM name : ctest-TestRoutersBasic-02899240-02248290
2025-03-28 08:06:52,988 - DEBUG - VM ctest-TestRoutersBasic-02899240-02248290 ID is a4207980-cfbe-4413-aea9-398fd48bc7b2
2025-03-28 08:06:52,988 - DEBUG - VM ctest-TestRoutersBasic-02899240-02248290 launched on Node cn-jenkins-deploy-platform-ansible-os-2985-1
2025-03-28 08:06:53,059 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a4207980-cfbe-4413-aea9-398fd48bc7b2
2025-03-28 08:06:53,067 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/fcff27e3-7fe7-41f8-8a5b-1e12fd77095b
2025-03-28 08:06:54,299 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.607/2.750/1.142 ms')
2025-03-28 08:06:54,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02899240-02248290 passed
2025-03-28 08:06:54,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 08:06:54,458 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02899240-02248290, IP 16.172.119.3, Port 22
2025-03-28 08:06:54,615 - DEBUG - VM ctest-TestRoutersBasic-02899240-02248290 is ready for SSH connections
2025-03-28 08:06:54,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-28 08:06:54,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.172.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-03-28 08:06:54,615 - DEBUG - ping -s 56 -c 3 -W 1 16.172.119.3
2025-03-28 08:06:58,601 - DEBUG - PING 16.172.119.3 (16.172.119.3): 56 data bytes
64 bytes from 16.172.119.3: seq=0 ttl=62 time=7.192 ms
64 bytes from 16.172.119.3: seq=1 ttl=62 time=1.021 ms
64 bytes from 16.172.119.3: seq=2 ttl=62 time=0.978 ms
--- 16.172.119.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.978/3.063/7.192 ms
2025-03-28 08:06:58,602 - INFO - Ping to IP 16.172.119.3 from VM ctest-TestRoutersBasic-02899240-42093457 passed
2025-03-28 08:06:58,602 - INFO - Deleting interface with subnet_id 51f6320e-038d-4282-a529-b0878e7f8fbd, port_id None from router 7b20ffcb-faf2-40e3-9cc9-50d102addaaf
2025-03-28 08:06:58,823 - INFO - Deleting VM ctest-TestRoutersBasic-02899240-02248290
2025-03-28 08:06:58,889 - INFO - Deleting VM ctest-TestRoutersBasic-02899240-42093457
2025-03-28 08:06:58,978 - INFO - Deleting VN ctest-ext_vn-03453447
2025-03-28 08:06:59,048 - DEBUG - VN 9e84d6c8-7258-491e-95a7-ec3e3fabad69 still in use: Unable to complete operation on network 9e84d6c8-7258-491e-95a7-ec3e3fabad69. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-51851630-b248-4983-b96f-10ea9523d215']
2025-03-28 08:06:59,049 - WARNING - Deleting VN ctest-ext_vn-03453447 failed..Will retry
2025-03-28 08:07:01,169 - DEBUG - Response for deleting network ()
2025-03-28 08:07:01,169 - INFO - Deleting VN ctest-vn-24210099
2025-03-28 08:07:01,286 - DEBUG - Response for deleting network ()
2025-03-28 08:07:01,544 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 08:07:01,544 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-03-28 08:07:01,544 - INFO - --------------------------------------------------------------------------------
2025-03-28 08:07:02,231 - INFO - Deleted project: ctest-TestRoutersBasic-02899240, ID : ff00cd4d-c5e5-4c3c-8636-f18761a7e589