2024-10-18 21:44:08,782 - INFO - Domain Default found not creating
2024-10-18 21:44:08,960 - INFO - Project ctest-TestRoutersBasic-35561731 not found, creating it
2024-10-18 21:44:09,490 - INFO - Created Project:ctest-TestRoutersBasic-35561731, ID : f5d6a85b-cc63-4bc6-9f6a-8bae5e664dbd
2024-10-18 21:44:11,359 - INFO - ================================================================================
2024-10-18 21:44:11,359 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-18 21:44:11,359 - 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-18 21:44:11,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.18': '0'}} with
2024-10-18 21:44:11,614 - INFO - Initial checks done. Running the testcase now
2024-10-18 21:44:11,614 - INFO -
2024-10-18 21:44:12,455 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35561731
2024-10-18 21:44:12,555 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35561731
2024-10-18 21:44:12,898 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35561731', 'default']}
2024-10-18 21:44:13,230 - DEBUG - Response for create_network : {'network': {'id': '3ce85f52-80fd-4eb1-a8b6-bb54389f0411', 'name': 'ctest-vn-62950421', 'tenant_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd', 'project_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35561731', 'ctest-vn-62950421'], 'port_security_enabled': True, 'description': ''}}
2024-10-18 21:44:13,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfbc5cb9-055a-4d91-a922-b42595439e41', 'name': '', 'tenant_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd', 'network_id': '3ce85f52-80fd-4eb1-a8b6-bb54389f0411', 'ip_version': 4, 'cidr': '58.101.29.128/26', 'allocation_pools': [{'start': '58.101.29.130', 'end': '58.101.29.190'}], 'gateway_ip': '58.101.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.101.29.130', 'tags': [], 'project_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd'}}
2024-10-18 21:44:13,432 - INFO - Created VN ctest-vn-62950421
2024-10-18 21:44:13,495 - DEBUG - VN ctest-vn-62950421 UUID is 3ce85f52-80fd-4eb1-a8b6-bb54389f0411
2024-10-18 21:44:13,888 - DEBUG - Response for create_network : {'network': {'id': '6cf86b4b-6f00-49bb-a0ed-062273f20ed3', 'name': 'ctest-ext_vn-80760043', 'tenant_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd', 'project_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35561731', 'ctest-ext_vn-80760043'], 'port_security_enabled': True, 'description': ''}}
2024-10-18 21:44:14,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb4b3581-d64d-41a3-ace6-f732d2c68c24', 'name': '', 'tenant_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd', 'network_id': '6cf86b4b-6f00-49bb-a0ed-062273f20ed3', 'ip_version': 4, 'cidr': '21.202.19.128/26', 'allocation_pools': [{'start': '21.202.19.130', 'end': '21.202.19.190'}], 'gateway_ip': '21.202.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.202.19.130', 'tags': [], 'project_id': 'f5d6a85bcc634bc69f6a8bae5e664dbd'}}
2024-10-18 21:44:14,099 - INFO - Created VN ctest-ext_vn-80760043
2024-10-18 21:44:14,163 - DEBUG - VN ctest-ext_vn-80760043 UUID is 6cf86b4b-6f00-49bb-a0ed-062273f20ed3
2024-10-18 21:44:14,366 - DEBUG - Services list from nova: [, , ]
2024-10-18 21:44:15,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2111-1)
2024-10-18 21:44:16,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2111-1)
2024-10-18 21:44:17,080 - INFO - Setting gateway for router 14200b17-1e7f-4408-93b4-ca9c957bcee1 to network 6cf86b4b-6f00-49bb-a0ed-062273f20ed3
2024-10-18 21:44:17,171 - INFO - Adding interface with subnet_id cfbc5cb9-055a-4d91-a922-b42595439e41, port_id None to router 14200b17-1e7f-4408-93b4-ca9c957bcee1
2024-10-18 21:44:17,593 - INFO - Waiting for VM ctest-TestRoutersBasic-35561731-90777716 to be up..
2024-10-18 21:44:17,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-18 21:44:22,948 - DEBUG - VM is in ACTIVE state now
2024-10-18 21:44:22,948 - INFO - VM name : ctest-TestRoutersBasic-35561731-90777716
2024-10-18 21:44:23,044 - DEBUG - VM ctest-TestRoutersBasic-35561731-90777716 ID is 7824978d-4e7c-4b61-894e-687c4aa6088c
2024-10-18 21:44:23,065 - DEBUG - VM ctest-TestRoutersBasic-35561731-90777716 launched on Node cn-jenkins-deploy-platform-ansible-os-2111-1
2024-10-18 21:44:23,164 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/7824978d-4e7c-4b61-894e-687c4aa6088c
2024-10-18 21:44:23,507 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/7824978d-4e7c-4b61-894e-687c4aa6088c
2024-10-18 21:44:23,555 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/70adb8e7-25c9-4f8d-8e23-e00462066e6f
2024-10-18 21:44:26,861 - 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 1026ms')
2024-10-18 21:44:26,861 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35561731-90777716 failed!
2024-10-18 21:44:26,927 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35561731:ctest-vn-62950421 is 58.101.29.129 and allocation pool is NOT set
2024-10-18 21:44:28,990 - 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=4.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.158/2.579/4.000/1.421 ms')
2024-10-18 21:44:28,990 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35561731-90777716 passed
2024-10-18 21:44:29,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-18 21:44:29,151 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35561731-90777716, IP 58.101.29.131, Port 22
2024-10-18 21:44:29,319 - DEBUG - VM ctest-TestRoutersBasic-35561731-90777716 is ready for SSH connections
2024-10-18 21:44:29,319 - INFO - Waiting for VM ctest-TestRoutersBasic-35561731-88934908 to be up..
2024-10-18 21:44:29,435 - DEBUG - VM is in ACTIVE state now
2024-10-18 21:44:29,436 - INFO - VM name : ctest-TestRoutersBasic-35561731-88934908
2024-10-18 21:44:29,522 - DEBUG - VM ctest-TestRoutersBasic-35561731-88934908 ID is 9edfc946-8d7f-406e-8e34-8b1a7800dd5b
2024-10-18 21:44:29,523 - DEBUG - VM ctest-TestRoutersBasic-35561731-88934908 launched on Node cn-jenkins-deploy-platform-ansible-os-2111-1
2024-10-18 21:44:29,607 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/9edfc946-8d7f-406e-8e34-8b1a7800dd5b
2024-10-18 21:44:29,618 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b3424fd7-1eb5-4904-a655-e7d31e584453
2024-10-18 21:44:30,878 - 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=5.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.22 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 = 2.222/3.767/5.313/1.545 ms')
2024-10-18 21:44:30,878 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35561731-88934908 passed
2024-10-18 21:44:31,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-18 21:44:31,043 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35561731-88934908, IP 21.202.19.131, Port 22
2024-10-18 21:44:31,202 - DEBUG - VM ctest-TestRoutersBasic-35561731-88934908 is ready for SSH connections
2024-10-18 21:44:31,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-18 21:44:31,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.202.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2024-10-18 21:44:31,202 - DEBUG - ping -s 56 -c 3 -W 1 21.202.19.131
2024-10-18 21:44:34,958 - DEBUG - PING 21.202.19.131 (21.202.19.131): 56 data bytes
64 bytes from 21.202.19.131: seq=0 ttl=62 time=6.403 ms
64 bytes from 21.202.19.131: seq=1 ttl=62 time=0.973 ms
64 bytes from 21.202.19.131: seq=2 ttl=62 time=1.090 ms
--- 21.202.19.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.973/2.822/6.403 ms
2024-10-18 21:44:34,959 - INFO - Ping to IP 21.202.19.131 from VM ctest-TestRoutersBasic-35561731-90777716 passed
2024-10-18 21:44:34,959 - INFO - Deleting interface with subnet_id cfbc5cb9-055a-4d91-a922-b42595439e41, port_id None from router 14200b17-1e7f-4408-93b4-ca9c957bcee1
2024-10-18 21:44:35,218 - INFO - Deleting VM ctest-TestRoutersBasic-35561731-88934908
2024-10-18 21:44:35,293 - INFO - Deleting VM ctest-TestRoutersBasic-35561731-90777716
2024-10-18 21:44:35,388 - INFO - Deleting VN ctest-ext_vn-80760043
2024-10-18 21:44:35,467 - DEBUG - VN 6cf86b4b-6f00-49bb-a0ed-062273f20ed3 still in use: Unable to complete operation on network 6cf86b4b-6f00-49bb-a0ed-062273f20ed3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5d538194-e2ba-4d39-b00d-647f297b9c46']
2024-10-18 21:44:35,467 - WARNING - Deleting VN ctest-ext_vn-80760043 failed..Will retry
2024-10-18 21:44:37,598 - DEBUG - Response for deleting network ()
2024-10-18 21:44:37,598 - INFO - Deleting VN ctest-vn-62950421
2024-10-18 21:44:37,719 - DEBUG - Response for deleting network ()
2024-10-18 21:44:37,993 - DEBUG - No XMPP flaps were noticed during the test
2024-10-18 21:44:37,993 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-18 21:44:37,993 - INFO - --------------------------------------------------------------------------------
2024-10-18 21:44:38,799 - INFO - Deleted project: ctest-TestRoutersBasic-35561731, ID : f5d6a85b-cc63-4bc6-9f6a-8bae5e664dbd