2024-11-08 22:40:17,177 - INFO - Domain Default found not creating
2024-11-08 22:40:17,361 - INFO - Project ctest-TestRoutersBasic-77314556 not found, creating it
2024-11-08 22:40:17,945 - INFO - Created Project:ctest-TestRoutersBasic-77314556, ID : 7c647e97-a85a-4536-abd5-7b3fde001385
2024-11-08 22:40:19,533 - INFO - ================================================================================
2024-11-08 22:40:19,533 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-08 22:40:19,533 - 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 22:40:19,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.6': '0'}} with
2024-11-08 22:40:19,796 - INFO - Initial checks done. Running the testcase now
2024-11-08 22:40:19,796 - INFO -
2024-11-08 22:40:20,552 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77314556
2024-11-08 22:40:20,655 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77314556
2024-11-08 22:40:21,015 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77314556', 'default']}
2024-11-08 22:40:21,357 - DEBUG - Response for create_network : {'network': {'id': '2da5af15-cc21-4401-9cdb-d9be89f15561', 'name': 'ctest-vn-17898848', 'tenant_id': '7c647e97a85a4536abd57b3fde001385', 'project_id': '7c647e97a85a4536abd57b3fde001385', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77314556', 'ctest-vn-17898848'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 22:40:21,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '01a53ff9-6037-4406-8358-7faf3f82d4cf', 'name': '', 'tenant_id': '7c647e97a85a4536abd57b3fde001385', 'network_id': '2da5af15-cc21-4401-9cdb-d9be89f15561', 'ip_version': 4, 'cidr': '29.101.70.192/26', 'allocation_pools': [{'start': '29.101.70.194', 'end': '29.101.70.254'}], 'gateway_ip': '29.101.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.101.70.194', 'tags': [], 'project_id': '7c647e97a85a4536abd57b3fde001385'}}
2024-11-08 22:40:21,626 - INFO - Created VN ctest-vn-17898848
2024-11-08 22:40:21,691 - DEBUG - VN ctest-vn-17898848 UUID is 2da5af15-cc21-4401-9cdb-d9be89f15561
2024-11-08 22:40:22,056 - DEBUG - Response for create_network : {'network': {'id': '78ef0c86-b512-4586-89c6-dd4a11f166d5', 'name': 'ctest-ext_vn-03151251', 'tenant_id': '7c647e97a85a4536abd57b3fde001385', 'project_id': '7c647e97a85a4536abd57b3fde001385', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77314556', 'ctest-ext_vn-03151251'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 22:40:22,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5f5e786-53b6-4928-ad9e-052ea1c38b63', 'name': '', 'tenant_id': '7c647e97a85a4536abd57b3fde001385', 'network_id': '78ef0c86-b512-4586-89c6-dd4a11f166d5', 'ip_version': 4, 'cidr': '146.203.175.0/26', 'allocation_pools': [{'start': '146.203.175.2', 'end': '146.203.175.62'}], 'gateway_ip': '146.203.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.203.175.2', 'tags': [], 'project_id': '7c647e97a85a4536abd57b3fde001385'}}
2024-11-08 22:40:22,298 - INFO - Created VN ctest-ext_vn-03151251
2024-11-08 22:40:22,355 - DEBUG - VN ctest-ext_vn-03151251 UUID is 78ef0c86-b512-4586-89c6-dd4a11f166d5
2024-11-08 22:40:22,541 - DEBUG - Services list from nova: [, , ]
2024-11-08 22:40:23,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2242-1)
2024-11-08 22:40:24,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2242-1)
2024-11-08 22:40:24,875 - INFO - Setting gateway for router 081f3b89-d46b-4d65-81ce-d1e6df157fcc to network 78ef0c86-b512-4586-89c6-dd4a11f166d5
2024-11-08 22:40:24,927 - INFO - Adding interface with subnet_id 01a53ff9-6037-4406-8358-7faf3f82d4cf, port_id None to router 081f3b89-d46b-4d65-81ce-d1e6df157fcc
2024-11-08 22:40:25,327 - INFO - Waiting for VM ctest-TestRoutersBasic-77314556-24627297 to be up..
2024-11-08 22:40:25,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 22:40:30,623 - DEBUG - VM is in ACTIVE state now
2024-11-08 22:40:30,623 - INFO - VM name : ctest-TestRoutersBasic-77314556-24627297
2024-11-08 22:40:30,694 - DEBUG - VM ctest-TestRoutersBasic-77314556-24627297 ID is 68b8dff2-f44a-4b11-abc4-f290e8ae4527
2024-11-08 22:40:30,716 - DEBUG - VM ctest-TestRoutersBasic-77314556-24627297 launched on Node cn-jenkins-deploy-platform-ansible-os-2242-1
2024-11-08 22:40:30,790 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/68b8dff2-f44a-4b11-abc4-f290e8ae4527
2024-11-08 22:40:31,084 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/68b8dff2-f44a-4b11-abc4-f290e8ae4527
2024-11-08 22:40:31,123 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0b94ef36-b187-4134-bccf-367a5b2ea6ac
2024-11-08 22:40:34,389 - 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 1015ms')
2024-11-08 22:40:34,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77314556-24627297 failed!
2024-11-08 22:40:34,447 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77314556:ctest-vn-17898848 is 29.101.70.193 and allocation pool is NOT set
2024-11-08 22:40:36,505 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.370/2.007/3.644/1.637 ms')
2024-11-08 22:40:36,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77314556-24627297 passed
2024-11-08 22:40:36,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:40:36,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77314556-24627297, IP 29.101.70.195, Port 22
2024-11-08 22:40:36,830 - DEBUG - VM ctest-TestRoutersBasic-77314556-24627297 is ready for SSH connections
2024-11-08 22:40:36,830 - INFO - Waiting for VM ctest-TestRoutersBasic-77314556-81019525 to be up..
2024-11-08 22:40:36,921 - DEBUG - VM is in ACTIVE state now
2024-11-08 22:40:36,921 - INFO - VM name : ctest-TestRoutersBasic-77314556-81019525
2024-11-08 22:40:36,998 - DEBUG - VM ctest-TestRoutersBasic-77314556-81019525 ID is 72d7ae1d-0fc3-4964-9a9c-78a7f03dae4f
2024-11-08 22:40:36,998 - DEBUG - VM ctest-TestRoutersBasic-77314556-81019525 launched on Node cn-jenkins-deploy-platform-ansible-os-2242-1
2024-11-08 22:40:37,077 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/72d7ae1d-0fc3-4964-9a9c-78a7f03dae4f
2024-11-08 22:40:37,086 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a7917ed0-2e6f-4720-8d82-94d73fbd42ea
2024-11-08 22:40:38,324 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/2.142/3.865/1.722 ms')
2024-11-08 22:40:38,325 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77314556-81019525 passed
2024-11-08 22:40:38,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:40:38,483 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77314556-81019525, IP 146.203.175.3, Port 22
2024-11-08 22:40:38,646 - DEBUG - VM ctest-TestRoutersBasic-77314556-81019525 is ready for SSH connections
2024-11-08 22:40:38,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 22:40:38,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.203.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2024-11-08 22:40:38,647 - DEBUG - ping -s 56 -c 3 -W 1 146.203.175.3
2024-11-08 22:40:42,325 - DEBUG - PING 146.203.175.3 (146.203.175.3): 56 data bytes
64 bytes from 146.203.175.3: seq=0 ttl=62 time=6.570 ms
64 bytes from 146.203.175.3: seq=1 ttl=62 time=0.839 ms
64 bytes from 146.203.175.3: seq=2 ttl=62 time=4.537 ms
--- 146.203.175.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.839/3.982/6.570 ms
2024-11-08 22:40:42,325 - INFO - Ping to IP 146.203.175.3 from VM ctest-TestRoutersBasic-77314556-24627297 passed
2024-11-08 22:40:42,326 - INFO - Deleting interface with subnet_id 01a53ff9-6037-4406-8358-7faf3f82d4cf, port_id None from router 081f3b89-d46b-4d65-81ce-d1e6df157fcc
2024-11-08 22:40:42,543 - INFO - Deleting VM ctest-TestRoutersBasic-77314556-81019525
2024-11-08 22:40:42,616 - INFO - Deleting VM ctest-TestRoutersBasic-77314556-24627297
2024-11-08 22:40:42,699 - INFO - Deleting VN ctest-ext_vn-03151251
2024-11-08 22:40:42,799 - DEBUG - VN 78ef0c86-b512-4586-89c6-dd4a11f166d5 still in use: Unable to complete operation on network 78ef0c86-b512-4586-89c6-dd4a11f166d5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-92c9e6aa-a59a-4969-b4d4-fd8f54a3afd6']
2024-11-08 22:40:42,799 - WARNING - Deleting VN ctest-ext_vn-03151251 failed..Will retry
2024-11-08 22:40:44,914 - DEBUG - Response for deleting network ()
2024-11-08 22:40:44,915 - INFO - Deleting VN ctest-vn-17898848
2024-11-08 22:40:45,032 - DEBUG - Response for deleting network ()
2024-11-08 22:40:45,292 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 22:40:45,292 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-08 22:40:45,292 - INFO - --------------------------------------------------------------------------------
2024-11-08 22:40:46,021 - INFO - Deleted project: ctest-TestRoutersBasic-77314556, ID : 7c647e97-a85a-4536-abd5-7b3fde001385