2024-11-11 11:37:40,054 - INFO - Domain Default found not creating
2024-11-11 11:37:40,242 - INFO - Project ctest-TestRoutersBasic-46397090 not found, creating it
2024-11-11 11:37:40,763 - INFO - Created Project:ctest-TestRoutersBasic-46397090, ID : 7c643191-fd1a-4beb-9c6f-31a6a0554259
2024-11-11 11:37:42,340 - INFO - ================================================================================
2024-11-11 11:37:42,340 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-11 11:37:42,340 - 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-11 11:37:42,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.8': '0'}} with
2024-11-11 11:37:42,599 - INFO - Initial checks done. Running the testcase now
2024-11-11 11:37:42,599 - INFO -
2024-11-11 11:37:43,351 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46397090
2024-11-11 11:37:43,452 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46397090
2024-11-11 11:37:43,816 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46397090', 'default']}
2024-11-11 11:37:44,168 - DEBUG - Response for create_network : {'network': {'id': 'b129b6b1-7308-4035-8cf3-fe9d309b3c99', 'name': 'ctest-vn-74369160', 'tenant_id': '7c643191fd1a4beb9c6f31a6a0554259', 'project_id': '7c643191fd1a4beb9c6f31a6a0554259', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46397090', 'ctest-vn-74369160'], 'port_security_enabled': True, 'description': ''}}
2024-11-11 11:37:44,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b0cf961-b613-4eac-b993-50d358927720', 'name': '', 'tenant_id': '7c643191fd1a4beb9c6f31a6a0554259', 'network_id': 'b129b6b1-7308-4035-8cf3-fe9d309b3c99', 'ip_version': 4, 'cidr': '139.97.157.0/26', 'allocation_pools': [{'start': '139.97.157.2', 'end': '139.97.157.62'}], 'gateway_ip': '139.97.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.97.157.2', 'tags': [], 'project_id': '7c643191fd1a4beb9c6f31a6a0554259'}}
2024-11-11 11:37:44,437 - INFO - Created VN ctest-vn-74369160
2024-11-11 11:37:44,496 - DEBUG - VN ctest-vn-74369160 UUID is b129b6b1-7308-4035-8cf3-fe9d309b3c99
2024-11-11 11:37:44,866 - DEBUG - Response for create_network : {'network': {'id': '56cb7555-ca2f-45dd-b172-81bb02e1eba8', 'name': 'ctest-ext_vn-12365892', 'tenant_id': '7c643191fd1a4beb9c6f31a6a0554259', 'project_id': '7c643191fd1a4beb9c6f31a6a0554259', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46397090', 'ctest-ext_vn-12365892'], 'port_security_enabled': True, 'description': ''}}
2024-11-11 11:37:45,067 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5ee1a71-d98a-47ef-a8bf-ada0d8cfbd1b', 'name': '', 'tenant_id': '7c643191fd1a4beb9c6f31a6a0554259', 'network_id': '56cb7555-ca2f-45dd-b172-81bb02e1eba8', 'ip_version': 4, 'cidr': '21.94.109.0/26', 'allocation_pools': [{'start': '21.94.109.2', 'end': '21.94.109.62'}], 'gateway_ip': '21.94.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.94.109.2', 'tags': [], 'project_id': '7c643191fd1a4beb9c6f31a6a0554259'}}
2024-11-11 11:37:45,088 - INFO - Created VN ctest-ext_vn-12365892
2024-11-11 11:37:45,144 - DEBUG - VN ctest-ext_vn-12365892 UUID is 56cb7555-ca2f-45dd-b172-81bb02e1eba8
2024-11-11 11:37:45,322 - DEBUG - Services list from nova: [, , ]
2024-11-11 11:37:46,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1)
2024-11-11 11:37:47,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1)
2024-11-11 11:37:47,696 - INFO - Setting gateway for router 7d9aed94-f220-41fd-abdb-251482b66ea4 to network 56cb7555-ca2f-45dd-b172-81bb02e1eba8
2024-11-11 11:37:47,765 - INFO - Adding interface with subnet_id 5b0cf961-b613-4eac-b993-50d358927720, port_id None to router 7d9aed94-f220-41fd-abdb-251482b66ea4
2024-11-11 11:37:48,197 - INFO - Waiting for VM ctest-TestRoutersBasic-46397090-48586552 to be up..
2024-11-11 11:37:48,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-11 11:37:53,453 - DEBUG - VM is in ACTIVE state now
2024-11-11 11:37:53,453 - INFO - VM name : ctest-TestRoutersBasic-46397090-48586552
2024-11-11 11:37:53,546 - DEBUG - VM ctest-TestRoutersBasic-46397090-48586552 ID is 5e72e70f-3363-4255-a50a-de115a5bd263
2024-11-11 11:37:53,568 - DEBUG - VM ctest-TestRoutersBasic-46397090-48586552 launched on Node cn-jenkins-deploy-platform-ansible-os-2276-1
2024-11-11 11:37:53,652 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/5e72e70f-3363-4255-a50a-de115a5bd263
2024-11-11 11:37:53,969 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/5e72e70f-3363-4255-a50a-de115a5bd263
2024-11-11 11:37:54,008 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/1a96dbf0-88fd-408a-80b7-4b4e890750a1
2024-11-11 11:37:57,287 - 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-11 11:37:57,288 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46397090-48586552 failed!
2024-11-11 11:37:57,348 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46397090:ctest-vn-74369160 is 139.97.157.1 and allocation pool is NOT set
2024-11-11 11:37:59,412 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/1.715/3.000/1.285 ms')
2024-11-11 11:37:59,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46397090-48586552 passed
2024-11-11 11:37:59,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 11:37:59,580 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46397090-48586552, IP 139.97.157.3, Port 22
2024-11-11 11:37:59,746 - DEBUG - VM ctest-TestRoutersBasic-46397090-48586552 is ready for SSH connections
2024-11-11 11:37:59,746 - INFO - Waiting for VM ctest-TestRoutersBasic-46397090-89350897 to be up..
2024-11-11 11:37:59,829 - DEBUG - VM is in ACTIVE state now
2024-11-11 11:37:59,829 - INFO - VM name : ctest-TestRoutersBasic-46397090-89350897
2024-11-11 11:37:59,914 - DEBUG - VM ctest-TestRoutersBasic-46397090-89350897 ID is 6abcc4ce-d659-4817-a286-2be388ea110a
2024-11-11 11:37:59,915 - DEBUG - VM ctest-TestRoutersBasic-46397090-89350897 launched on Node cn-jenkins-deploy-platform-ansible-os-2276-1
2024-11-11 11:38:00,004 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/6abcc4ce-d659-4817-a286-2be388ea110a
2024-11-11 11:38:00,014 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/3cb6aa10-49d6-4c8d-94ea-ad74c6aa1760
2024-11-11 11:38:01,268 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.668/2.977/1.309 ms')
2024-11-11 11:38:01,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46397090-89350897 passed
2024-11-11 11:38:01,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 11:38:01,432 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46397090-89350897, IP 21.94.109.3, Port 22
2024-11-11 11:38:01,588 - DEBUG - VM ctest-TestRoutersBasic-46397090-89350897 is ready for SSH connections
2024-11-11 11:38:01,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-11 11:38:01,588 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.94.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2024-11-11 11:38:01,588 - DEBUG - ping -s 56 -c 3 -W 1 21.94.109.3
2024-11-11 11:38:05,268 - DEBUG - PING 21.94.109.3 (21.94.109.3): 56 data bytes
64 bytes from 21.94.109.3: seq=0 ttl=62 time=6.807 ms
64 bytes from 21.94.109.3: seq=1 ttl=62 time=0.920 ms
64 bytes from 21.94.109.3: seq=2 ttl=62 time=0.851 ms
--- 21.94.109.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.851/2.859/6.807 ms
2024-11-11 11:38:05,268 - INFO - Ping to IP 21.94.109.3 from VM ctest-TestRoutersBasic-46397090-48586552 passed
2024-11-11 11:38:05,268 - INFO - Deleting interface with subnet_id 5b0cf961-b613-4eac-b993-50d358927720, port_id None from router 7d9aed94-f220-41fd-abdb-251482b66ea4
2024-11-11 11:38:05,948 - INFO - Deleting VM ctest-TestRoutersBasic-46397090-89350897
2024-11-11 11:38:06,033 - INFO - Deleting VM ctest-TestRoutersBasic-46397090-48586552
2024-11-11 11:38:06,110 - INFO - Deleting VN ctest-ext_vn-12365892
2024-11-11 11:38:06,201 - DEBUG - VN 56cb7555-ca2f-45dd-b172-81bb02e1eba8 still in use: Unable to complete operation on network 56cb7555-ca2f-45dd-b172-81bb02e1eba8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-33fbfa70-4787-488a-9697-f37dc859f2a9']
2024-11-11 11:38:06,201 - WARNING - Deleting VN ctest-ext_vn-12365892 failed..Will retry
2024-11-11 11:38:08,324 - DEBUG - Response for deleting network ()
2024-11-11 11:38:08,325 - INFO - Deleting VN ctest-vn-74369160
2024-11-11 11:38:08,453 - DEBUG - Response for deleting network ()
2024-11-11 11:38:08,706 - DEBUG - No XMPP flaps were noticed during the test
2024-11-11 11:38:08,706 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-11 11:38:08,706 - INFO - --------------------------------------------------------------------------------
2024-11-11 11:38:09,421 - INFO - Deleted project: ctest-TestRoutersBasic-46397090, ID : 7c643191-fd1a-4beb-9c6f-31a6a0554259