2025-02-13 02:37:41,696 - INFO - Domain Default found not creating
2025-02-13 02:37:41,860 - INFO - Project ctest-TestRoutersBasic-74813182 not found, creating it
2025-02-13 02:37:42,461 - INFO - Created Project:ctest-TestRoutersBasic-74813182, ID : 05773f85-ad75-4caa-83ce-c9696d16c7be
2025-02-13 02:37:44,109 - INFO - ================================================================================
2025-02-13 02:37:44,110 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-13 02:37:44,110 - 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
2025-02-13 02:37:45,386 - WARNING - Test is running with cores: {'10.0.0.35': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-2728-2.1739412647']}
2025-02-13 02:37:45,406 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.8': '0', '10.20.0.6': '0'}, '10.0.0.54': {'10.20.0.35': '0', '10.20.0.8': '0'}} with
2025-02-13 02:37:45,406 - INFO - Initial checks done. Running the testcase now
2025-02-13 02:37:45,406 - INFO -
2025-02-13 02:37:46,241 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74813182
2025-02-13 02:37:46,307 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74813182
2025-02-13 02:37:46,672 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74813182', 'default']}
2025-02-13 02:37:47,152 - DEBUG - Response for create_network : {'network': {'id': 'd56a7672-2cc2-41fb-95ad-e47a773c1a00', 'name': 'ctest-vn-47525958', 'tenant_id': '05773f85ad754caa83cec9696d16c7be', 'project_id': '05773f85ad754caa83cec9696d16c7be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74813182', 'ctest-vn-47525958'], 'port_security_enabled': True, 'description': ''}}
2025-02-13 02:37:47,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '49bbd632-db60-421d-8bb4-5993516f00b7', 'name': '', 'tenant_id': '05773f85ad754caa83cec9696d16c7be', 'network_id': 'd56a7672-2cc2-41fb-95ad-e47a773c1a00', 'ip_version': 4, 'cidr': '12.83.143.64/26', 'allocation_pools': [{'start': '12.83.143.66', 'end': '12.83.143.126'}], 'gateway_ip': '12.83.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.83.143.66', 'tags': [], 'project_id': '05773f85ad754caa83cec9696d16c7be'}}
2025-02-13 02:37:47,495 - INFO - Created VN ctest-vn-47525958
2025-02-13 02:37:47,511 - DEBUG - VN ctest-vn-47525958 UUID is d56a7672-2cc2-41fb-95ad-e47a773c1a00
2025-02-13 02:37:48,043 - DEBUG - Response for create_network : {'network': {'id': '171081a6-f4cd-4d1f-9d58-6c841bf0212c', 'name': 'ctest-ext_vn-40749226', 'tenant_id': '05773f85ad754caa83cec9696d16c7be', 'project_id': '05773f85ad754caa83cec9696d16c7be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74813182', 'ctest-ext_vn-40749226'], 'port_security_enabled': True, 'description': ''}}
2025-02-13 02:37:48,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '94c7335b-b290-4d22-b27b-0c26abcb9ca3', 'name': '', 'tenant_id': '05773f85ad754caa83cec9696d16c7be', 'network_id': '171081a6-f4cd-4d1f-9d58-6c841bf0212c', 'ip_version': 4, 'cidr': '101.111.37.0/26', 'allocation_pools': [{'start': '101.111.37.2', 'end': '101.111.37.62'}], 'gateway_ip': '101.111.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.111.37.2', 'tags': [], 'project_id': '05773f85ad754caa83cec9696d16c7be'}}
2025-02-13 02:37:48,392 - INFO - Created VN ctest-ext_vn-40749226
2025-02-13 02:37:48,406 - DEBUG - VN ctest-ext_vn-40749226 UUID is 171081a6-f4cd-4d1f-9d58-6c841bf0212c
2025-02-13 02:37:48,559 - DEBUG - Services list from nova: [, , , ]
2025-02-13 02:37:49,718 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2728-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2728-2)
2025-02-13 02:37:51,251 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2728-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2728-1)
2025-02-13 02:37:51,409 - INFO - Setting gateway for router 986baa77-1cc5-48fb-881b-f2164f3bec0c to network 171081a6-f4cd-4d1f-9d58-6c841bf0212c
2025-02-13 02:37:51,542 - INFO - Adding interface with subnet_id 49bbd632-db60-421d-8bb4-5993516f00b7, port_id None to router 986baa77-1cc5-48fb-881b-f2164f3bec0c
2025-02-13 02:37:52,423 - INFO - Waiting for VM ctest-TestRoutersBasic-74813182-43505002 to be up..
2025-02-13 02:37:52,580 - DEBUG - VM is in ACTIVE state now
2025-02-13 02:37:52,580 - INFO - VM name : ctest-TestRoutersBasic-74813182-43505002
2025-02-13 02:37:52,727 - DEBUG - VM ctest-TestRoutersBasic-74813182-43505002 ID is 35070365-bf60-41fa-a049-d7c7a3d4ca51
2025-02-13 02:37:52,801 - DEBUG - VM ctest-TestRoutersBasic-74813182-43505002 launched on Node an-jenkins-deploy-platform-ansible-os-2728-2
2025-02-13 02:37:53,025 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/35070365-bf60-41fa-a049-d7c7a3d4ca51
2025-02-13 02:37:53,508 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/35070365-bf60-41fa-a049-d7c7a3d4ca51
2025-02-13 02:37:53,889 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/53c0efe6-9670-4abd-a70e-8538004e8a73
2025-02-13 02:37:57,202 - 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 1003ms')
2025-02-13 02:37:57,202 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74813182-43505002 failed!
2025-02-13 02:37:57,221 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74813182:ctest-vn-47525958 is 12.83.143.65 and allocation pool is NOT set
2025-02-13 02:38:01,294 - 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 1014ms')
2025-02-13 02:38:01,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74813182-43505002 failed!
2025-02-13 02:38:01,312 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74813182:ctest-vn-47525958 is 12.83.143.65 and allocation pool is NOT set
2025-02-13 02:38:03,378 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/2.199/4.009/1.809 ms')
2025-02-13 02:38:03,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74813182-43505002 passed
2025-02-13 02:38:03,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:38:03,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74813182-43505002, IP 12.83.143.67, Port 22
2025-02-13 02:38:03,653 - DEBUG - VM ctest-TestRoutersBasic-74813182-43505002 is ready for SSH connections
2025-02-13 02:38:03,653 - INFO - Waiting for VM ctest-TestRoutersBasic-74813182-39605807 to be up..
2025-02-13 02:38:03,760 - DEBUG - VM is in ACTIVE state now
2025-02-13 02:38:03,760 - INFO - VM name : ctest-TestRoutersBasic-74813182-39605807
2025-02-13 02:38:03,864 - DEBUG - VM ctest-TestRoutersBasic-74813182-39605807 ID is 52e5387e-0103-4627-bb92-3be0d24d6954
2025-02-13 02:38:03,864 - DEBUG - VM ctest-TestRoutersBasic-74813182-39605807 launched on Node an-jenkins-deploy-platform-ansible-os-2728-1
2025-02-13 02:38:03,977 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/52e5387e-0103-4627-bb92-3be0d24d6954
2025-02-13 02:38:03,990 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/021ec554-0065-45a9-888c-3cc727f88830
2025-02-13 02:38:05,204 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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.566/2.155/3.744/1.589 ms')
2025-02-13 02:38:05,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74813182-39605807 passed
2025-02-13 02:38:05,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:38:05,327 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74813182-39605807, IP 101.111.37.3, Port 22
2025-02-13 02:38:05,496 - DEBUG - VM ctest-TestRoutersBasic-74813182-39605807 is ready for SSH connections
2025-02-13 02:38:05,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 02:38:05,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.111.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123
2025-02-13 02:38:05,497 - DEBUG - ping -s 56 -c 3 -W 1 101.111.37.3
2025-02-13 02:38:09,128 - DEBUG - PING 101.111.37.3 (101.111.37.3): 56 data bytes
64 bytes from 101.111.37.3: seq=0 ttl=62 time=8.237 ms
64 bytes from 101.111.37.3: seq=1 ttl=62 time=1.378 ms
64 bytes from 101.111.37.3: seq=2 ttl=62 time=1.418 ms
--- 101.111.37.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.378/3.677/8.237 ms
2025-02-13 02:38:09,129 - INFO - Ping to IP 101.111.37.3 from VM ctest-TestRoutersBasic-74813182-43505002 passed
2025-02-13 02:38:09,129 - INFO - Deleting interface with subnet_id 49bbd632-db60-421d-8bb4-5993516f00b7, port_id None from router 986baa77-1cc5-48fb-881b-f2164f3bec0c
2025-02-13 02:38:09,706 - INFO - Deleting VM ctest-TestRoutersBasic-74813182-39605807
2025-02-13 02:38:09,886 - INFO - Deleting VM ctest-TestRoutersBasic-74813182-43505002
2025-02-13 02:38:10,047 - INFO - Deleting VN ctest-ext_vn-40749226
2025-02-13 02:38:10,182 - DEBUG - VN 171081a6-f4cd-4d1f-9d58-6c841bf0212c still in use: Unable to complete operation on network 171081a6-f4cd-4d1f-9d58-6c841bf0212c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-77058c7d-1410-42c7-99fa-52ea2371b81d']
2025-02-13 02:38:10,182 - WARNING - Deleting VN ctest-ext_vn-40749226 failed..Will retry
2025-02-13 02:38:12,395 - DEBUG - Response for deleting network ()
2025-02-13 02:38:12,395 - INFO - Deleting VN ctest-vn-47525958
2025-02-13 02:38:12,607 - DEBUG - Response for deleting network ()
2025-02-13 02:38:13,905 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 02:38:13,905 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-02-13 02:38:13,905 - INFO - --------------------------------------------------------------------------------
2025-02-13 02:38:14,896 - INFO - Deleted project: ctest-TestRoutersBasic-74813182, ID : 05773f85-ad75-4caa-83ce-c9696d16c7be