2024-11-08 11:28:18,660 - INFO - Domain Default found not creating
2024-11-08 11:28:18,827 - INFO - Project ctest-TestRoutersBasic-98822731 not found, creating it
2024-11-08 11:28:19,336 - INFO - Created Project:ctest-TestRoutersBasic-98822731, ID : bc73b514-52c0-4723-9ba3-68c31b22c4ea
2024-11-08 11:28:20,949 - INFO - ================================================================================
2024-11-08 11:28:20,949 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-08 11:28:20,949 - 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-08 11:28:21,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.7': '0'}} with
2024-11-08 11:28:21,219 - INFO - Initial checks done. Running the testcase now
2024-11-08 11:28:21,219 - INFO -
2024-11-08 11:28:21,982 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98822731
2024-11-08 11:28:22,090 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98822731
2024-11-08 11:28:22,429 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98822731', 'default']}
2024-11-08 11:28:22,766 - DEBUG - Response for create_network : {'network': {'id': 'a0debf70-bdf8-4462-8894-1534f1a79518', 'name': 'ctest-vn-61125269', 'tenant_id': 'bc73b51452c047239ba368c31b22c4ea', 'project_id': 'bc73b51452c047239ba368c31b22c4ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98822731', 'ctest-vn-61125269'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 11:28:22,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '181a1e6d-4f39-4d35-b720-c43ff6cf2689', 'name': '', 'tenant_id': 'bc73b51452c047239ba368c31b22c4ea', 'network_id': 'a0debf70-bdf8-4462-8894-1534f1a79518', 'ip_version': 4, 'cidr': '75.59.198.64/26', 'allocation_pools': [{'start': '75.59.198.66', 'end': '75.59.198.126'}], 'gateway_ip': '75.59.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.59.198.66', 'tags': [], 'project_id': 'bc73b51452c047239ba368c31b22c4ea'}}
2024-11-08 11:28:22,993 - INFO - Created VN ctest-vn-61125269
2024-11-08 11:28:23,049 - DEBUG - VN ctest-vn-61125269 UUID is a0debf70-bdf8-4462-8894-1534f1a79518
2024-11-08 11:28:23,607 - DEBUG - Response for create_network : {'network': {'id': '47a70478-2ef6-4e2f-bec0-e71ba55554f6', 'name': 'ctest-ext_vn-56229009', 'tenant_id': 'bc73b51452c047239ba368c31b22c4ea', 'project_id': 'bc73b51452c047239ba368c31b22c4ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98822731', 'ctest-ext_vn-56229009'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 11:28:23,814 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bda80a54-d2e8-4fbf-ae0b-8e27f4c48d65', 'name': '', 'tenant_id': 'bc73b51452c047239ba368c31b22c4ea', 'network_id': '47a70478-2ef6-4e2f-bec0-e71ba55554f6', 'ip_version': 4, 'cidr': '142.145.156.192/26', 'allocation_pools': [{'start': '142.145.156.194', 'end': '142.145.156.254'}], 'gateway_ip': '142.145.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.145.156.194', 'tags': [], 'project_id': 'bc73b51452c047239ba368c31b22c4ea'}}
2024-11-08 11:28:23,849 - INFO - Created VN ctest-ext_vn-56229009
2024-11-08 11:28:23,909 - DEBUG - VN ctest-ext_vn-56229009 UUID is 47a70478-2ef6-4e2f-bec0-e71ba55554f6
2024-11-08 11:28:24,100 - DEBUG - Services list from nova: [, , ]
2024-11-08 11:28:25,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2226-1)
2024-11-08 11:28:26,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2226-1)
2024-11-08 11:28:26,747 - INFO - Setting gateway for router 680a014b-44b2-44bf-9441-601de44e60ab to network 47a70478-2ef6-4e2f-bec0-e71ba55554f6
2024-11-08 11:28:26,839 - INFO - Adding interface with subnet_id 181a1e6d-4f39-4d35-b720-c43ff6cf2689, port_id None to router 680a014b-44b2-44bf-9441-601de44e60ab
2024-11-08 11:28:27,308 - INFO - Waiting for VM ctest-TestRoutersBasic-98822731-45717335 to be up..
2024-11-08 11:28:27,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 11:28:32,582 - DEBUG - VM is in ACTIVE state now
2024-11-08 11:28:32,582 - INFO - VM name : ctest-TestRoutersBasic-98822731-45717335
2024-11-08 11:28:32,678 - DEBUG - VM ctest-TestRoutersBasic-98822731-45717335 ID is de6c5518-a818-4823-8251-64b452efe165
2024-11-08 11:28:32,697 - DEBUG - VM ctest-TestRoutersBasic-98822731-45717335 launched on Node cn-jenkins-deploy-platform-ansible-os-2226-1
2024-11-08 11:28:32,782 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/de6c5518-a818-4823-8251-64b452efe165
2024-11-08 11:28:33,087 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/de6c5518-a818-4823-8251-64b452efe165
2024-11-08 11:28:33,131 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c2313a3a-388e-4ca5-9b06-a254461c7aa9
2024-11-08 11:28:36,404 - 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 1006ms')
2024-11-08 11:28:36,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98822731-45717335 failed!
2024-11-08 11:28:36,465 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98822731:ctest-vn-61125269 is 75.59.198.65 and allocation pool is NOT set
2024-11-08 11:28:38,525 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/1.747/3.051/1.304 ms')
2024-11-08 11:28:38,525 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98822731-45717335 passed
2024-11-08 11:28:38,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:28:38,687 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98822731-45717335, IP 75.59.198.67, Port 22
2024-11-08 11:28:38,859 - DEBUG - VM ctest-TestRoutersBasic-98822731-45717335 is ready for SSH connections
2024-11-08 11:28:38,859 - INFO - Waiting for VM ctest-TestRoutersBasic-98822731-58780266 to be up..
2024-11-08 11:28:38,942 - DEBUG - VM is in ACTIVE state now
2024-11-08 11:28:38,942 - INFO - VM name : ctest-TestRoutersBasic-98822731-58780266
2024-11-08 11:28:39,027 - DEBUG - VM ctest-TestRoutersBasic-98822731-58780266 ID is a4fd6a57-7752-457b-9950-b7b08b00ff74
2024-11-08 11:28:39,027 - DEBUG - VM ctest-TestRoutersBasic-98822731-58780266 launched on Node cn-jenkins-deploy-platform-ansible-os-2226-1
2024-11-08 11:28:39,117 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/a4fd6a57-7752-457b-9950-b7b08b00ff74
2024-11-08 11:28:39,129 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/d2e112e7-00e4-4adc-bcc1-ab858364d3ef
2024-11-08 11:28:40,389 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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 = 0.451/1.796/3.141/1.345 ms')
2024-11-08 11:28:40,389 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98822731-58780266 passed
2024-11-08 11:28:40,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:28:40,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98822731-58780266, IP 142.145.156.195, Port 22
2024-11-08 11:28:40,717 - DEBUG - VM ctest-TestRoutersBasic-98822731-58780266 is ready for SSH connections
2024-11-08 11:28:40,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 11:28:40,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.145.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2024-11-08 11:28:40,717 - DEBUG - ping -s 56 -c 3 -W 1 142.145.156.195
2024-11-08 11:28:44,394 - DEBUG - PING 142.145.156.195 (142.145.156.195): 56 data bytes
64 bytes from 142.145.156.195: seq=0 ttl=62 time=4.974 ms
64 bytes from 142.145.156.195: seq=1 ttl=62 time=1.024 ms
64 bytes from 142.145.156.195: seq=2 ttl=62 time=1.136 ms
--- 142.145.156.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.024/2.378/4.974 ms
2024-11-08 11:28:44,394 - INFO - Ping to IP 142.145.156.195 from VM ctest-TestRoutersBasic-98822731-45717335 passed
2024-11-08 11:28:44,395 - INFO - Deleting interface with subnet_id 181a1e6d-4f39-4d35-b720-c43ff6cf2689, port_id None from router 680a014b-44b2-44bf-9441-601de44e60ab
2024-11-08 11:28:44,635 - INFO - Deleting VM ctest-TestRoutersBasic-98822731-58780266
2024-11-08 11:28:44,712 - INFO - Deleting VM ctest-TestRoutersBasic-98822731-45717335
2024-11-08 11:28:44,787 - INFO - Deleting VN ctest-ext_vn-56229009
2024-11-08 11:28:44,889 - DEBUG - VN 47a70478-2ef6-4e2f-bec0-e71ba55554f6 still in use: Unable to complete operation on network 47a70478-2ef6-4e2f-bec0-e71ba55554f6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c054f106-308c-412b-afcf-b6a6f9f96bf4']
2024-11-08 11:28:44,889 - WARNING - Deleting VN ctest-ext_vn-56229009 failed..Will retry
2024-11-08 11:28:47,022 - DEBUG - Response for deleting network ()
2024-11-08 11:28:47,023 - INFO - Deleting VN ctest-vn-61125269
2024-11-08 11:28:47,160 - DEBUG - Response for deleting network ()
2024-11-08 11:28:47,421 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 11:28:47,421 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-11-08 11:28:47,421 - INFO - --------------------------------------------------------------------------------
2024-11-08 11:28:48,165 - INFO - Deleted project: ctest-TestRoutersBasic-98822731, ID : bc73b514-52c0-4723-9ba3-68c31b22c4ea