2025-01-15 05:46:00,188 - INFO - Domain Default found not creating
2025-01-15 05:46:00,356 - INFO - Project ctest-TestRoutersBasic-85348142 not found, creating it
2025-01-15 05:46:00,850 - INFO - Created Project:ctest-TestRoutersBasic-85348142, ID : 57ed02a6-3a35-4faf-96b6-53acb3d88cfb
2025-01-15 05:46:02,377 - INFO - ================================================================================
2025-01-15 05:46:02,377 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-15 05:46:02,377 - 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 05:46:02,638 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with
2025-01-15 05:46:02,638 - INFO - Initial checks done. Running the testcase now
2025-01-15 05:46:02,638 - INFO -
2025-01-15 05:46:03,362 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85348142
2025-01-15 05:46:03,466 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85348142
2025-01-15 05:46:03,805 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85348142', 'default']}
2025-01-15 05:46:04,135 - DEBUG - Response for create_network : {'network': {'id': 'aec1423e-7a33-4224-aeab-513cf6e9af15', 'name': 'ctest-vn-62913998', 'tenant_id': '57ed02a63a354faf96b653acb3d88cfb', 'project_id': '57ed02a63a354faf96b653acb3d88cfb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85348142', 'ctest-vn-62913998'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 05:46:04,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '33d574d0-2b38-450c-8d43-0660b68b00f5', 'name': '', 'tenant_id': '57ed02a63a354faf96b653acb3d88cfb', 'network_id': 'aec1423e-7a33-4224-aeab-513cf6e9af15', 'ip_version': 4, 'cidr': '87.143.114.64/26', 'allocation_pools': [{'start': '87.143.114.66', 'end': '87.143.114.126'}], 'gateway_ip': '87.143.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.143.114.66', 'tags': [], 'project_id': '57ed02a63a354faf96b653acb3d88cfb'}}
2025-01-15 05:46:04,320 - INFO - Created VN ctest-vn-62913998
2025-01-15 05:46:04,374 - DEBUG - VN ctest-vn-62913998 UUID is aec1423e-7a33-4224-aeab-513cf6e9af15
2025-01-15 05:46:04,747 - DEBUG - Response for create_network : {'network': {'id': '89adf2f3-f452-42eb-a1dc-d994aa7a848d', 'name': 'ctest-ext_vn-25226057', 'tenant_id': '57ed02a63a354faf96b653acb3d88cfb', 'project_id': '57ed02a63a354faf96b653acb3d88cfb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85348142', 'ctest-ext_vn-25226057'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 05:46:04,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1e93ea9-c4a4-4e07-8fab-0cc9eb2c1c48', 'name': '', 'tenant_id': '57ed02a63a354faf96b653acb3d88cfb', 'network_id': '89adf2f3-f452-42eb-a1dc-d994aa7a848d', 'ip_version': 4, 'cidr': '199.172.9.0/26', 'allocation_pools': [{'start': '199.172.9.2', 'end': '199.172.9.62'}], 'gateway_ip': '199.172.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.172.9.2', 'tags': [], 'project_id': '57ed02a63a354faf96b653acb3d88cfb'}}
2025-01-15 05:46:04,943 - INFO - Created VN ctest-ext_vn-25226057
2025-01-15 05:46:04,998 - DEBUG - VN ctest-ext_vn-25226057 UUID is 89adf2f3-f452-42eb-a1dc-d994aa7a848d
2025-01-15 05:46:05,179 - DEBUG - Services list from nova: [, , ]
2025-01-15 05:46:06,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2634-1)
2025-01-15 05:46:07,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2634-1)
2025-01-15 05:46:07,476 - INFO - Setting gateway for router 39f8b6d3-aa0d-4137-9ca5-aa2e948a4f14 to network 89adf2f3-f452-42eb-a1dc-d994aa7a848d
2025-01-15 05:46:07,546 - INFO - Adding interface with subnet_id 33d574d0-2b38-450c-8d43-0660b68b00f5, port_id None to router 39f8b6d3-aa0d-4137-9ca5-aa2e948a4f14
2025-01-15 05:46:07,940 - INFO - Waiting for VM ctest-TestRoutersBasic-85348142-66792311 to be up..
2025-01-15 05:46:08,082 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 05:46:13,161 - DEBUG - VM is in ACTIVE state now
2025-01-15 05:46:13,161 - INFO - VM name : ctest-TestRoutersBasic-85348142-66792311
2025-01-15 05:46:13,243 - DEBUG - VM ctest-TestRoutersBasic-85348142-66792311 ID is f07d76ee-929d-426e-bf77-295cd518ea0b
2025-01-15 05:46:13,265 - DEBUG - VM ctest-TestRoutersBasic-85348142-66792311 launched on Node cn-jenkins-deploy-platform-ansible-os-2634-1
2025-01-15 05:46:13,342 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f07d76ee-929d-426e-bf77-295cd518ea0b
2025-01-15 05:46:13,644 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f07d76ee-929d-426e-bf77-295cd518ea0b
2025-01-15 05:46:13,676 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/866dc923-0e65-49ba-a7f5-e1a4f3e15272
2025-01-15 05:46:16,937 - 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 1014ms')
2025-01-15 05:46:16,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85348142-66792311 failed!
2025-01-15 05:46:16,994 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85348142:ctest-vn-62913998 is 87.143.114.65 and allocation pool is NOT set
2025-01-15 05:46:19,053 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 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.843/2.091/3.339/1.248 ms')
2025-01-15 05:46:19,053 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85348142-66792311 passed
2025-01-15 05:46:19,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 05:46:19,214 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85348142-66792311, IP 87.143.114.67, Port 22
2025-01-15 05:46:19,380 - DEBUG - VM ctest-TestRoutersBasic-85348142-66792311 is ready for SSH connections
2025-01-15 05:46:19,380 - INFO - Waiting for VM ctest-TestRoutersBasic-85348142-26156220 to be up..
2025-01-15 05:46:19,464 - DEBUG - VM is in ACTIVE state now
2025-01-15 05:46:19,464 - INFO - VM name : ctest-TestRoutersBasic-85348142-26156220
2025-01-15 05:46:19,544 - DEBUG - VM ctest-TestRoutersBasic-85348142-26156220 ID is ac2b290d-a0cb-41d3-a320-bc55dff84678
2025-01-15 05:46:19,544 - DEBUG - VM ctest-TestRoutersBasic-85348142-26156220 launched on Node cn-jenkins-deploy-platform-ansible-os-2634-1
2025-01-15 05:46:19,634 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/ac2b290d-a0cb-41d3-a320-bc55dff84678
2025-01-15 05:46:19,644 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/b368d4dc-8b1e-4538-b019-9a038752ed16
2025-01-15 05:46:20,897 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.887 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.887/2.387/3.888/1.500 ms')
2025-01-15 05:46:20,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85348142-26156220 passed
2025-01-15 05:46:21,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 05:46:21,054 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85348142-26156220, IP 199.172.9.3, Port 22
2025-01-15 05:46:21,209 - DEBUG - VM ctest-TestRoutersBasic-85348142-26156220 is ready for SSH connections
2025-01-15 05:46:21,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 05:46:21,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.172.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2025-01-15 05:46:21,210 - DEBUG - ping -s 56 -c 3 -W 1 199.172.9.3
2025-01-15 05:46:24,956 - DEBUG - PING 199.172.9.3 (199.172.9.3): 56 data bytes
64 bytes from 199.172.9.3: seq=0 ttl=62 time=7.652 ms
64 bytes from 199.172.9.3: seq=1 ttl=62 time=0.901 ms
64 bytes from 199.172.9.3: seq=2 ttl=62 time=0.889 ms
--- 199.172.9.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.889/3.147/7.652 ms
2025-01-15 05:46:24,956 - INFO - Ping to IP 199.172.9.3 from VM ctest-TestRoutersBasic-85348142-66792311 passed
2025-01-15 05:46:24,956 - INFO - Deleting interface with subnet_id 33d574d0-2b38-450c-8d43-0660b68b00f5, port_id None from router 39f8b6d3-aa0d-4137-9ca5-aa2e948a4f14
2025-01-15 05:46:25,164 - INFO - Deleting VM ctest-TestRoutersBasic-85348142-26156220
2025-01-15 05:46:25,246 - INFO - Deleting VM ctest-TestRoutersBasic-85348142-66792311
2025-01-15 05:46:25,324 - INFO - Deleting VN ctest-ext_vn-25226057
2025-01-15 05:46:25,400 - DEBUG - VN 89adf2f3-f452-42eb-a1dc-d994aa7a848d still in use: Unable to complete operation on network 89adf2f3-f452-42eb-a1dc-d994aa7a848d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-22c9e085-c7f2-4285-b1b6-f5dc6349b141']
2025-01-15 05:46:25,401 - WARNING - Deleting VN ctest-ext_vn-25226057 failed..Will retry
2025-01-15 05:46:27,512 - DEBUG - Response for deleting network ()
2025-01-15 05:46:27,512 - INFO - Deleting VN ctest-vn-62913998
2025-01-15 05:46:27,629 - DEBUG - Response for deleting network ()
2025-01-15 05:46:27,884 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 05:46:27,884 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-15 05:46:27,884 - INFO - --------------------------------------------------------------------------------
2025-01-15 05:46:28,741 - INFO - Deleted project: ctest-TestRoutersBasic-85348142, ID : 57ed02a6-3a35-4faf-96b6-53acb3d88cfb