2024-11-12 14:38:54,939 - INFO - Domain Default found not creating
2024-11-12 14:38:55,123 - INFO - Project ctest-TestRoutersBasic-65372579 not found, creating it
2024-11-12 14:38:55,615 - INFO - Created Project:ctest-TestRoutersBasic-65372579, ID : 8409f07d-a967-4221-b980-e6c860cde274
2024-11-12 14:38:57,231 - INFO - ================================================================================
2024-11-12 14:38:57,231 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-12 14:38:57,231 - 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-12 14:38:57,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with
2024-11-12 14:38:57,488 - INFO - Initial checks done. Running the testcase now
2024-11-12 14:38:57,488 - INFO -
2024-11-12 14:38:58,242 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65372579
2024-11-12 14:38:58,342 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65372579
2024-11-12 14:38:58,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65372579', 'default']}
2024-11-12 14:38:59,013 - DEBUG - Response for create_network : {'network': {'id': 'ff238dc5-86cb-49b6-ba25-de7e95630142', 'name': 'ctest-vn-71728943', 'tenant_id': '8409f07da9674221b980e6c860cde274', 'project_id': '8409f07da9674221b980e6c860cde274', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65372579', 'ctest-vn-71728943'], 'port_security_enabled': True, 'description': ''}}
2024-11-12 14:38:59,177 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6e40543-35fc-42b8-8441-a682f127f3f7', 'name': '', 'tenant_id': '8409f07da9674221b980e6c860cde274', 'network_id': 'ff238dc5-86cb-49b6-ba25-de7e95630142', 'ip_version': 4, 'cidr': '208.20.30.64/26', 'allocation_pools': [{'start': '208.20.30.66', 'end': '208.20.30.126'}], 'gateway_ip': '208.20.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.20.30.66', 'tags': [], 'project_id': '8409f07da9674221b980e6c860cde274'}}
2024-11-12 14:38:59,197 - INFO - Created VN ctest-vn-71728943
2024-11-12 14:38:59,258 - DEBUG - VN ctest-vn-71728943 UUID is ff238dc5-86cb-49b6-ba25-de7e95630142
2024-11-12 14:38:59,608 - DEBUG - Response for create_network : {'network': {'id': '55fd3d96-d00f-4660-b9dc-d04799fc4ab1', 'name': 'ctest-ext_vn-50131771', 'tenant_id': '8409f07da9674221b980e6c860cde274', 'project_id': '8409f07da9674221b980e6c860cde274', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65372579', 'ctest-ext_vn-50131771'], 'port_security_enabled': True, 'description': ''}}
2024-11-12 14:38:59,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '564443f5-a38b-4fc0-b695-5aa7c1ef5981', 'name': '', 'tenant_id': '8409f07da9674221b980e6c860cde274', 'network_id': '55fd3d96-d00f-4660-b9dc-d04799fc4ab1', 'ip_version': 4, 'cidr': '181.137.21.128/26', 'allocation_pools': [{'start': '181.137.21.130', 'end': '181.137.21.190'}], 'gateway_ip': '181.137.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.137.21.130', 'tags': [], 'project_id': '8409f07da9674221b980e6c860cde274'}}
2024-11-12 14:38:59,824 - INFO - Created VN ctest-ext_vn-50131771
2024-11-12 14:38:59,887 - DEBUG - VN ctest-ext_vn-50131771 UUID is 55fd3d96-d00f-4660-b9dc-d04799fc4ab1
2024-11-12 14:39:00,066 - DEBUG - Services list from nova: [, , ]
2024-11-12 14:39:01,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2277-1)
2024-11-12 14:39:02,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2277-1)
2024-11-12 14:39:02,501 - INFO - Setting gateway for router cd195c22-dae1-4dd0-be12-9c79ddb0ef49 to network 55fd3d96-d00f-4660-b9dc-d04799fc4ab1
2024-11-12 14:39:02,594 - INFO - Adding interface with subnet_id f6e40543-35fc-42b8-8441-a682f127f3f7, port_id None to router cd195c22-dae1-4dd0-be12-9c79ddb0ef49
2024-11-12 14:39:03,022 - INFO - Waiting for VM ctest-TestRoutersBasic-65372579-20636719 to be up..
2024-11-12 14:39:03,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-12 14:39:08,310 - DEBUG - VM is in ACTIVE state now
2024-11-12 14:39:08,310 - INFO - VM name : ctest-TestRoutersBasic-65372579-20636719
2024-11-12 14:39:08,434 - DEBUG - VM ctest-TestRoutersBasic-65372579-20636719 ID is d151100e-a08b-4255-9674-32752111b157
2024-11-12 14:39:08,454 - DEBUG - VM ctest-TestRoutersBasic-65372579-20636719 launched on Node cn-jenkins-deploy-platform-ansible-os-2277-1
2024-11-12 14:39:08,537 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d151100e-a08b-4255-9674-32752111b157
2024-11-12 14:39:08,936 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d151100e-a08b-4255-9674-32752111b157
2024-11-12 14:39:08,979 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/342a634a-e285-486e-b124-66c3c6175314
2024-11-12 14:39:12,281 - 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=2 ttl=63 time=9.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.797/9.797/9.797/0.000 ms')
2024-11-12 14:39:12,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65372579-20636719 passed
2024-11-12 14:39:12,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-12 14:39:12,455 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65372579-20636719, IP 208.20.30.67, Port 22
2024-11-12 14:39:12,618 - DEBUG - VM ctest-TestRoutersBasic-65372579-20636719 is ready for SSH connections
2024-11-12 14:39:12,618 - INFO - Waiting for VM ctest-TestRoutersBasic-65372579-76232773 to be up..
2024-11-12 14:39:12,706 - DEBUG - VM is in ACTIVE state now
2024-11-12 14:39:12,706 - INFO - VM name : ctest-TestRoutersBasic-65372579-76232773
2024-11-12 14:39:12,785 - DEBUG - VM ctest-TestRoutersBasic-65372579-76232773 ID is ba668c64-325d-4d59-b7ed-a330c631337c
2024-11-12 14:39:12,785 - DEBUG - VM ctest-TestRoutersBasic-65372579-76232773 launched on Node cn-jenkins-deploy-platform-ansible-os-2277-1
2024-11-12 14:39:12,875 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ba668c64-325d-4d59-b7ed-a330c631337c
2024-11-12 14:39:12,885 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/012298b1-09a8-40eb-8777-db791e4833b6
2024-11-12 14:39:14,142 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 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 = 1.084/2.341/3.599/1.257 ms')
2024-11-12 14:39:14,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65372579-76232773 passed
2024-11-12 14:39:14,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-12 14:39:14,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65372579-76232773, IP 181.137.21.131, Port 22
2024-11-12 14:39:14,492 - DEBUG - VM ctest-TestRoutersBasic-65372579-76232773 is ready for SSH connections
2024-11-12 14:39:14,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-12 14:39:14,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.137.21.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2024-11-12 14:39:14,493 - DEBUG - ping -s 56 -c 3 -W 1 181.137.21.131
2024-11-12 14:39:18,189 - DEBUG - PING 181.137.21.131 (181.137.21.131): 56 data bytes
64 bytes from 181.137.21.131: seq=0 ttl=62 time=7.385 ms
64 bytes from 181.137.21.131: seq=1 ttl=62 time=0.924 ms
64 bytes from 181.137.21.131: seq=2 ttl=62 time=1.083 ms
--- 181.137.21.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.924/3.130/7.385 ms
2024-11-12 14:39:18,189 - INFO - Ping to IP 181.137.21.131 from VM ctest-TestRoutersBasic-65372579-20636719 passed
2024-11-12 14:39:18,189 - INFO - Deleting interface with subnet_id f6e40543-35fc-42b8-8441-a682f127f3f7, port_id None from router cd195c22-dae1-4dd0-be12-9c79ddb0ef49
2024-11-12 14:39:18,410 - INFO - Deleting VM ctest-TestRoutersBasic-65372579-76232773
2024-11-12 14:39:18,485 - INFO - Deleting VM ctest-TestRoutersBasic-65372579-20636719
2024-11-12 14:39:18,556 - INFO - Deleting VN ctest-ext_vn-50131771
2024-11-12 14:39:18,639 - DEBUG - VN 55fd3d96-d00f-4660-b9dc-d04799fc4ab1 still in use: Unable to complete operation on network 55fd3d96-d00f-4660-b9dc-d04799fc4ab1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-946273d6-4ec9-4ce8-8110-0a05ddc45a6c']
2024-11-12 14:39:18,640 - WARNING - Deleting VN ctest-ext_vn-50131771 failed..Will retry
2024-11-12 14:39:20,770 - DEBUG - Response for deleting network ()
2024-11-12 14:39:20,770 - INFO - Deleting VN ctest-vn-71728943
2024-11-12 14:39:20,878 - DEBUG - Response for deleting network ()
2024-11-12 14:39:21,132 - DEBUG - No XMPP flaps were noticed during the test
2024-11-12 14:39:21,132 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2024-11-12 14:39:21,132 - INFO - --------------------------------------------------------------------------------
2024-11-12 14:39:21,813 - INFO - Deleted project: ctest-TestRoutersBasic-65372579, ID : 8409f07d-a967-4221-b980-e6c860cde274