2024-11-13 08:45:43,911 - INFO - Domain Default found not creating
2024-11-13 08:45:44,070 - INFO - Project ctest-TestRoutersBasic-26652556 not found, creating it
2024-11-13 08:45:44,579 - INFO - Created Project:ctest-TestRoutersBasic-26652556, ID : 908a261e-b74b-45ee-bee3-59e7698bc137
2024-11-13 08:45:46,212 - INFO - ================================================================================
2024-11-13 08:45:46,212 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-13 08:45:46,212 - 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-13 08:45:46,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.8': '0'}} with
2024-11-13 08:45:46,472 - INFO - Initial checks done. Running the testcase now
2024-11-13 08:45:46,472 - INFO -
2024-11-13 08:45:47,226 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26652556
2024-11-13 08:45:47,326 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26652556
2024-11-13 08:45:47,678 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26652556', 'default']}
2024-11-13 08:45:48,009 - DEBUG - Response for create_network : {'network': {'id': '922eca36-dbaa-4fb6-ad80-ad8efea8a6d7', 'name': 'ctest-vn-71082009', 'tenant_id': '908a261eb74b45eebee359e7698bc137', 'project_id': '908a261eb74b45eebee359e7698bc137', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26652556', 'ctest-vn-71082009'], 'port_security_enabled': True, 'description': ''}}
2024-11-13 08:45:48,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '6957b5eb-b4b2-4957-b4a4-d249301c6342', 'name': '', 'tenant_id': '908a261eb74b45eebee359e7698bc137', 'network_id': '922eca36-dbaa-4fb6-ad80-ad8efea8a6d7', 'ip_version': 4, 'cidr': '110.157.224.128/26', 'allocation_pools': [{'start': '110.157.224.130', 'end': '110.157.224.190'}], 'gateway_ip': '110.157.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.157.224.130', 'tags': [], 'project_id': '908a261eb74b45eebee359e7698bc137'}}
2024-11-13 08:45:48,209 - INFO - Created VN ctest-vn-71082009
2024-11-13 08:45:48,266 - DEBUG - VN ctest-vn-71082009 UUID is 922eca36-dbaa-4fb6-ad80-ad8efea8a6d7
2024-11-13 08:45:48,638 - DEBUG - Response for create_network : {'network': {'id': '69d4a913-b2b7-4e5d-91a9-fef69c521d10', 'name': 'ctest-ext_vn-79943453', 'tenant_id': '908a261eb74b45eebee359e7698bc137', 'project_id': '908a261eb74b45eebee359e7698bc137', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26652556', 'ctest-ext_vn-79943453'], 'port_security_enabled': True, 'description': ''}}
2024-11-13 08:45:48,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '887a4689-fe9c-4230-842d-453593e0b43a', 'name': '', 'tenant_id': '908a261eb74b45eebee359e7698bc137', 'network_id': '69d4a913-b2b7-4e5d-91a9-fef69c521d10', 'ip_version': 4, 'cidr': '184.164.127.128/26', 'allocation_pools': [{'start': '184.164.127.130', 'end': '184.164.127.190'}], 'gateway_ip': '184.164.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.164.127.130', 'tags': [], 'project_id': '908a261eb74b45eebee359e7698bc137'}}
2024-11-13 08:45:48,812 - INFO - Created VN ctest-ext_vn-79943453
2024-11-13 08:45:48,870 - DEBUG - VN ctest-ext_vn-79943453 UUID is 69d4a913-b2b7-4e5d-91a9-fef69c521d10
2024-11-13 08:45:49,058 - DEBUG - Services list from nova: [, , ]
2024-11-13 08:45:50,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2278-1)
2024-11-13 08:45:51,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2278-1)
2024-11-13 08:45:51,455 - INFO - Setting gateway for router 0df87e5f-4cc4-4ff9-9dbe-d0236ead1342 to network 69d4a913-b2b7-4e5d-91a9-fef69c521d10
2024-11-13 08:45:51,588 - INFO - Adding interface with subnet_id 6957b5eb-b4b2-4957-b4a4-d249301c6342, port_id None to router 0df87e5f-4cc4-4ff9-9dbe-d0236ead1342
2024-11-13 08:45:52,180 - INFO - Waiting for VM ctest-TestRoutersBasic-26652556-26719698 to be up..
2024-11-13 08:45:52,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-13 08:45:57,439 - DEBUG - VM is in ACTIVE state now
2024-11-13 08:45:57,439 - INFO - VM name : ctest-TestRoutersBasic-26652556-26719698
2024-11-13 08:45:57,520 - DEBUG - VM ctest-TestRoutersBasic-26652556-26719698 ID is c8cb2997-9992-4c86-a45e-1b1217941764
2024-11-13 08:45:57,541 - DEBUG - VM ctest-TestRoutersBasic-26652556-26719698 launched on Node cn-jenkins-deploy-platform-ansible-os-2278-1
2024-11-13 08:45:57,634 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/c8cb2997-9992-4c86-a45e-1b1217941764
2024-11-13 08:45:57,928 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/c8cb2997-9992-4c86-a45e-1b1217941764
2024-11-13 08:45:57,969 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/6362b968-352e-4c42-9776-a27eda3be304
2024-11-13 08:46:01,246 - 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 1012ms')
2024-11-13 08:46:01,246 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26652556-26719698 failed!
2024-11-13 08:46:01,310 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26652556:ctest-vn-71082009 is 110.157.224.129 and allocation pool is NOT set
2024-11-13 08:46:03,370 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/1.933/3.434/1.501 ms')
2024-11-13 08:46:03,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26652556-26719698 passed
2024-11-13 08:46:03,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-13 08:46:03,530 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26652556-26719698, IP 110.157.224.131, Port 22
2024-11-13 08:46:03,690 - DEBUG - VM ctest-TestRoutersBasic-26652556-26719698 is ready for SSH connections
2024-11-13 08:46:03,690 - INFO - Waiting for VM ctest-TestRoutersBasic-26652556-00755944 to be up..
2024-11-13 08:46:03,776 - DEBUG - VM is in ACTIVE state now
2024-11-13 08:46:03,776 - INFO - VM name : ctest-TestRoutersBasic-26652556-00755944
2024-11-13 08:46:03,849 - DEBUG - VM ctest-TestRoutersBasic-26652556-00755944 ID is 1e87d64c-0419-4121-9367-50f476be2a79
2024-11-13 08:46:03,849 - DEBUG - VM ctest-TestRoutersBasic-26652556-00755944 launched on Node cn-jenkins-deploy-platform-ansible-os-2278-1
2024-11-13 08:46:03,925 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/1e87d64c-0419-4121-9367-50f476be2a79
2024-11-13 08:46:03,937 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/3def5c9f-781f-4fa6-b1f8-49d41f1149ac
2024-11-13 08:46:05,185 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.576/2.777/1.200 ms')
2024-11-13 08:46:05,186 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26652556-00755944 passed
2024-11-13 08:46:05,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-13 08:46:05,342 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26652556-00755944, IP 184.164.127.131, Port 22
2024-11-13 08:46:05,498 - DEBUG - VM ctest-TestRoutersBasic-26652556-00755944 is ready for SSH connections
2024-11-13 08:46:05,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-13 08:46:05,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.164.127.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123
2024-11-13 08:46:05,499 - DEBUG - ping -s 56 -c 3 -W 1 184.164.127.131
2024-11-13 08:46:09,452 - DEBUG - PING 184.164.127.131 (184.164.127.131): 56 data bytes
64 bytes from 184.164.127.131: seq=0 ttl=62 time=5.066 ms
64 bytes from 184.164.127.131: seq=1 ttl=62 time=0.803 ms
64 bytes from 184.164.127.131: seq=2 ttl=62 time=1.357 ms
--- 184.164.127.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.803/2.408/5.066 ms
2024-11-13 08:46:09,452 - INFO - Ping to IP 184.164.127.131 from VM ctest-TestRoutersBasic-26652556-26719698 passed
2024-11-13 08:46:09,453 - INFO - Deleting interface with subnet_id 6957b5eb-b4b2-4957-b4a4-d249301c6342, port_id None from router 0df87e5f-4cc4-4ff9-9dbe-d0236ead1342
2024-11-13 08:46:09,718 - INFO - Deleting VM ctest-TestRoutersBasic-26652556-00755944
2024-11-13 08:46:09,806 - INFO - Deleting VM ctest-TestRoutersBasic-26652556-26719698
2024-11-13 08:46:09,880 - INFO - Deleting VN ctest-ext_vn-79943453
2024-11-13 08:46:09,985 - DEBUG - VN 69d4a913-b2b7-4e5d-91a9-fef69c521d10 still in use: Unable to complete operation on network 69d4a913-b2b7-4e5d-91a9-fef69c521d10. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6161a72c-5f27-4c21-8a0e-bb60d776970c']
2024-11-13 08:46:09,986 - WARNING - Deleting VN ctest-ext_vn-79943453 failed..Will retry
2024-11-13 08:46:12,109 - DEBUG - Response for deleting network ()
2024-11-13 08:46:12,109 - INFO - Deleting VN ctest-vn-71082009
2024-11-13 08:46:12,229 - DEBUG - Response for deleting network ()
2024-11-13 08:46:12,495 - DEBUG - No XMPP flaps were noticed during the test
2024-11-13 08:46:12,495 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-13 08:46:12,496 - INFO - --------------------------------------------------------------------------------
2024-11-13 08:46:13,225 - INFO - Deleted project: ctest-TestRoutersBasic-26652556, ID : 908a261e-b74b-45ee-bee3-59e7698bc137