2024-10-29 11:15:50,630 - INFO - Domain Default found not creating
2024-10-29 11:15:50,784 - INFO - Project ctest-TestRoutersBasic-79149027 not found, creating it
2024-10-29 11:15:51,302 - INFO - Created Project:ctest-TestRoutersBasic-79149027, ID : 30f1e6a6-522e-4c69-9d90-07be6622fd72
2024-10-29 11:15:52,846 - INFO - ================================================================================
2024-10-29 11:15:52,846 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-29 11:15:52,846 - 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-10-29 11:15:53,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.5': '0'}} with
2024-10-29 11:15:53,099 - INFO - Initial checks done. Running the testcase now
2024-10-29 11:15:53,099 - INFO -
2024-10-29 11:15:53,837 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79149027
2024-10-29 11:15:53,938 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79149027
2024-10-29 11:15:54,269 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79149027', 'default']}
2024-10-29 11:15:54,608 - DEBUG - Response for create_network : {'network': {'id': '26c12edb-3c0a-49d3-afc9-055f5880c072', 'name': 'ctest-vn-75995123', 'tenant_id': '30f1e6a6522e4c699d9007be6622fd72', 'project_id': '30f1e6a6522e4c699d9007be6622fd72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79149027', 'ctest-vn-75995123'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 11:15:54,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '34d2fb03-c5c7-45e1-ba1c-123628e4b8d2', 'name': '', 'tenant_id': '30f1e6a6522e4c699d9007be6622fd72', 'network_id': '26c12edb-3c0a-49d3-afc9-055f5880c072', 'ip_version': 4, 'cidr': '2.162.59.192/26', 'allocation_pools': [{'start': '2.162.59.194', 'end': '2.162.59.254'}], 'gateway_ip': '2.162.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.162.59.194', 'tags': [], 'project_id': '30f1e6a6522e4c699d9007be6622fd72'}}
2024-10-29 11:15:54,814 - INFO - Created VN ctest-vn-75995123
2024-10-29 11:15:54,877 - DEBUG - VN ctest-vn-75995123 UUID is 26c12edb-3c0a-49d3-afc9-055f5880c072
2024-10-29 11:15:55,264 - DEBUG - Response for create_network : {'network': {'id': '759e230f-b16d-4cf5-9736-30140ea5ca0b', 'name': 'ctest-ext_vn-89492180', 'tenant_id': '30f1e6a6522e4c699d9007be6622fd72', 'project_id': '30f1e6a6522e4c699d9007be6622fd72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79149027', 'ctest-ext_vn-89492180'], 'port_security_enabled': True, 'description': ''}}
2024-10-29 11:15:55,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '737794f3-287e-4d2c-a56e-7027af9715e0', 'name': '', 'tenant_id': '30f1e6a6522e4c699d9007be6622fd72', 'network_id': '759e230f-b16d-4cf5-9736-30140ea5ca0b', 'ip_version': 4, 'cidr': '164.15.178.0/26', 'allocation_pools': [{'start': '164.15.178.2', 'end': '164.15.178.62'}], 'gateway_ip': '164.15.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.15.178.2', 'tags': [], 'project_id': '30f1e6a6522e4c699d9007be6622fd72'}}
2024-10-29 11:15:55,470 - INFO - Created VN ctest-ext_vn-89492180
2024-10-29 11:15:55,529 - DEBUG - VN ctest-ext_vn-89492180 UUID is 759e230f-b16d-4cf5-9736-30140ea5ca0b
2024-10-29 11:15:55,740 - DEBUG - Services list from nova: [, , ]
2024-10-29 11:15:56,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2173-1)
2024-10-29 11:15:58,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2173-1)
2024-10-29 11:15:58,090 - INFO - Setting gateway for router b41143de-0600-493b-91c4-bbe9f0e4f2af to network 759e230f-b16d-4cf5-9736-30140ea5ca0b
2024-10-29 11:15:58,178 - INFO - Adding interface with subnet_id 34d2fb03-c5c7-45e1-ba1c-123628e4b8d2, port_id None to router b41143de-0600-493b-91c4-bbe9f0e4f2af
2024-10-29 11:15:58,476 - INFO - Waiting for VM ctest-TestRoutersBasic-79149027-54999595 to be up..
2024-10-29 11:15:58,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-29 11:16:03,752 - DEBUG - VM is in ACTIVE state now
2024-10-29 11:16:03,752 - INFO - VM name : ctest-TestRoutersBasic-79149027-54999595
2024-10-29 11:16:03,841 - DEBUG - VM ctest-TestRoutersBasic-79149027-54999595 ID is 88d27c97-f0a8-4ded-99a9-2ab63972658c
2024-10-29 11:16:03,859 - DEBUG - VM ctest-TestRoutersBasic-79149027-54999595 launched on Node cn-jenkins-deploy-platform-ansible-os-2173-1
2024-10-29 11:16:03,941 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/88d27c97-f0a8-4ded-99a9-2ab63972658c
2024-10-29 11:16:04,240 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/88d27c97-f0a8-4ded-99a9-2ab63972658c
2024-10-29 11:16:04,283 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/46c7c053-8361-4ba0-ba49-ef6fcfa781c2
2024-10-29 11:16:07,573 - 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')
2024-10-29 11:16:07,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79149027-54999595 failed!
2024-10-29 11:16:07,638 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79149027:ctest-vn-75995123 is 2.162.59.193 and allocation pool is NOT set
2024-10-29 11:16:09,694 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/1.678/2.900/1.222 ms')
2024-10-29 11:16:09,694 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79149027-54999595 passed
2024-10-29 11:16:09,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:16:09,814 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79149027-54999595, IP 2.162.59.195, Port 22
2024-10-29 11:16:09,992 - DEBUG - VM ctest-TestRoutersBasic-79149027-54999595 is ready for SSH connections
2024-10-29 11:16:09,992 - INFO - Waiting for VM ctest-TestRoutersBasic-79149027-21033576 to be up..
2024-10-29 11:16:10,086 - DEBUG - VM is in ACTIVE state now
2024-10-29 11:16:10,086 - INFO - VM name : ctest-TestRoutersBasic-79149027-21033576
2024-10-29 11:16:10,180 - DEBUG - VM ctest-TestRoutersBasic-79149027-21033576 ID is be5579a0-66a1-44e4-8c4b-5208ff3ee71d
2024-10-29 11:16:10,180 - DEBUG - VM ctest-TestRoutersBasic-79149027-21033576 launched on Node cn-jenkins-deploy-platform-ansible-os-2173-1
2024-10-29 11:16:10,285 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/be5579a0-66a1-44e4-8c4b-5208ff3ee71d
2024-10-29 11:16:10,299 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/0450b22f-08cc-474c-ad50-706f8e1b4809
2024-10-29 11:16:11,582 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.95 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 = 1.950/3.386/4.823/1.436 ms')
2024-10-29 11:16:11,583 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79149027-21033576 passed
2024-10-29 11:16:11,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:16:11,742 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79149027-21033576, IP 164.15.178.3, Port 22
2024-10-29 11:16:11,901 - DEBUG - VM ctest-TestRoutersBasic-79149027-21033576 is ready for SSH connections
2024-10-29 11:16:11,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-29 11:16:11,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.15.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2024-10-29 11:16:11,902 - DEBUG - ping -s 56 -c 3 -W 1 164.15.178.3
2024-10-29 11:16:15,592 - DEBUG - PING 164.15.178.3 (164.15.178.3): 56 data bytes
64 bytes from 164.15.178.3: seq=0 ttl=62 time=6.334 ms
64 bytes from 164.15.178.3: seq=1 ttl=62 time=1.047 ms
64 bytes from 164.15.178.3: seq=2 ttl=62 time=0.846 ms
--- 164.15.178.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.846/2.742/6.334 ms
2024-10-29 11:16:15,592 - INFO - Ping to IP 164.15.178.3 from VM ctest-TestRoutersBasic-79149027-54999595 passed
2024-10-29 11:16:15,592 - INFO - Deleting interface with subnet_id 34d2fb03-c5c7-45e1-ba1c-123628e4b8d2, port_id None from router b41143de-0600-493b-91c4-bbe9f0e4f2af
2024-10-29 11:16:15,795 - INFO - Deleting VM ctest-TestRoutersBasic-79149027-21033576
2024-10-29 11:16:15,869 - INFO - Deleting VM ctest-TestRoutersBasic-79149027-54999595
2024-10-29 11:16:15,950 - INFO - Deleting VN ctest-ext_vn-89492180
2024-10-29 11:16:16,035 - DEBUG - VN 759e230f-b16d-4cf5-9736-30140ea5ca0b still in use: Unable to complete operation on network 759e230f-b16d-4cf5-9736-30140ea5ca0b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-beecf7e4-8436-4a67-9581-6d446470c80d']
2024-10-29 11:16:16,036 - WARNING - Deleting VN ctest-ext_vn-89492180 failed..Will retry
2024-10-29 11:16:18,162 - DEBUG - Response for deleting network ()
2024-10-29 11:16:18,163 - INFO - Deleting VN ctest-vn-75995123
2024-10-29 11:16:18,275 - DEBUG - Response for deleting network ()
2024-10-29 11:16:18,527 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 11:16:18,527 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-29 11:16:18,527 - INFO - --------------------------------------------------------------------------------
2024-10-29 11:16:19,218 - INFO - Deleted project: ctest-TestRoutersBasic-79149027, ID : 30f1e6a6-522e-4c69-9d90-07be6622fd72