2024-11-06 11:45:46,624 - INFO - Domain Default found not creating
2024-11-06 11:45:46,813 - INFO - Project ctest-TestRoutersBasic-94842362 not found, creating it
2024-11-06 11:45:47,331 - INFO - Created Project:ctest-TestRoutersBasic-94842362, ID : 0ee1d1d2-ac66-41cf-908d-a40355310638
2024-11-06 11:45:49,069 - INFO - ================================================================================
2024-11-06 11:45:49,069 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-06 11:45:49,070 - 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
2024-11-06 11:45:49,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.12': '0'}} with
2024-11-06 11:45:49,333 - INFO - Initial checks done. Running the testcase now
2024-11-06 11:45:49,333 - INFO -
2024-11-06 11:45:50,158 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94842362
2024-11-06 11:45:50,261 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94842362
2024-11-06 11:45:50,664 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94842362', 'default']}
2024-11-06 11:45:50,985 - DEBUG - Response for create_network : {'network': {'id': 'd6d18bd3-82ee-47ea-aea4-f1d022be5c09', 'name': 'ctest-vn-89474460', 'tenant_id': '0ee1d1d2ac6641cf908da40355310638', 'project_id': '0ee1d1d2ac6641cf908da40355310638', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94842362', 'ctest-vn-89474460'], 'port_security_enabled': True, 'description': ''}}
2024-11-06 11:45:51,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af708f36-b8c0-4d41-8613-8347a7f6bccd', 'name': '', 'tenant_id': '0ee1d1d2ac6641cf908da40355310638', 'network_id': 'd6d18bd3-82ee-47ea-aea4-f1d022be5c09', 'ip_version': 4, 'cidr': '43.87.39.0/26', 'allocation_pools': [{'start': '43.87.39.2', 'end': '43.87.39.62'}], 'gateway_ip': '43.87.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.87.39.2', 'tags': [], 'project_id': '0ee1d1d2ac6641cf908da40355310638'}}
2024-11-06 11:45:51,219 - INFO - Created VN ctest-vn-89474460
2024-11-06 11:45:51,277 - DEBUG - VN ctest-vn-89474460 UUID is d6d18bd3-82ee-47ea-aea4-f1d022be5c09
2024-11-06 11:45:51,623 - DEBUG - Response for create_network : {'network': {'id': 'c5749ae4-f70c-47f0-b4e2-79fe59319853', 'name': 'ctest-ext_vn-31077235', 'tenant_id': '0ee1d1d2ac6641cf908da40355310638', 'project_id': '0ee1d1d2ac6641cf908da40355310638', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94842362', 'ctest-ext_vn-31077235'], 'port_security_enabled': True, 'description': ''}}
2024-11-06 11:45:51,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fa2bf71-e31f-4d9c-a31f-c759e3221215', 'name': '', 'tenant_id': '0ee1d1d2ac6641cf908da40355310638', 'network_id': 'c5749ae4-f70c-47f0-b4e2-79fe59319853', 'ip_version': 4, 'cidr': '170.182.75.128/26', 'allocation_pools': [{'start': '170.182.75.130', 'end': '170.182.75.190'}], 'gateway_ip': '170.182.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.182.75.130', 'tags': [], 'project_id': '0ee1d1d2ac6641cf908da40355310638'}}
2024-11-06 11:45:51,847 - INFO - Created VN ctest-ext_vn-31077235
2024-11-06 11:45:51,901 - DEBUG - VN ctest-ext_vn-31077235 UUID is c5749ae4-f70c-47f0-b4e2-79fe59319853
2024-11-06 11:45:52,081 - DEBUG - Services list from nova: [, , ]
2024-11-06 11:45:53,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2201-1)
2024-11-06 11:45:54,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2201-1)
2024-11-06 11:45:54,687 - INFO - Setting gateway for router 89fb8e0e-79e0-4912-8f0a-45fef8c9ea99 to network c5749ae4-f70c-47f0-b4e2-79fe59319853
2024-11-06 11:45:54,748 - INFO - Adding interface with subnet_id af708f36-b8c0-4d41-8613-8347a7f6bccd, port_id None to router 89fb8e0e-79e0-4912-8f0a-45fef8c9ea99
2024-11-06 11:45:55,218 - INFO - Waiting for VM ctest-TestRoutersBasic-94842362-02141024 to be up..
2024-11-06 11:45:55,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-06 11:46:00,523 - DEBUG - VM is in ACTIVE state now
2024-11-06 11:46:00,523 - INFO - VM name : ctest-TestRoutersBasic-94842362-02141024
2024-11-06 11:46:00,626 - DEBUG - VM ctest-TestRoutersBasic-94842362-02141024 ID is cfc97f03-532b-40a0-8190-1cd50a2c0061
2024-11-06 11:46:00,652 - DEBUG - VM ctest-TestRoutersBasic-94842362-02141024 launched on Node cn-jenkins-deploy-platform-ansible-os-2201-1
2024-11-06 11:46:00,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cfc97f03-532b-40a0-8190-1cd50a2c0061
2024-11-06 11:46:01,273 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cfc97f03-532b-40a0-8190-1cd50a2c0061
2024-11-06 11:46:01,316 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/15b2952b-f40e-4f74-9dfb-10faa676b6a7
2024-11-06 11:46:04,590 - 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 1009ms')
2024-11-06 11:46:04,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94842362-02141024 failed!
2024-11-06 11:46:04,649 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94842362:ctest-vn-89474460 is 43.87.39.1 and allocation pool is NOT set
2024-11-06 11:46:06,715 - 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=6.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.834 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.834/3.426/6.018/2.592 ms')
2024-11-06 11:46:06,715 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94842362-02141024 passed
2024-11-06 11:46:06,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 11:46:06,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94842362-02141024, IP 43.87.39.3, Port 22
2024-11-06 11:46:07,038 - DEBUG - VM ctest-TestRoutersBasic-94842362-02141024 is ready for SSH connections
2024-11-06 11:46:07,038 - INFO - Waiting for VM ctest-TestRoutersBasic-94842362-48382797 to be up..
2024-11-06 11:46:07,148 - DEBUG - VM is in ACTIVE state now
2024-11-06 11:46:07,148 - INFO - VM name : ctest-TestRoutersBasic-94842362-48382797
2024-11-06 11:46:07,261 - DEBUG - VM ctest-TestRoutersBasic-94842362-48382797 ID is 5a989da7-d3be-4d2c-952c-4f3673135b02
2024-11-06 11:46:07,261 - DEBUG - VM ctest-TestRoutersBasic-94842362-48382797 launched on Node cn-jenkins-deploy-platform-ansible-os-2201-1
2024-11-06 11:46:07,367 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5a989da7-d3be-4d2c-952c-4f3673135b02
2024-11-06 11:46:07,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/47dc7d0d-3034-42e6-ab33-3a5c669073d4
2024-11-06 11:46:08,641 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/2.420/4.282/1.861 ms')
2024-11-06 11:46:08,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94842362-48382797 passed
2024-11-06 11:46:08,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 11:46:08,797 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94842362-48382797, IP 170.182.75.131, Port 22
2024-11-06 11:46:08,964 - DEBUG - VM ctest-TestRoutersBasic-94842362-48382797 is ready for SSH connections
2024-11-06 11:46:08,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 11:46:08,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.182.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2024-11-06 11:46:08,964 - DEBUG - ping -s 56 -c 3 -W 1 170.182.75.131
2024-11-06 11:46:12,740 - DEBUG - PING 170.182.75.131 (170.182.75.131): 56 data bytes
64 bytes from 170.182.75.131: seq=0 ttl=62 time=8.212 ms
64 bytes from 170.182.75.131: seq=1 ttl=62 time=1.096 ms
64 bytes from 170.182.75.131: seq=2 ttl=62 time=1.079 ms
--- 170.182.75.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.079/3.462/8.212 ms
2024-11-06 11:46:12,740 - INFO - Ping to IP 170.182.75.131 from VM ctest-TestRoutersBasic-94842362-02141024 passed
2024-11-06 11:46:12,740 - INFO - Deleting interface with subnet_id af708f36-b8c0-4d41-8613-8347a7f6bccd, port_id None from router 89fb8e0e-79e0-4912-8f0a-45fef8c9ea99
2024-11-06 11:46:13,021 - INFO - Deleting VM ctest-TestRoutersBasic-94842362-48382797
2024-11-06 11:46:13,133 - INFO - Deleting VM ctest-TestRoutersBasic-94842362-02141024
2024-11-06 11:46:13,221 - INFO - Deleting VN ctest-ext_vn-31077235
2024-11-06 11:46:13,333 - DEBUG - VN c5749ae4-f70c-47f0-b4e2-79fe59319853 still in use: Unable to complete operation on network c5749ae4-f70c-47f0-b4e2-79fe59319853. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5e397d38-3a17-4572-8f94-42ba3da99072']
2024-11-06 11:46:13,333 - WARNING - Deleting VN ctest-ext_vn-31077235 failed..Will retry
2024-11-06 11:46:15,487 - DEBUG - Response for deleting network ()
2024-11-06 11:46:15,488 - INFO - Deleting VN ctest-vn-89474460
2024-11-06 11:46:15,616 - DEBUG - Response for deleting network ()
2024-11-06 11:46:15,889 - DEBUG - No XMPP flaps were noticed during the test
2024-11-06 11:46:15,889 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-06 11:46:15,889 - INFO - --------------------------------------------------------------------------------
2024-11-06 11:46:16,666 - INFO - Deleted project: ctest-TestRoutersBasic-94842362, ID : 0ee1d1d2-ac66-41cf-908d-a40355310638