2024-10-17 02:40:23,088 - INFO - Domain Default found not creating
2024-10-17 02:40:23,249 - INFO - Project ctest-TestRoutersBasic-16725152 not found, creating it
2024-10-17 02:40:23,757 - INFO - Created Project:ctest-TestRoutersBasic-16725152, ID : f1e1d028-465f-4ccf-b47a-70b5ffbefa43
2024-10-17 02:40:25,282 - INFO - ================================================================================
2024-10-17 02:40:25,282 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-17 02:40:25,282 - 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-10-17 02:40:25,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.8': '0'}} with
2024-10-17 02:40:25,547 - INFO - Initial checks done. Running the testcase now
2024-10-17 02:40:25,549 - INFO -
2024-10-17 02:40:26,321 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16725152
2024-10-17 02:40:26,420 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16725152
2024-10-17 02:40:26,748 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16725152', 'default']}
2024-10-17 02:40:27,103 - DEBUG - Response for create_network : {'network': {'id': 'd2466112-4b0a-481a-aa91-da4e75bb989f', 'name': 'ctest-vn-35959130', 'tenant_id': 'f1e1d028465f4ccfb47a70b5ffbefa43', 'project_id': 'f1e1d028465f4ccfb47a70b5ffbefa43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16725152', 'ctest-vn-35959130'], 'port_security_enabled': True, 'description': ''}}
2024-10-17 02:40:27,364 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc048280-2a50-4e58-b9d5-137dfa477b9a', 'name': '', 'tenant_id': 'f1e1d028465f4ccfb47a70b5ffbefa43', 'network_id': 'd2466112-4b0a-481a-aa91-da4e75bb989f', 'ip_version': 4, 'cidr': '61.170.129.0/26', 'allocation_pools': [{'start': '61.170.129.2', 'end': '61.170.129.62'}], 'gateway_ip': '61.170.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.170.129.2', 'tags': [], 'project_id': 'f1e1d028465f4ccfb47a70b5ffbefa43'}}
2024-10-17 02:40:27,389 - INFO - Created VN ctest-vn-35959130
2024-10-17 02:40:27,460 - DEBUG - VN ctest-vn-35959130 UUID is d2466112-4b0a-481a-aa91-da4e75bb989f
2024-10-17 02:40:27,821 - DEBUG - Response for create_network : {'network': {'id': '35c19c73-47e7-413d-9db5-bf0c58a04b14', 'name': 'ctest-ext_vn-16661465', 'tenant_id': 'f1e1d028465f4ccfb47a70b5ffbefa43', 'project_id': 'f1e1d028465f4ccfb47a70b5ffbefa43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16725152', 'ctest-ext_vn-16661465'], 'port_security_enabled': True, 'description': ''}}
2024-10-17 02:40:28,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd5b0309-5fc6-439c-9f44-90445272f932', 'name': '', 'tenant_id': 'f1e1d028465f4ccfb47a70b5ffbefa43', 'network_id': '35c19c73-47e7-413d-9db5-bf0c58a04b14', 'ip_version': 4, 'cidr': '104.28.160.192/26', 'allocation_pools': [{'start': '104.28.160.194', 'end': '104.28.160.254'}], 'gateway_ip': '104.28.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.28.160.194', 'tags': [], 'project_id': 'f1e1d028465f4ccfb47a70b5ffbefa43'}}
2024-10-17 02:40:28,072 - INFO - Created VN ctest-ext_vn-16661465
2024-10-17 02:40:28,128 - DEBUG - VN ctest-ext_vn-16661465 UUID is 35c19c73-47e7-413d-9db5-bf0c58a04b14
2024-10-17 02:40:28,311 - DEBUG - Services list from nova: [, , ]
2024-10-17 02:40:29,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2109-1)
2024-10-17 02:40:30,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2109-1)
2024-10-17 02:40:30,745 - INFO - Setting gateway for router 43dca6a7-0aa6-4344-9598-42b58cf377f0 to network 35c19c73-47e7-413d-9db5-bf0c58a04b14
2024-10-17 02:40:30,824 - INFO - Adding interface with subnet_id bc048280-2a50-4e58-b9d5-137dfa477b9a, port_id None to router 43dca6a7-0aa6-4344-9598-42b58cf377f0
2024-10-17 02:40:31,176 - INFO - Waiting for VM ctest-TestRoutersBasic-16725152-44853111 to be up..
2024-10-17 02:40:31,337 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-17 02:40:36,450 - DEBUG - VM is in ACTIVE state now
2024-10-17 02:40:36,450 - INFO - VM name : ctest-TestRoutersBasic-16725152-44853111
2024-10-17 02:40:36,554 - DEBUG - VM ctest-TestRoutersBasic-16725152-44853111 ID is cca4572d-d3d2-4e41-8a0f-a68b57ed3446
2024-10-17 02:40:36,577 - DEBUG - VM ctest-TestRoutersBasic-16725152-44853111 launched on Node cn-jenkins-deploy-platform-ansible-os-2109-1
2024-10-17 02:40:36,674 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/cca4572d-d3d2-4e41-8a0f-a68b57ed3446
2024-10-17 02:40:36,982 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/cca4572d-d3d2-4e41-8a0f-a68b57ed3446
2024-10-17 02:40:37,035 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/fe10d281-ee78-4147-8d5c-a2037434eff5
2024-10-17 02:40:40,331 - 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 1030ms')
2024-10-17 02:40:40,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16725152-44853111 failed!
2024-10-17 02:40:40,392 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16725152:ctest-vn-35959130 is 61.170.129.1 and allocation pool is NOT set
2024-10-17 02:40:42,453 - 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=2.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/1.716/2.983/1.267 ms')
2024-10-17 02:40:42,453 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16725152-44853111 passed
2024-10-17 02:40:42,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-17 02:40:42,564 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16725152-44853111, IP 61.170.129.3, Port 22
2024-10-17 02:40:42,728 - DEBUG - VM ctest-TestRoutersBasic-16725152-44853111 is ready for SSH connections
2024-10-17 02:40:42,728 - INFO - Waiting for VM ctest-TestRoutersBasic-16725152-83076582 to be up..
2024-10-17 02:40:42,809 - DEBUG - VM is in ACTIVE state now
2024-10-17 02:40:42,809 - INFO - VM name : ctest-TestRoutersBasic-16725152-83076582
2024-10-17 02:40:42,881 - DEBUG - VM ctest-TestRoutersBasic-16725152-83076582 ID is 94b16ad1-4b1a-41e9-bea3-0fa2c84a2d19
2024-10-17 02:40:42,882 - DEBUG - VM ctest-TestRoutersBasic-16725152-83076582 launched on Node cn-jenkins-deploy-platform-ansible-os-2109-1
2024-10-17 02:40:42,959 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/94b16ad1-4b1a-41e9-bea3-0fa2c84a2d19
2024-10-17 02:40:42,970 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a8a497fa-e396-4dfe-adf1-6bbfd5220b1e
2024-10-17 02:40:44,228 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.394/1.789/3.185/1.395 ms')
2024-10-17 02:40:44,228 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16725152-83076582 passed
2024-10-17 02:40:44,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-17 02:40:44,381 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16725152-83076582, IP 104.28.160.195, Port 22
2024-10-17 02:40:44,536 - DEBUG - VM ctest-TestRoutersBasic-16725152-83076582 is ready for SSH connections
2024-10-17 02:40:44,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-17 02:40:44,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.28.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2024-10-17 02:40:44,536 - DEBUG - ping -s 56 -c 3 -W 1 104.28.160.195
2024-10-17 02:40:48,215 - DEBUG - PING 104.28.160.195 (104.28.160.195): 56 data bytes
64 bytes from 104.28.160.195: seq=0 ttl=62 time=6.377 ms
64 bytes from 104.28.160.195: seq=1 ttl=62 time=0.914 ms
64 bytes from 104.28.160.195: seq=2 ttl=62 time=0.793 ms
--- 104.28.160.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.694/6.377 ms
2024-10-17 02:40:48,215 - INFO - Ping to IP 104.28.160.195 from VM ctest-TestRoutersBasic-16725152-44853111 passed
2024-10-17 02:40:48,215 - INFO - Deleting interface with subnet_id bc048280-2a50-4e58-b9d5-137dfa477b9a, port_id None from router 43dca6a7-0aa6-4344-9598-42b58cf377f0
2024-10-17 02:40:48,455 - INFO - Deleting VM ctest-TestRoutersBasic-16725152-83076582
2024-10-17 02:40:48,536 - INFO - Deleting VM ctest-TestRoutersBasic-16725152-44853111
2024-10-17 02:40:48,619 - INFO - Deleting VN ctest-ext_vn-16661465
2024-10-17 02:40:48,698 - DEBUG - VN 35c19c73-47e7-413d-9db5-bf0c58a04b14 still in use: Unable to complete operation on network 35c19c73-47e7-413d-9db5-bf0c58a04b14. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e10d6c38-c660-4181-9f80-6314a22415f4']
2024-10-17 02:40:48,698 - WARNING - Deleting VN ctest-ext_vn-16661465 failed..Will retry
2024-10-17 02:40:50,862 - DEBUG - Response for deleting network ()
2024-10-17 02:40:50,862 - INFO - Deleting VN ctest-vn-35959130
2024-10-17 02:40:50,961 - DEBUG - Response for deleting network ()
2024-10-17 02:40:51,219 - DEBUG - No XMPP flaps were noticed during the test
2024-10-17 02:40:51,219 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-17 02:40:51,219 - INFO - --------------------------------------------------------------------------------
2024-10-17 02:40:51,921 - INFO - Deleted project: ctest-TestRoutersBasic-16725152, ID : f1e1d028-465f-4ccf-b47a-70b5ffbefa43